Exam 1: The Craft of Programming

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

For string assignments, the value on the right must be a numeric literal or the name of a numeric variable.

Free
(True/False)
4.8/5
(41)
Correct Answer:
Verified

False

There are three main categories of errors: logic errors (violations of language rules), runtime errors (incorrect instructions, such as adding instead of multiplying), and syntax errors (errors not known until the program runs, such as a missing data file).

Free
(True/False)
4.8/5
(34)
Correct Answer:
Verified

False

A small area of memory, ____, contains instructions for the system to perform a self-test as it powers up and to load the operating system from hard drive storage into main memory.

Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
Verified

A

The binary equivalent of 122 is ____.

(Multiple Choice)
4.9/5
(32)

The processor is an integrated circuit contained on a chip usually made of silicon.

(True/False)
4.9/5
(35)

The variables lastName and firstName are Strings and the variable hoursWorked is Numeric. Why would the following statements cause errors? LastName = 10 FirstName = hoursWorked

(Multiple Choice)
4.8/5
(35)

____ a variable simply informs the computer that you want to associate a particular name with a particular data type.

(Multiple Choice)
4.8/5
(36)

The most common types of output are to the user's screen (called "hard copy") or to a printer (called "soft copy").

(True/False)
4.8/5
(37)

Computer ____ is the process of formulating instructions to operate a digital computer, an electronic device that can receive, process, store, and send data.

(Multiple Choice)
4.9/5
(38)

The most common storage devices are electromagnetic hard drives, electronic USB flash drives and memory cards, and optical CDs and DVDs.

(True/False)
4.8/5
(40)

Memory locations are used to store strings, in other words, the numeric or text data you want to keep track of.

(True/False)
4.9/5
(36)

When analyzing a problem and developing an algorithm for a solution, listing the algorithm's components in the categories of input, processing, and output is helpful. This process is called ____.

(Multiple Choice)
4.9/5
(31)

Variables can be assigned the value of another variable, as long as they both have the same data type.

(True/False)
4.8/5
(42)

The ____ can be thought of as a traffic manager, which handles the instructions sent to it by application programs, the operating system, and system devices.

(Multiple Choice)
4.8/5
(33)

The following is an example of a(n) ____. The following is an example of a(n) ____.

(Multiple Choice)
4.8/5
(28)

The most basic instructions to the computer's processor are stored as sequences of bits and make up the computer's ____.

(Multiple Choice)
4.9/5
(37)

The binary equivalent of 232 is ____.

(Multiple Choice)
4.7/5
(34)

If a string is a group of characters, it makes sense that you can make longer strings out of shorter ones by putting them together. This process is called ____.

(Multiple Choice)
4.8/5
(43)

The computer system unit (the box enclosing the equipment) includes the ____, which is the electronic circuit board that connects the system's main components.

(Multiple Choice)
4.9/5
(44)

RAM contains instructions for the system to perform a self-test as it powers up and to load the operating system from hard drive storage into main memory.

(True/False)
4.9/5
(38)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)