BMCS1033 SDF

BMCS1033 SDF

University

40 Qs

quiz-placeholder

Similar activities

Access Modifiers, Inheritance & Polymorphism

Access Modifiers, Inheritance & Polymorphism

University

39 Qs

Introduction To Visual Foxpro

Introduction To Visual Foxpro

7th Grade - University

37 Qs

Exception Handling

Exception Handling

University

39 Qs

Semester Final 2025

Semester Final 2025

10th Grade - University

40 Qs

Arrays in C

Arrays in C

University

40 Qs

Quiz on Programming Basics

Quiz on Programming Basics

3rd Grade - University

43 Qs

Midterm prep 7th

Midterm prep 7th

7th Grade - University

41 Qs

Ôn Tập Chuong III - Tin 11

Ôn Tập Chuong III - Tin 11

6th Grade - University

40 Qs

BMCS1033 SDF

BMCS1033 SDF

Assessment

Quiz

Computers

University

Medium

Created by

nur izzah

Used 2+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of:

print(2 + 3 * 4)

20

14

24

12

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of:

print("Hello" * 3)

Hello3

Hello Hello Hello

HelloHelloHello

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be printed?

x = 5

x += 3

print(x)

5

8

53

error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of:

print(10 // 3)

3

3.33

4

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of:

print(10 % 4)

2

4

6

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be printed?

print("Python"[1:4])

Pty

yth

tho

ytho

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of:

print(bool(0), bool(3))

False True

True False

True True

False False

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?