0% found this document useful (0 votes)
7 views1 page

Grade 12 Practicals S

The document outlines the final examination for Computer Science at CT International School for Grade XII, affiliated with CBSE. It includes two programming tasks in Python and four MySQL command questions related to a student marks table. The exam is worth 30 marks and has a duration of 3 hours.

Uploaded by

sodalasanjay398
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Grade 12 Practicals S

The document outlines the final examination for Computer Science at CT International School for Grade XII, affiliated with CBSE. It includes two programming tasks in Python and four MySQL command questions related to a student marks table. The exam is worth 30 marks and has a duration of 3 hours.

Uploaded by

sodalasanjay398
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

CT INTERNATIONAL SCHOOL (CBSE)

A Senior Secondary School


(Affiliated to CBSE, New Delhi, Affiliation number: 1931325)
KESARAPATTI
FINAL EXAMINATION (2024 -25)

Subject: Computer Science Mark: 30


Grade: XII Duration: 3hrs.

1. Write the Python code for the following. [4+4=8]


a. Program to read and display file content line by line with each word separated by
‘#’.
b. Program to connect with database and search employee number in table employee
and display record, if empno not found display appropriate message.

2. Consider the following table named EXAM with details of marks. Write command of
MySQL for (i) to (iv).

Adno SName Percentage Class Section Stream

R001 Sushant 90.2% 12A Science

R002 Vaidyanath 80.5% 12B Humanities

R003 Miara 68.9% 12B Science

R004 Niara 96.0% 12A Commerce

R005 Shinjini 88.9% 12D Commerce

(i) To display all information of the students of humanities in descending order of


percentage.
(ii) To display Adno, Name, Percentage and Stream of those students whose name is
less than 6 characters long.
(iii) To add another column Bus_Fees with datatype and size as Decimal(8,2).
(iv) To increase percentage by 2% of all the Humanities students.

You might also like