Академический Документы
Профессиональный Документы
Культура Документы
1
X=2
Y=1
Y+ = X
print “sum=”, X+Y
b. What do you mean by Looping statement? Give example. 2
c. What is the difference between X+=6 and X =X+6? 2
d. Write a program to swap two values without using any third variable. 3
e. Write the output of the following program: 3
v1, v2 = 5, 1
while(v2>0):
v1 = v1 + 1
v2 = v2 – 1
print “%d%d”%(v1, v2)
print “%d%d”%(v1–1, v2–1)
2
Blue Print: Computer Science
Basic Computer
Organization and 2(2) 4
Mobile System
Types of 1(1) 1(2) 3
Software
Memory Units 1(1) 1
Boolean Logic 1(1) 1
Information 1(2) 2
Representation
Strings 1(2) 2
Basic concepts 1(2) 2
of Flowchart
Running a 1(1) 1
Program
Cloud Computing 1(2) 2
Unit 2:
Basics of Python 1(2) 1(3) 5
Programming
Variables 5(2) 1(3) 13
Operators 4(2) 1(3) 11
Conditional 3(2) 1(3) 9
Statements
Notion of
Iterative
computation 4(2) 2(3) 14
(Looping
Statements)
Total(34 Questions) 70
Note: Figures outside the brackets = Number of questions
Figures inside the brackets = Weight age per questions