12th Standard CBSE Syllabus & Materials
12th Standard CBSE
CBSE 12th Biology Sexual Reproduction in Flowering Plants Important Questions And Answers Study Material - QB365 Set B
NEW12th Standard CBSE
CBSE 12th Biology Sexual Reproduction in Flowering Plants Important Questions And Answers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Biology Sexual Reproduction in Flowering Plants Assertion and Reason Study Material - QB365 Set D
NEW12th Standard CBSE
CBSE 12th Biology Sexual Reproduction in Flowering Plants Assertion and Reason Study Material - QB365 Set C
NEW12th Standard CBSE
CBSE 12th Biology Sexual Reproduction in Flowering Plants Assertion and Reason Study Material - QB365 Set B
NEW12th Standard CBSE
CBSE 12th Biology Sexual Reproduction in Flowering Plants Assertion and Reason Study Material - QB365 Set A

Published on: 25/10/2025
Download CBSE Class 12th Standard CBSE Computer Science question papers, sample papers, important questions, and previous year solved papers in PDF format. Get free study materials, NCERT solutions, and exam preparation resources for Class 12th Standard CBSE Computer Science
Questions + Answers key
Take MCQ Computer Science Test

6 Marks
1.
Write SQL queries for (i) to (iv) and find outputs for SQL queries (v) to (viii),
which are based on the tables.
Table: CUSTOMER
| CNO | CNAME | ADDRESS |
| 101 | Richa Jain | Delhi |
| 102 | Surbhi Sinha | Chennai |
| 103 | Lisa Thomas | Bangalore |
| 104 | ImranAIi | Delhi |
| 105 | Roshan Singh | Chennai |
Table: TRANSACTION
| TRNO | CNO | AMOUNT | TYPE | DOT |
| T 001 | 101 | 1500 | Credit | 2017-11-23 |
| T002 | 103 | 2000 | Dedit | 2017-05-12 |
| T003 | 102 | 3000 | Credit | 2017-06-10 |
| T003 | 103 | 12000 | Credit | 2017-09-12 |
| T005 | 101 | 1000 | Dedit | 2017-09-05 |
(i) To display details of all transactions of TYPE Credit from table TRANSACTION.
(ii) To display the CNO and AMOUNT of all Transactions done in the month of September 2017 from table TRANSACTION.
(iii) To display the last date of transaction (DOT) from the table TRANSACTION for the customer having CNO as 103.
(iv) To display all CNO, CNAME and DOT (date of transaction) of those CUSTOMERS from tables CUSTOMER and TRANSACTION who have done transactions more than or equal to 2000.
(v) SELECT COUNT(*), AVG (AMOUNT) FROM TRANSACTION WHERE DOT> = '2017-06-01';
(vi) SELECT CNO, COUNT("), MAX (AMOUNT) FROM TRANSACTION GROUP BY CNO HAVING COUNT (")> 1;
(vii) SELECT CNO, CNAME FROM CUSTOMER WHERE ADDRESS NOT IN ('DELHI' 'BANGALORE');
(viii) SELECT DISTINCT CNO FROM TRANSACTION;
2.
Write SQL queries for (i) to (iv) and find outputs for SQL queries (v) to (viii), which are based on the tables
TRAINER
| TID | TNAME | CITY | HIREDAIE | SALARY |
| 101 | SUNAINA | MUNBAI | 1998-10-15 | 90000 |
| 102 | ANAMIKA | DELHI | 1994-12-24 | 80000 |
| 103 | DEEPTI | CHANDIGARH | 2001-12-21 | 82000 |
| 104 | MEENAKSHI | DELHI | 2002-12-25 | 78000 |
| 105 | RICHA | MUMBAI | 1996-01-12 | 95000 |
| 106 | MANIPRABHA | CHENNAI | 2001-12-12 | 69000 |
COURSE
| CID | CNAME | FEES | STARTDATE | TID |
| C201 | AGDCA | 12000 | 2018-07-02 | 101 |
| C202 | ADCA | 15000 | 2018-07-15 | 103 |
| C203 | DCA | 10000 | 2018-09-15 | 102 |
| C204 | DDTP | 9000 | 2018-09-15 | 104 |
| C205 | DHN | 20000 | 2018-08-01 | 101 |
| C206 | O LEVEL | 18000 | 2018-07-25 | 105 |
(i) Display the Trainer Name, City & Salary in descending order of their Hiredate.
(ii) To display the TNAME and CITY of Trainer who joined the Institute in the month of December 2001
(iii) To displayTNAME, HIREDATE, CNAME, STARTDATE from tables TRAINER and COURSE of all those courses whose FEES is less than or equal to 10000.
(iv) To display number of Trainers from each city.
(v) SELECT TID, TNAME FROM TRAINER WHERE CITY NOT IN ('DELHT','MUMBAI');
(vi) SELECT DISTINCT TID FROM COURSE;
(vii) SELECT TID, COUNT("), MIN (FEES) FROM COURSE, GROUP BY TID HAVING COUNT(") >1;
(viii) SELECT COUNT("), SUM(FEES) FROM COURSE WHERE STARTDATE < '2018-09-15';
6 Marks
1.
(i) SELECT" FROM TRANSACTION WHERE TYPE ="Credit";
(ii) SELECT CNO,AMOUNT FROM TRANSACTION WHERE (MONTH (DOT) = "September" AND YEAR(DOT) =2017);
(iii) SELECT MAX (DOT) FROM TRANSACTION WHERE CNO="103":
(iv) SELECT CNO, CNAME, DOT FROM CUSTOMER.C, TRANSACTION.T
C.CNO=T.CNO AND
AMOUNT> =2000;
(v) 4 4375
(vi) 101 2 1500
103 2 12000
(vii) 102 Surbhi Sinha
105 Roshan Singh
(viii) 101
103
102
2.
(i) SELECT TNAME, CITY, SALARY FROM TRAINER ORDER BY HIREDATE;
(ii) SELECT TNAME, CITY FROM TRAINER WHERE HIREDATE BETWEEN '2001-12- 01' AND '2001-12-31';
OR
SELECT TNAME, CITY FROM TRAINER WHERE HIREDATE >= '2001-12-01' AND HIREDATE<= '2001-12-31';
(iii) SELECT TNAME,HIREDATE,CNAME,STARTDATEFROM TRAINER, COURSE WHERE TRAINER.TID=COURSE.TID AND FEES<= 10000;
(iv) SELECT CITY, COUNT(*) FROM TRAINER GROUP BYCITY;
(v) TID TNAME
103 DEEPTI
106 MANIPRABHA
(vi) DISTINCT TID
101
103
102
104
105
(vii) TlDCOUNT(*)MIN(FEES)
101 2 12000
(viii) COUNT(*)SUM(FEES)
4 65000
12th Standard CBSE Syllabus & Materials
12th Standard CBSE
CBSE 12th Standard Biology Sexual Reproduction in Flowering Plants Sample Question Papers Study Material - QB365 Set 1
NEW12th Standard CBSE
CBSE 12th Chemistry d- and f- Block Elements Important Questions And Answers Study Material - QB365 Set B
NEW12th Standard CBSE
CBSE 12th Chemistry d- and f- Block Elements Important Questions And Answers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Chemistry Chemical Kinetics Important Questions And Answers Study Material - QB365 Set B
NCERT Books
Syllabus
Exam Pattern
Sample Question Papers
Previous year Question Papers
Important Notes
MCQ Practice test
NCERT Exemplers
Case study Questions
Image Based Questions
Passage based Questions
HOT Questions
Value Based Questions
Model Questions Papers
NCERT ( Book Back ) Questions
Assertion and Reason
Important Questions And Answers
CBSE 12th Standard CBSE Subjects
CBSE Standards