VISUAL PROGRAMMING ( VC++
) ...MODEL QUSETIONS
=============================================
1) Write a program for Mouse-event handling
using Windows SDK and explain
the code.
2) Write a program for Mouse-event handling using MFC without
wizard and explain the code.
3) What are the various Resources in
VC++? Write a brief note on each,
explaining their function.
4) What is the 'Menu editor ' in
VC++? Explain how you would create a
menu for MFC program and connect it to suitable event handler.
5) What is the difference between :
a) Dialog -based AppWizard program
b) SDI ,,
c) MDI ,,
6)
How will you display an image in MFC program?
Write a program for:
a) displaying the image in normal size
b) ,, ,, enlarged ,,
c) tiling the image
7) What is the 'Dialog editor'?
What are the various controls in its toolbox?
Show how the Dialog editor is used in MFC program
and how the data is extracted from the dialog.
8) How will you use a Toolbar Resource
editor in MFC program?
9) How will you provide a status bar in
MFC program and display CAPS,NUMS and SCROLL locks as well as general info?
10) What are the 4 GDI objects? Give
a code example to illustrate each.
11) Write an MFC program to create label,
text, checks, radios and combo directly on
screen and extract data from them.
12)
Show how you will create a computer order program using Dialog editor
and extract data.
13) Show how you would create a Dialog-type
of program using AppWizard and display a
multi-media file.
14)
Give an example of Timer function in MFC and develop an animation program
using that.
15)
How will you create a list control directly on screen? How will you extract the user-selected data from it?
Repeat for multi- select listbox
also.
16)
Explain with a code example, how you would use Color-Dialog, in MFC.
17)
Explain with a code example , how you would use Font-Dialog in
MFC.
18)
Write a program for a simple Text-Editor using File Open/Save dialogs.
19)
How will you invoke and use a Print Dialog?
20)
What do you understand by 'Serialization'?
Write a note on CArchive.
21) What is 'Document-View Architecture'?
Write a simple program to illustrate
the concept.
22)
Write a program in SDI for mouse-event handling :
a) without using Doc-View
b) using
Doc-View
23)
Show how you would develop an MDI program in MFC.(without wizard).
24)
What are the Windows-95 Common-Controls?
Mention and give brief note on atleast 15 of
these controls.
25)
Give code example for using:
a) CAnimateCtrl
b) CSlider
c) CProgressCtrl
d) TreeControl
26)
Develop a program for 4 function Integer calculator directly on
screen, without dialog editor.
27) Develop a program for a 4 function
Integer calculator using AppWizard Dialog app.
28) Show how you would develop a Database
program for
browsing,adding,modifying and
deleting records.
29) What do you understand by "OLE"?
How would you provide for OLE features in MFC?
30)
What is a
'DLL'? How will you create and use a DLL in MFC?
31) Show how you will use the Grid
control in Dialog
app.
32) What is a Splitter window? How
will you create it by code?
33) Write a note on various Mapping
Modes in MFC.
34) What are the various 'Views' available.
Show the purpose of Scroll View.
35) Write a note on Exception handling in
MFC.
36) What are the various Device Contexts?
Give code examples to illustrate each.
37)
What is MetaFileDC? How can we draw and
save the drawing to hard-disk easily using the
methods of MetaFileDC?
38)
Explain with practical code the mehods for dynamic
manipulation of Menu.
39) Develop a program for Float
calculator in MFC.
40) Develop
a program to play audio .