Filters
Question type

Files that are read by the computer are called ____ files.


A) storage
B) serial
C) input
D) report

Correct Answer

verifed

verified

Which of the following statements will write the text "Programming" to a sequential access file? Which of the following statements will write the text  Programming  to a sequential access file?

Correct Answer

verifed

verified

Programmers use structure variables to store related items in an array,even when the items have different data types.

Correct Answer

verifed

verified

Which of the following statements removes the selected line in the list box? Which of the following statements removes the selected line in the list box?

Correct Answer

verifed

verified

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? 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?

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

Most programmers use the Structure statement,rather than the Class statement,to create data types that contain procedures.

Correct Answer

verifed

verified

Write the code to declare a variable named inFile that can be used to read data from a sequential access file.Then write the statement to open a sequential access file named samples.txt for input.

Correct Answer

verifed

verified

In Visual Basic,you use a(n) ____ to read data from a sequential access file.


A) StreamWriter object
B) OpenText method
C) ReadLine method
D) StreamReader object

Correct Answer

verifed

verified

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


A) CreateText method
B) StreamReader object
C) StreamWriter object
D) AppendText method

Correct Answer

verifed

verified

Which of the following statements will read data from a sequential access file?


A) inFile.Read
B) inFile.Peek
C) inFile.ReadWrite
D) inFile.ReadLine

Correct Answer

verifed

verified

Which of the following can be used to determine whether the accounts.txt file exists? Which of the following can be used to determine whether the accounts.txt file exists?

Correct Answer

verifed

verified

You use the ____ member access operator to separate the structure variable's name from the member variable's name.


A) ()
B) arrow
C) asterisk
D) dot

Correct Answer

verifed

verified

What is the difference between an input file and an output file?

Correct Answer

verifed

verified

Files that are read by the computer are ...

View Answer

The members of a structure can be variables,constants,or ____.


A) structures
B) classes
C) procedures
D) control characters

Correct Answer

verifed

verified

You can use the Strings.Space method to include a specific number of space characters in a string.

Correct Answer

verifed

verified

What is the difference between a structure and a structure variable?

Correct Answer

verifed

verified

A structure is a user-defined data type ...

View Answer

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 samples.txt for output.New data should be written to the file after any existing data in the file.

Correct Answer

verifed

verified

Which of the following statements can be used to fill a string variable with asterisks resulting in "*****$675.89"? Which of the following statements can be used to fill a string variable with asterisks resulting in  *****$675.89 ?

Correct Answer

verifed

verified

Which of the following statements will close the sequential access file associated with the outFile variable?


A) outFile.End()
B) outFile.Quit()
C) outFile.IO()
D) outFile.Close()

Correct Answer

verifed

verified

Showing 21 - 40 of 58

Related Exams

Show Answer