Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
31 views8 pages

QP Ip Xi Set A

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 8

KENDRIYA VIDYALAYA SANGATHAN, REGIONAL OFFICE, BHOPAL

SESSION ENDING EXAMINATION 2022-23


CLASS – XI SET- A
SUBJECT: 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 have 18 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
part (iii) only.
8. All programming questions are to be answered using Python Language only.

SECTION – A
1 While processing, the CPU stores the data as well as instruction in its local 1
memory, called __________.
(a) Brain
(b) Registers
(c) RAM
(d) None of these
2 Which one of the following devices is not an input device? 1
(a) Keyboard
(b) Pen drive
(c) Mouse
(d) Touch Screen
3 A ______ bit word is called a Nibble 1
(a) 2
(b) 4
(c) 6
(d) 8
4 Which of the following is/are example(s) of data-capturing? 1
(a) bar code readers at shopping outlets
(b) remote sensors on orbiting satellites
(c) comments/ posts over multiple social media
(d) All of these
5 Identify the application software: 1
(a) Mozilla Firefox web browser
(b) Android
(c) iOS
(d) Fedora

Page 1 of 8
6 The program that acts as an interface between a user and the hardware is 1
called:
(a) Customize software
(b) Application system
(c) Language processor
(d) Operating system
7 Who developed the Python language? 1
(a) Zim Den
(b) Guido van Rossum
(c) Niene Stom
(d) Wick van Rossum
8 In Python, a single line comment starts with_______. 1
(a) * (asterisk)
(b) % (percent)
(c) # (hash sign)
(d) $ (dollar sign)
9 In Python, ________ defines a block of statements. 1
(a) parenthesis
(b) indentation
(c) semicolon
(d) curly braces
10 Sometimes we need to repeat certain things for a particular number of 1
times. In programming, this kind of repetition is called __________.
(a) sequence
(b) selection
(c) iteration
(d) none of these
11 Consider following statements 1
(i) L = list()
(ii) L=[]
Identify the correct statement to create an empty list
(a) Only (i)
(b) Only (ii)
(c) Both (i) and (ii) are correct
(d) Both (i) and (ii) are incorrect
12 If L = [3, 4] then L * 2 will yield 1
(a) [ [3, 4] , [3, 4] ]
(b) [3, 4] [3, 4]
(c) [3, 4, 3, 4]
(d) [3, 4, [3, 4] ]
13 The data type dictionary falls under mapping. It is a mapping between a set 1
of keys and a set of values. The key-value pair is called an item. A key is
separated from its value by a _____ and consecutive items are separated by
commas.

