Deck 24: Ticket Information Application
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/10
Play
Full screen (f)
Deck 24: Ticket Information Application
1
C# views each file as a______ .
A) sequential stream of bytes
B) sequential stream of bits
C) sequential stream of characters
D) sequential stream of strings
E) None of the above.
A) sequential stream of bytes
B) sequential stream of bits
C) sequential stream of characters
D) sequential stream of strings
E) None of the above.
sequential stream of bytes
2
A StreamWriter's __________method closes the stream.
A) Terminate
B) Finalize
C) End
D) Close
E) Exit
A) Terminate
B) Finalize
C) End
D) Close
E) Exit
Close
3
The date selected in a MonthCalendar is stored in its ________property.
A) SelectionStart
B) Now
C) Date
D) Value
E) Day
A) SelectionStart
B) Now
C) Date
D) Value
E) Day
SelectionStart
4
The ________property of an OpenFileDialog control, when set to __________, enables the user to create a file from the Open dialog.
A) NewFile, true
B) AllowCreate, true
C) ExistingFilesOnly, false
D) OpenNewFile, true
E) CheckFileExists, false
A) NewFile, true
B) AllowCreate, true
C) ExistingFilesOnly, false
D) OpenNewFile, true
E) CheckFileExists, false
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
5
To facilitate retrieval of specific records from a file, at least one field in each record is chosen as a_________ .
A) master record
B) record key
C) master key
D) field key
E) master field
A) master record
B) record key
C) master key
D) field key
E) master field
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
6
All data items processed by a computer are reduced to combinations of_________ and_______ at their most basic level.
A) fields, records
B) true, false
C) bits, bytes
D) 0, 1
E) None of the above.
A) fields, records
B) true, false
C) bits, bytes
D) 0, 1
E) None of the above.
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
7
The StreamReader's________ method returns -1 if there are no more characters to read in the file associated with the StreamReader.
A) HasMoreLines
B) HasMoreBytes
C) Look
D) Peek
E) IsEnd
A) HasMoreLines
B) HasMoreBytes
C) Look
D) Peek
E) IsEnd
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
8
Having a StreamReader and StreamWriter object open for the same file at the same time ________.
A) simplifies code
B) enables universal access to the file
C) causes an error
D) improves application performance
E) None of the above
A) simplifies code
B) enables universal access to the file
C) causes an error
D) improves application performance
E) None of the above
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
9
The________ property of an OpenFileDialog control specifies the file name displayed initially in the Open dialog.
A) File
B) FileName
C) Name
D) InitialName
E) InitialFileName
A) File
B) FileName
C) Name
D) InitialName
E) InitialFileName
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
10
When the user selects a new date in a MonthCalendar control, the_________ event is raised.
A) DayChanged
B) DateChanged
C) NewDate
D) MonthChanged
E) None of the above.
A) DayChanged
B) DateChanged
C) NewDate
D) MonthChanged
E) None of the above.
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck