0% found this document useful (0 votes)
100 views

IP Sample Paper 2

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)
100 views

IP Sample Paper 2

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 SANGATHAN, LUCKNOW REGION

SESSION ENDING EXAMINATION 2022 - 23


CLASS XI
INFORMATICS PRACTICES (065)
TIME: 3 HOURS M.M.70

General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A have18 questions carrying 01 mark each.
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
6. Section D has 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each. One internal choice is
given in Q34.
8. All programming questions are to be answered using Python Language only.
Section A
1 Fill in the blank 1
1 TB = ………………….. GB
2 Which of the following is not an input device? 1
a) Keyboard b) Monitor c) Joystick d) Microphone
3 Which of the following is designed to control the operations of a computer? 1
a) User b) Application Software
c) System Software d) Utility Software
4 The generation based on VLSI microprocessor. 1
a) 1st b) 2nd c) 3rd d) 4th
5 Assume d = {"Guido":"Python", "Dennis":"C"} 1
To obtain the number of entries in dictionary the statement used is
a) d.size() b) len(d) c) size(d) d) d.len()
6 What is the value of x after the following code executes? 1
x=4
while x > 0:
x=x–1
print(x)
7 Identify the valid and invalid identifiers from the following given list- 1
(i) While (ii) Father’s Name (iii) My_age (iv) #india
8 Which of the following queries contains an error? 1
(a) Select * from emp where empid=101;
(b) Select empid from emp where ename = NULL
(c) Select ename from emp where city=’Delhi’;
(i) a (ii) b (iii) c (iv) All are correct

Page 1 of 6
9 An attribute in a relation is a foreign key if the _______ key from one relation is 1
used as an attribute in that relation.
a) Candidate b) Primary c) Super d) Sub
10 Which of the following can not be a dictionary keys 1
(a) List (b) tuple (c) string (d) number
11 A pool of Values from where a column draws its value is called. 1
(a) Table (b) Attribute (c) Domain (d) Data Set
12 Which command is used to see the structure of a table/relation: 1
(a) Show (b) Select (c) Describe (d) Order by
13 Which operator performs pattern matching? 1
a) BETWEEN operator b) LIKE operator
c) EXISTS operator d) None of these
14 Network of interconnected items with integrated sensors that can gather and 1
transmit data in real time is known as the _______.
a) Internet of Things b) Big Data
c) Model d) None of the above
15 Example of Artificial Intelligence 1
a) Google Now b) Cortana c) Alexa d) All of the above
16 _____________ is a three-dimensional, computer-generated situation that 1
simulates the real world.
a) Immersive experiences b) Augmented Reality
c) Virtual Reality d) None of the above
17 Choose correct option : 1
X=2**3**2
Statement 1: Order of execution of Multiple Power operators in an
expression is Left to Right.
Statement 2: Value of X will be 512.
a) Only Statement 1 is true. b) Only Statement 2 is true.
c) Both Statement 1 and 2 are true. d) Both Statement 1 and 2 are false.
18 Choose correct option from the following : 1
D1={ ’A’:’CS’, ‘B’:’IP’}
D2={ ’B’:’IP’, ‘A’:’CS’}
Statement 1: Output of print (D1==D2) is True.
Statement 2: Dictionary is a collection of key-value pairs. It is not a sequence.
a) Only Statement 1 is true.
b) Only Statement 2 is true.
c) Both Statement 1 and 2 are true, but Statement 2 is not correct
reason of Statement 1.
d) Both Statement 1 and 2 are true, but Statement 2 is correct reason of
Statement 1.
Section B
19 Give one example of each of the following softwares: 2
(i) Spread sheet software
(ii) DBMS
(iii) Utility software
(iv) System software
20 What is the difference between CHAR and VARCHAR datatype in mysql? 2
21 Find Output of following code 2

