Exam 2: Data Types and Expressions

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

The C# category of ____________ operators appear at the top of the precedence table with the order of operations.

(Short Answer)
4.9/5
(33)

____________ operators provide a shortcut way to write assignment statements using the result as part of the computation.

(Short Answer)
4.9/5
(37)

The decimal equivalent of 00011111 is ____.

(Multiple Choice)
4.9/5
(29)

When you desk check the algorithm, you can compare the results obtained from the program with calculator results.

(True/False)
4.8/5
(41)

The binary equivalent of 24 is ____.

(Multiple Choice)
4.9/5
(33)

Another way to write the following expression is ____. Ans *= v1 - 1;

(Multiple Choice)
4.8/5
(29)

The value true could be stored in a variable of ____ type.

(Multiple Choice)
4.8/5
(34)

____________ are predefined reserved identifiers that have special meanings to the compiler.

(Short Answer)
4.8/5
(36)

One of the rules for creating a(n) ____________ is to use a combination of alphabetic characters, numeric digits and the underscore character.

(Short Answer)
4.8/5
(37)

Which of the following is a valid compile-time initialization for amountDue, a variable of the decimal type, that will initially be set to zero?

(Multiple Choice)
4.9/5
(42)

The decimal equivalent for 3.42e-5 in scientific notation is .00342.

(True/False)
4.9/5
(27)

The value $78,888.90 is printed as output when the {0:c) format specifier is used in the following Write statement: Console.Write("{0:c}", 78888.894);

(True/False)
4.9/5
(31)

With only eight bits, you can represent 28 or 256 different decimal values.

(True/False)
4.8/5
(42)

An int variable would be the most appropriate type for a memory location that will be used to store the monthly membership dues for the computer club.

(True/False)
4.9/5
(36)

A computer that has 8 GB of RAM can store approximately eight ____ characters.

(Multiple Choice)
4.8/5
(35)

Following standard conventions used by many programmers, the identifier REBATE would be defined as a(n) ____.

(Multiple Choice)
4.9/5
(35)

Every time you declare a variable in the C# language, you are actually ____________ a class.

(Short Answer)
4.8/5
(37)

If aNumber is declared to be of type int with a value of 50, Console.out.WriteLine( aNumber++); displays 51.

(True/False)
4.8/5
(38)

The special character that can be used with an identifier is ____.

(Multiple Choice)
4.9/5
(40)

For a mixed expression equation involving an integer and a double, the result is a(n) ____.

(Multiple Choice)
5.0/5
(42)
Showing 41 - 60 of 75
close modal

Filters

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