Exam 3: Processing Data

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

Programs use data types to store data in memory.

(True/False)
4.7/5
(80)

You can call the ToString method using the following general format:

(Multiple Choice)
4.7/5
(85)

It is usually best to break a long statement into multiple lines.

(True/False)
4.8/5
(77)

In C#, you must declare a variable in a program before you can use it to store data.

(True/False)
4.7/5
(86)

When you call the ToString method, you can optionally pass a(n) ____________ as an argument to the method to indicate that you want the number to appear formatted in a specific way when it is returned as a string from the method.

(Multiple Choice)
4.9/5
(77)

A ____________ is a button on a form that is automatically clicked when the user presses the Esc key.

(Multiple Choice)
4.9/5
(72)

A piece of data that is passed into a method is known as a(n) ____________.

(Multiple Choice)
4.9/5
(79)

C# does not allow operations that mix the decimal and double data types unless you use a cast operator to explicitly convert one of the operands.

(True/False)
4.9/5
(76)

A form's BackgroundImageLayout property is similar to the PictureBox control's SizeMode property.

(True/False)
4.7/5
(73)

The ____________ method can be used to convert a string to a double.

(Multiple Choice)
4.9/5
(85)

Look at the following code: Look at the following code:    What is the value that is assigned to the half variable? What is the value that is assigned to the half variable?

(Multiple Choice)
4.9/5
(88)

You can declare multiple variables of different data types with one declaration statement.

(True/False)
4.9/5
(73)

After a variable has been declared, you can use the + operator to store a value in the variable.

(True/False)
4.7/5
(78)

To convert a string to any of the numeric data types, we use a family of methods in the .NET Framework known as the ____________.

(Multiple Choice)
4.8/5
(74)

When you assign a double value to a decimal variable, the double value is implicitly converted to a decimal with no loss of data.

(True/False)
4.9/5
(86)

The modulus operator (%) performs division between two integers, but instead of returning the quotient, it returns the remainder.

(True/False)
4.7/5
(81)

In a try-catch statement, the ____________ appears after the try block.

(Multiple Choice)
4.8/5
(85)

When an operation is performed on two double values, the result will be a(n) ____________.

(Multiple Choice)
4.7/5
(76)

An error will occur if you attempt to use a string that is set to null.

(True/False)
4.9/5
(78)

The C# compiler will compile code that tries to use an unassigned variable.

(True/False)
4.9/5
(83)
Showing 121 - 140 of 174
close modal

Filters

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