Site MapHelpFeedbackMultiple Choice Quiz
Multiple Choice Quiz
(See related pages)

1
A file is made up of
A)Streams
B)Fields
C)Records
D)Buffers
2
To view the contents of a file
A)You must write a program using a StreamReader.
B)The IDE must be open.
C)Use the File close method.
D)Open the file with Notepad.
3
To test for the end of a file use
A)phoneStreamReader.Peek = -1
B)phoneStreamReader.EOF
C)phoneStreamReader.End()
D)phoneStreamReader.Peek(-1)
4
When using an OpenFileDialog initial properties can be set at design time for all except:
A)Name
B)CheckIfFileExists
C)Application.StartupPath
D)InstallDirectory
5
The best statement for accessing the data from a file to load a list box is
A)ReadLine
B)WriteLine
C)Items.Add
D)Items.Insert







Programming in VB .NET 2005Online Learning Center

Home > Chapter 11 > Multiple Choice Quiz