Chapter Questions
Who is a programmer's customer?
What is a software requirement?
What is an algorithm?
What is pseudocode?
What is a flowchart?
What are each of the following symbols in a flowchart?$\bullet$ Oval$\bullet$ Parallelogram$\bullet$ Rectangle
What are the three operations that programs typically perform?
What is an IPO chart?
What is a sequence structure?
What is a string? What is a string literal?
A string literal is usually enclosed inside a set of what characters?
What is a variable?
Summarize three common rules for naming variables.
What variable naming convention do we follow in this book?
Look at the following pseudocode statement:Input temperature
What happens when this statement executes?
Who is the user?
What is a prompt?
What two steps usually take place when a program prompts the user for input?
What does the term user-friendly mean?
What is an assignment statement?
When you assign a value to a variable, what happens to any value that is already stored in the variable?
Summarize the mathematical order of operations, as it works in most programming languages.
What is the purpose of the exponent operator?
What is the purpose of the modulus operator?
What two items do you usually specify with a variable declaration?
Does it matter where you write the variable declarations in a program?
What is variable initialization?
Do uninitialized variables pose any danger in a program?
What is an uninitialized variable?
What is external documentation?
What is internal documentation?
What are the two general types of comments that programmers write in a program's code? Describe each.