Exam 2: Data Types and Expressions

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

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

Free
(Multiple Choice)
4.9/5
(61)
Correct Answer:
Verified

D

A machine that has a 64-bit processor can process 64 characters at one time.

Free
(True/False)
4.8/5
(73)
Correct Answer:
Verified

False

The result of "123" + "321" is "123321".

Free
(True/False)
5.0/5
(85)
Correct Answer:
Verified

True

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

(Short Answer)
4.8/5
(85)

The ____________ data type is a whole number,between a certain range of values,and contains no decimal point.

(Short Answer)
4.9/5
(83)

Which of the following expressions would be evaluated first? ans += v1 + v2 * v3 % 2;

(Multiple Choice)
4.7/5
(79)

The binary equivalent of 24 is ____.

(Multiple Choice)
4.9/5
(77)

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

Hexadecimal uses the symbols 1,2,3,4,5,6,7 8,9,A,B,C,D,E,F ,G.

(True/False)
5.0/5
(82)

An error will be produced when moreData is assigned the boolean variable shown above because the keyword true should be enclosed in double quotation marks.

(True/False)
4.8/5
(81)

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

(Multiple Choice)
4.8/5
(86)

A valid string literal representing the last month of the year is ____.

(Multiple Choice)
4.9/5
(72)

Classes are actually implemented through types in C#.

(True/False)
4.8/5
(69)

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

(True/False)
4.8/5
(92)

The value 3.42e-4 is equivalent to _____.

(Multiple Choice)
4.7/5
(77)

____________ makes a variable temporarily behave as if it is a different type.

(Short Answer)
4.8/5
(69)

The bool data type can take on values of true/false or on/off.

(True/False)
4.7/5
(82)

The base-2 number system is also called the binary number system.

(True/False)
4.8/5
(88)

A(n)____________ represents an area in the computer memory where a value of a particular data type can be stored.When you declare a(n)____________,you allocate memory for that data item in your program.

(Short Answer)
4.9/5
(81)

The result of 25 % 4 is 6.25.

(True/False)
4.8/5
(75)
Showing 1 - 20 of 75
close modal

Filters

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