0% found this document useful (0 votes)
2 views7 pages

11_QP (1)

The document is a question paper for Class XI Informatics Practices at Kendriya Vidyalaya Manendragarh, consisting of 35 questions divided into five sections with varying marks. It includes questions on Python programming, SQL queries, and computer science concepts. The total marks for the paper are 70, and the duration for completion is 3 hours.
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)
2 views7 pages

11_QP (1)

The document is a question paper for Class XI Informatics Practices at Kendriya Vidyalaya Manendragarh, consisting of 35 questions divided into five sections with varying marks. It includes questions on Python programming, SQL queries, and computer science concepts. The total marks for the paper are 70, and the duration for completion is 3 hours.
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/ 7

KENDRIYA VIDYALAYA MANENDRAGARH

CLASS XI INFORMATICS PRACTICES


Max Marks: 70 Duration: 3 HRS
General Instructions:
• Please check this question paper contains 35 questions.
• The paper is divided into 4 Sections- A, B, C, D and E.
• Section A, consists of 18 questions (1 to 18). Each question carries 1 Mark.
• Section B, consists of 7 questions (19 to 25). Each question carries 2 Marks.
• Section C, consists of 5 questions (26 to 30). Each question carries 3 Marks.
• Section D, consists of 2 questions (31 to 32). Each question carries 4 Marks.
• Section E, consists of 3 questions (33 to 35). Each question carries 5 Marks.
• All programming questions are to be answered using Python Language only.
SECTION A
1 How would you write mathematical term in Python as an expression? 1
i) (a+b)2 ii) a3+b3+c3

2 Execution of the expression 32 + ‘42’+ 17 will results in- 1

(a) value error b)name error c) type error d)none of the above

3 Which of the following makes available its source code? 1


a) Freeware b) Free Software c) OSS d) FLOSS

4 RAMs are faster than RAMs and that is why are used in cache 1
memory.

5 Suppose List1 is [2,4,6,8,10]. What is List1[-1]? 1

6 Expand the following abbreviations: 1


a) EEPROM b)BIOS

7 In dictionary key and values are: 1


(a) Mutable, mutable (b) Mutable, immutable
(c) immutable, mutable (d) immutable, immutable

8 Which of the following correct identifier name? 1


(a) 123name (b) My name (c) _simpleinterest (d) 2312312

9 A business is using software A to generate bills, then to which category this software 1
belongs?
(a). System (b). Application (c). Language Processors (d). Both a and b

10 ________________ is not an example of Operating System? 1


(a). Linux (b). Windows (c). Adobe (d). Android

11 Which of the following statements create a dictionary? 1


(a). my_dict = {} (b). my_dict = {“a”:1: “b”:2}
(c). my_dict = {1:“a”, 2:“b”} (d) . both a & c
12 Shobha is working on a string program. He wants to display last five 1
characters of a string object named S. Which of the following statement is
true?
a. S [5: ]

1
b. S [:5 ]
c. S [-5:]
d. S [:-5]
13 What is the correct order? 1
(a) Bytes>KB>MB>TB (b) MB>Bytes>KB>Bit
(c) GB>MB>KB>Bytes (d) KB>GB>Byts>MB
14 Which of the following are DDL Commands: 1
a) Delete
b) Create
c) Update
d) Alter
e) Drop
i) B, D & E ii) A, B & D iii) B, C & D iv) A, B & C

15 Which of the following is used to display non-repeated values in SQL? 1


i) Unique ii) All iii) Order by iv) Distinct
16 Identify the category (system, application, programming tool) of the following software: 1
a) Compiler b) Ubuntu c) Text editor
a. Utility Software, OS, Language converter
b. OS, Utility Software, Language Converter
c. Language converter, OS, Utility Software
d. D. None of these

