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 | May, 2016 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
M.Sc. (Computer Science) DEGREE EXAMINATION,
MAY 2016.
VISUAL PROGRAMMING — LAB II
(2007 onwards)
Time Three hours Maximum 100 marks
Breakup marks
Record 10
Algorithm 10
Program 50
Debugging 10
Execution 10
Result 10
Total 100
Examiner has to select and give ONE question to each
candidate by LOT system.
1. Using Activex control create a Textbox that accepts
only numeric value with the following properties.
Background of the textbox
Text property of the textbox
Resize the text box at the standard application
without using properties.
Write a program to create a window of
desired size using MFC.
Sub. Code
17
DE-9196
2
wk4
2. Write a VB program to perform the following
operation in a record of random access file.
insert
delete
search
Write a program to handle windows messages
in MFC program.
3. Using Ax DLL or EXE add a class module that
would perform the following function
Test whether the given number is perfect or
not.
Whether the given number is Armstrong
number or not.
Find the factorial of the given number.
Write a program to get the status of the shift
and toggle keys using MFC.
4. Create an employee record with empno, empname,
basicpay, HRA, DA, PF, LIC, GP and NP with the
following calculation
HRA 10% of basic pay
PF of basic pay
GP basic pay DA HRA
DA of basic pay
LIC basic pay
NP GP (LIC PF)
Using Remote Data Access Object, implement the
following operations
Insert and delete a record
Search and modify a record
Display all the employee records whose names
are starting with the letter
Write a program to create a listbox in a
window.
Cut here
Cut here
DE-9196
3
wk4
5. Using MSFlex grid control, display the
multiplication and addition table of 20 rows and
columns.
Write a program to fill back ground of the
client area with a bitmap.
6. Create a form with Textbox, Combobox and
command button and do the following operation
Add the university name in the Combobox at
the run time
Search and delete the particular university in
the Combobox.
Sort the university names in alphabetical
order.
Write a program to generate a status bar and
show the status of Caps Lock, Num Lock and Scroll
Lock in it.
7. Write a event procedure for the following
Display date and time in the label box at run
time.
Find the power of a number.
Temperature conversion (from Fahrenheit to
centigrade).
Write a program to find out whether a mouse
is attached or not and if attached find how many
buttons are present.
8. Using a control array, create a simple calculator.
Write a program to create a window of
desired size using MFC.
M.Sc. (Computer Science) DEGREE EXAMINATION,
MAY 2016.
VISUAL PROGRAMMING — LAB II
(2007 onwards)
Time Three hours Maximum 100 marks
Breakup marks
Record 10
Algorithm 10
Program 50
Debugging 10
Execution 10
Result 10
Total 100
Examiner has to select and give ONE question to each
candidate by LOT system.
1. Using Activex control create a Textbox that accepts
only numeric value with the following properties.
Background of the textbox
Text property of the textbox
Resize the text box at the standard application
without using properties.
Write a program to create a window of
desired size using MFC.
Sub. Code
17
DE-9196
2
wk4
2. Write a VB program to perform the following
operation in a record of random access file.
insert
delete
search
Write a program to handle windows messages
in MFC program.
3. Using Ax DLL or EXE add a class module that
would perform the following function
Test whether the given number is perfect or
not.
Whether the given number is Armstrong
number or not.
Find the factorial of the given number.
Write a program to get the status of the shift
and toggle keys using MFC.
4. Create an employee record with empno, empname,
basicpay, HRA, DA, PF, LIC, GP and NP with the
following calculation
HRA 10% of basic pay
PF of basic pay
GP basic pay DA HRA
DA of basic pay
LIC basic pay
NP GP (LIC PF)
Using Remote Data Access Object, implement the
following operations
Insert and delete a record
Search and modify a record
Display all the employee records whose names
are starting with the letter
Write a program to create a listbox in a
window.
Cut here
Cut here
DE-9196
3
wk4
5. Using MSFlex grid control, display the
multiplication and addition table of 20 rows and
columns.
Write a program to fill back ground of the
client area with a bitmap.
6. Create a form with Textbox, Combobox and
command button and do the following operation
Add the university name in the Combobox at
the run time
Search and delete the particular university in
the Combobox.
Sort the university names in alphabetical
order.
Write a program to generate a status bar and
show the status of Caps Lock, Num Lock and Scroll
Lock in it.
7. Write a event procedure for the following
Display date and time in the label box at run
time.
Find the power of a number.
Temperature conversion (from Fahrenheit to
centigrade).
Write a program to find out whether a mouse
is attached or not and if attached find how many
buttons are present.
8. Using a control array, create a simple calculator.
Write a program to create a window of
desired size using MFC.
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