Page 2 of 8
(a) semicolon (;)
(b) colon (:)
(c) hyphen (-)
(d) dot (.)
14 Pool of values from where a column draws its value is called _____ 1
(a) domain
(b) meta-data
(c) instance
(d) attribute
15 Which one of the following SQL commands is correct? 1
(a) insert into student(11, Anil);
(b) insert into student values(11, Anil);
(c) insert into table student values(11, "Anil");
(d) insert into student values(11, "Anil");
16 _______________ facilitates communicating with intelligent systems using a 1
natural language.
(a) Machine Learning
(b) Virtual Reality
(c) Augmented Reality
(d) Natural language processing
17 Assertion (A):- In the script mode, we can type a Python statement on the 1
>>> prompt directly. As soon as we press enter, the interpreter executes the
statement and displays the result(s).
Reasoning (R):- The process of identifying and removing errors is called
debugging.
(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
18 Assertion (A):- A Python sequence is an ordered collection of items, 1
where each item is indexed by an integer value
Reasoning (R):- Mapping is an unordered data type in Python.
(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
SECTION - B
19 What is the difference between Random Access Memory (RAM) and Read 2
Only Memory (ROM)? (any two differences)
OR
Convert the following into bytes:
(i) 2 MB
(ii) 3 GB

20 What is a System Utility Software? Give two examples of it. 2

Page 3 of 8
21 Define the following 2
(i) Tuple
(ii) Candidate key
22 Consider the table EMPLOYEE to maintain following details about its 2
employees and has following attributes.
EMPLOYEE
(AadharNumber, Name, Address, Department, EmployeeID)
Name the attributes of EMPLOYEE, which can be used as candidate keys and
primary key.
23 Predict the output of following code: 2
lst_a = [10,20]
lst_b = [30,40]
print(lst_a + lst_b)
print(lst_b * len(lst_a))
OR
What is the output of following code:
lst = [11,22,33,44,55,66]
print(lst[ : : 2])
print(lst[1 : 3])
24 What do you understand by Artificial Intelligence (AI)? Give two examples of 2
it.
25 What is cloud computing? List any two cloud services. 2
SECTION – C
26 Predict the output of following code: 3
a=5
b=7
c = 10
print(a//c*b)
c, d = a, b = b, c
print(c, d)
c = a == b
print(c)
27 Write outputs for SQL queries (i) to (iii) which are based on the give table: 3
PURCHASE
CNO CNAME CITY QUANTITY DOP
C01 GURPREET NEW DELHI 150 2022-06-11
C02 MALIKA HYDERABAD 10 2022-02-19
C03 NADAR DALHOUSIE 100 2021-12-04
C04 SAHIB CHANDIGARH 50 2021-10-10
C05 MEHAK CHANDIGARH 15 2021-10-20
(i) SELECT CNAME FROM PURCHASE
WHERE CITY = "CHANDIGARH";
(ii) SELECT CNAME, QUANTITY FROM PURCHASE
WHERE QUANTITY > 15 AND QUANTITY <100;
(iii) SELECT CNAME, QUANTITY FROM PURCHASE;
28 Based on table STUDENT given here, write suitable SQL queries for the 3
following:

Page 4 of 8
RollNo Name Class Gender City Marks
1 Abhishek XI M Agra 430
2 Prateek XII M Mumbai 440
3 Sneha XI F Agra 470
4 Nancy XII F Mumbai 492
5 Himnashu XII M Delhi 360
6 Anchal XI F Dubai 256
7 Mehar X F Moscow 324
8 Nishant X M Moscow 429
(i) Display Name, Class and Marks.
(ii) Display all the details where city is 'Agra'.
(iii) Show the name of female students of class XII .
29 Fill in the blanks of the following code so that the values and keys of 3
dictionary 'd' are inverted to create dictionary 'fd'.

d = {'a':1, 'b':2, 'c':3}


fd = { }
for key, value in d._______(): #Statement - 1
fd[__________] = _________ #Statement-2
print(fd)

The output of following code will be as follow:


{1: 'a', 2: 'b', 3: 'c'}

OR

Find output of following code:


a = {1:2, 3:4, 5:6}
b = {3:4, 5:6, 1:2}
print(a==b)
print(a is b)
print(3 in a)
30 Write a program that asks an integer number from the user and display 3
given number is positive, negative or zero.
OR
What will the value of ‘y’ after executing of following code, if input values
are:
(i) If Input is 14
(ii) If Input is 16
(iii) If Input is 18
x = int(input("Enter a number: "))

if x > 12:
if x <=15:
y=1
elif x != 16:
y=2

Page 5 of 8
else:
y=3
else:
y=4
print(y)
SECTION – D
31 Consider the following MOVIE database and write suitable SQL queries for 5
the following:
MovieID MovieName Category ReleaseDate ProductionCost
M001 Hindi_Movie Musical 2018-04-23 124500
A002 Tamil_Movie Action 2016-05-17 112000
H003 English_Movie Horror 2017-08-06 245000
A004 Bengali_Movie Adventure 2017-01-04 72000
A005 Telugu_Movie Action NULL 100000
C006 Punjabi_Movie Comedy NULL 30500
(i) Display all records.
(ii) Display MovieID, MovieName and ProductionCost only.
(iii) Display all movies with ProductionCost greater than 80000 and less
than 125000 showing MovieID, MovieName and ProductionCost.
(iv) Display all movies which fall in the category of "Comedy" or "Action".
(v) Display MovieName which have not been released yet.
OR
Write SQL command for following:
(i) To create a database EXAM.
(ii) To open database EXAM
(iii) To display the name of all databases.
(iv) To display the name of all tables.
(v) To see the structure of a table STUDENT.
32 Consider the table CITIZEN and fill in the blank in SQL Queries so that given 5
output will display.
CID NAME GENDER HNO CITY INCOME
1320 Mohit Kale Male 50 BHOPAL 60000
1323 Neha Vyas Female 39 BHOPAL 78000
1505 Prakash Male 30 GWALIOR 57000
Upadhyay
1752 Kailash Male 75 INDORE 69000
1880 Ramita Sharma Female 20 BHOPAL 88000
1916 Atul Roy Male 71 JAIPUR 65000
2148 Sheetal Female 70 UJJAIN 69000
2304 Deepak Patel Male 51 UJJAIN 53000
2348 Deepti Sharma Female NULL INDORE 72000
2565 Gita Jain Female 80 BHOPAL 66000
2666 Manju Arya Female 77 INDORE 61000
2982 Rajesh Roy Male 66 BHOPAL 51000
2986 Kapil Male 43 GWALIOR 52000

Page 6 of 8
(i) SELECT NAME FROM CITIZEN
WHERE HNO >= ____;
+------------+
| NAME |
+------------+
| Kailash |
| Atul Roy |
| Gita Jain |
| Manju Arya |
+------------+
(ii) SELECT CID, NAME FROM CITIZEN
WHERE HNO __ NULL;
+------+---------------+
| CID | NAME |
+------+---------------+
| 2348 | Deepti Sharma |
+------+---------------+
(iii) SELECT NAME, INCOME FROM CITIZEN
WHERE INCOME BETWEEN 60000 _____ 65000;
+------------+--------+
| NAME | INCOME |
+------------+--------+
| Mohit Kale | 60000 |
| Atul Roy | 65000 |
| Manju Arya | 61000 |
+------------+--------+
(iv) SELECT NAME, CITY FROM CITIZEN
WHERE CITY="UJJAIN" ____ CITY="INDORE";
+---------------+--------+
| NAME | CITY |
+---------------+--------+
| Kailash | INDORE |
| Sheetal | UJJAIN |
| Deepak Patel | UJJAIN |
| Deepti Sharma | INDORE |
| Manju Arya | INDORE |
+---------------+--------+
(v) SELECT NAME, CITY FROM CITIZEN
WHERE CITY LIKE ______;
+------------------+---------+
| NAME | CITY |
+------------------+---------+
| Prakash upadhyay | GWALIOR |
| Atul Roy | JAIPUR |
| Kapil | GWALIOR |
+------------------+---------+
33 Write a Python program that asks a name of student and marks of three 5
subject. Print total of marks and percentage, also show the grade using given
criteria:

Page 7 of 8
Percentage Grade
<50 ‘C’
>=50 and <75 ‘B’
>=75 ‘A’
OR
Write a python program that asks four-digit year and find whether given
year is Leap year or not. Also display a message “Enter four-digit year” if user
does not enter four-digit year.
SECTION – E
34 Consider the following table BOOK and answer the following: 1+1+2
BookID BookName PublishDate ProductionCost
AA001 Economics 2022-04-23 12500
AB002 Literature 2016-05-27 11200
AB003 Mathematics 2017-10-06 45000
BCD05 Geometry 2020-01-04 70000
CC006 Hindi NULL 85000
CD007 Sanskrit NULL 80000
(i) Identify the Primary Key.
(ii) If BookName column should not be NULL then which constraint
should be used while creating table.
(iii) Identify the data type of each column.
OR (Option for part iii only)
Find the degree and cardinality of table BOOK.
35 Table : GARMENT 1+1+2
GCODE GNAME COLOUR PRICE DELIVERY_DATE
1T11 TShirt Red 1400.00 2019-12-23
1J12 Jeans Blue 1600.00 2019-12-25
1S13 Skirt Black 1100.00 2020-01-24
1L14 Ladies Jacket Blue 4000.00 2020-02-03
1T15 Trousers Brown 1500.00 2022-11-24
1L16 Ladies Kurta Pink 1200.00 2023-01-24
(i) Insert following record to table GARMENT:
"1J58", "Jacket", "Black", 2600, "2020-02-02"
(ii) Identify the datatype of column PRICE.
(iii) Write SQL command to create above table if GCODE is primary
key.
OR (Option for part iii only)
Write SQL command to create above table if GCODE is UNIQUE
and NOT NULL.

Page 8 of 8

You might also like