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

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

(Short Answer)
4.9/5
(81)

The decimal equivalent of 00011111 is ____.

(Multiple Choice)
4.9/5
(70)

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

(True/False)
4.8/5
(76)

The binary equivalent of 24 is ____.

(Multiple Choice)
4.9/5
(79)

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

(Multiple Choice)
4.8/5
(62)

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

(Multiple Choice)
4.9/5
(83)

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

(Short Answer)
4.8/5
(71)

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

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

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

(True/False)
4.8/5
(67)

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

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

(True/False)
4.8/5
(83)

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

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

(Multiple Choice)
4.7/5
(77)

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

(Multiple Choice)
4.9/5
(72)

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

(Short Answer)
4.8/5
(84)

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

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

(Multiple Choice)
4.8/5
(75)

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

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

Filters

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