This code mark error when ran in Python. What is the correct form to write it?
Variabe=25
print(variable)
Quiz programming language
Quiz
•
Computers
•
7th Grade
•
Hard
Estela Salcido
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This code mark error when ran in Python. What is the correct form to write it?
Variabe=25
print(variable)
Variable="25"
print(variable)
Variable="25"
print=(variable)
variable=25
print(variable)
variable="25"
print=(variable)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This code mark error when ran in Python. What is the correct form to write it?
subject=Mathematics
message="Maths are easy"
print(subject, message)
subject="Mathematics"
message="Maths are easy"
print(subject, message)
subject=Mathematics
message="Maths are easy"
print(subject and message)
subject=Mathematics
message="Maths are easy"
print(subject, "message")
subject=Mathematics
message=Maths are easy
print(subject, message)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements best describes the term 'programming'?
A set of instructions
A group of words
Building blocks
Entertainment on the TV
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
exercise="sit ups"
exercise="burpees"
print(exercise)
sit ups
burpees
exercise
burpees
Syntax error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
color="red"
taste="strawberry"
color=taste
print(color)
taste
color
red
strawberry
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
clothing="winter season"
winter season="coat"
print(winter season)
winter season
cloathing
coat
Syntax error
12 questions
Python
Quiz
•
7th - 9th Grade
10 questions
Intro to Python
Quiz
•
KG - University
15 questions
Edublocks yr 8
Quiz
•
7th Grade
15 questions
Python basics
Quiz
•
6th - 8th Grade
10 questions
Python Variables
Quiz
•
7th - 12th Grade
12 questions
Python - Data Types and Operators
Quiz
•
7th Grade
10 questions
Python Programming
Quiz
•
7th - 9th Grade
15 questions
C++ While Loops
Quiz
•
6th - 8th 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
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
20 questions
Math Review
Quiz
•
7th Grade
14 questions
Subtracting Integers
Lesson
•
6th - 8th Grade
15 questions
Exponent Properties
Quiz
•
7th - 9th Grade