Q17 and Q18 are ASSERTION AND REASONING based questions. Mark the correct choice as
a. Both A and R are true and R is the correct explanation for A
b. Both A and R are true and R is not the correct explanation for A
c. A is True but R is False
d. A is False but R is True
17 Assertion(A): In python identifier a and A are treated differently 1
Reasoning(R): Identifier starts with alphabet or underscore in Python
18 ASSERTION (A): The if-else is a conditional statement in which either of the two actions is 1
to be
taken based on the given condition.
REASON (R): It means if the condition is initially false , it will perform either of the two
blocks.
SECTION B
19 (i) Which of the following statement(s) would give an error upon executing the 2
following code?
S="Welcome to class XI" #
Statement 1print(S) # Statement
2 S='2024' #
Statement 3S[3]='3'
# Statement 4
print("Approaching end of year", S) # Statement 5
a) Statement 1
b) Statement 3
c) Statement 4
d) Statement 5
ii) Single line comments in python begins with symbol.
a. & b. $ c. % d. #
20 How is a Primary Key different from a Unique Key in SQL? 2
OR
How is alter command different from update command? Explain with example.
21 Differentiate between RAM and ROM 2
2
OR
Differentiate between Interpreter and Compiler.
22 A table Employee has 10 rows and 4 columns. Find the degree and cardinality of table 2
store when one row is added and 1 column is removed from the table.
OR
Define Candidate Key.
23 Name the input or output device used to do the following: 2
a) To display the data or information
b) To make hard copy of a text file
c) To assist a visually-impaired individual in entering data
d) To enter audio-based command.
24 Four friends Lakhan, Anil, Kanika and Sujoy is planning to try a startup. They have a 2
limited budget and limited computer infrastructure. List some of the cloud-based
services that they can be used for their startup. Why should they avail the benefits of
cloud services to launch their startup?
25 Explain any two areas where Natural Language Processing is used extensively. 2
SECTION C
26 Consider a dictionary named Friends which stores Name and roll number of your 3
friends as key value pairs:
Friends={“Amit”:121, “Pooja”:456, “Ankur”:112, “Sharad”:143 , “Ankita”:532}
Write python statements to perform the following operations on this dictionary:
a. Check if a friend named “Praveen” is present in the dictionary or not
b. Display the keys of Dictionary Friends
Retrieve the value corresponding to the key “Pooja”.
27 Predict the output based on the list, cod = [98, 45, 62, 14, 1007] 3
a) print(len(cod))
b) print(cod * 2)
c) print(1007 in cod)
d)print(cod[:2]+cod[2:])
e) print(cod. pop(1))
f) print(cod.pop())
28 What will be the output of following code? 3

def Total(Number=10):
Sum=0
for C in
range(1,Numbe
r+1): if
C%2==0:
continue
Sum+=C
return Sum
print(Total(4)) print(Total(7)) print(Total())

3
29 Consider the table MEMBER given below and write the output of the SQL queries that
follow-

MID MNAME AGE GENDER GAME PAY DOAPP


5246 AMRITA 35 FEMALE CHESS 900 27-03-2006
130
4687 SHYAM 37 MALE CRICKET 15-04-2004
0
VOLLEYBAL 100
1245 MEENA 23 FEMALE 18-06-2007
L 0
100
1622 AMRIT 28 MALE KARATE 05-09-2007
0
110
1256 AMINA 36 FEMALE CHESS 15-08-2003
0
125
1720 MANJU 33 FEMALE KARATE 10-04-2004
0
105
2321 VIRAT 35 MALE CRICKET 30-04-2005
0

(i) SELECT COUNT(DISTINCT GAME) FROM MEMBER;


(ii) SELECT MNAME, GAME FROM MEMBER WHERE
DOAPP<"2007-01-01" AND MNAME LIKE "AM%";
(iii) SELECT MNAME, AGE, PAY FROM CLUB WHEREGENDER =
"FEMALE" AND PAY BETWEEN 1000 AND 1200;
30 Consider the table Emp given below:
Table : EMP
E_ID Name Desig Salary Allowance
E01 Ramesh Manager 80000 5400
E02 Kailash Clerk NULL 2400
E03 Rudra Supervisor 48000 NULL
E04 Sakila Clerk 30000 2000
E05 Prachi Supervisor NULL 2800

Based on the given table, write SQL queries for the following:
i) Increase the salary by 10% of employees whose allowance is known.

ii) Display Name and Total Salary (sum of Salary and Allowance) of all
employees. The column heading ‘Total Salary’ should also be displayed.

iii) Delete the record of employess who have salary greater than 40000.
SECTION D
31 Consider the doctor and patient table and write the output of (i) to (iv) 4
Table:Doctor
docid Dname Specialization Outdoor
D1 MANISH PHYSICIAN MONDAY
D2 PARESH EYE FRIDAY
D3 KUMAR ENT SATURDAY
D4 AKASH ENT TUESDAY

4
Table:Patient
Pid Pname did Date_visit
P1 Lal singh D2 2022-04-25
P2 Arjun D1 2022-05-05
P3 Narender D4 2022-03-13
P4 Mehul D3 2022-07-20
P5 Naveen D2 2022-05-18
P6 Amit D1 2022-01-22

(I) select count(*) from patient where date_visit like ‘%2_’;


(II) select specialization ,count(*) from doctor group by specialization;
(III) select a.dname, b.pname from doctor a, patient b where a.docid=b.did;
select dname from doctor,patient where docid=did and pname=’Arjun’;
32 Consider the following tables MOVIE . Write outputs of SQL commands for the 4
statements
(i) to (iv) :
Table :MOVIE
MovieID MovieName Category ReleaseDat Produc Busines
e tion s Cost
Cos
t

001 Hindi_Movie Musical 2018-04-23 12 130000


45
00

002 Tamil_Movie Action 2020-05-17 11 118000


20
00

003 English_Movi Horror 2019-08-06 24 360000


e 50
00

004 Bengali_Movi Adventur 2022-01-04 72 100000


e e 00
0

005 Telugu_Movie Action NULL 10 200000


00
00

006 Punjabi_Movi Comedy NULL 30 40000


e 50
0
(i) SELECT * FROM MOVIE WHERE Category = ‘Action’;
(ii) SELECT MovieName, Category FROM Movie WHERE PorductionCost <=100000 ;
(iii) SELECT * FROM Movie WHERE Category LIKE "A%" ;
OR
SELECT DISTINCT CATEGORY FROM MOVIE ;

5
SECTION E
33 Consider the following tables: Students and Courses. 1*5
Table: Students
Student Id Name Age Course Id
1 Alia 21 101
2 Shubham 22 102
3 Firoz 23 101
4 Gyanvi 24 103
5 Aryan 22 102
Table: Courses
Course Id CourseName Instructor
101 Mathematics Prof. Ghosh
102 Physics Prof. Smith
103 Chemistry Prof. Jangre

a) Display all the details of students along with their respective course names.
b) List the names of students enrolled in the 'Physics' course.
c) Update the instructor of the 'Chemistry' course to 'Dr. Talpade'.
d) Delete the student record where the student's name is 'Gyanvi'.
e) Add a new course with CourseID 104, CourseName 'Biology', and Instructor 'Dr.
White'.
34 (i ) Obtain output of the following: 2+3
a = "Year 2024 @
Best"b =
a.partition('2')
a = a.split('2')
c = a[0] + ". " + a[1] + ". " + a[2]
print(b)
print(c)

ii) Explain the following String functions in Python using suitable examples.
a) find()
b) count()
c) index()
35 Consider the following tables: Employees and Departments
Employee
EmployeeID Name Age DepartmentID Salary
1 John 28 1 50000
2 Sara 32 2 60000
3 Robert 25 1 55000

6
4 Radhika 29 3 75000
5 David 45 2 80000

Department:
DepartmentID DepartmentName
1 HR
2 IT
3 Finance

Write SQL queries for the following:

a) Display the names and salaries of all employees who work in the 'IT' department.
b) List all departments along with the number of employees in each department.
c) Find the average salary of employees in the 'HR' department.
d) Add a new employee 'Emma' who is 30 years old, works in the 'Finance' department,
and has a salary of 70000.
e) Increase the salary of all employees in the 'HR' department by 10%.

*******************

You might also like