Exam 10: Structures and Sequential Access Files
Exam 1: An Introduction to Visual Basic 201560 Questions
Exam 2: Designing Applications60 Questions
Exam 3: Using Variables and Constants60 Questions
Exam 4: The Selection Structure59 Questions
Exam 5: More on the Selection Structure60 Questions
Exam 6: The Repetition Structure60 Questions
Exam 7: Sub and Function Procedures60 Questions
Exam 8: String Manipulation60 Questions
Exam 9: Arrays60 Questions
Exam 10: Structures and Sequential Access Files60 Questions
Exam 11: Classes and Objects60 Questions
Exam 12: Web Applications60 Questions
Exam 13: Working With Access Databases and Linq60 Questions
Exam 14: Access Databases and Sql60 Questions
Select questions type
Which of the following determines whether an item is selected in the lstTrees control?
Free
(Multiple Choice)
4.7/5
(30)
Correct Answer:
B
Files that are read by the computer are called ____ files.
Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
C
You use the ____ member access operator to separate the structure variable's name from the member variable's name.
Free
(Multiple Choice)
4.9/5
(30)
Correct Answer:
D
Case-Based Critical Thinking Questions Case 1 - Frames Unlimited
Frames Unlimited is a wholesale picture and poster frame business. Frame data is stored in sequential access files that contain four columns: item number, item name, size, and price.
Which of the following statements should be used first when opening the input file?
(Multiple Choice)
4.9/5
(42)
In Visual Basic, you use a(n) ____ to read data from a sequential access file.
(Multiple Choice)
4.8/5
(38)
You should use the ____ method to close a sequential access file as soon as you are finished using it.
(Multiple Choice)
4.8/5
(32)
Which of the following removes the sixth item from the lstTrees control?
(Multiple Choice)
4.9/5
(36)
In addition to getting data from the keyboard and sending data to the computer screen, an application can also get data from and send data to a file on a disk.
(True/False)
4.8/5
(30)
Which of the following declares a StreamReader variable named newFile ?
(Multiple Choice)
4.8/5
(38)
Write a Structure statement that defines a structure named Vehicle. The structure contains three member variables named strMake , strModel , and intYear . Then write the Private statement that declares a Vehicle variable named truck .
(Essay)
4.8/5
(37)
In Visual Basic, you use a(n) ____ to write a stream of characters to a sequential access file.
(Multiple Choice)
4.8/5
(30)
Assume that the variable amount contains the value 46. How many characters will be padded in the statement below? amount = amount.ToString.PadLeft(5)
(Multiple Choice)
4.8/5
(34)
Case-Based Critical Thinking Questions Case 1 - Frames Unlimited
Frames Unlimited is a wholesale picture and poster frame business. Frame data is stored in sequential access files that contain four columns: item number, item name, size, and price.
You need to create a report using the pictureFrame.txt sequential access file. The report provides a list of all picture frames with a size of 5x7. The report will be saved as another sequential access file named pictureFrame57.txt. Your first step is to ____.
(Multiple Choice)
4.9/5
(38)
Write the statement that would remove the selected item from the lstFlowers control if an item is selected.
(Essay)
4.9/5
(26)
Write the code to declare a variable named outFile that can be used to write data to a sequential access file. Then write the statement to open a sequential access file named customers.txt for output.
(Essay)
4.9/5
(34)
Showing 1 - 20 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)