Quiz
Programming basics: languages, programmers and structures
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (29)
1Generally speaking, programmers do not have much interaction with the people for whom they write programs.
- ATrue
- BFalse
2It is much harder to write programs in assembly language than in machine language.
- ATrue
- BFalse
3Like your digital video recorder, cell phone, and coffee maker, a computer is also a mechanism that can be programmed.
- ATrue
- BFalse
4The process of translating a computer solution into a language that a computer can understand is called coding.
- ATrue
- BFalse
5A repetition structure can only include one instruction.
- ATrue
- BFalse
6High-level languages are a vast improvement over machine and assembly languages, because they allow the programmer to use instructions that more closely resemble the English language.
- ATrue
- BFalse
7Programmers usually work alone, not in teams.
- ATrue
- BFalse
8The assembly languages represent the only way to communicate directly with the computer
- ATrue
- BFalse
9Programmers use a variety of special languages, called programming languages, to communicate with the computer.
- ATrue
- BFalse
10Typical tasks performed by a computer programmer include analyzing a problem statement or project specification, planning an appropriate solution, and converting the solution to a language that the computer can follow.
- ATrue
- BFalse
11An interpreter translates the entire program before running it; a compiler translates the program line by line as the program is running.
- ATrue
- BFalse
12The repetition structure repeats one or more instructions until some condition is met, at which time the repetition structure ends.
- ATrue
- BFalse
13The first step in solving a familiar problem is to analyze the problem.
- ATrue
- BFalse
14One very important component of any problem is the goal of solving the problem.
- ATrue
- BFalse
15The first step in solving a familiar problem is to analyze the problem.
- ATrue
- BFalse
16IPO stands for Information, Processing, and Output.
- ATrue
- BFalse
17The term hand-tracing refers to the fact that the programmer uses a pencil and paper to follow each of the steps in the algorithm by hand.
- ATrue
- BFalse
18The term desk-checking refers to the fact that the programmer reviews the algorithm while seated at his or her desk rather than in front of the computer.
- ATrue
- BFalse
19You desk-check an algorithm to verify that it is not missing any steps, and that the existing steps are correct and in the proper order.
- ATrue
- BFalse
20When analyzing a problem, you always search first for the input, and then for the output.
- ATrue
- BFalse
21You can desk-check an algorithm using its pseudocode but not its flowchart.
- ATrue
- BFalse
22Before you begin the desk-check, you first choose a set of sample data for the input values, which you then use to manually compute the expected output values.
- ATrue
- BFalse
23The fundamental data types are the basic data types built into the C++ language.
- ATrue
- BFalse
24You should assign a descriptive name to each variable and named constant used in a program.
- ATrue
- BFalse
25It is important to initialize memory locations using values that have the same data type as the memory location.
- ATrue
- BFalse
26After declaring a named constant, you can refer to that constant using its name later in the program.
- ATrue
- BFalse
27A variable is a memory location whose value can change during runtime.
- ATrue
- BFalse
28In C++, you declare a variable using a declaration statement.
- ATrue
- BFalse
29The binary number system uses only the two digits 0 and 1.
- ATrue
- BFalse
Information
- Description
- Quiz on Untitled, created by steve bonbusal on 12/12/2016.
- Author
- steve bonbusal
- Language
- English
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz