Exam 6: Where Can I Store This Variables and Constants

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

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

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

C

The format specifier ____ does not include a dollar sign, and negative values are preceded by a minus sign.

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

B

Because control names typically are more concise than variable names, using control names in an expression makes the expression much shorter and easier to understand.

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

False

You can format a number using the syntax ____.

(Multiple Choice)
4.8/5
(39)

In addition to reserving (or declaring) variables in a program, you also can declare named constants.

(True/False)
4.8/5
(36)

To declare a variable in an event procedure, where most variables are declared, you use the Visual Basic ____ statement.

(Multiple Choice)
4.8/5
(25)

The formatString argument in the ToString method must take the form "xAA", where AA is the format specifier and x is the precision specifier.

(True/False)
4.8/5
(41)

You create a named constant using the ____ statement.

(Multiple Choice)
4.8/5
(44)

The ____ memory of a computer is composed of memory locations.

(Multiple Choice)
4.8/5
(31)

When a named constant's value needs to be changed, the programmer must change its value in its declaration statement.

(True/False)
4.7/5
(45)

The desk-check table for a program will contain two columns for each variable.

(True/False)
4.8/5
(41)

Every numeric data type in Visual Basic has a TryText method that can be used to convert text to that numeric data type.

(True/False)
4.8/5
(36)

Programmers refer to the length of time a variable remains in memory as its ____.

(Multiple Choice)
4.8/5
(34)

The TryParse method parses the text, which means it looks at each character in the text, to determine whether the text can be converted to a number of the specified data type.

(True/False)
4.8/5
(40)

A ____ is a memory location whose value cannot change while the application is running.

(Multiple Choice)
4.7/5
(39)

A ____ is text that is enclosed in double quotation marks.

(Multiple Choice)
4.8/5
(35)

You use a problem's solution-in other words, its output, processing, and input information and its algorithm-to determine the variables to use when coding an application.

(True/False)
4.8/5
(38)

To distinguish the named constants from the variables in a program, many programmers use a modified form of Hungarian notation for the named constant names.

(True/False)
4.9/5
(26)

Memory locations are called ____ because their contents can change (vary) as the program is running.

(Multiple Choice)
4.8/5
(43)

When formatting characters, you can use either an uppercase letter or a lowercase letter as the format specifier.

(True/False)
4.9/5
(30)
Showing 1 - 20 of 25
close modal

Filters

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