KOD ARAHAN

KOD ARAHAN

9th - 12th Grade

50 Qs

quiz-placeholder

Similar activities

Python Programming Credential

Python Programming Credential

9th - 12th Grade

46 Qs

CodeCademy - Python 3 - Syntax and Functions

CodeCademy - Python 3 - Syntax and Functions

7th - 12th Grade

50 Qs

PYTHON PROGRAMMING - FINAL EXAM REVIEW

PYTHON PROGRAMMING - FINAL EXAM REVIEW

9th - 12th Grade

46 Qs

GCSE Python Legends

GCSE Python Legends

1st - 12th Grade

45 Qs

Python 3 Loops

Python 3 Loops

9th - 12th Grade

55 Qs

Python Assessment Year 8

Python Assessment Year 8

8th - 9th Grade

50 Qs

Python Review - PLTW CSE / Codecademy

Python Review - PLTW CSE / Codecademy

9th - 12th Grade

53 Qs

Python Coding Specialist Exam

Python Coding Specialist Exam

9th - 12th Grade

46 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?