Pythonkod

Quiz
•
Computers
•
6th - 8th Grade
•
Easy

Björn Andersson
Used 51+ times
FREE Resource
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!
Similar Resources on Wayground
11 questions
C++ Functions

Quiz
•
6th - 8th Grade
10 questions
Programming in Java

Quiz
•
8th Grade
10 questions
Year 7 Python Lesson 1 Recap

Quiz
•
8th Grade
10 questions
Introduction to Arrays

Quiz
•
KG - University
12 questions
Python - Data Types and Operators

Quiz
•
7th Grade
10 questions
Cybersäkerhet och Internetquiz

Quiz
•
6th Grade
10 questions
Internets sju nycklar

Quiz
•
3rd - 11th Grade
10 questions
Programming

Quiz
•
1st - 10th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
25 questions
Chromebook Quiz!

Quiz
•
7th Grade
8 questions
Time Management

Quiz
•
6th Grade
22 questions
College Terms

Quiz
•
8th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
32 questions
Keyboarding

Quiz
•
8th Grade