Page 2 of 6
x = [1]
x.append(5)
x.extend([1,2,1,3,2,4])
x.remove(2)
x.pop()
print(len(x),':',x)
22 Rewrite the following code in python after removing all syntax error(s). 2
Underline each correction done in the code.
10=N
for x in range(1,N)
if k%4=0:
print (K*4)
else
print (K+3)
23 Kavita has created a new table Employee with 5 columns and 4 rows. Two 2
more rows were added in the table and one column is deleted. What will be the
Degree and Cardinality of the table Employee?
24 What are the advantages of DBMS?(Write any 4) 2
25 What is Big data? Also write characteristics of Big data. 2
OR
Define the following( Any two)-
i) Cloud computing
ii) NLP
iii) Block chain technology
iv) Grid Computing
Section C
26 An organization wants to create a tables EMPLOYEE,DEPENDENT to 3
maintain following details about its employees and their dependent.
EMPLOYEE (AadharNumber, Name, Address, Department, EmployeeID)
DEPENDENT (EmployeeId, DependentName, Relationship)
i) Name the attributes of Employee, which can be used as candidate keys.
ii) The company wants to retrieve details of employees, which command
should be used
iii) What is the degree of Employee and Dependant
27 Which command is used to do the following - 3
a) Display the list of tables in a database
c) To change / open the database
d) To display list of databases
28 WAP to find sum of square of first 100 natural numbers. 3
29 WAP to check whether given number is prime number or not. 3
OR
Write a program to input five subject marks and display total, percentage and
grade according to following criteria:

Page 3 of 6
Percentage Grade
More than equal to 90 A
Between 75 and 89 B
Between 60 and 74 C
Between 45 and 59 D
Between 33 and 44 E
Less than 33 F

30 Write down SQL statement for creating table LIBRARY having following 3
attributes:
i.BOOK_ID – an integer, primary key of the table
ii. BOOK_TITLE –a string
iii. AUTHOR—a string
iv. QTY – an integer
v. PRICE – a real number
Section D
31 Consider the table Pet and answer the following queries: 5

(i) SELECT name,owner FROM pet WHERE owner LIKE “%e%”;


(ii) SELECT name,sex FROM pet WHERE birth>=’1995-01-01’;
(iii) SELECT DISTINCT(species) FROM pet where sex=’M’;
(iv) SELECT name FROM pet WHERE sex=’F’ and species=”Dog”;
(v) SELECT * FROM pet where birth between ‘1989-05-13’
and ‘1998-09-11’ and sex=’F’;
32 (i) Find Output 3+2
my_dict = {'name': 'Jack', 'age': 26}
my_dict['age'] = 27
my_dict['salary']=5000
my_dict['address'] = 'Downtown'
print(my_dict.keys() )
print(my_dict.items() )
print( len(my_dict) )
(ii) Find Output
dictA = {1: "A", 2: "B", 3: "C"}
dictB = {4: "D", 5: "E",3:”F”}
dictA.update(dictB)

Page 4 of 6
print(dictA)
OR
Write a program to create a dictionary of months where month name as key 5
and no of days as value and write code to perform the following operations on
above dictionary:
a) Display no of days in April and august.
b) Change no of days in February month from 28 to 29.
c) Count no of months which has more than 30 days.
d) Delete may month from dictionary.
33 5

i) Insert the following record in the above relation:


(10009, ”Motivational Songs”, 15, 70)
ii) To display name and price of those CDs whose price is between 100
and 150.
iii) To display information of those CDs whose quantity is more than 15
and price is less than 100.
iv) To display the record of “Best Birthday Songs” CD.
v) To Display details of those CDs whose name starts with “I”.
Section E
34 The record of a student (Name, Roll No, Marks in five subjects and percentage 4
of marks) is stored in the following list:
stRecord = ['Raman','A-36',[56,98,99,72,69], 78.8]
Write Python statements to retrieve the following information from the list
stRecord.

i) Percentage of the student


ii) Marks in the fifth subject
iii) Roll No. of the student
iv) Change the name of the student from ‘Raman’ to ‘Raghav’
OR

Page 5 of 6
Find the Correct Output
List = [1, 2, 3, 4, 5, 6, 7, 8, 9]
print(List[3:9:2])
print(List*2)
print(List[:3] + List[5:])
print(List[::-1])
35 Differentiate between the following : (Any two) 4
i) Primary memory and secondary memory
ii) SRAM and DRAM
iii) Compiler and Interpreter

--:0:--

Page 6 of 6

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy