Exam Details
Subject | visual programming – lab | |
Paper | mains paper 2 | |
Exam / Course | m.sc. computer science | |
Department | ||
Organization | Alagappa University Distance Education | |
Position | ||
Exam Date | December, 2017 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
M.Sc. (Computer Science) DEGREE EXAMINATION,
DECEMBER 2017.
VISUAL PROGRAMMING LAB II
(2007 onwards)
Time Three Hours Maximum 100 Marks
Break up marks
Record 10
Algorithm 10
Program 50
Debugging 10
Execution 10
Result 10
Total 100
The Examiner has to select and give ONE question to each
candidate by lot system.
1. Write a Visual program to create a window of
desired size using MFC.
Using Ax DLL or EXE add a class module that
would perform the following function.
Find the factorial of the given number
Sum of digits
Sub. Code
17
DE-9842
2
Wk 3
2. Write a Visual program to handle Windows
message in MFC program.
Using Active X control create a Textbox that accepts
only numeric value with the following properties.
Background of the textbox
Text property of the textbox.
3. Write Visual program to fill background of the
client area with a bitmap.
Develop a data report using Employee table with
the following function
Display all the Employee details
Display all the employee details in each
department and display total salary in each
department.
4. Write a Visual program to get the status of the
shift and toggle keys using MFC.
Create a table Hospital with the following fields
Patient number, Patient Name, address, Blood
Group, Disease. Using Ax data access object,
develop a hospital management sys. With the
following operation
Insert a record into the table record
Display all the patients' details with the
corresponding blood group from the combo
box.
Cut here
Cut here
DE-9842
3
Wk 3
5. Write a Visual program to generate a status
bar and show the status of Caps Lock, Num Lock
and Scroll Lock in It.
Using built in Ax control, develop the window
NOTEPAD with File and Edit menu operation and
also display the floating menu whenever necessary.
[Use RichTextBox, menu editor]
6. Write a Visual program to create a List box in
a window.
Create a form with Textbox, Combo box and
Command Button and do the following operation
Add the University name in the Combo box at
the run time.
Search and delete the particular University in
the combo box.
Display the message box with number of
University available in the Combo box.
Sort the University names in the alphabetical
order.
Cut here
DE-9842
4
Wk 3
7. Write a program to find out whether a mouse
is Attached or not; and If attached how many
buttons are present or not.
Write event procedure for the following
Display date and time in the label box at run
time.
Find the power of a number (Accept two
inputs as number and power.
Temperature conversion (From Fahrenheit
centigrade).
[Use Label, Textbox and Command Button in
the form]
8. Write a Visual program to generate a status
bar and show the status of Caps Lock, Num Lock
and Scroll Lock in it.
Using Active X control create a Textbox that accepts
only numeric value with the following properties
Text property of the textbox
————————
M.Sc. (Computer Science) DEGREE EXAMINATION,
DECEMBER 2017.
VISUAL PROGRAMMING LAB II
(2007 onwards)
Time Three Hours Maximum 100 Marks
Break up marks
Record 10
Algorithm 10
Program 50
Debugging 10
Execution 10
Result 10
Total 100
The Examiner has to select and give ONE question to each
candidate by lot system.
1. Write a Visual program to create a window of
desired size using MFC.
Using Ax DLL or EXE add a class module that
would perform the following function.
Find the factorial of the given number
Sum of digits
Sub. Code
17
DE-9842
2
Wk 3
2. Write a Visual program to handle Windows
message in MFC program.
Using Active X control create a Textbox that accepts
only numeric value with the following properties.
Background of the textbox
Text property of the textbox.
3. Write Visual program to fill background of the
client area with a bitmap.
Develop a data report using Employee table with
the following function
Display all the Employee details
Display all the employee details in each
department and display total salary in each
department.
4. Write a Visual program to get the status of the
shift and toggle keys using MFC.
Create a table Hospital with the following fields
Patient number, Patient Name, address, Blood
Group, Disease. Using Ax data access object,
develop a hospital management sys. With the
following operation
Insert a record into the table record
Display all the patients' details with the
corresponding blood group from the combo
box.
Cut here
Cut here
DE-9842
3
Wk 3
5. Write a Visual program to generate a status
bar and show the status of Caps Lock, Num Lock
and Scroll Lock in It.
Using built in Ax control, develop the window
NOTEPAD with File and Edit menu operation and
also display the floating menu whenever necessary.
[Use RichTextBox, menu editor]
6. Write a Visual program to create a List box in
a window.
Create a form with Textbox, Combo box and
Command Button and do the following operation
Add the University name in the Combo box at
the run time.
Search and delete the particular University in
the combo box.
Display the message box with number of
University available in the Combo box.
Sort the University names in the alphabetical
order.
Cut here
DE-9842
4
Wk 3
7. Write a program to find out whether a mouse
is Attached or not; and If attached how many
buttons are present or not.
Write event procedure for the following
Display date and time in the label box at run
time.
Find the power of a number (Accept two
inputs as number and power.
Temperature conversion (From Fahrenheit
centigrade).
[Use Label, Textbox and Command Button in
the form]
8. Write a Visual program to generate a status
bar and show the status of Caps Lock, Num Lock
and Scroll Lock in it.
Using Active X control create a Textbox that accepts
only numeric value with the following properties
Text property of the textbox
————————
Other Question Papers
Subjects
- c++ and data structures – lab i
- computer architecture
- computer networks
- data structures using c++
- database management systems
- image processing and analysis
- internet programming — lab
- internet programming and web design
- mathematical foundation of computer science
- operating systems
- software engineering
- visual programming
- visual programming – lab