Chapter 1: Overview of Computers and Programming

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

An English-like programming language such as Java or Visual Basic is a ________ programming language. A. high-level B. binary-level C. machine-level D. low-level

A. high-level

In flowcharts, the decision symbol is a ____________. A. lozenge B. diamond C. parallelogram D. rectangle

B. diamond

The two most commonly used tools for planning a program’s logic are _____. A. word processors and spreadsheets B. flowcharts and pseudocode C. Java and Visual Basic D. ASCII and EBCDIC

B. flowcharts and pseudocode

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

B. memory

The term eof represents ____________. A. the logical flow in a program B. a standard input device C. a generic sentinel value D. a condition in which no more memory is available for storage

C. a generic sentinel value

Writing a program in a language such as C++ or Java is known as _______ the program. A. translating B. interpreting C. coding D. compiling

C. coding

The parallelogram is the flowchart symbol representing ____________. A. output B. input C. either a or b D. none of the above

C. either a or b

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

C. misspelling a programming language word

In a flowchart, a rectangle represents ____________. A. a question B. a sentinel C. processing D. input

C. processing

When you use an IDE instead of a simple text editor to develop a program,____________. A. the logic is simpler B. the logic is more complicated C. some help is provided D. the syntax is different

C. some help is provided

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

C. syntax

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

C. translate programming language statements into machine language

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

A. code the program, translate it into machine language

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

A. the programmer's focus differs

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

B. input, processing, and output

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

B. programming languages

A programmer's most important task before planning the logic of a program is to____________. A. code the problem B. understand the problem C. train the users of the program D. decide which programming language to use

B. understand the problem

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

D. all of the above

Computer programs also are known as ____________. A. data B. hardware C. information D. software

D. software

When you write a program that will run in a GUI environment as opposed to a command-line environment, ____________. A. you do not need to plan the logic B. the logic is very different C. users are more confused D. some syntax is different

D. some syntax is different


Ensembles d'études connexes

Canadian Health Care Delivery System

View Set

Chapter 9 Thermo, Nader, Helseth

View Set

Respiratory System - Post Lab Quiz

View Set

Texas life insurance exam part 3

View Set