We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 3
NANDHA CENTRAL SCHOOL
XI - COMPUTER SCIENCE (083)
I st 50% ASSESMENT EXAMINATION-23
aRRSZ : TIME: 3 Hrs
ATE: 26 -0§ 2023, - WARKS |
Q.NO Section -A ALLOCATED
T |The operators that act on one operand are referred to as ‘a)Binary operator
b)Unary operator c)Relation operator d) Arithmetic operator
2 |ifa=18.9 & b=3 .then all b will be evaluated as as
Ja) 6.0 b) 6.3 c)0.3%d)none of these
+6.3) &j=4"6 3j.then what will be the value of print (==), ‘a)True b) False e) 1 di]
iUwill be the output of the Tollow'
4 Ja=bool (' ') and 51750)else200 print(res)
| ‘vif the input is 2 :
| 23. jit the input is 2
| !
t
[723] What is script?where can you write the python code? 2
a 2
2
What are the keywords? Write some commonly used keywords in python?Section -C
What will be the output of the following ? Also state the reason,
i) print (“introduction to python \n programming") ii)print("100=200")
iii)print( 100/11)
avelllad
Write python statements for the follow
[b)To print the character variable letter,
))To read a float variable into the variable discount_rate
+a)To print the walue of the integer variable sum,
[Find the output of the following #1
print(x)
i +5-7*8/5%10
%.26"%x) ii
=IHANS
-3+4-78/5%10 print("%.2P"%a)
[What is the difference between logical and syntactical error?give examples. |
Rewrite the following program using for loop: isum=I.0
| while(i