KOD ARAHAN

KOD ARAHAN

9th - 12th Grade

50 Qs

quiz-placeholder

Similar activities

Tin 10 - Ôn tập KTHK 2

Tin 10 - Ôn tập KTHK 2

10th Grade

50 Qs

Plaza Programación

Plaza Programación

11th Grade

50 Qs

Year 11 GCSE CS Progress Check

Year 11 GCSE CS Progress Check

10th Grade

50 Qs

Comp Sci. Examination  March 13th

Comp Sci. Examination March 13th

9th - 12th Grade

50 Qs

Python

Python

11th - 12th Grade

46 Qs

Computer Science pre-test

Computer Science pre-test

10th Grade

50 Qs

TN TH10 KNTT ON GK2 TRẮC NGHIỆM

TN TH10 KNTT ON GK2 TRẮC NGHIỆM

10th Grade

50 Qs

Week 5 - Variables/Booleans

Week 5 - Variables/Booleans

9th - 12th Grade

54 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?