Quiz2-InputProcessingOutput Flashcards
The structure of the camelCase naming convention is to write the first word of the variable name in lowercase letter and then to capitalize the first character of the second and subsequent words. (T/F)
True
The following two expressions will always yield identical results: (T/F)
(a + b) / c
a + b / c
False
An uninitialized variable is a variable that has been declared and automatically initialized to zero. (T/F)
False
A sequence of characters that is used as data is called a String. (T/F)
True
In a flowchart, the symbol that represents an assignment statement is an oval. (T/F)
False
Not oval that’s start end
it’s a processing symbol (rectangle)
Pseudocode is often used to plan out a program because the programmer does not have to worry about syntax rules. (T/F)
True
A variable is a storage location in memory that is represented by a name and can hold different values during the execution of the program. (T/F)
True
In a mathematical expression, addition and subtraction will be evaluated before multiplication (T/F).
False
Variable names cannot include spaces. (T/F)
True
The variable name myBookTitle
is written in camelCase convention. (T/F)
True
Flowcharts and pseudocode documents are the same thing.(T/F)
False
Which of the following error types produces incorrect results but does not prevent the program from running?
A) Logic
B) Syntax
C) Human
A) Logic errors
The program development cycle is made up of _____ steps that are repeated until no errors can be found in the program.
5 steps are:
1. Requirements/analysis info
2.Designing
3.Coding
4.Testing
5.Implementation/Deployment to an audience
_________ is an informal language used by programmers to create models of programs.
Pseudocode
A(n) __________ is a diagram that graphically depicts the steps that take place in a program.
Flowchart