Pythonkod
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Easy
Björn Andersson
Used 51+ times
FREE Resource
Enhance your content in a minute
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
10 questions
Wprowadzenie do C++
Quiz
•
8th Grade
10 questions
Python Basics
Quiz
•
8th - 10th Grade
12 questions
Homework 1 Edublocks
Quiz
•
7th - 9th Grade
10 questions
เตรียมสอบกลางภาค 2/64
Quiz
•
8th Grade
10 questions
Excel - Formulas and Functions
Quiz
•
7th Grade
10 questions
“Python Quiz Challenge”
Quiz
•
6th Grade
12 questions
Kornjačina grafika - provjera
Quiz
•
6th Grade
10 questions
BK 6 7 Sınıf Kodlama ve Robotik
Quiz
•
6th - 7th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
