0% found this document useful (0 votes)
2 views3 pages

PT-1-XI

Uploaded by

sasi kata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

PT-1-XI

Uploaded by

sasi kata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

CLASS XI – PT - 1

SUBJECT: INFORMATICS PRACTICES (CODE-065)

Maximum Marks: 35 Time: 90 Mins


_____________________________________________________________________________

General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A has 9 questions carrying 01 mark each.
4. Section B has 4 Very Short Answer type questions carrying 02 marks each.
5. Section C has 3 Short Answer type questions carrying 03 marks each.
6. Section D has 01questions carrying 04 marks each.
7. Section E has 01 questions carrying 05 marks each.
8. All programming questions are to be answered using Python Language only

SECTION A

1. Which symbol depicts the starting of the python shell


a. <<< b. >> c. >>> d. = =
2. Which of the following statement is used to check the x variable value is 25 or not in Python:
a. x==25 b. x:=25 c. 25=x d. x=25
3. Which of the following are the fundamental building blocks of a computer?
a. Constants b. Identifiers c. Punctuators d. Tokens
4. ---------- and ----------------are the two languages contributed to Python as a programming
language.
a. ABC Language & Modula-2 b. BBC Language & Modula-2
c. ABC Language & Modula-3 d. BBC Language & Modula-3
5. ----------------- are named labels, whose values can be used and processed at runtime
a. Token b. Keyword c. Identifier d. variable
6. What is the output of following assignment operator?
a=10
a%=5
print(a)
a. 10 b. 2 c. 4 d. 0
7. 0x45 is -------------type of integer
a. Decimal b. Octal c. Hexadecimal d. Binary
8. Which of the following is equivalent decimal number for 1011011
a.74 b. 95 c. 75 d. 91
9. Assertion(A): Python allows multiple assignments
Reasoning(R): It means that, one or more variables can be assigned the same or different
value simultaneously using single statement.
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

10. Write any two advantages and two disadvantages of python language?
11. Expand IDLE and write differences between two modes of IDLE or python interpreter?
12. Write about mutable and immutable data types with examples?
13. What is lexical unit and mention any four types of it?
OR
Define string literal and how many ways are there in python to represent string literal mention
with examples?

SECTION C
14. i. Identify the type of literal and type operator:
a. 4500.00 :
b. ‘4500’ :
c. != :
d. or :

ii. Identify which of the following identifiers are valid or invalid and if it is invalid state
the reason?
a. 1Serial_no. :
b. Total Marks :
iii. Identify the type of the error or name the type of the error for following variable
declarations:
a. a,b=10,30,50 :
b. a=’welcome’
print(a/2) :
15. i. Predict output for the following :
a. print (type(True')) :
b. print('Hello'*2) :
c. name='Madhu'
print('hi',name,' Division is start wtih \\') :
d. import math
r=7
area=math.pi*r*r
print('The area of circle is:',area) :
ii. Convert from mathematical expression to python expression?

a. :

OR
i. Define the following with an example
a. Keyword
b. Dictionary
c. Explicit type conversion

16. i. Identify the barebones of python program for the following program
# Multiplication of two numbers ------------
a,b,c=10,2,4 -----------
d=a*b -----------
print(d) # Displaying output -----------

ii. Predict the output for the following:

a. a,b=5+4j,6.7
print(a.real) :
print(int(b)) :
b. print('a','b',3,sep='#',end='@%@') :

SECTION D

17. Predict the output for the following:


a,b,c,d=45.5,5,2, 'Ravi\'s Book #45'
a. print(d[3]) :
b. print(len(d)) :
c. print(b**c) :
d. print(not(a)) :
e. print('k' in d) :
f. print(a is b) :
g. print(a | b) :
h. print(((a+c)>b )and ((b//c)==c)) :

SECTION E

18. i. Write the output of the folloiwng program:


a. x,y=20,60
y,x,y=x,y-10,x+10
print(x,'\n',y) :
b. print(50//5/2%3*10) :

ii. Write a program to display Simple Intrest?


iii. Write a program to display total and average of three subjects marks?

You might also like