Preboard Class 11 IP with answer key
Preboard Class 11 IP with answer key
SECTION A
1. __________ controls sequential instruction execution, interprets instructions and guides data 1
flow through the computer’s memory.
a) ALU b) Control Unit c) Input Out Device d) Memory Unit
2. 1 ZB=________ 1
a) 1024 MB b) 1024GB c) 1024PB d) 1024EB
3. The process of Fetching or retrieving deleted or corrupted and lost data from secondary storage is 1
known as
a) Data Recovery b) Data Backup c) Restoring Data d) Data Deletion
4. Identify the type of software in the situation given below: 1
“Ms. Reeta wants to computerize or automate the library, she requires a set of programs on a
computer to handle the system of the library and serve the purpose of issuing book,returning a
book, adding a new book, etc. “
a) Application Software b) System Software
c) Generic Software d) Specific Purpose Software
5. Who developed Python language and when?:- Guido Van Rossum in Feb 1991 1
6. Anshu is working in python interactive mode. He noticed this symbol - >>> but forgot what it is 1
called? Select an appropriate option for him out of these?
a) Python Shell b) Python Script c) Python prompt d) Python Interpreter
7. Predict the output of the following Python Code snippet:- 1
>>> a=[0,11,22,33,44,55,66,77,88,99]
>>> a[::3] [0,33,66,99]
8. Which of the following is not RBDMS software? 1
a) Oracle b) MS Excel c) MySQL d) MS Access
9. Shiv wants to see the table structure in MySQL. Select an appropriate command to help him. 1
a) use b) show c) desc d) display
10. Rajveer wants to rename column in display result for his query. He has given he following 1
queries, select correct query for him:
a) select ename, salary*12 Annual Salary from emp;
b) select ename, salary*12 rename “Annual Salary” from emp;
c) select ename, salary * 12 change “Annual Salary” from emp;
d) select ename, salary*12 as “Annual Salary” from emp;
11. Ms. Jeevan wants to see the records of all those employees from EMP table whose name have 1
NULL entries. She has written the following query but is getting an error. Identify her mistake by
rewriting the correct query:
SELECT * FROM EMP WHERE ENAME = “NULL”;
SELECT * FROM EMP WHERE ENAME IS NULL;
12. Character data can be stored as 1
a) Fixed length String b) Variable length String
c) Either fixed or variable length string d) None
13. Table “Vendor” stores information of all vendors from different cities. Raman wants to see the 1
list of cities without any duplicate values. Suggest an appropriate keyword / clause that he should
use.
a) Display b) Distinct c) Delete d) Show
14. Which of the following commands can be used to ad a row to a table in MySQL? 1
a) Append b) Extend c) Select d) Insert into
15. __________________ is a subset of AI that enables the computers to self-learn from the 1
information and experiences gathered from their environment and apply that learning without
human intervention.
a) Augmented Reality b) NLP c) Machine Learning d) Cloud Computing
16. A company interested in cloud computing is looking for a provider who offers a set of basic 1
services such as virtual server provisioning and on demand storage that can be combined into a
platform for deploying and running customized applications. What type of cloud computing
model fits these requirements?
a) Platform as a Service b) Software as a Service
c) Infrastructure as a Service d) Application as Service
Q17 and 18 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: Candidate keys that are not primary key are alternate keys. 1
Reasoning: A table can have many primary keys, but you can only use one of them as the
candidate key. As a result, all the other keys that not become the primary key are referred to as
the alternate keys. (c)
18. Assertion: Keys are unique in dictionary. 1
Reasoning: Dictionary entries or values can be accessed by their keys. You cannot have two
entries with the same key. (a)
SECTION B
19. Name the categories of system software alongwith one example of each 2
Operating System- Windows 95 onwards
Language Processor:- Assembler, Compiler, Interpreter
System Utilities:- Scandisk
Device Driver-Printer Driver
OR
What is the difference between RAM and ROM?
RAM refers to Random Access Memory, volatile and both read and write operations can be
performed.
ROM refers to Read Only Memory, non-volatile and only read operation can be performed.
20. Write a Python Program to accept two angles and find whether it is a linear pair or not? 2
(Hint:- Sum of Angles of Linear Pair is 180)
A=int(input(“Enter first angle”))
B=int(input(“Enter second angle”))
if(A+B)==180:
print(“It is a linear pair)
else:
print(“It is not a linear pair”)
21. What will be the output of the following? Where a=6, b=-4, c=26and d=-11 2
a) print (18%a) b) print (88//a)
c) print (a+b+c>a+c-b*d) d) print ((a+b-c)/d)
a) 0 b) 14 c) TRUE d) 2.1818
22. Sunita has written the following program to find the average of first ten numbers. The program 2
has certain error. Rewrite the program underlining the correction)
sum=0
for k in range (1,10):
sum=sum+k
Average= sum/10
print (Average)
OR
Find errors in the following code fragment. Rewrite the program underlining the correction
sum=2
for i in range(3,7):
if (i%4=0):
sum = -i
else:
sum+=2
print(sum)
23. Priyam is Class XI student. She is learning some basic commands. Suggest some SQL commands 2
to her to do the following tasks:
a) To show the lists of existing databases b) Select a database to work
c) Create a new database named Annual_Exam d) Delete a table
a) show databases; b) use <database name>;
c) create database Annual_Exam; d) drop table <table name>;
24. Aman has given the following table structure and asked to table in MYSQL. Help him by writing 2
create table command to accomplish his task
Table name:- Players
a) Display name of those customers whose transactions are more than 20.
b) Increase the number of Transaction of Nidhi by 1
c) Display the details of customers whose name contains “i”
d) Display all the details in descending order of Transactions
e) Add a column “Balance” in the table
a) select cust_name from bank where transaction>20;
b) update bank set transaction=transaction+1 where cut_name=”Nidhi”;
c) select * from bank where Cust_name like”%i%”;
d) select * from bank order by transaction desc;
e) alter table bank add (balance intger(5));
34. Write SQL commands of the following table:Table IP_ONLINE CLASSES 5