Skip to content
VUBuddy

CS609 Quiz 1 Updated by VU Topper RM

System Programming PDF 3.4 MBUpdated 23 Oct 2026
Quiz CS609 Quiz 1 Updated by VU Topper RM PDF 3.4 MB
vubuddy.com
Type
Quiz
Course
CS609 System Programming
Size
PDF 3.4 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 3.4 MB

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 2, 3, 4 of 31. Download the file for all 31 pages.

Q1. Vu-Topper RM (1 marks)

If process A has a shared lock on file,and process B tries to read without a shared lock then the read attempt will __________. A. Return exception B. Fail

C. Succeed

D. Return a shared lock

Q2. Vu-Topper RM (1 marks)

HKEY_LOCAL_MACHINE stores ________________ information about the machine. A. Private B. Logical C. Protected

D. Physical

Q3. Vu-Topper RM (1 marks)

The Options Function have ________ Arguments. A. 4 B. 6 C. 5

D. 7

Q4. Vu-Topper RM (1 marks)

What is the return type of GetTempFileName() function?

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

Correct answer: UINT

Q5. Vu-Topper RM (1 marks)

Overlap structure is a structure which is defined in the _______________ header file. A. everything.h B. stdarg.h

C. windows.h

D. stdio.h

Q6. Vu-Topper RM (1 marks)

IsReg() function processes registry keys rather than _____________and_____________. A. Key-value pairs, files

B. Directories, files

C. Key-value pairs, properties D. Directories, key-value pairs

Q7. Vu-Topper RM (1 marks)

Each Windows API has a________ number of parameters. A. Four B. Fixed

C. Variable

D. Two

Q8. Vu-Topper RM (1 marks)

Which of the following parameter of CreateFile() API is used to access to the file or device?

  1. dwCreationDisposition
  2. dwDesiredAccess
  3. dwShareMode
  4. hTemplateFile

Correct answer: dwDesiredAccess

Q9. Vu-Topper RM (1 marks)

Roman empire use ________________ algorithm to encrypt secret conversation. A. Cryptography B. Brute force C. CRT

D. Ceasar Cipher

Q10. Vu-Topper RM (1 marks)

Which of the following function uses the va_start, va_arg, and va_end library functions?

  1. PrintString()
  2. WriteConsole()
  3. PrintMsg()
  4. ConsolePrompt()

Correct answer: PrintMsg()

Q11. Vu-Topper RM (1 marks)

What is the return type of GetStdHandle() API?

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

Correct answer: HANDLE

Q12. Vu-Topper RM (1 marks)

______ is the return type of SetFilePointer() function

A. DWORD

B. HANDLE C. VOID D. BOOL

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.