Input, Output, and Processing Flashcards
What is syntax in programming?
Rules that dictate how code must be written in a programming language.
What is debugging?
Process of finding and fixing errors in program code.
What is an algorithm?
A step-by-step set of instructions for solving a problem.
What’s the main advantage of pseudocode?
Allows focusing on program design without worrying about syntax rules.
What do oval symbols represent in flowcharts?
Start and End points (Terminal symbols).
What do parallelogram symbols represent in flowcharts?
Input and Output operations.
What do rectangle symbols represent in flowcharts?
Processing steps.
What are the three basic steps of program processing in order?
- Receive input 2. Process data 3. Produce output
What is an IPO chart used for?
Planning program’s Input, Processing, and Output components.
What is a sequence structure?
Program statements that execute in order, one after another.
What is a variable in programming?
A named storage location in memory that can hold data.
What are three main rules for naming variables?
- No spaces allowed 2. Can’t start with numbers 3. Use only letters and numbers
What’s the difference between underscore and camelCase naming?
underscore_uses_underscores vs camelCaseUsesCapitalLetters
What happens to a variable’s old value when assigned a new one?
The old value is replaced completely.
What is variable initialization?
Assigning an initial value to a variable when it’s declared.