Exam 2: Applications and Data

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

Most modern programming languages are ____, meaning that you can arrange your lines of code as you see fit.

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

D

A literal numeric constant does not change.

Free
(True/False)
4.7/5
(38)
Correct Answer:
Verified

True

Which of the following is correct if the data type for weight is num?

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

A

A ____ dictionary is a list of every variable name used in a program.

(Multiple Choice)
4.9/5
(37)

The assignment operator is said to have right-to-left associativity.

(True/False)
4.9/5
(31)

A named constant can be assigned a value multiple times.

(True/False)
4.7/5
(28)

The convention used in this book for named constants is ____ characters ____ underscores to separate words.

(Multiple Choice)
4.9/5
(43)

If an application contains only one method that executes, that method is called the ____________________ method.

(Short Answer)
4.9/5
(37)

Arithmetic operators have ____________________ associativity.

(Short Answer)
4.7/5
(39)

Program comments are a type of ____________________ documentation.

(Short Answer)
4.8/5
(40)

Three types of program structures are sequence, selection, and loop.

(True/False)
4.9/5
(36)

A ____________________ constant is enclosed within quotation marks.

(Short Answer)
4.9/5
(41)

With a ____ structure, you perform an action or event, and then you perform the next action in order.

(Multiple Choice)
5.0/5
(32)

What is an equivalent way to write the following statement? answer = a + b + c * d / e - f

(Multiple Choice)
4.9/5
(35)

What is one drawback to including program comments?

(Multiple Choice)
4.7/5
(38)

There will always be only one class ____ for each class.

(Multiple Choice)
4.9/5
(40)

What is an advantage of using the practice of echoing input?

(Multiple Choice)
4.9/5
(28)

A loop structure does not contain a decision point.

(True/False)
4.9/5
(35)

The ____________________ operator has the lowest precedence.

(Short Answer)
4.9/5
(41)

The ___ dictate the order in which operations in the same statement are carried out.

(Multiple Choice)
4.9/5
(33)
Showing 1 - 20 of 50
close modal

Filters

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