Exam 6: Control Statements: Part 2
Exam 1: Introduction to Computers, the Internet and Visual C#49 Questions
Exam 2: Dive Into Visual Studio Community25 Questions
Exam 3: Introduction to C# Apps41 Questions
Exam 4: Introduction to Classes,Objects,Methods and Strings50 Questions
Exam 5: Control Statements: Part 194 Questions
Exam 6: Control Statements: Part 266 Questions
Exam 7: Methods: a Deeper Look95 Questions
Exam 8: Arrays;Introduction to Exception Handling90 Questions
Exam 9: Introduction to Linq and Generic Collections27 Questions
Exam 10: Classes and Objects: A Deeper Look79 Questions
Exam 11: Object-Oriented Programming: Inheritance51 Questions
Exam 12: Object-Oriented Programming: Polymorphism62 Questions
Exam 13: Exception Handling: A Deeper Look58 Questions
Exam 14: GUI With Windows Forms: Part 164 Questions
Exam 15: GUI With Windows Forms: Part 273 Questions
Exam 16: Strings,Characters and Regular Expressions92 Questions
Exam 17: Files and Streams39 Questions
Exam 18: Searching and Sorting19 Questions
Exam 19: Data Structures28 Questions
Exam 20: Generics22 Questions
Exam 21: Collections35 Questions
Exam 22: Databases and LING25 Questions
Exam 23: Asynchronous Programming With Async and Await37 Questions
Exam 24: XML72 Questions
Exam 25: GUI With Windows Presentation Foundation60 Questions
Select questions type
Which of the following statements about the break statement is false
Free
(Multiple Choice)
4.9/5
(30)
Correct Answer:
C
It's possible to specify that a constant is of type decimal by appending the letter m to the constant.
Free
(True/False)
4.8/5
(33)
Correct Answer:
True
Which of the following is equivalent to this code segment
Segment: int total = 0;
For (int i = 0;i < = 20;i += 2)
{
Total += i;
}
(Multiple Choice)
4.8/5
(36)
Only one control variable may be initialized,incremented or decremented in a for statement header.
(True/False)
4.9/5
(30)
Only the statements for one case can be executed in any one execution of a switch statement.
(True/False)
4.8/5
(30)
Braces are normally included with do…while statements even when unnec
essary to avoid confusion with the while statement.
(True/False)
4.9/5
(37)
A control variable that's declared in a for statement header is not accessible outside of the body of the for statement.
(True/False)
5.0/5
(42)
The initialization and increment expressions in a for statement can be comma-separated lists that enable you to use ________.
(Multiple Choice)
5.0/5
(33)
Infinite loops are caused when the loop-continuation condition in a while,for or do…while statement never becomes true.
(True/False)
4.8/5
(36)
Suppose variable gender is MALE and age equals 60,how is the expression
(gender == FEMALE)&& (age >= 65)
Evaluated
(Multiple Choice)
4.8/5
(33)
Counting loops should be controlled with whatever data type most closely reflects the operations taking place,whether that is an int,float or double.
(True/False)
4.8/5
(35)
Which of the following statements about the continue statement is true
(Multiple Choice)
4.8/5
(28)
Many classes provide methods to perform common tasks that do not require specific objects-they must be called using a class name.Such methods are called ________ methods.
(Multiple Choice)
4.9/5
(40)
The for repetition statement handles the details of counter-controlled repeti
tion.
(True/False)
4.9/5
(31)
Showing 1 - 20 of 66
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)