Exam 4: Variables and Arithmetic Operations

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

Char variables can be used in arithmetic operations.

(True/False)
4.9/5
(34)

The ____ statement prevents automatic conversion of data types.

(Multiple Choice)
4.7/5
(30)

A(n) ____________________ is a named location in RAM that can store a value that may change during program execution.

(Short Answer)
4.7/5
(35)

You must enclose a value in parentheses to assign it to a variable declared as Char data type.

(True/False)
4.9/5
(36)

Used with the ToString function, the ____ format specifier will display the value 8976.43561 as 8976.44.

(Multiple Choice)
4.8/5
(37)

What are the rules for naming variables in Visual Basic? Providing examples of the good and the bad, discuss what impact good programming practice has on the naming of variables.

(Essay)
4.8/5
(44)

The \ operator is the arithmetic operator for ____ division.

(Multiple Choice)
4.8/5
(36)

The event handler of a button designated as the Cancel button will be processed when the user presses the ____ key on the keyboard.

(Multiple Choice)
4.8/5
(35)

A TextBox object allows a user to enter programming code into the program at runtime.

(True/False)
4.9/5
(35)

The ____________________ property of a TextBox object controls the alignment of the text content.

(Short Answer)
4.9/5
(31)

When defining a variable, the keyword ____ appears at the beginning of the statement.

(Multiple Choice)
4.8/5
(42)

A(n) ____ Exception occurs when the user enters a value larger than the maximum value that can be processed by the statement.

(Multiple Choice)
4.7/5
(38)

The style of the text displayed in a TextBox object can be set using the Font property.

(True/False)
4.8/5
(34)

Critical Thinking Questions Case 1 Brian is trying his best to understand the concept of variable scope, so he calls his friend Molly for guidance. Brian has defined another variable called strNumberOfSingers within a procedure, and he asks Molly what the lifetime of that variable is. What does she tell him?

(Multiple Choice)
4.8/5
(38)

The memory allocation for the Char data type is ____ bytes.

(Multiple Choice)
4.8/5
(34)

The character D is the literal type character for the ____ data type.

(Multiple Choice)
4.9/5
(32)

The ^ operator is the ____________________ arithmetic operator.

(Short Answer)
4.9/5
(38)

The prefix ____ should be used for naming a TextBox object.

(Multiple Choice)
4.8/5
(37)

A(n) ____________________ object is a GUI object that allows users to enter data into a program.

(Short Answer)
4.8/5
(40)

A(n) ____________________ specifier is used to identify the number of positions to the right of the decimal point that should be returned when displaying numeric data.

(Short Answer)
4.9/5
(49)
Showing 81 - 100 of 107
close modal

Filters

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