2. Find output

2. Find output

12th Grade

30 Qs

quiz-placeholder

Similar activities

Grade 12 Revision python ch1

Grade 12 Revision python ch1

11th - 12th Grade

25 Qs

JENIS DATA (ASAS SAINS KOMPUTER TINGKATAN 2) Cikgu Munirah

JENIS DATA (ASAS SAINS KOMPUTER TINGKATAN 2) Cikgu Munirah

12th Grade

26 Qs

Python set 1

Python set 1

9th - 12th Grade

26 Qs

Computer Sc Class 12

Computer Sc Class 12

12th Grade

25 Qs

Class XII(Revision Tour)

Class XII(Revision Tour)

12th Grade

25 Qs

Python Operators

Python Operators

11th - 12th Grade

30 Qs

python 3-5 unit 10gr

python 3-5 unit 10gr

10th Grade - University

25 Qs

J277 Random Quiz 1

J277 Random Quiz 1

12th Grade

32 Qs

2. Find output

2. Find output

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?