Skip to content
VUBuddy

CS609 Quiz 1

System Programming PDF 857 KBUpdated 23 Oct 2026
Quiz CS609 Quiz 1 PDF 857 KB
vubuddy.com
Type
Quiz
Course
CS609 System Programming
Size
PDF 857 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 857 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2 of 2. Download the file for all 2 pages.

Q1. What is the return type of GetStdHandle() API?

  1. DWORD
  2. LPDWORD
  3. BOOL
  4. HANDLE

Correct answer: HANDLE

Q2. What is the return type of Options() function?

  1. HANDLE
  2. BOOL
  3. VOID
  4. DWORD

Correct answer: BOOL

Q3. A Unicode word consists of __________ bits.

  1. 24 bits
  2. 32 bits
  3. 8 bits
  4. 16 bits

Correct answer: 16 bits

Q4. #include<io.h> is used for________________.

  1. Memory allocation
  2. Working in CLI
  3. Multitasking
  4. Input output operation

Correct answer: Input output operation

Q5. Windows OS keeps ________ versions of each API.

  1. One
  2. Two
  3. Interpreted
  4. Compiler

Correct answer: Two

Q6. Which of the following parameter of WriteFile() API is pointer to the buffer containing the data to be written to the file or device?

  1. lpBuffer
  2. lpOverlapped
  3. hFile
  4. lpNumberOfBytesWritten

Correct answer: lpBuffer

Q7. Which of the following Windows API is used to invalidate kernel handles and to release system resources?

  1. ExitFile()
  2. ReleaseFile()
  3. CloseFile()
  4. TerminateFile()

Correct answer: CloseFile()

Q8. What is the purpose of different API function variants in Windows?

  1. To provide compatibility with legacy systems
  2. To handle different programming languages
  3. To differentiate between uppercase and lowercase characters
  4. To support various character encodings

Correct answer: To support various character encodings

Q9. fread function is available in ______ library.

  1. signal.h
  2. string.h
  3. stdlib.h
  4. stdio.h

Correct answer: stdio.h

Q10. _tcscmp() is __________ function to compare the strings.

  1. not a generic
  2. an ASCII
  3. a Unicode
  4. a generic

Correct answer: a generic

All CS609 files →
CS609 System Programming All CS609 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.