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
What occurs when an empty case matches the controlling expression
(Multiple Choice)
4.8/5
(33)
The loop body of a do…while statement always executes __________.
(Multiple Choice)
4.8/5
(40)
Consider the following two C# code segments:
Segment 1 Segment 2
Int i = 0;
For (int i=0;i < = 20;++i)
While (i < 20) {
{ Console.WriteLine (i);
++i; }
Console.WriteLine (i);
}
Which of the following statements is true
(Multiple Choice)
4.7/5
(31)
Which case of the following would warrant using the boolean logical inclusive OR (|)rather than the conditional OR (||)
(Multiple Choice)
4.9/5
(31)
The statement,when executed in a for loop,will terminate the loop.
(Multiple Choice)
4.8/5
(34)
The while statement is sufficient to perform any type of repetition.
(True/False)
4.8/5
(36)
A case can be labeled as to execute in the event that none of the pro
Vided cases are equivalent to the controlling expression.
(Multiple Choice)
4.9/5
(26)
Short-circuit evaluation is a performance feature related to the evaluation of conditional AND and conditional OR expressions.
(True/False)
4.8/5
(28)
In structured programming,the only two ways to combine control statements are stacking and nesting.
(True/False)
4.8/5
(41)
The continue statement is used to undo the effects of the break statement.
(True/False)
4.9/5
(45)
A case that consists of multiple lines must be enclosed in braces.
(True/False)
4.8/5
(35)
Compressing statements before and in a for statement into the for header can reduce the readability of a program
(True/False)
4.9/5
(40)
Which of the following for headers is syntactically incorrect
(Multiple Choice)
4.8/5
(38)
Showing 41 - 60 of 66
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)