Exam 11: Ms-Windows Programming Assessment

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The LPSTR data type in the Win32 API is a 32-bit pointer to a character string.

Free
(True/False)
4.8/5
(42)
Correct Answer:
Verified

True

The SetConsoleWindowInfo function lets you control the size and position of the console window.

Free
(True/False)
4.8/5
(33)
Correct Answer:
Verified

True

The SetConsoleTextAttribute function can be used to change the color of text that has already been written to the screen buffer.

Free
(True/False)
5.0/5
(32)
Correct Answer:
Verified

False

The COORD structure defined in MS-Windows specifies X and Y screen coordinates in pixel coordinates.

(True/False)
4.9/5
(32)

When requesting single-character input,you must call SetConsoleMode to alter the console flag settings.

(True/False)
4.8/5
(39)

The Win32 ReadConsoleInput function reads character input from the console buffer,but does not remove the characters from the buffer.

(True/False)
4.8/5
(32)

The HANDLE data type in the Win32 API is a 16-bit integer.

(True/False)
4.9/5
(29)

When you call the ReadFile function,you must pass a pointer to a string containing the filename.

(True/False)
4.8/5
(34)

If you want to open an existing file,you must call the Win32 OpenFile function.

(True/False)
4.8/5
(35)

A Win32 console HANDLE is required when reading and writing files.

(True/False)
5.0/5
(37)

The CREATE_NEW constant can be passed to the creationDisposition parameter in the CreateFile function.

(True/False)
4.9/5
(29)

The /SUBSYSTEM:CONSOLE option is required when linking Win32 console applications.

(True/False)
4.8/5
(26)

The SetFilePointer function permits you to start reading from any point in a file.

(True/False)
4.8/5
(33)

The WriteString procedure in the Irvine32 library uses the Win32 function named WriteConsole to generate console output.

(True/False)
4.9/5
(25)

A application programming interface (API)includes functions,data types and constants.

(True/False)
4.9/5
(39)
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)