06-02-2025, 12:57 PM
Download CBSE 12th std Compartment Exam Computer Science question paper from the attachment below.
Some question asked for the exam are
1. In SQL, which command will be used to add a new record in a table ?
(A) UPDATE
(B) ADD
© INSERT
(D) ALTER TABLE
2. Mr. Ravi is creating a field that contains alphanumeric values and fixed lengths. Which MySQL data type should he choose for the same ?
(A) VARCHAR
(B) CHAR
© LONG
(D) NUMBER
3. Give one difference between HTTP and FTP.
4. Rahim wants to write a program in Python to insert the following record in the table named Bank_Account in MySQL database, Bank :
• Accno - integer
• Cname - string
• Atype - string
• Amount — float
Note the following to establish connectivity between Python and MySQL :
• Username - admin
• Password - root
• Host - localhost
The values of fields Accno, Cname, Atype and Amount have to be accepted from the user. Help Rahim to write the program in Python.
For detailed question paper, click here
CBSE Class 12 Compartment Exam Question paper 2024 Computer Science.pdf (Size: 295.34 KB / Downloads: 13)
Some question asked for the exam are
1. In SQL, which command will be used to add a new record in a table ?
(A) UPDATE
(B) ADD
© INSERT
(D) ALTER TABLE
2. Mr. Ravi is creating a field that contains alphanumeric values and fixed lengths. Which MySQL data type should he choose for the same ?
(A) VARCHAR
(B) CHAR
© LONG
(D) NUMBER
3. Give one difference between HTTP and FTP.
4. Rahim wants to write a program in Python to insert the following record in the table named Bank_Account in MySQL database, Bank :
• Accno - integer
• Cname - string
• Atype - string
• Amount — float
Note the following to establish connectivity between Python and MySQL :
• Username - admin
• Password - root
• Host - localhost
The values of fields Accno, Cname, Atype and Amount have to be accepted from the user. Help Rahim to write the program in Python.
For detailed question paper, click here
