IPQuepaper1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

SET 3

KENDRIYA VIDYALAYA SANGATHAN, LUCKNOW REGION


CUMULATIVE TEST (HALF YEARLY EXAM) – 2023-24
Subject :Informatics Practices
CLASS XI
Time allotted :3 hrs Max Marks 70

General Instructions:
1. Section A has 18 questions carrying 01 mark each.
2. Section B has 07 Very Short Answer type questions carrying 02 marks each.
3. Section C has 05 Short Answer type questions carrying 03 marks each.
4. Section D has 02 questions carrying 04 marks each.
5. Section E has 03 questions carrying 05 marks each
Section A
1 This is the type of memory in which data is lost, when the power is switched OFF. 1
(A) Impact
(B) Volatile
(C) Non-Impact
(D) Non-volatile
2 Suppose L is a list as below:- 1
L = [“Anushka”, [6,7,8], 17, “Raman”]
Predict the output of the following statement:-
print( L [1:2] )
(A) [6,7,8]
(B) [[6,7,8]]
(C) [6,7,8] ,3
(D) Error
3 ___________ generation of computers is still under development. 1
A) Fourth Generation
B) Fifth Generation
C) Sixth Generation
D) Seventh Generation
4 Which statement is used to iterate itself over a range of values or a sequence? 1
(A) if
(B) while
(C) for
(D) do-while
5 Ananya is trying to create a string. Help her to identify the correct way to declare 1
string variable in Python from the followings:-
(A) fruit = (banana)
(B) fruit = "banana’
(C) fruit = banana
(D) fruit = “banana”
6 Identify the odd one from the followings. 1
A) MySQL
B) Microsoft Access
C) SQL Server
D) Google

D1 > D2
7 Anukta wrote the following code in Pytho (A) True (B) False
D1 = { “Ravi” : 48, “Jatin” : (C) Error (C) None
D2 = {“Raj” : 59, “Prem” : 4

8 State whether the following statement is True or False. 1


“The if statement is a decision making statement.”
9 Rajesh wants to sort a dictionary in ascending order of keys. Help him to find the 1
best suitable method from the followings?
(A) Sort( )
(B) Sort_keys( )
(C) Index( )
(D) Sorted( )
10 In a dictionary the elements are accessed through 1
(A) Keys
(B) Values
(C) Labels
(D) None of these
11 Amit is searching for the python programs, he saved earlier. Suggest him, which type 1
of files he should have to serach for python programs.
(A) .pt
(B) .pwy
(C) .py or .pyw
(D) Yppy
12 Identify the wrong statement from the followings? 1
(A) A=b=c=20
(B) Abc=20 30 40
(C) A,b,c=78,15,36
(D) A_c_b=256
13 A combination of attributes that can serve as Primary key is known as : 1
(A) Alternate Key
(B) Foreign Key
(C) Combined Primary Key
(D) None of the above
14 If statement comes in which category of statements? 1
(a) Sequential statements
(b) Conditional
(c) Iterative
(d) Loop
15 Examples of utility software are: 1
(A) Text editor
(B) Backup
(C) Defragmenter
(D) All of these
16 Integrated circuits were introduced in __________ generation of computers. 1
(a) First generation
(b) Second generation
(c) Third generation
(d) Four generation
17 Assertion(A) : Each component of a programming statement is known as token. 1
Reasoning (R) : Token is not executed by Python interpreter , only used in
programming.
(i)Both A and R are true and R is the correct explanation for A
ii. Both A and R are true and R is not the correct explanation for A
iii. A is True but R is False
iv. A is false but R is True
18 Assertion (A) :Data is stored inside RAM for future retrieval. 1
Reasoning (R): Secondary memory holds the data inside the computer system
permanently.
(i)Both A and R are true and R is the correct explanation for A
ii. Both A and R are true and R is not the correct explanation for A
iii. A is True but R is False
iv. A is false but R is True
Section B
19 Consider the table EMP given below and identify the Primary Key, Alternate Key(s) 2
and Candidate Keys. The attributes of EMP table are :
Empid, Emp_name, Dept_no, Age, Aadhar_no, Mobile_no
20 Predict the output of the following code segment? 2
myList = [1,2,3,4,5,6,7,8,9,10]
for i in range(0,len(myList)):
if i%2 == 0:
print(myList[i])
21 Write python expression to do the followings: 2
(A) Add remainder of 10/4 to the product of 18*3
(B) Find the integral part of quotient when 50 is divided by 10
22 Amit is a student of I.P. and currently studying about the Databases. He always have 2
a strong confusion between the terms Degree and Cardinality. Help him to make a
good understanding of these terms with a suitable example.
23 Read the python code and do the corrections and also mention the type of error 2
which occurs :
36=a
If a=15:
print(‘hello’)
else
print(a/0)
24 Write the program to print the following pattern using loops only. 2
1
1 2
1 2 3
1 2 3 4
OR

Write a program to take number from user and display the sum of all the digits
present in the number. For example no=123 sum=6
25 Differentiate between interpreter and compiler. 2
Section C
26 Sanjeev wants to know about proprietary software and freeware. Explain him about 3
these types along with two suitable examples of each type.
27 Following list has the record of student raghav having ‘name’,’rollno’,marks in five 3
subjects,percentage.
Strec=[‘Raghav’ , ’A-23’ ,[12,34,34,65,23],89.5]
Write python statements to retrieve the following information from the list Strec.
(a) To retrieve the Percentage of student
(b) To retrieve Marks in the second subject
(c) To print Maximum marks of the students
(d) To retrieve Rollno of the student
(e) To change the name of the student from ‘Raman’ to ‘Dhruv’
(f) To insert the grade ‘B’ at the end of the list
28 Write a program to take a number from the user and find out whether the entered 3
number is palindrome or not .
For example if entered number is 5225 it is palindrome . If you read number from
right side it will be same
29 Write a program to find and display the sum of all the values which are ending with 3
3 from list . Sample list is :[13,78,33,48,94,56,3] output will be 49
OR
Write a program that takes list and add 10 to even values and 5 to 0dd values. For
example input : l=[10,20,30,15,18,40]
Output: l=[20,30,40,20,23,50]

30 What are the differences between dictionary & list? Create list and dictionary and 3
explain also.
Section D
31 (a) What is the importance of memory in computer system? 4
(b) Explain briefly the functions of operating system?

32 Manya is studying about DBMS. Help her to understand the difference between 4
Database and DBMS? Also explain her any four advantages of DBMS.

Section E
33 Write a program to input your friend’s names and their phone numbers and store 5
them in a dictionary as the key and value pair. Perform the following operations on
the dictionary.
(A) Display name and phone numbers of all your friends
(B) Delete a particular friend from dictionary
(C) Modify the phone number of existing friend
(D) Display the dictionary in sorted order of names.
(E) Check particular friend is present in the dictionary.
OR
(a) What is dictionary?
(b) Can sequence operations such as slicing and concatenation be applied to
dictionary? Why/ why not?
(c) What are the differences between lists and dictionaries?
34 (A) Why the Primary memory is termed as “destructive write” memory but “non 5
destructive read memory”?
(B) Define the following
(i) Antivirus
(ii) Text Editor
(iii) Backup software
35 Answer the following 5
(A) Who developed Python?
(B) What is IDLE?
(C) Which method is used to take value from user?
(D) How many ways are there to work in Python ?
(E) How python is cross platform language?

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