11IP03 QP
11IP03 QP
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 Q35
against part c only.
8. All programming questions are to be answered using Python Language only.
SECTION A
1. ____________ is a high speed memory available inside CPU in order to speed up 1
access to data and instructions stored in RAM memory.
a) ROM b) Cache c) Flash d) SSD
2. Which unit of the CPU directs and coordinates all activities within it and determines 1
the sequence in which instructions are executed, sending instructions sequence to other
smaller unit
a) CU b) ALU c) PROCESSOR d) All of these
a) i and ii only
b) iii only
c) i only
d) I and iii only
4. 1 MB = ______ KB 1
17. • Assertion(A): Domain is a pool of values from which the actual values 1
appearing in a given column are drawn
• Reasoning (R): The column Supp_name illustrates an example of domain
SECTION B
19. Explain IoT with an example 2
OR
OR
24. While creating a table named “Employee”, Mr. Rishi got confused as which data type 2
he should chose for the column “EName” out of char and varchar. Help him in choosing
the right data type to store employee name. Give valid justification for the same.
25. Which clause would you use with Select to achieve the following: 2
i. To select the values that match with any value in a list of specified values.
ii. Used to display unrepeated values of a column from a table.
SECTION C
26. Explain the following 3
a. Device Driver
b. Operating System
c. Compiler
ii) Aman wants to modify the output of the above code. Rewrite the print
statement for getting the output in separate lines.
for I in range(1,20,2):
sum=sum+I % 3
print(sum)
ii) What values are generated when the function range(4, 0, -2) is executed
OR
OR
a) Consider the above table Hotel. Write the output of the following
i) Select * from Hotel where category=’Executive’ and salary>50000;
ii) Select * from hotel where salary is NULL;
b) Which clause is used to display the schema/structure of the table
SECTION D
31. Write a program to find the biggest among 10 numbers stored in a list (don’t use built 5
in functions)
OR
Write a program to input a list of elements and count the number of occurrences of a
given element in the list. (don’t use built in functions)
Table : BOOKS
OR
SECTION E
34. i. Which module needs to be added to a program to use sqrt() 1+1+2
ii. Which symbol is used to give a comment for the program.
iii. Write a python program check those numbers which are divisible by 7 as well
as by 5, between 400 and 600 (both included)
OR
35. In today’s digitized world with a need to store data electronically, it is very important 1+1+2
to store the data in the databases. SQL is used to interact with the Database
Management System.
I. Classify the following commands according to their type :(DDL/DML)
i. INSERT INTO
ii. CREATE TABLE
II. Chhavi has created a table named Orders, she has been asked to display from a
column named itemname where the data starts with M. She has written the
following query for the same.
Select * from Orders where itemname=’M’
Is it the correct query?Justify
OR