Exam 10: Structures and Sequential Access Files

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Examples of text stored in sequential access files include an employee list,a memo,or a sales report.

(True/False)
4.9/5
(24)

Write the statement that would write two columns of text to an output file named outFile.The first column,which contains the data for the strStudentID variable,must contain nine characters.The second column contains the data for the strLastName variable.

(Essay)
4.8/5
(46)

You reserve memory locations by declaring a structure variable.

(True/False)
4.7/5
(42)

Write the statement that would remove the item "RGT12985" from the lstPartNumber control.

(Essay)
4.8/5
(37)

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.8/5
(31)

Variables declared using a structure are often referred to as ____.

(Multiple Choice)
4.9/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
(41)

You can use the ____ to open a sequential access file for output.

(Multiple Choice)
4.9/5
(30)

The ____ method writes a newline character after the data.

(Multiple Choice)
4.9/5
(26)

Which of the following opens the employee.txt file for output,creates a StreamWriter object,and assigns it to the outFile variable? Which of the following opens the employee.txt file for output,creates a StreamWriter object,and assigns it to the outFile variable?

(Not Answered)
This question doesn't have any answer yet
Ask our community

Which of the following removes the sixth item from the lstTrees control? Which of the following removes the sixth item from the lstTrees control?

(Not Answered)
This question doesn't have any answer yet
Ask our community

After declaring a StreamReader variable,you can use the ____ to open a sequential access file for input;doing this automatically creates a StreamReader object.

(Multiple Choice)
4.9/5
(41)

A file to which information is written is referred to as a(n)____ file.

(Multiple Choice)
4.9/5
(35)

Which of the following statements should be used first when opening the input file? Which of the following statements should be used first when opening the input file?

(Not Answered)
This question doesn't have any answer yet
Ask our community

You cannot include an array in a structure.

(True/False)
4.8/5
(30)

Which of the following declares a StreamReader variable named newFile?

(Multiple Choice)
4.9/5
(33)

Files to which information is written are called input files.

(True/False)
5.0/5
(33)

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
(35)
Showing 41 - 58 of 58
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)