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
7 сынып информатика
Quiz
•
7th Grade
10 questions
Bài tập trắc nghiệm C++
Quiz
•
3rd - 12th Grade
10 questions
Prueba Diagnóstica de ED. a través de tecnologías digitales
Quiz
•
1st Grade - University
10 questions
ทบทวนก่อนสอบ ม.1 เทคโนโลยี
Quiz
•
7th Grade
10 questions
Python - kl. 8
Quiz
•
7th - 12th Grade
10 questions
Class VIII_Basic Python Programming Quiz
Quiz
•
8th Grade
10 questions
Programming - Iteration, Basic Programming Constructs & Loop
Quiz
•
2nd - 12th Grade
11 questions
Python for Class 7
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
