Exam 5: Loops, Files, and Random Numbers
Exam 1: Introduction to Computers and Programming161 Questions
Exam 2: Introduction to Visual C131 Questions
Exam 3: Processing Data174 Questions
Exam 4: Making Decisions77 Questions
Exam 5: Loops, Files, and Random Numbers109 Questions
Exam 6: Modularizing Your Code With Methods61 Questions
Exam 7: Arrays and Lists99 Questions
Exam 8: More About Processing Data87 Questions
Exam 9: Classes and Multiform Projects89 Questions
Exam 10: Inheritance and Polymorphism37 Questions
Exam 11: Databases69 Questions
Select questions type
The ++ and -- operators can be written before their operands, which is called ____________.
(Multiple Choice)
4.8/5
(39)
If you specify a path in a string literal, be sure to prefix the string with the ____________ character.
(Multiple Choice)
4.9/5
(42)
When you write a simple statement to increment or decrement a variable, it doesn't matter if you use prefix mode or postfix mode.
(True/False)
4.9/5
(32)
Each time the loop executes its statement or statements, we say the loop is iterating, or performing a(n) ____________.
(Multiple Choice)
4.9/5
(40)
Many systems, including Windows, support the use of ____________, which are short sequences of characters that appear at the end of a filename and are preceded by a period.
(Multiple Choice)
4.9/5
(40)
The second expression that appears in the loop header of the for loop is the _____________, which is a Boolean expression that controls the execution of the loop.
(Multiple Choice)
4.8/5
(35)
A file's ____________ marks the location of the next item that will be read from the file.
(Multiple Choice)
4.7/5
(43)
The term ____________ is used to describe a file to which data is written.
(Multiple Choice)
5.0/5
(40)
When controls such as the OpenFileDialog and SaveFileDialog are created they do not appear on the form, but in an area at the bottom of the Designer known as the ____________.
(Multiple Choice)
4.8/5
(38)
By default, the Open dialog box displays the contents of the user's Documents directory.
(True/False)
4.9/5
(35)
The variable that is used to accumulate the total of the numbers in a running total is called a(n) ____________.
(Multiple Choice)
4.8/5
(32)
When working with files, you can write a try-catch statement to handle unexpected errors.
(True/False)
4.8/5
(40)
Once you have created a Random object, you can call its ____________ method to get a random integer number.
(Multiple Choice)
4.8/5
(39)
If a loop does not have a way of stopping, it is called a(n) ____________.
(Multiple Choice)
4.7/5
(38)
When you want to read data from a text file, you create a file object using the ____________.
(Multiple Choice)
4.9/5
(39)
A ____________ contains data that has been encoded as text using a scheme such as Unicode.
(Multiple Choice)
4.8/5
(28)
When you run an application, the application's form is loaded into memory and an event known as the ____________ takes place.
(Multiple Choice)
4.7/5
(43)
The ____________ is specifically designed for situations requiring a counter variable to control the number of times that a loop iterates.
(Multiple Choice)
4.8/5
(46)
By default, the word Open is displayed in an Open dialog box's title bar.
(True/False)
4.7/5
(41)
Showing 61 - 80 of 109
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)