Exam 4: Variables and Arithmetic Operations

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

To force a literal value to be treated as a specific data type,you must use a literal-type character designator.​

(True/False)
4.7/5
(33)

A variable that will be used to hold only True or False values should be declared as a(n)____ data type.​

(Multiple Choice)
4.7/5
(40)

A(n)____ Exception occurs when a calculation creates a value larger than one that can be processed by a procedure.​

(Multiple Choice)
4.9/5
(31)

​Identify the letter of the choice that best matches the phrase or definition. a.​program b.ToString c.constant d.precision specifier e.function f.method g.​class h.procedure i.local j.literal REFERENCES: 210 212 214 214 214 215 225 225 227 233 -​A procedure is a prewritten set of code that can be called by a statement in this

(Essay)
4.9/5
(25)

Case 4-1 ​Brian is trying his best to understand the concept of variable scope,so he calls his friend Molly for guidance.​ -​Brian has defined a variable named strNumberOfSongs within the click event handle for a Submit button,and he has been frustrated in his efforts to refer to this variable in the click event handler for a Clear button.What does Molly tell him is going on?

(Multiple Choice)
4.9/5
(30)

When setting up a mask for a MaskedTextBox object,select the Use Validating Type check box to cause the object to verify that the user entered valid numeric data.​

(True/False)
4.9/5
(26)

  ​ -The ____________________ function available with each of the numeric data types will convert data from the numeric data type to the String data type.​ ​ -The ____________________ function available with each of the numeric data types will convert data from the numeric data type to the String data type.​

(Essay)
4.9/5
(37)

  ​ -A(n)____________________ variable will contain a permanent value throughout the execution of the program.​ ​ -A(n)____________________ variable will contain a permanent value throughout the execution of the program.​

(Essay)
4.9/5
(32)

A variable that can be used in multiple regions of code is called a universal variable.​

(True/False)
4.9/5
(40)

  ​ -In an assignment statement,the value to the right of the equal sign will be ____________________ to the variable on the left.​ ​ -In an assignment statement,the value to the right of the equal sign will be ____________________ to the variable on the left.​

(Essay)
4.8/5
(43)

​Identify the letter of the choice that best matches the phrase or definition. a.​program b.ToString c.constant d.precision specifier e.function f.method g.​class h.procedure i.local j.literal REFERENCES: 210 212 214 214 214 215 225 225 227 233 -​A special variable whose value cannot be changed by any statement within the program

(Essay)
4.9/5
(34)

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

(Multiple Choice)
4.8/5
(37)

  ​ -The ^ operator is the ____________________ arithmetic operator.​ ​ -The ^ operator is the ____________________ arithmetic operator.​

(Essay)
4.7/5
(34)

A prefix of ____ is used for variables defined as a String data type.​

(Multiple Choice)
4.9/5
(32)

  ​ -​As shown in the accompanying figure,the AcceptButton property of the form specifies which button will be activated when the ____ key on the keyboard is pressed. ​ -​As shown in the accompanying figure,the AcceptButton property of the form specifies which button will be activated when the ____ key on the keyboard is pressed.

(Multiple Choice)
4.9/5
(36)

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

(Multiple Choice)
4.9/5
(36)

A numeric data type must be used in arithmetic operations.​

(True/False)
4.8/5
(33)

​The ____ of a variable specifies where a variable can be referenced within a program.

(Multiple Choice)
4.7/5
(41)

​Identify the letter of the choice that best matches the phrase or definition. a.​program b.ToString c.constant d.precision specifier e.function f.method g.​class h.procedure i.local j.literal REFERENCES: 210 212 214 214 214 215 225 225 227 233 -​When you include a value in an assignment statement,the value is called this

(Essay)
4.8/5
(35)

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

(True/False)
4.8/5
(35)
Showing 61 - 80 of 111
close modal

Filters

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