Term-II Pre-Board IT Paper
Term-II Pre-Board IT Paper
2 Sunil had started a business after leaving his permanent job. He could
not earn any profit in the first few years of the business. He worked hard,
researched a lot, and put in extra effort to make the business succeed.
Which quality of Sunil is shown here?
a. Perception b. Intuition c. Passion d. Vision
Section B
11 Which of the following fields in the table “Book” can act as a primary
key?
a. Book_number b. Subject c. price d. Author_name
StuLib
Field Type
BookID Numeric
StulD Numeric
Issue_Date Date
Return_Dat Date
e
Student
Field Type
StuID Numeric
StuName Varchar(20)
StuAddress Varchar(50)
StuFatherName Varchar(20)
StuContact Numeric
StuAadhar Numeric
StuClass Varchar(5)
StuSection Varchar(1)
i. Identify the SQL query which will display the data from the StuLib
table in the ascending order of StudentID.
a) Select * from StuLibrary Order by BookID
b) Select * from StuLibrary Order by StuID
c) Select * from StuLibrary Order by StuID ASC
d) Select * from StuLibrary Order by StuID DESC
iii. Which of the following SQL query will fetch the IDs of the issued
books which have not been returned?
a. SELECT BookID from StuLibrary where BookID is NULL;
b. SELECT BookID from StuLibrary where StuID is NULL;
c. SELECT BookID from StuLibrary where Issued_date is NULL;
d. SELECT BookID from StuLibrary where Return_date is NULL;
iv. The Alternate Key for the Student Table will be…………………. .
a. StuName
b. StuContact
c. StuAadhar
d. StuClass
v. Write an SQL query to display the dates on which the number of books
issued is greater than 5.