csc 134 multiple choice quiz 1 (chapter 1)
A variable declaration announces the name of a variable that will be used in a program, as well as:
The type of data it will be used to hold
The programming process consists of several steps, which include:
Design, Creation, Testing, and Debugging
In programming, the terms "line" and "statement" always mean the same things.
False
Syntax is:
Rules that must be followed when writing a program
The purpose of validating the results of the program is:
To determine whether the program solves the original problem
Which of the following is a preprocessor directive?
#include <iostream>
What statement best describes a variable and its primary purpose?
A variable is a named storage location in the computer's memory used for holding a piece of information.
This is a software entity that contains data and procedures
An object
These are collections of programming statements that perform a task.
procedures or functions
Programmer-defined names of memory locations that may hold data are:
variables