Search Header Logo

BMCS1033 SDF

Authored by nur izzah

Computers

University

Used 2+ times

BMCS1033 SDF
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?