MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Visual Basic knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
_________________ is used to open the sequential file access for append. |
| A. | CreateText method |
| B. | AppendText method |
| C. | OpenText method |
| D. | WriteText method |
| Answer» C. OpenText method | |
| 2. |
_____________________ is used to open a sequential access file for output. |
| A. | CreateText method |
| B. | AppendText method |
| C. | OpenText method |
| D. | WriteText method |
| Answer» B. AppendText method | |
| 3. |
In Visual Basic, you use _________________ to write a stream of characters. |
| A. | StreamWriter object |
| B. | StreamWriter class |
| C. | StreamReader object |
| D. | StreamReader class |
| Answer» B. StreamWriter class | |
| 4. |
Programmers refer to the sequence of character as ___________________ |
| A. | Stream of tokens |
| B. | Stream of characters |
| C. | Stream of bits |
| D. | Stream of bytes |
| Answer» C. Stream of bits | |
| 5. |
Files that contain lines of text are known as _______________ |
| A. | Binary files |
| B. | Text files |
| C. | Character files |
| D. | Array files |
| Answer» C. Character files | |
| 6. |
Files that read and write in consecutive order are known as _________________ |
| A. | Input files |
| B. | Output files |
| C. | Sequential access file |
| D. | Random access file |
| Answer» D. Random access file | |
| 7. |
Files that are read by computer are called as _________________ |
| A. | Input file |
| B. | Output file |
| C. | Random access file |
| D. | Sequential file |
| Answer» B. Output file | |
| 8. |
The file to which data is write is referred to as _______________ |
| A. | Input file |
| B. | Output file |
| C. | Random access file |
| D. | Sequential file |
| Answer» C. Random access file | |
| 9. |
Writing data to a file is referred to as ______________ |
| A. | Reading a file |
| B. | Writing a file |
| C. | Appending a file |
| D. | Executing a file |
| Answer» C. Appending a file | |
| 10. |
Reading data from a file is referred to as ________________ |
| A. | Reading a file |
| B. | Writing a file |
| C. | Appending a file |
| D. | Executing a file |
| Answer» B. Writing a file | |