Exam 2: Data Types and Expressions
Exam 1: Introduction to Computing and Programming75 Questions
Exam 2: Data Types and Expressions75 Questions
Exam 3: Methods and Behaviors75 Questions
Exam 4: Creating Your Own Classes75 Questions
Exam 5: Making Decisions75 Questions
Exam 6: Repeating Instructions75 Questions
Exam 7: Arrays75 Questions
Exam 8: Advanced Collections74 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events75 Questions
Exam 11: Advanced Object-Oriented Programming Features75 Questions
Exam 12: Debugging and Handling Exceptions75 Questions
Exam 13: Working With Files75 Questions
Exam 14: Working With Databases75 Questions
Exam 15: Web-Based Applications73 Questions
Select questions type
The number 11111111 in binary is equivalent to the number 255 in decimal.
Free
(True/False)
4.7/5
(38)
Correct Answer:
True
The value 3.42e-4 is equivalent to _____.
Free
(Multiple Choice)
4.7/5
(32)
Correct Answer:
B
What is stored in ans as a result of the arithmetic expression, given the following declarations?


Free
(Multiple Choice)
4.7/5
(41)
Correct Answer:
C
When you add the keyword ____________ to a declaration, it becomes a constant.
(Short Answer)
4.7/5
(32)
The decimal value type is appropriate for storing monetary data items because it provides for greater precision.
(True/False)
4.7/5
(32)
Classes, methods, namespaces, and properties follow the Pascal case naming convention, which indicates that the first letter in the identifier is in lowercase and the first letter of each subsequent concatenated word is capitalized.
(True/False)
4.9/5
(38)
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
(40)
A valid string literal representing the last month of the year is ____.
(Multiple Choice)
4.8/5
(34)
Placing the two plus symbols (++) before an identifier causes one to be added to the memory location referenced by the variable prior to any other statement's execution.
(True/False)
4.8/5
(45)
In order to place a value in memory that cannot be changed, you add the keyword ____________ to the declaration.
(Short Answer)
4.9/5
(45)
The ____________ data type is a whole number, between a certain range of values, and contains no decimal point.
(Short Answer)
5.0/5
(40)
____________ makes a variable temporarily behave as if it is a different type.
(Short Answer)
4.8/5
(37)
Base 16, also called the octal numbering system, uses powers of sixteen.
(True/False)
4.8/5
(30)
C# allows you to mix numeric integral types and floating-point types in an expression.
(True/False)
4.8/5
(29)
The ____________ data type was added to the language to eliminate the problems of loss of precision in mathematical operations that occurred in previous languages.
(Short Answer)
4.7/5
(36)
The @ symbol in the following string, @ "C:\MyProjects", is called a(n) ____________ character.
(Short Answer)
4.9/5
(39)
If you expect to receive an "A" in this course, which of the following declarations would be most appropriate for storing the grade?
(Multiple Choice)
4.9/5
(44)
Showing 1 - 20 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)