Test Index

CBSE Class 12 Computer Science 2023 Paper Set 4 Get it on Google PlayDownload on the App Store

© examsnet.com
Question : 34 of 35
Marks: +1, -0
The school has asked their estate manager Mr. Rahul to maintain the data of all the labs in a table LAB. Rahul has created a table and entered data of 5 labs.
LABNOLAB_NAMEINCHARGECAPACITYFLOOR
L001CHEMISTRYDaisy20I
L002BIOLOGYVenky20II
L003MATHPreeti15I
L004LANGUAGEDaisy36III
L005COMPUTERMary Kom37II
Based on the data given above answer the following questions :
(i) Identify the columns which can be considered as Candidate keys. [1]
(ii) Write the degree and cardinality of the table. [1]
(iii) Write the statements to : [2]
(a) Insert a new row with appropriate data.
(b) Increase the capacity of all the labs by 10 students which are on ‘I’ Floor.
OR
(Option for part (iii) only)
(iii) Write the statements to : [2]
(a) Add a constraint PRIMARY KEY to the column LABNO in the table.
(b) Delete the table LAB.
Advertisements
Go to Question: