Exam 4: Memory Locations and Calculations

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A(n) ____ is a computer memory location that a programmer uses to temporarily store data while an application is running.

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

A

Why is it best to avoid using the Object data type?

Free
(Essay)
4.8/5
(36)
Correct Answer:
Verified

The Object data type can store any type of data. However, your application will pay a price for this flexibility: it will run more slowly, because the computer has to determine the type of data currently stored in an Object variable.

A(n) ____ string is a set of quotation marks with nothing between them.

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

D

What is the difference between pseudocode and a flowchart?

(Essay)
5.0/5
(46)

You can use ____ to change the order in which the operators in an expression are evaluated.

(Multiple Choice)
4.8/5
(34)

You use the ____ operator to divide two integers, and then return the result as an integer.

(Multiple Choice)
4.8/5
(38)

Variables assigned the Integer, Long, or Short data type can store ____, which are whole numbers - positive or negative numbers without any decimal places.

(Multiple Choice)
4.8/5
(32)

The rectangles in a flowchart used to represent tasks such as making assignments and calculations are called ____ symbols.

(Multiple Choice)
4.8/5
(36)

When an expression contains more than one operator having the same priority, those operators are evaluated from right to left.

(True/False)
4.9/5
(37)

Specifying the number of decimal places and the special characters to display in a number is called ____.

(Multiple Choice)
4.7/5
(42)

What are comments and how are they created?

(Essay)
4.7/5
(37)

A(n) ____________________ character forces a literal constant to assume a data type other than the one its form indicates.

(Short Answer)
4.9/5
(30)

The ____ operators allow you to abbreviate an assignment statement that contains an arithmetic operator.

(Multiple Choice)
4.8/5
(35)

A variable name must begin with a letter or a(n) ____.

(Multiple Choice)
4.8/5
(34)

Most classes have one or more ____ that perform a specific task for the class.

(Multiple Choice)
4.9/5
(35)

Programmers use ____ to document a procedure's purpose and also to explain various sections of a procedure's code to make the code more readable and easier to understand by anyone viewing it.

(Multiple Choice)
4.9/5
(40)

The process of locating and correcting the bugs in a program is referred to as ____________________.

(Short Answer)
4.8/5
(31)

Unlike a variable's value, a named constant's value cannot be changed while the application is running.

(True/False)
4.8/5
(37)

Why is it important to declare the memory locations used in an application?

(Essay)
4.7/5
(38)
Match each item with a statement below.
A memory location inside the computer whose value cannot be changed while the application is running.
lifetime
Indicates how long the variable remains in the computer's internal memory.
valid
An error in the program's code.
pseudocode
Correct Answer:
Verified
Premises:
Responses:
A memory location inside the computer whose value cannot be changed while the application is running.
lifetime
Indicates how long the variable remains in the computer's internal memory.
valid
An error in the program's code.
pseudocode
The universal coding scheme for characters.
invalid
A data type that stores either True or False values.
Boolean
Data that the application is not expecting the user to enter.
bug
Indicates where the variable can be used in the application's code.
named constant
Uses short phrases to describe the steps a procedure must take to accomplish its goal.
Unicode
Data that the application is expecting the user to enter.
scope
(Matching)
4.9/5
(34)
Showing 1 - 20 of 42
close modal

Filters

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