Exam 3: Using Variables and Constants

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

Single and Double type memory variables can hold floating-point numbers.

(True/False)
4.8/5
(38)

The ____ of a variable determines where in the program a variable can be used.

(Multiple Choice)
4.9/5
(44)

Data declared as Decimal data type is not subject to small rounding errors that may occur with floating-point numbers.

(True/False)
4.7/5
(29)

The keyword ____ is used to create a named constant within a Visual Basic .NET program.

(Multiple Choice)
4.9/5
(37)

The ____ keyword in a procedure header is used to associate a procedure with different objects or events.

(Multiple Choice)
4.8/5
(36)

A memory variable that is a Decimal data type requires ____ bytes of storage.

(Multiple Choice)
4.8/5
(31)

Data types and classes are not related to each other.

(True/False)
4.8/5
(37)

Instead of storing data in the properties of various controls, programmers can create ____, which are named memory locations to store data.

(Multiple Choice)
4.8/5
(37)

Named constants make programs more self-documenting and easier to modify.

(True/False)
4.9/5
(43)

The practice of capitalizing the first letter in the second and subsequent words in variable names is referred to as the Hungarian notation.

(True/False)
4.9/5
(35)

A default button is identified by setting the Windows form's ____ property.

(Multiple Choice)
4.8/5
(32)

Every numeric data type in Visual Basic .NET has a ____ method that can be used to convert a string to that numeric data type.

(Multiple Choice)
4.8/5
(33)

A form button that has a darkened border when it does not have the focus is called the default button.

(True/False)
4.9/5
(35)

Spaces are allowed in variable names.

(True/False)
4.8/5
(36)

You can eliminate the problems that occur as a result of implicit type conversions by entering the Option Explicit On statement in the General Declarations section of the Code Editor window.

(True/False)
4.9/5
(45)

String and object variables are initialized to ____ when created.

(Multiple Choice)
4.8/5
(30)

Computers can process data stored in memory variables faster than data stored in a property of a control.

(True/False)
4.8/5
(43)

A Short memory variable uses twice the amount of memory as an Integer variable.

(True/False)
4.8/5
(41)

The ____ class contains methods that you can use to convert a numeric value to a specified data type.

(Multiple Choice)
4.9/5
(37)

A variable that has procedure scope is available to all procedures in the application.

(True/False)
4.9/5
(29)
Showing 21 - 40 of 50
close modal

Filters

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