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
A machine that has a 64-bit processor can process 64 characters at one time.
(True/False)
4.8/5
(68)
One convention used for naming identifiers is called Pascal case. This convention requires that ____.
(Multiple Choice)
5.0/5
(83)
float totalAmount = 23.57;
The float compile-time initialization above will produce an error because it is missing the type specifier (f or F).
(True/False)
4.9/5
(66)
Which of the following formats the first argument to display an amount with two digits to the right of the decimal?
(Multiple Choice)
4.9/5
(68)
Which of the following integral type can NOT be used to store negative values?
(Multiple Choice)
4.9/5
(68)
In order to format the first argument in the WriteLine method so that it prints the value 5343.67 as $5,343.67 with a comma and a dollar symbol, you would insert the following format string as the argument to the WriteLine( ) ____.
(Multiple Choice)
4.9/5
(76)
The result of the following expression is ____.
Double ans, v1 = 45.7, v2 = 10.5;
Int v3 = 5;
Ans = (int) v1 + v2 / (double) v3;
(Multiple Choice)
4.9/5
(83)
Given the following declarations, what is stored in ans as a result of the arithmetic expression?

(Multiple Choice)
4.8/5
(84)
Hexadecimal uses the symbols 1, 2, 3, 4, 5, 6, 7 8, 9, A, B, C, D, E, F ,G.
(True/False)
4.9/5
(87)
The Hexadecimal numbering system uses all of the following symbols EXCEPT _____.
(Multiple Choice)
4.9/5
(89)
An appropriate identifier used to store the total transaction amount is total$Amount.
(True/False)
4.7/5
(80)
moreData = true;
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.9/5
(80)
Which of the following would be the most appropriate identifier for a memory location that will store the amount of rainfall for a given period of time?
(Multiple Choice)
4.9/5
(64)
The symbols +=, -=, and *=, compound operators in C#, are used to provide a shortcut way to write assignment statements using the result as part of the computation.
(True/False)
4.7/5
(79)
Showing 21 - 40 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)