0% found this document useful (0 votes)
317 views6 pages

Xii Cs Pract Slips MOCK

The document contains the question papers for a mock practical examination in Computer Science for Class 12. Each question paper contains 5 questions assessing different concepts in Python programming and database connectivity using MySQL. The questions require students to write Python codes to perform tasks like generating Fibonacci series, searching and manipulating database records, file handling, plotting graphs, and more. Students are evaluated based on writing codes and their viva performance related to a project submission. The papers provide an overview of the scope and expectations of the practical exam.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
317 views6 pages

Xii Cs Pract Slips MOCK

The document contains the question papers for a mock practical examination in Computer Science for Class 12. Each question paper contains 5 questions assessing different concepts in Python programming and database connectivity using MySQL. The questions require students to write Python codes to perform tasks like generating Fibonacci series, searching and manipulating database records, file handling, plotting graphs, and more. Students are evaluated based on writing codes and their viva performance related to a project submission. The papers provide an overview of the scope and expectations of the practical exam.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

KENDRIYA VIDYALAYA ONGC PANVEL

MOCK(PRACTICAL EXAMINATION – 2019-2020)


SUBJECT : COMPUTER SCIENCE (083) NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) Write a menu driven program in python to display Fibonacci series of a given 7
no and print factorial of a given no. using recursive and non-recursive function.
b) Write a python code to search student as per given roll number in database 3
using mysql connectivity. Create database and table as below:
Name of database =school
Name of table = student(roll,name,age,class,city)
Q.2) Report File 7
Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3

KENDRIYA VIDYALAYA ONGC PANVEL


MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) Write a menu driven program to push book no in stack and pop it from stack 7
b) Write a python code to delete student as per given roll number in using mysql 3
connectivity. Create database and table as below and Insert 3 records in table.
Name of database =school
Name of table = student(roll,name,age,class,city)
Q.2) Report File 7
Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3
KENDRIYA VIDYALAYA ONGC PANVEL
MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083) NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) Write a menu driven program to insert book no in queue and delete it from 7
Queue.
b) Write a python code to search student as per given roll number in database 3
using mysql connectivity. Create database and table as below:
Name of database =school
Name of table = student(roll,name,age,class,city)
Q.2) Report File 7
Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3

KENDRIYA VIDYALAYA ONGC PANVEL


MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) Write a python code for binary search using recursive and non-recursive function. 7
b) Write a python code to delete tuples from database as per given CODE 3
using mysql connectivity. Consider the following table ITEMS & database as TRY

CODE INAME QTY PRICE COMPANY


1001 DIGITAL PAD 121 120 11000 XENITA
1006 LED SCREEN 40 70 38000 SANTORA
1004 CAR GPS SYSTEM 50 2150 GEOKNOW

Q.2) Report File 7


Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3
KENDRIYA VIDYALAYA ONGC PANVEL
MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) Write a menu driven program in python to read text file and display 7
• No. of alphabets, lowercase alphabets, uppercase alphabets and digits
b) Write a python code to search an item as per given INAME in database using 3
mysql connectivity. Consider the following table ITEMS & database as TRY

CODE INAME QTY PRICE COMPANY


1001 DIGITAL PAD 121 120 11000 XENITA
1006 LED SCREEN 40 70 38000 SANTORA
1004 CAR GPS SYSTEM 50 2150 GEOKNOW
1003 DIGITAL CAMERA 160 8000 DIGICLICK
1005 PEN DRIVE 600 1200 STOREHOME

Q.2) Report File 7


Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3

KENDRIYA VIDYALAYA ONGC PANVEL


MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) Write a python program to count the total number of lines , count no. of lines start
with ‘A’ in a text file & print them line by line. 7
b) Write a python code to add following tuples in database using mysql connectivity
Consider the following table STUDENT. 3

NO NAME AGE DEPARTMENT FEE SEX


1 PANKAJ 24 COMPUTER 120 M
2 SHALINI 21 HISTORY 200 F

Q.2) Report File 7


Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3
KENDRIYA VIDYALAYA ONGC PANVEL
MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) Write a python code to copy the content from one file to another. 7
b) Write a python code to delete tuples from database as per given CODE using mysql
connectivity. Consider the following table STUDENT & database as TRY. 3
NO NAME AGE DEPARTMENT FEE GENDER
1 PANKAJ 24 COMPUTER 120 M
2 SHALINI 21 HISTORY 200 F
3 SANJAY 22 HINDI 300 M
4 SUDHA 25 HISTORY 400 F

