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
(44)

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

(Multiple Choice)
4.7/5
(33)

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

(True/False)
4.8/5
(31)

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

(True/False)
4.7/5
(35)

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
(35)

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

(Multiple Choice)
4.9/5
(30)

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

(Multiple Choice)
4.8/5
(37)

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
(28)

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

(True/False)
4.7/5
(30)

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

(Multiple Choice)
4.9/5
(39)

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
(37)

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

(True/False)
4.8/5
(29)

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

(True/False)
4.7/5
(40)

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
(37)

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
(41)

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

(True/False)
4.7/5
(43)

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

(Multiple Choice)
4.8/5
(38)

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

(Multiple Choice)
4.8/5
(42)

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

(True/False)
4.9/5
(29)

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

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

Filters

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