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
Probably the most important rule for naming identifiers is ____.
(Multiple Choice)
4.8/5
(33)
The base-2 number system is also called the binary number system.
(True/False)
4.8/5
(36)
What would be stored in answer after the following arithmetic expression involving only integers, if the sign of the dividend is negative?
Int answer = -19 % -4;
(Multiple Choice)
5.0/5
(46)
The assignment operators (=, +=, -=, *=, and /=) represent operations that appear at the top of the hierarchy in the order of operations.
(True/False)
4.8/5
(35)
The value stored in answer after the following expression is evaluated is
Int v1 = 10, v2 = 5, ans =3;
Ans += --v1 * v2++;
(Multiple Choice)
4.9/5
(38)
The ____________ is sometimes referred to as the remainder operator.
(Short Answer)
4.8/5
(49)
Which of the following expressions would be evaluated first?
Ans += v1 + v2 * v3 % 2;
(Multiple Choice)
4.8/5
(43)
When you think about a machine that has 60 gigabytes of hard disk space, you can store 60 million characters.
(True/False)
4.7/5
(27)
Which statement subtracts 100 from the original value of an answer?
(Multiple Choice)
4.9/5
(28)
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.7/5
(38)
____________ is the universal character-encoding schema that provides a unique number for every character in many different languages.
(Short Answer)
4.8/5
(36)
In order to do a compile-time initialization of a decimal type, it is necessary to add a d or D onto the end of the value.
(True/False)
4.7/5
(32)
Constants are normally named using all lowercase characters, separating second and subsequent words with the underscore character.
(True/False)
4.9/5
(26)
Showing 61 - 75 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)