Vilket blir resultatet av koden?
— = indragen text
if 5 > 2
—print("Hej!")
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!
12 questions
Java1
Quiz
•
8th Grade
11 questions
Python for Class 7
Quiz
•
7th - 8th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
10 questions
7 сынып информатика
Quiz
•
7th Grade
10 questions
Bài tập trắc nghiệm C++
Quiz
•
3rd - 12th Grade
11 questions
Массивы в C++: ввод/вывод
Quiz
•
6th - 8th Grade
10 questions
Wprowadzenie do C++
Quiz
•
8th Grade
11 questions
Java1
Quiz
•
6th - 11th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary
Quiz
•
6th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check
Quiz
•
5th - 7th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary
Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?
Quiz
•
6th Grade