Exam Details

Subject visual basic and vc++ lab
Paper
Exam / Course m.sc. (software engineering)
Department
Organization Alagappa University Distance Education
Position
Exam Date May, 2018
City, State tamil nadu, karaikudi


Question Paper

DISTANCE EDUCATION
M.Sc. Years Integrated) DEGREE EXAMINATION,
MAY 2018.
VISUAL BASIC AND LAB
Time Three hours Maximum 100 marks
Each Student has to select ONE question 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 base
number and power number as inputs)
Temperature conversion (From Fahrenheit to
Centigrade).
(Use Label, Textbox, command button)
Write a Visual program to create a window of
desired size using MFC.
2. Write event procedure for the following
Reverse a string.
Determine whether the given string is
palindrome or not.
Change the case of a string from lower to
upper and vice-versa.
(Use Label, Textbox, command button)
Write a Visual program to handle Windows
messages in MFC program.
Sub. Code
46
DE-7063
2
sp4
3. Create a form with Textbox, Combo box and
Command Button and do the following operations
Add the University name in the combo box at
run time.
Search and delete the particular University in
the combo box.
In a message box, display the total number of
University names available in the combo box.
Sort the University names in the alphabetical
order.
Write a Visual program to fill background of
the client area with a bitmap.
4. Using a control array, create a simple calculator
which will do the following operation.
Addition
Subtraction
Multiplication
Division
Square
Power
Modulus
Write a Visual program to get the status of the
shift and toggle keys using MFC.
Cut here
DE-7063
3
sp4
5. Create a pay table in employee database with
Empno, Empname, Basicpay, HRA, DA, PF, LIC,
GP and NP fields. Use the following formulae for
computations.
HRA 10% of BP
DA 5%ofBP
PF 3%ofBP
LIC 5%ofBP
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 "M".
Write a Visual program to generate a status
bar and show the status of Caps Lock, Num Lock,
and Scroll Lock in it.
6. Create a table PATIENT in HOSPITAL database
with the following fields: Patient number, Patient
Name, Address, Blood group, Disease. Using
ActiveX data access object, develop a hospital
management system with the following operation.
Insert a record into the table.
Search and delete a record
Modify the record
Display all the patients' details with the
corresponding blood group from the combo
box.
Write a Visual program to create a list box in
window.
DE-7063
4
sp4
7. Write a VB program to perform the following
operations over the records in a random Access file:
Insert
Delete
Search
Write a Visual program to find out whether a
mouse is attached or not; and if attached, how many
buttons in it.
8. Develop a data report using Employee table and
perform the following operations
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 part of the employee name specified in
Textbox.
Write a Visual program to fill the
background of the client area with a bitmap.



Subjects

  • c programming – lab
  • c++ lab
  • case tools lab
  • computer graphics and multimedia
  • computer networks
  • cryptography and network security
  • data structures lab
  • data ware housing and mining
  • distributed computing
  • internet and java - lab
  • internet and java programming
  • mobile communications
  • object oriented programming and c++
  • open source architecture
  • open source lab
  • operating systems
  • relational database management system
  • relational database management systems –lab
  • software engineering
  • software project management and metrics
  • software quality assurance and standards
  • software testing and reuse
  • unix and shell programming
  • visual basic and vc++ lab
  • visual programming
  • web technology
  • web technology — lab