0% found this document useful (0 votes)
84 views4 pages

HT TP: //qpa Pe R.W But .Ac .In: 2012 Windows Programming

This document contains a quiz on Windows programming concepts. It has three sections - multiple choice questions, short answer questions, and long answer questions. The multiple choice section contains 10 questions with one mark each. The short answer section contains 3 questions worth 5 marks each. The long answer section contains 3 questions worth 15 marks each. The questions cover topics like WNDCLASS structure, MSG structure, common dialog boxes, menu creation, window styles, message handling functions and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views4 pages

HT TP: //qpa Pe R.W But .Ac .In: 2012 Windows Programming

This document contains a quiz on Windows programming concepts. It has three sections - multiple choice questions, short answer questions, and long answer questions. The multiple choice section contains 10 questions with one mark each. The short answer section contains 3 questions worth 5 marks each. The long answer section contains 3 questions worth 15 marks each. The questions cover topics like WNDCLASS structure, MSG structure, common dialog boxes, menu creation, window styles, message handling functions and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Name : ……………………………………………………………

htt
Roll No. : ……………………………………………..…………..
Invigilator’s Signature : ………………………………………..
CS/BCA/SEP.SUPPLE/SEM-5/BCA-503/2012
p:/
2012
WINDOWS PROGRAMMING
Time Allotted : 3 Hours Full Marks : 70
/q
The figures in the margin indicate full marks.
Candidates are required to give their answers in their own words
pap
as far as practicable.

GROUP – A
( Multiple Choice Type Questions )
1. Choose the correct alternatives for the following : 10 × 1 = 10
er.

i) Prefix I is used in Hungarian notation to denote

a) char b) int
wb

c) BOOL (int) d) unsigned int.

ii) To register a new Window class, the function that we


call is

a) Register Window ()
ut .

b) Register Class ()

c) Register Window Class()

d) none of these.
a c.

iii) The number of queues in system queue is

a) 1 b) 2

c) 3 d) 4.
in

SS-20 [ Turn over


CS/BCA/SEP.SUPPLE/SEM-5/BCA-503/2012

iv) Get DC() is used to obtain


htt
a) a pointer to the device context

b) a reference to the device context

c) a handle to the device context


p:/
d) None of these.

v) In Windows, the largest size of a single segment in the


memory is
/q
a) 32 kB b) 64 kB

c) 128 kB d) 16 kB.
pap

vi) The DISCARDABLE memory option is always used with


which option ?

a) MOVEABLE

b) LOADONCALL
er.

c) PRELOAD

d) None of these.
wb

vii) Dispatch Message is required to

a) Dispatch a function b) Dispatch a message

c) Dispatch a pointer d) Dispatch a reference.


ut .

viii) The main function of Windows Programming is

a) main ( ) b) WndProc()

c) WinMain() d) none of these.


a c.

ix) HWND is a handler of

a) Function b) Object

c) Window d) All of these.


in

SS-20 2
CS/BCA/SEP.SUPPLE/SEM-5/BCA-503/2012

x) GDI stands for


htt
a) Graphical Device Interchange
b) Graphical Device Internet
c) Graphical Device Interaction
p:/
d) Graphical Device Interface.

GROUP – B
/q
( Short Answer Type Questions )
Answer any three of the following. 3 × 5 = 15
pap
2. Define WNDCLASS structure.
3. a) What all the header files are included in Windows.h ? 2
b) What is an SDK ? 3
4. Describe MSG structure for Windows Programming. 5
er.

5. What is Clipboard function ? Explain any four clipboard


functions. 1+4
6. What is meant by the windows function Create ( ) ? Discuss
wb

with proper syntax. 2+3

GROUP – C
( Long Answer Type Questions )
Answer any three of the following. 3 × 15 = 45
ut .

7. a) What is polymorphism ?
b) What are common dialog boxes ?
c) What is resource ? discuss its components.
a c.

d) Describe menu creation in a window. 4+4+4+3


8. a) What parameters are passed to Winproc() function ?
Explain them. 5
in

SS-20 3 [ Turn over


CS/BCA/SEP.SUPPLE/SEM-5/BCA-503/2012

b) What do you mean by window style ? Explain the


following : 5×2
htt
(i) WS_OVERLAPPED

(ii) WS_CAPTION
p:/
(iii) WS_SYSMENU

(iv) WS_MAXIMIZEBOX
/q
(v) WS_VSCROLL.
9. a) Differentiate between modal and modeless dialog box.
pap
b) Describe the Message Box structure with example.
c) Explain the following code :
While(GetMessage(&msg,0,0)
{ TranslateMessage(&msg)
} DispatchMessage(&msg) 4+5+6
er.

10. Write the function, meaning and parameter of the following :


5×3
a) GetMessage()
wb

b) BeginPaint()
c) ShowWindow()
d) GetStockObject()
e) DrawText()
ut .

11. Write short notes on any three of the following : 3×5


a) MDI
b) API
a c.

c) MFC
d) SDK
e) Messages in windows programming.
in

SS-20 4

You might also like