Programming Logic and Design - Chapter 1 Review

Ace your homework & exams now with Quizwiz!

c

11.An English-like programming language such as Java or Visual Basic is a __________ programming language. a. machine-level b. low-level c. high-level d. binary-level

c

12.Which of the following is an example of a syntax error? a. producing output before accepting input b. subtracting when you meant to add c. misspelling a programming language word d. all of the above

d

13.Which of the following is an example of a logical error? a. performing arithmetic with a value before inputting it b. accepting two input values when a program requires only one c. dividing by 3 when you meant to divide by 30 d. all of the above

c

14.The parallelogram is the flowchart symbol representing ____________. a. input b. output c. either a or b d. none of the above

d

15.In a flowchart, a rectangle represents __________. a. input b. a sentinel c. a question d.processing

d

16.In flowcharts, the decision symbol is a __________. a. parallelogram b. rectangle c. lozenge d. diamond

b

17.The term eof represents ___________. a. a standard input device b. a generic sentinel value c. a condition in which no more memory is available for storage d. the logical flow in a program

d

18.When you use an IDE instead of a simple text editor to develop a program, _______________. a. the logic is more complicated b. the logic is simpler c. the syntax is different d. some help is provided

b

19.When you write a program that will run in a GUI environment as opposed to a command-line environment, ______________. a. the logic is very different b. some syntax is different c. you do not need to plan the logic d. users are more confused

a

20.As compared to procedural programming, with object-oriented programming, ________________. a. the programmer's focus differs b. you cannot use some languages, such as Java c. you do not accept input d. you do not code calculations; they are created automatically

d

Visual Basic, C++, and Java are all examples of computer ________ A. operating systems B. hardware C. machine languages D. programming languages

d

Which of the following is temporary, internal storage? A. CPU B. hard disk C. keyboard D. memory

d

Which of the following pairs of steps in the programming process is in the correct order? A. code the program, plan the logic B. test the program, translate it into machine language C. put the program into production, understand the problem D. code the program, translate it into machine language

b. coding

Writing a program in a language such as C++ or Java is known as the program. a. translating b. coding c. interpreting d. compiling

B. Software

Computer Programs are also known as _______________ A. hardware B. software C. data D. information

B. input, processing, and output

The major computer operations include ______________ A. hardware and software B. input, processing, and output C. sequence and looping D. spreadsheets, word processing, and data communications

c

The most important task of a compiler or interpreter is to _________ A. create the rules for a programming language B. translate English statements into a language such as Java C. translate programming language statements into machine language D. execute machine language programs to perform useful tasks

a

The two most commonly used tools for planning a program's logic are _____________. a. flowcharts and pseudocode b. ASCII and EBCDIC c. Java and Visual Basic d. word processors and spreadsheets

d

A programmer's most important task before planning the logic of a program is to __________. a. decide which programming language to use b. code the problem c. train the users of the program d. understand the problem

a

A programming language's rules are its ________ A. syntax B. logic C. format D. options


Related study sets

EPPP Psychology Licensing Exam (5 of 5)

View Set

Unit 3- Interpersonal Communication

View Set

Professional Salesmanship (Midterm)

View Set

Fundementals of COMM practice questions (final exam)

View Set

ECO 200: Principals of Macroeconomics, Homework Chapter 10

View Set

Final Exam - Computer Forensic Methods

View Set