Deck 11: Ms-Windows Programming Assessment
Question
Question
Question
Question
Question
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/15
Play
Full screen (f)
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