CSP017 CHAPTERS 1-3 (T/F QUESTIONS) – Flashcards

Unlock all answers in this set

Unlock answers
question
True/False: Assembly language is referred to as a low-level language because it is close to the C++ language.
answer
FALSE
question
True/False: The term "software" refers to all the physical devices, or components, that a computer is made of.
answer
FALSE
question
True/False: Each instruction written in a high-level programming language is called a statement.
answer
TRUE
question
True/False: The CPU understands instructions in machine language, which are written in binary.
answer
True
question
True/False: Programs that use an interpreter generally execute faster than compiled programs because they are already entirely translated into machine language when executed.
answer
Answer: False
question
True/False: Computers are designed to do just one job.
answer
False
question
True/False: RAM is a volatile memory used for temporary storage while a program is running.
answer
True
question
True/False: A bit that is turned off is represented by the value -1.
answer
False
question
True/False: A computer is not a single device, but a system of devices that work together to manipulate data according to the instructions provided.
answer
True
question
True/False: The instruction set for a microprocessor is unique and is typically understood only by the microprocessors of the same brand.
answer
True
question
True/False: The main reason for using secondary storage is to hold data for long periods of time, even when the power to the computer is turned off.
answer
True
question
True/False: Most programs written in a high-level language need to be translated into machine language.
answer
False
question
True/False: Most programming languages do not automatically print spaces between multiple items that are displayed on the screen.
answer
True
question
True/False: A named constant can be assigned a value using a Set statement.
answer
False
question
True/False: If you mistakenly write pseudocode into an editor for an actual programming language, such as Python or Visual Basic, errors will result.
answer
True
question
True/False: The structure of the camelCase naming convention is to write the first word of the variable name in lowercase letters and then to capitalize the first character of the second and subsequent words.
answer
True
question
True/False: Programmers start writing code as the first step when they begin a new project.
answer
False
question
True/False: 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.
answer
True
question
True/False: Programmers use pseudocode to create "mock-ups" of programs because they do not have to worry about syntax rules.
answer
True
question
True/False: The expressions (a + b) / c and a + b / c will always yield identical results.
answer
False
question
True/False: A sequence of characters that is used as data is called a string in programming.
answer
True
question
True/False: Ovals are used as terminal symbols marking the starting and end of the pseudocode.
answer
False
question
True/False: An uninitialized variable is a variable that has been declared and automatically initialized to zero.
answer
False
question
True/False: The scope of the parameter variables is the entire program and it is visible to any statement in the program.
answer
False
question
True/False: A pass by reference argument establishes a two-way communication with the module, but the value of the argument cannot be modified via the reference variable.
answer
False
question
True/False: The top-down design process is sometimes called stepwise refinement.
answer
True
question
True/False: The arguments in a module call and the parameters listed in the module header must be of compatible data types.
answer
True
question
True/False: The scope of a variable is the segment of the program in which the variable can be accessed.
answer
True
question
True/False: Modules can be written for commonly needed tasks, and those modules can be incorporated into each program that needs them.
answer
True
question
True/False: In most languages a module definition has three parts: a header, body, and footer.
answer
False
question
True/False: An attempt to pass a non-variable argument into a reference variable parameter will cause an error.
answer
True
question
True/False: Modules make it impossible for programmers to work in teams.
answer
False
question
True/False: A module can have two variables of the same name because they are within the same scope.
answer
False
question
True/False: When an argument is passed by value, the communication channel works only in one direction.
answer
True
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New