Skip to content
VUBuddy

CS410 Midterm Past Papers by Faisal

Visual Programming PDF 751 KBUpdated 23 Oct 2026
Midterm past paper CS410 Midterm Past Papers by Faisal PDF 751 KB
vubuddy.com
Type
Midterm past paper
Course
CS410 Visual Programming
Size
PDF 751 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 751 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, 3 of 64. Download the file for all 64 pages.

Rana Abubakar Khan If you want to learn computer programming then contact with me

JOIN FB GROUP FOR VU HELP

MUHAMMAD FAISAL MIT 4th Semester

CS410 Mega File of Solved Mid Term Papers CS410 - WINDOWS PROGRAMMING

Q1. For showing Dialog we can use "ShowWindow(...)" function. (1 marks)

TRUE

FALSE

Q2. When a menu item is clicked, WM_COMMAND message is send and ID of this menu item is sent in: (1 marks)

1. wParam

  1. lParam 3. hInstance 4. HWND

Q3. The "GetDlgItem" function retrieves a ______ to a control. (1 marks)

1. Handle

  1. Pointer 3. Object
  2. None of the given options

Q4. The WM_INITDIALOG message is sent to the dialog box procedure ______________ (1 marks)

1. Immediately before a dialog box is displayed

  1. Immediately after a dialog box is displayed 3. When DialogProc is called
  2. When HideDialog is called

Q5. Virtual key code defined by (1 marks)

  1. Kernel
  2. Application

3. System

  1. None of given

Q6. In which parameter of "CreateWindow" function, we can specify the Menu. (1 marks)

1. hMenu

  1. hInstance 3. hWnd
  2. dialogBox

Q7. Neither the user nor the application can make the owner window active until the modal dialog box is destroyed (1 marks)

True

False

All CS410 files →
CS410 Visual Programming All CS410 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.