Professional Documents
Culture Documents
F.M : 30
12
05
02
04
05
02
Date: 05/02/2016
marks
marks
marks
marks
marks
marks
Cal_tax
: to calculate income tax on the basis of following table
Salary per month
Income tax per month
>= 45000
10%
>= 30000 but < 45000
7%
>= 18000 but < 30000
5%
Disp()
: to display all data.
12.Write a program for searching an integer element from an 1d array using BINARY
Searching.
K Map Questions:
1. Reduce the following Boolean Expression using
F(A,B,C,D) = (0,1,4,5,6,7,11,12,13,14,15)
2. Reduce the following Boolean Expression using
F(A,B,C,D) = (2,3,4,5,6,7,8,10,11)
3. Reduce the following Boolean Expression using
F(A,B,C,D) = (0,1,2,4,5,6,8,10)
4. Reduce the following Boolean Expression using
F(A,B,C,D) = (,4,5,6,7,13,15)
SQL Questions:
1. Table: HOSPITAL
S_no. :
int Primary Key
Name :
string
Age
:
int ( must be greater than 20)
Dept :
String
Charges
:
int
Sex
:
char default value is M
1. Write SQL statement for creation of table Hospita.
2. Insert certain records in the above table.
3. Write SQL statement to count total employee in each department.
4. Count total Female employee.
5. Write SQL to display details of all employee whose name started with R.
2. Table : GAMES
Gcode
Name
:
Type
:
Number
:
Price
:
1.
2.
3.
4.
5.
:
int Primary Key
string
string (game type like indoor , outdoor)
int
float (must be greater than 1)
Signature of Internal
Examiner No. :
Signature of External
Examiner NO.: