You are on page 1of 2

Noida International Public School

Worksheet – II (2021-22)
Subject – I.T.
Class – XII

All Questions are compulsory to attempt. (20 Marks)


PART-1(OBJECTIVE)(1markeach)

1.Which of the following keys in a table provides a link between Two tables:-
(a) Primary key (b) Composite primary key
(c)Foreign key (d) Candidate key
2. What is the full form of SQL?
(a) Structured query language
(b) Structured query list
(c) Simple query language
(d) None of these
3. Which Sql statement is used to update data in a database?
(a) Save (b) Update
(c) Save as (d) Modify
4. Which sql statement is used to delete data FROM a database?
(a) Collapse (b) Remove
(c) Alter (d) Delete
5. Which SQL keyword is used to sort the result-set?
(a) Sort By (b) Order
(c) Order By (d) Sort
6. Which of the following do you need to consider when you make a table in
SQL?
(a)Data types (b) Primary keys
(c) Default values (d) All of the above
7. ______ means duplication of data?
(a) Data Extension (b) Data Inconsistency
(c)Data Redundancy (d) Data management
8. Allows to update,delete and add data: -
(a) Charts (b) Forms (c) Report
9. If we have not specified ASC or DESC after a sql ORDER BY clause,
thefollowing is used by default: -
(a) DESC (b)ASC
(c) There is no default value (d)None of the mentioned
10. How can you change “Thomas” into “Michel” in the “Last Name” column in
the users table?
(a) UPDATE user SET Last Name = ‘Thomas’ INTOLast Name = ‘Michel’
(b)Modify users SET Last Name = ‘Michel’ WHERELast Name = ‘Thomas’
(c ) Modify users SET Last Name = ‘Thomas’ INTOLast Name = ‘Michel’
(d) Update users SET Last Name = ‘Michel’ WHERELast Name = ‘Thomas’
PART -2 (Subjective)(10 Marks)

Q1. Write any two advantages of DBMS? How does DBMS help deal with data
inconsistency? (3)
Q2. Define FORM and REPORT? (3)

Q3. Write the answers based on following table: - (3 Marks)


Table- Student
Stuid Name Depid Qualification age
1 Trisha Sharma 101 MCA 28
2 Monica Verma 101 BCA 27
3 SwayamYadav 102 BA 24
4 Anoop Jadon 102 MA 26
5 Harry 103 B.TECH 24
6 Sam Luke 104 M.TECH 32

(a) Suggest a suitable data type for the field Stuid and Name in the table
Student.
(b) Write a query to display all the records of the table for
Depid=101
(c)Add a new record with the following details are: -
(‘7’,’Laxman Makhija’,105,’MCA’27)
Q4. Write aquerytoCreate TableEmployee: -(1 Marks)
Empid Char (4)
Empname Varchar (15)
Empdop Date
Salary Decimal
Give Primary key also?

You might also like