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 Collections75 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events74 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 Applications75 Questions
Select questions type
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
(88)
Given the following declarations,what is stored in ans as a result of the arithmetic expression? int ans = 0,v1 = 5,v2 = 8;
Ans = v2 % v1++;
(Multiple Choice)
4.8/5
(83)
The C# category of ____________ operators appear at the top of the precedence table with the order of operations.
(Short Answer)
4.8/5
(72)
When you desk check the algorithm,you can compare the results obtained from the program with calculator results.
(True/False)
4.9/5
(73)
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
(66)
Following standard conventions used by many programmers,the identifier REBATE would be defined as a(n)____.
(Multiple Choice)
4.7/5
(77)
When you add the keyword ____________ to a declaration,it becomes a constant.
(Short Answer)
5.0/5
(79)
The assignment operators (=,+=,-=,*=,and /=)represent operations that appear at the top of the hierarchy in the order of operations.
(True/False)
4.9/5
(63)
Probably the most important rule for naming identifiers is ____.
(Multiple Choice)
4.9/5
(73)
The number 11111111 in binary is equivalent to the number 255 in decimal.
(True/False)
4.8/5
(73)
Which statement subtracts 100 from the original value of an answer?
(Multiple Choice)
4.8/5
(83)
The Hexadecimal numbering system uses all of the following symbols EXCEPT _____.
(Multiple Choice)
4.9/5
(73)
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.8/5
(77)
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.8/5
(79)
One convention used for naming identifiers is called Pascal case. This convention requires that ____.
(Multiple Choice)
4.9/5
(73)
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
(77)
An appropriate identifier used to store the total transaction amount is total$Amount.
(True/False)
5.0/5
(66)
Showing 21 - 40 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)