p=5/2
q=p*4
r=p+q
p+=p+q+r
q-=p+q*r
print(p,q,r)
2. Find output
Quiz
•
Computers
•
12th Grade
•
Hard
Ambika Jain
Used 7+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
p=5/2
q=p*4
r=p+q
p+=p+q+r
q-=p+q*r
print(p,q,r)
27.5 -142.0 12
27.5 -142.5 12.5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
p=10
q=20
p*=q//3
q+=p+q**2
print(p,q)
(60 480)
(65 480)
(60 485)
(65 485)
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
a=(2+3)**3-6/2
b=(2+3)*5//4+(4+6)/2
c=12+(3*4-6)/3
d=12%5*3+(2*6)//4
print(a,b,c,d)
(122.0 10.0 14.0 9)
(121.0 11.0 14.0 9)
(122.0 11.0 13.0 9)
(122.0 11.0 14.0 9)
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
a=10
x,x=a*10,a//2
print(x+1)
5
7
9
6
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
x,y=10,20
x,y=x+y,y-x
print(x,y)
30 10
20 15
30 15
40 10
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
x=45,200
print(x)
print(x[0],x[1])
45 46
45 200
4 5
45 201
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
m=int(input("enter num")) ** 2
print(m)
a=2**3**2
print(a)
256
128
512
1024
25 questions
CSV File handling in Python
Quiz
•
12th Grade
26 questions
Новогодняя по Pythony
Quiz
•
9th - 12th Grade
27 questions
Python 2d topic (типы данных, ввод, вывод)
Quiz
•
6th - 12th Grade
25 questions
CSP Python Review
Quiz
•
9th - 12th Grade
25 questions
Python for Absolute Beginners
Quiz
•
8th - 12th Grade
28 questions
Python List
Quiz
•
12th Grade
25 questions
Python Test
Quiz
•
9th - 12th Grade
25 questions
python 3-5 unit 10gr
Quiz
•
10th Grade - University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade