Search Header Logo

KOD ARAHAN

Authored by Biyamin Razak

Computers

9th - 12th Grade

Used 2+ times

KOD ARAHAN
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code display? teks = "Komputer" print(teks[3])

p

u

u

o

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This code contains a logic error. What is the cause? x = 10 y = 0 print(x / y)

x is not defined

Dividing by zero causes an error

y is a constant variable

The code has no issues

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the following code used for? a = 15 b = 5 print(a // b)

Modulus

Power

Floor division

Addition

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of this code? print(len("Python"))

5

6

7

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code produce? x = 4 y = 2 print(x > y and y < x)

Comparing values

Swapping values

Adding values

Sorting values

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of this code? x = "123" print(int(x))

123

"123"

1

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of this code? x = True

Integer

Boolean

String

Float

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?