Exam Details
Subject | visual programming | |
Paper | ||
Exam / Course | m.sc. computer science | |
Department | ||
Organization | Alagappa University Distance Education | |
Position | ||
Exam Date | May, 2017 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
M.Sc. DEGREE EXAMINATION, MAY 2017.
LAB II — VISUAL PROGRAMMING
(2007 onwards)
Time Three hours Maximum 100 marks
Examiner has to select and give ONE question to each
candidate by LOT system.
1. 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]
Write a VB program to perform the following
operation in a record of random Access File
Insert
Delete
Search.
Sub. Code
17
DE-9544
Ws 5
2
2. Write event procedure to perform the following
Reverse a string.
Determine whether the given string is
Palindrome or not.
Change the case of a string to upper of lower.
[Use Label, Textbox, Command Button].
Create a VB application with a DriveListbox,
DirListbox.
Select exe file and execute it.
Select the picture and load it to the form.
Filter the file in the file list box according to
the extension chosen in the combo box.
3. 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.
Using Activex X control create a Textbox that
accepts only numeric value with the following
properties
Background of the textbox
Foreground of the textbox.
Text property of the textbox
Resize the textbox at the standard application
without using properties.
Cut here
DE-9544
Ws 5
3
4. Using a control array, create a simple calculator
which will do the following operation.
Addition
Subtraction
Multiplication
Division
Square
Square root
Modulus
(viii) Power
Percentage.
[Using Textbox, Command Button, Frames]
Write a Visual program to create a window of
desired size using MFC.
5. Write a Visual program to handle Windows
messages in MFC program.
Using MSFlex grid control, display the
multiplication and addition table of 20 rows and
columns. [Use MSFlex Grid, Button].
Cut here
DE-9544
Ws 5
4
6. Using built in Ax control, develop the windows
NOTEPAD with File and Edit menu operation and
also display the floating menu whenever necessary.
[Use RichTextBox, menu editor].
Write Visual program to fill background of the
client area with a bitmap.
7. Create an employee with Empno, Empname,
Basicpay, HRA, DA, PF, LIC, GP and NP with the
following calculation.
HRA 10% OF BP DA OF BP
PF OF BP LIC OF BP
GP BP DA HRA NP GP (PF LIC)
USING REMOTE DATA ACCESS OBJECT,
Implement THE FOLLOWING OPERATIONS.
Insert a record
Search and delete a record
Modify the record
Display all the employee records whose names
are starting with the letter
Write a Visual program to get the status of the
shift and toggle keys using MFC.
Cut here
DE-9544
Ws 5
5
8. 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
Search and Delete a record
Modify the record
Display all the patient's details with the
corresponding blood group from the combo
box.
Write a Visual program to generate a status
bar and show the status of Caps Lock Num Lock
and Scroll Lock in it.
9. Using Ax DLL or EXE add a class module that
would perform the following function.
Text whether the given number is perfect or
not
Whether the given number is Armstrong
number or not
Find the factorial of the given number
Sum of digits.
Write a Visual program to create a List box in
a window.
Cut here
DE-9544
Ws 5
6
10. Develop a data report using Employee table with
the following
Display all the Employee details
Display all the employee details in each
department and display total salary in each
department.
Display all the employee details which starts
with the employee name specified in Textbox.
Write a program to find out whether a mouse
is Attached or not; and if attached how many
buttons are present or not.
M.Sc. DEGREE EXAMINATION, MAY 2017.
LAB II — VISUAL PROGRAMMING
(2007 onwards)
Time Three hours Maximum 100 marks
Examiner has to select and give ONE question to each
candidate by LOT system.
1. 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]
Write a VB program to perform the following
operation in a record of random Access File
Insert
Delete
Search.
Sub. Code
17
DE-9544
Ws 5
2
2. Write event procedure to perform the following
Reverse a string.
Determine whether the given string is
Palindrome or not.
Change the case of a string to upper of lower.
[Use Label, Textbox, Command Button].
Create a VB application with a DriveListbox,
DirListbox.
Select exe file and execute it.
Select the picture and load it to the form.
Filter the file in the file list box according to
the extension chosen in the combo box.
3. 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.
Using Activex X control create a Textbox that
accepts only numeric value with the following
properties
Background of the textbox
Foreground of the textbox.
Text property of the textbox
Resize the textbox at the standard application
without using properties.
Cut here
DE-9544
Ws 5
3
4. Using a control array, create a simple calculator
which will do the following operation.
Addition
Subtraction
Multiplication
Division
Square
Square root
Modulus
(viii) Power
Percentage.
[Using Textbox, Command Button, Frames]
Write a Visual program to create a window of
desired size using MFC.
5. Write a Visual program to handle Windows
messages in MFC program.
Using MSFlex grid control, display the
multiplication and addition table of 20 rows and
columns. [Use MSFlex Grid, Button].
Cut here
DE-9544
Ws 5
4
6. Using built in Ax control, develop the windows
NOTEPAD with File and Edit menu operation and
also display the floating menu whenever necessary.
[Use RichTextBox, menu editor].
Write Visual program to fill background of the
client area with a bitmap.
7. Create an employee with Empno, Empname,
Basicpay, HRA, DA, PF, LIC, GP and NP with the
following calculation.
HRA 10% OF BP DA OF BP
PF OF BP LIC OF BP
GP BP DA HRA NP GP (PF LIC)
USING REMOTE DATA ACCESS OBJECT,
Implement THE FOLLOWING OPERATIONS.
Insert a record
Search and delete a record
Modify the record
Display all the employee records whose names
are starting with the letter
Write a Visual program to get the status of the
shift and toggle keys using MFC.
Cut here
DE-9544
Ws 5
5
8. 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
Search and Delete a record
Modify the record
Display all the patient's details with the
corresponding blood group from the combo
box.
Write a Visual program to generate a status
bar and show the status of Caps Lock Num Lock
and Scroll Lock in it.
9. Using Ax DLL or EXE add a class module that
would perform the following function.
Text whether the given number is perfect or
not
Whether the given number is Armstrong
number or not
Find the factorial of the given number
Sum of digits.
Write a Visual program to create a List box in
a window.
Cut here
DE-9544
Ws 5
6
10. Develop a data report using Employee table with
the following
Display all the Employee details
Display all the employee details in each
department and display total salary in each
department.
Display all the employee details which starts
with the employee name specified in Textbox.
Write a program to find out whether a mouse
is Attached or not; and if attached how many
buttons are present or not.
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