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

Podar International School Chinchwad STD Xi - (I Unit Test) Subject: Computer Science Date: 8-9-2020 Marks: 40

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

Podar International School Chinchwad STD Xi - (I Unit Test) Subject: Computer Science Date: 8-9-2020 Marks: 40

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

PODAR INTERNATIONAL SCHOOL CHINCHWAD

STD XI – (I UNIT TEST)


SUBJECT : COMPUTER SCIENCE DATE : 8-9-2020 MARKS : 40

Q:1 A Multiple Choice questions 6M

1. Python programs are typed in ____________


a) Script mode
b) Interactive mode
c)A Combination of Interactive and Script modes

2. A python is a ___________language.
a) High Level
b) Low Level
c) Object Oriented
d) None of above

3. Escape sequence characters are treated as____________


a) strings c) integers
b) Characters d) None of Above

4. Select the reserve word in python


a) print c) import
b) else d) All of the Above

5. Which of the following is not an immutable type in python?


a) String b) Tuple c) Set d) Dictionaries

6. Which of the following operator has the lowest precedence?


a) not b) % c) and d)+ e) **

B) Evaluate the following

1. What is the value of the expression 10+3**3*2 1M

2. What will be the value of y after following code fragment is executed? 2M


x=10.0
y=(x<100.0) and x>=10

C. What will be the output of the following?

1. n=int(input(“ How any times”)) 1M


print(“hello” *n)

2. a,b,c=1,1,1 2M
d=0.3
e=a+b+c-d
f=a+b+c-d

3. print(0<6) or (not(10==6) and (10<0))) 2M

Q:2 A Answer the following

1. Identify the data types of the values given below. 2M

a) (2,20,55) b) x=’2.2’ c) a=2+0j d) y=2.5**3

2. From the following, find out the valid identifier: 3M


_abc_d, break, doc14, a2bc5, _punc, ray.dat

B Evaluate the following 2M

If the value of x=12, y=4 then,

a) x-=y c) x!=y

b) x//y d) x and y

C Write any three programs in python 9M

1. Write a python program to print sum of the series.

For Eg : Enter the number :6


The series is 1,2,3,4,5,6
The sum of the series is 21

2. Write a program to print factorial of a given number.

3. Write a python program to find out the reverse of a given number.


4. Write a python program to print the given triangle

1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

5. Write a program which accepts the marks of three subjects and displays the total
and percentage.

You might also like