KOD ARAHAN

KOD ARAHAN

9th - 12th Grade

50 Qs

quiz-placeholder

Similar activities

Edexcel Python  07

Edexcel Python 07

11th Grade

50 Qs

Daspro

Daspro

10th Grade

50 Qs

PYTHON-STRINGS

PYTHON-STRINGS

12th Grade

50 Qs

[AP CSP] Programming Review

[AP CSP] Programming Review

9th - 12th Grade

47 Qs

PCEP Questions

PCEP Questions

9th - 12th Grade

46 Qs

Python Practical Questions

Python Practical Questions

9th - 12th Grade

46 Qs

Project STEM Unit 1 Review

Project STEM Unit 1 Review

9th - 12th Grade

49 Qs

Python Programming Assessment 3

Python Programming Assessment 3

10th Grade

50 Qs

KOD ARAHAN

KOD ARAHAN

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Biyamin Razak

Used 2+ times

FREE Resource

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

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?