Pythonkod

Pythonkod

6th - 8th Grade

7 Qs

quiz-placeholder

Similar activities

C# Variables and Data Types

C# Variables and Data Types

8th Grade - University

9 Qs

ข้อสอบ python เบื้องต้น

ข้อสอบ python เบื้องต้น

7th Grade

10 Qs

Python 7 клас

Python 7 клас

7th Grade

12 Qs

Year 7 Python Lesson 1 Recap

Year 7 Python Lesson 1 Recap

8th Grade

10 Qs

App Creators Lesson 2.1-2.4

App Creators Lesson 2.1-2.4

8th Grade

10 Qs

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

python

python

7th Grade

10 Qs

Python линейные алгоритмы

Python линейные алгоритмы

8th Grade

10 Qs

Pythonkod

Pythonkod

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Easy

Created by

Björn Andersson

Used 51+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vilket blir resultatet av koden?

— = indragen text

if 5 > 2

—print("Hej!")

Hej!

Noll

5

2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vilket blir resultatet av koden?

— = indragen text

i = 1

print(i)

i += 1

3

2

1

0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vilket blir resultatet av koden?

— = indragen text

i = 1

i += 1

print(i)

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vilket blir resultatet av koden?

name = "Bertil"

age = 33

person = name + age

Bertil

name

Bertil 33

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vilket blir resultatet av koden?

— = indrag

i = 1

while i < 5:

—print(i)  i += 1

5

1

1

2

3

4

6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vilket blir resultatet av koden?

num1 = 10

num2 = 2

sign = -

if sign == "+":

—summa = int(num1) + int(num2)

elif sign == "-":

—summa = int(num1) - int(num2)

elif sign == "*":

—summa = int(num1) * int(num2)

elif sign == "/":

—summa = int(num1) / int(num2)

print(summa)

8

5

12

20

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vilket blir resultatet av koden?

— = indrag

a = 3

print ("Hej")

if a == 3:

—print("och")

elif a == 5:

—print("hej då!")

print("god morgon!")

Hej

och

hej då!

Hej

och

god morgon!

god morgon!

hej då!

god morgon!

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?