Q.2) Report File 7


Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3

KENDRIYA VIDYALAYA ONGC PANVEL


MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) (i) Write a python program to draw a Line chart for equation: y=x^2 and y=-x^2 7
using marker.
(ii) Write a program to plot a bar chart to represent the sales data of various
model of car for a month.
b) Write a python code to search a record as per given NO using mysql connectivity.
Consider the following table STUDENT & database as TRY 3

NO NAME AGE DEPARTMENT FEE SEX


1 PANKAJ 24 COMPUTER 120 M
2 SHALINI 21 HISTORY 200 F
3 SANJAY 22 HINDI 300 M
4 SUDHA 25 HISTORY 400 F
Q.2) Report File 7
Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3
KENDRIYA VIDYALAYA ONGC PANVEL
MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1)a) Write a program to plot a bar chart and pie chart in python to display the result 7
of a school for five consecutive years.
Take years as 2015, 2016,2017,2018,2019.
percentage as 98.50,70,25,55.20,90.5,61.50
b) Write a python code to add following tuples in database using mysql 3
connectivity .Consider the following table EMPLOYEE.
EMPID FNAME LNAME CITY SALARY DESIG
010 RAVI KUMAR MUMBAI 15000 MANAGER
101 HARRY WALTOR PUNE 12000 CLERK
215 ARUN KUMAR DELHI 13000 CLERK
152 SAM LEE MUMBAI 20000 DIRECTOR
Q.2) Report File 7
Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3

KENDRIYA VIDYALAYA ONGC PANVEL


MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1)a) Write a program to plot a bar chart and pie chart to represent the sales data of
various model of car for a month. 7

b) Write a python code to delete a tuple after giving value of EMPID using mysql 3
connectivity. Consider the following table EMPLOYEE.
EMPID FNAME LNAME CITY SALARY DESIG
010 RAVI KUMAR MUMBAI 15000 MANAGER
101 HARRY WALTOR PUNE 12000 CLERK
215 ARUN KUMAR DELHI 13000 CLERK
152 SAM LEE MUMBAI 20000 DIRECTOR
Q.2) Report File 7
Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3
KENDRIYA VIDYALAYA ONGC PANVEL
MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) Write a program to plot a bar chart and pie chart in python to display the result 7
of a school for five consecutive years. Take years as 2015, 2016,2017,2018,2019.
And percentage as 98.50,70,25,55.20,90.5,61.50

b) Write a pyhon code to search a record as per given FNAME using mysql 3
connectivity and show result to the examiner a tuple after giving value of empid
using mysql connectivity. Consider the following table EMPLOYEE.
EMPID FNAME LNAME CITY SALARY DESIG
010 RAVI KUMAR MUMBAI 15000 MANAGER
101 HARRY WALTOR PUNE 12000 CLERK
215 ARUN KUMAR DELHI 13000 CLERK
152 SAM LEE MUMBAI 20000 DIRECTOR

Q.2) Report File 7


Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3

KENDRIYA VIDYALAYA ONGC PANVEL


MOCK(PRACTICAL EXAMINATION – 2019-2020)
SUBJECT : COMPUTER SCIENCE (083)NEW
CLASS: XII DATE: /01/2019
TIME: 3 Hr. MAX.MARKS:30
Q.1) a) Write a python program to plot horizontal bar graph and pie chart showing different
programming usage. 7
Take labels=[“Python”,’C++’,’Ruby’,’JAVA”]
sizes=[215,130,245,210]

c) Write a python code to add following tuples in database using mysql 3


connectivity. Consider the following table FLIGHT.
FLNO START ENDING NO_FLIGHTA AIRLINES FARES
IC301 MUMBAI DELHI 8 INDIAN AIRLINES 6500
IC799 BANGALORE DELHI 2 INDIGO 9400
MC101 INDORE MUMBAI 4 SPICEJET 13450
IC302 DELHI MUMBAI 6 JET AIRWAYS 8300
Q.2) Report File 7
Q.3) Viva voce based on the report file 2
Q.4) Project Work 8
Q.5) Project viva voce 3

You might also like