Exam 9: Menus and Data Validation

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

In JavaScript, strings are not considered objects.

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

False

In a do-while loop, the closing brace is followed by the keyword end, the condition, and a semicolon.

Free
(True/False)
4.9/5
(31)
Correct Answer:
Verified

False

A(n) ____ can be designed without using modules, but top-down design is easier when you use modules as a starting point for designing a menu.

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

C

isLetter(str) is a string manipulation function.

(True/False)
4.8/5
(34)

When creating a menu system, you should display an error message, as a form of data validation, if the user does not enter a valid choice (including the exit choice).

(True/False)
4.9/5
(42)

JavaScript converts a number to a string format automatically if the number needs to be displayed as text.

(True/False)
4.8/5
(30)

Method calls start with the method name and are followed by a dot, the object name, and parentheses for enclosing arguments.

(True/False)
4.8/5
(41)

____ is a method in which data is processed noninteractively, requiring prior data validation.

(Multiple Choice)
4.8/5
(34)

A(n) ____ serves as a placeholder in your program until you develop the code.

(Multiple Choice)
4.8/5
(32)

Programs that can handle all kinds of user errors are called elegant.

(True/False)
4.9/5
(32)

When modules and functions are used as menu-processing choices, you can design a menu system easily by using the top-down method of program design.

(True/False)
4.9/5
(36)

The ____ returns the number of characters in a string.

(Multiple Choice)
4.9/5
(35)

In JavaScript, the ____ statement should be accompanied by an error message, which is not enclosed in parentheses.

(Multiple Choice)
4.9/5
(36)

The Case structure is a variation of the If/Else structure.

(True/False)
4.8/5
(35)

In object-oriented programming, ____ is a method that allows for errors to be detected without having to write error-checking code at every point of input.

(Multiple Choice)
4.8/5
(42)

A(n) ____ presents a main menu, and then leads users to submenus.

(Multiple Choice)
4.8/5
(33)

In some programming languages, when a user presses Enter without typing anything, the input variable's value is set to a constant called NULL.

(True/False)
4.8/5
(38)

In JavaScript, conditions are enclosed in parentheses.

(True/False)
4.9/5
(38)

Transaction processing is done immediately, so it is referred to as ____.

(Multiple Choice)
4.8/5
(44)

Interactive processing is also known as ____.

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

Filters

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