Академический Документы
Профессиональный Документы
Культура Документы
g. Add records.
7. Consider the following tables GAMES and PLAYER. Write SQL commands
for the statements (i) to (iv) and give outputs for SQL queries (v) to (viii)
GAMES
8. Consider the following tables EMPLOYEE and DESIG. Write SQL commands
for the statements (i) to (iv) and give outputs for SQL queries (v) to (viii)
EMPLOYEE
DESIG
W_ID SALARY BENEFITS DESIGNATION
102 75000 15000 MANAGER
105 85000 25000 DIRECTOR
144 70000 15000 MANAGER
210 75000 12500 MANAGER
255 50000 12000 CLERK
300 45000 10000 CLERK
335 40000 10000 CLERK
400 32000 7500 SALESMAN
451 28000 7500 SALESMAN
i). Display FirstName and City of Employee having salary between 50,000
and 90,000
ii). Display details of Employees who are from “PARIS” city.
iii). Increase the benefits of employee having W_ID = 210 by 500.
iv). Count number of employees whose name starts from character ‘S’.
v). Select MAX(salary) from desig;
vi). Select FirstName from employee, desig
where designation = ‘MANAGER’ AND employee.W_ID = desig.W_ID;
vii). Select COUNT (DISTINCT designation) from desig;
viii). Select designation, SUM(salary) from desig
Group by designation
Having count (*) > 2;
9. Consider the following tables BOOKS and ISSUED. Write SQL commands
for the statements (i) to (iv) and give outputs for SQL queries (v) to (viii)
BOOKS
ISSUED
Book_Id Quantity_Issued
T01 4
C01 5
F01 2
C01 6
T02 3
10. Given the following LAB table, write SQL command for the questions
(i) to (iii) and give the output of (iv).
LAB
(i) To select the ItemName,which are within the Warranty period till
present date.
(ii) To display all the itemName whose name starts with “C”.
(iii) To list the ItemName in ascending order of the date of purchase
where quantity is more than 3.
(iv) Give the output of the following SQL commands:
(a) select min(DISTINCT Quantity) from LAB;
(b) select max(Warranty) from LAB;
(c) select sum(CostPerItem) from Lab;
BSIT-21L
Karnataka State Open University
B.Sc (IT) II Semester Practical Examination
2. Using Netscape navigator make yahoo web site to be your default home
page.
3. To find the answer for the question “Which is the highest mountain peak in
the World?” using search engine.
6. Send a e-mail with attachments to your friend and read received e-mail
attachments
PAGE 1
PAGE2 PAGE 3
4. Webpage of a college which gets the student information like Reg. No,
name and password and display details of a student.
5. Create a HTML page to Display the syllabus of 4th semester with suitable
designing issues like font color alignment and etc..
6. Create a HTML page to Display the exam time table of an college using
tables.
7. Create a HTML to display your biodata.
BSIT-21L
Karnataka State Open University
B.Sc (IT) II Semester Practical Examination
(a) List the names of those students who have obtained DIV 1 sorted
by NAME.
(b) Display a report, listing NAME, STIPEND, SUBJECT and amount of
stipend received in a year assuming that the STIPEND is paid every
month.
(c) To count the number of students who are either PHYSICS or
COMPUTER SC graduates.
(d) To insert a new row in the GRADUATE table:
11,”KAJOL”, 300, “computer sc”, 75, 1
(e) Give the output of following sql statement based on table
GRADUATE:
(i) Select MIN(AVERAGE) from GRADUATE where
SUBJECT=”PHYSICS”;
(ii) Select SUM(STIPEND) from GRADUATE WHERE div=2;
(iii) Select AVG(STIPEND) from GRADUATE where
AVERAGE>=65;
(iv) Select COUNT(distinct SUBDJECT) from GRADUATE;
2 Write SQL command for (a) to (f) on the basis of the table
SPORTS
Table: SPORTS
3 Employees
EmpSalary
Empid Salary Benefits Designation
010 75000 15000 Manager
105 65000 15000 Manager
152 80000 25000 Director
215 75000 12500 Manager
244 50000 12000 Clerk
300 45000 10000 Clerk
335 40000 10000 Clerk
400 32000 7500 Salesman
441 28000 7500 salesman
(iv) To display the maximum salary among managers and clerks from
the table Empsalary.
Give the Output of following SQL commands:
9. Create the following table using suitable SQL Statements for each of the
table created , create the default form .
The table names along with description given below
10. Consider two tables STUDENT and MARKS generate the report. Display all
the details from both tables.
BSIT-32L
Karnataka State Open University
B.Sc (IT) III Semester Practical Examination
Data Members:
Event_no integer
Description Char(30)
Score integer
qualified char
Member functions:
• A constructor to assign initial values Event_No number as 101,
Description as “State level”, Score is 50 and qualified as ‘N’.
• Input(), To take the input for event_no, description and score.
• Award(int), To award qualified as ‘Y’, if score is more than the
cutoffscore passed as argument to the function else ‘N’.
• Show(), To display all the details.
4. Write a C++ program to concatenate & two strings using operator overloading
5. Write a C++ program to demonstrate virtual function
6. Write a C++ program to create a base class called student , from this inherit a new
class called Exams, containing marks1,marks2 and marks3 as its data members. Also
create another base class called sports having sport_grade as its data member. Now,
create yet another class but a derived class of Exams and Sports classes and call it
as awards. Use the suitable member functions in all the classes. You can use the
name ,roll number and semester as the member of the base class.
7. Write a C++ program to declare result of a student using multi level inheritance
1. Write a Java script program to generate a Login form with following Fields
LOGINNAME and PASSWORD use “Submit” and “Cancel “ Button in the
form and allow for the data entry to made in the form .
2. Write a Java Script Program that’s simulates the working of Simple
Calculator.
3. Create an application format to get admission to a college .
4. Create a enquiry form to prepare a list of voter id’s.
5. Write a java script that accepts a text and blinks it in a browser window at
the end of every second. Blink the text with alternate colour
6. Write a java script function called “DELETE COOKIE” that will delete a
cookie which is created.
7. Write a cookie in javascript to maintain the history of URL’s which are
recently browsed.
8. Develop a website of college information which contains at least five static
pages.
9. Write a java script code that will display an alert message “ YOU
FOCUSSED ON THE TEXT BOX” , whenever a user puts mouse pointer on
the text box.
10. Write a javascript program to display a message “ Welcome to homepage”
Use the following commands one at a time
( Alert(), confirm(), prompt() )
BSIT-52L
Karnataka State Open University
B.Sc (IT) V Semester Practical Examination
METHODS;
To assign initial values.
To deposit an amount
To withdraw after checking balance.
To display the name and balance.
3. Modify the program in (a) to incorporate a constructor to provide initial
values.