Exam 9: Files, Printing, and Structures
Exam 1: Introduction to Programming and Visual Basic40 Questions
Exam 2: Creating Applications With Visual Basic36 Questions
Exam 3: Variables and Calculations41 Questions
Exam 4: Making Decisions39 Questions
Exam 5: Lists and Loops36 Questions
Exam 6: Procedures and Functions31 Questions
Exam 7: Multiple Forms, Modules, and Menus36 Questions
Exam 8: Arrays and More34 Questions
Exam 9: Files, Printing, and Structures36 Questions
Exam 10: Working With Databases32 Questions
Exam 11: Developing Web Applications33 Questions
Exam 12: Classes, Collections, and Inheritance36 Questions
Select questions type
This control is used to display a standard Windows Open dialog box.
Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
B
Which of the following code segments writes the contents of three parallel arrays named strStudentName, intID, and strMajor to a file in the format below? Assume all arrays have the same number of elements. Vince Student, 1234, Computer Science
Nancy Student, 4321, Electrical Engineering
Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
A
An application must first _a file before it can be used.
Free
(Multiple Choice)
5.0/5
(40)
Correct Answer:
C
To serve as a visual reminder that the structure or class name is not a variable, structure names and class names should _.
(Multiple Choice)
4.8/5
(37)
This predefined constant moves the print position forward to the next even multiple of 8 columns.
(Multiple Choice)
4.8/5
(35)
A file is like a stream of data that must be read from its beginning to its end.
(Multiple Choice)
4.8/5
(39)
This property allows the developer to specify the type of files that will appear in a dialog box.
(Multiple Choice)
4.7/5
(39)
To left justify the columns in the String.Format method, use preceding the column width.
(Multiple Choice)
4.8/5
(42)
When the PrintDocument control's Print method is executed, it triggers the _event.
(Multiple Choice)
4.8/5
(44)
When a file is selected from an Open dialog box, the path and file name are stored in the control's _property?
(Multiple Choice)
4.9/5
(34)
___ 14. All of the following steps must be taken when a file is used by an application except _.
(Multiple Choice)
4.7/5
(38)
The StreamReader object's _is used to determine when the end of the file has been reached.
(Multiple Choice)
4.9/5
(46)
To change the color of text in a windows form, you could use this.
(Multiple Choice)
4.7/5
(30)
Which of the following declares a structure data type named Complex, which has two fields named Real and Imaginary, both of which are of type Double?
(Multiple Choice)
4.8/5
(37)
Which of the following code segments creates a new file named address.txt, writes the following two lines to the file, and then closes the file? Bob Johnson
Somewhere USA
(Multiple Choice)
4.8/5
(40)
What does the following line do? Do Until inputFile.EndOfStream
(Multiple Choice)
4.8/5
(32)
Identify the following statements which will: Format a string to contain the word "Name" in a column of 20 characters wide, followed by the word "Address" in a second column, also 20 characters wide.
(Multiple Choice)
4.9/5
(38)
Which of the following statements are not true about text files?
(Multiple Choice)
4.9/5
(35)
Showing 1 - 20 of 36
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)