Exam 10: Structures and Sequential Access Files
Exam 1: An Introduction to Visual Basic 201544 Questions
Exam 2: Designing Applications60 Questions
Exam 3: Using Variables and Constants60 Questions
Exam 4: The Selection Structure60 Questions
Exam 5: More on the Selection Structure58 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
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.
-An application uses the posterFrame.txt sequential access file to display all of the poster frames in a list box.You need to use the list box to select and remove any poster frames that are 16x20.Which of the following statements determines if a line is selected in the list box?
(Multiple Choice)
4.8/5
(30)
You should use the ____ method to close a sequential access file as soon as you are finished using it.
(Multiple Choice)
4.8/5
(34)
In Visual Basic,you use a(n)____ to write a stream of characters to a sequential access file.
(Multiple Choice)
4.9/5
(38)
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 should ____ the pictureFrame.txt file as soon as you have finished using it.
(Multiple Choice)
4.8/5
(29)
Write the statement that would remove the item "RGT12985" from the lstPartNumber control.
(Short Answer)
4.8/5
(43)
In Visual Basic,you use a(n)____ to read data from a sequential access file.
(Multiple Choice)
4.7/5
(41)
An application contains the Structure statement shown below:
Structure SalonInfo
Public strService As String
Public intRate As integer
End Structure
Write a Dim statement that declares an eight-element one-dimensional array of SalonInfo variables.Name the array mySalonInfo.Write the code to store the following data in the array:
haircut 50 haircol or 85 blowdry 35 facial 65
(Essay)
4.8/5
(32)
Write a Structure statement that defines a structure named Order.The structure contains four member variables named strItemNum,strItemDesc,decPrice,and intQuantity.Then write the Dim statement that declares an Order variable named furniture.
(Essay)
4.9/5
(42)
Which of the following opens the employee.txt file for output,creates a StreamWriter object,and assigns it to the outFile variable?
(Multiple Choice)
4.8/5
(37)
Write an If clause that determines whether the sequential access file named contacts.txt exists.If the file exists,open the file.If the file does not exist,display the message "File not found" in a message box.The application is named "View Contacts".
(Essay)
4.9/5
(33)
Which of the following statements will read data from a sequential access file?
(Multiple Choice)
4.9/5
(40)
Write the statement that would remove the selected item from the lstFlowers control if an item is selected.
(Essay)
4.8/5
(42)
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.
(Short Answer)
4.9/5
(36)
Which of the following statements can be used to fill a string variable with asterisks resulting in "*****$675.89"?
(Multiple Choice)
4.9/5
(42)
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.9/5
(31)
You use the ____ member access operator to separate the structure variable's name from the member variable's name.
(Multiple Choice)
4.7/5
(37)
Which of the following removes the sixth item from the lstTrees control?
(Multiple Choice)
4.7/5
(39)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)