Deck 11: Ms-Windows Programming Assessment

Full screen (f)
exit full mode
Question
The LPSTR data type in the Win32 API is a 32-bit pointer to a character string.
Use Space or
up arrow
down arrow
to flip the card.
Question
The HANDLE data type in the Win32 API is a 16-bit integer.
Question
When requesting single-character input,you must call SetConsoleMode to alter the console flag settings.
Question
The COORD structure defined in MS-Windows specifies X and Y screen coordinates in pixel coordinates.
Question
The CREATE_NEW constant can be passed to the creationDisposition parameter in the CreateFile function.
Question
The Win32 ReadConsoleInput function reads character input from the console buffer,but does not remove the characters from the buffer.
Question
The SetConsoleWindowInfo function lets you control the size and position of the console window.
Question
When you call the ReadFile function,you must pass a pointer to a string containing the filename.
Question
The SetFilePointer function permits you to start reading from any point in a file.
Question
If you want to open an existing file,you must call the Win32 OpenFile function.
Question
The SetConsoleTextAttribute function can be used to change the color of text that has already been written to the screen buffer.
Question
The /SUBSYSTEM:CONSOLE option is required when linking Win32 console applications.
Question
A Win32 console HANDLE is required when reading and writing files.
Question
A application programming interface (API)includes functions,data types and constants.
Question
The WriteString procedure in the Irvine32 library uses the Win32 function named WriteConsole to generate console output.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/15
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 11: Ms-Windows Programming Assessment
1
The LPSTR data type in the Win32 API is a 32-bit pointer to a character string.
True
2
The HANDLE data type in the Win32 API is a 16-bit integer.
False
3
When requesting single-character input,you must call SetConsoleMode to alter the console flag settings.
True
4
The COORD structure defined in MS-Windows specifies X and Y screen coordinates in pixel coordinates.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
The CREATE_NEW constant can be passed to the creationDisposition parameter in the CreateFile function.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
The Win32 ReadConsoleInput function reads character input from the console buffer,but does not remove the characters from the buffer.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
The SetConsoleWindowInfo function lets you control the size and position of the console window.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
When you call the ReadFile function,you must pass a pointer to a string containing the filename.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
The SetFilePointer function permits you to start reading from any point in a file.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
If you want to open an existing file,you must call the Win32 OpenFile function.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
The SetConsoleTextAttribute function can be used to change the color of text that has already been written to the screen buffer.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
The /SUBSYSTEM:CONSOLE option is required when linking Win32 console applications.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
A Win32 console HANDLE is required when reading and writing files.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
A application programming interface (API)includes functions,data types and constants.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
The WriteString procedure in the Irvine32 library uses the Win32 function named WriteConsole to generate console output.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 15 flashcards in this deck.