MYP2

Quiz
•
Computers
•
7th Grade
•
Hard
Fatema Dhorajiwala
Used 3+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
An _______ is a set of precise instructions, expressed in some sort of language.
program
algorithm
plan
sequence
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Who developed Python Programming Language?
Guido van Rossum
Wick van Rossum
Rasmus Lerdorf
Niene Stom
Answer explanation
Python language is designed by a Dutch programmer Guido van Rossum in the Netherlands.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct extension of the Python file?
.python
.pl
.py
.p
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the value of the following Python expression?
4 + 3 % 5
7
2
4
1
Answer explanation
he order of precedence is: %, +. Hence the expression above, on simplification results in 4 + 3 = 7. Hence the result is 7.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a correct syntax to output "Hello World" in Python?
echo "Hello World"
print("Hello World")
p("Hello World")
echo("Hello World")
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used to define a block of code in Python language?
Indentation
Key
Brackets
All of the above
Answer explanation
In Python, to define a block of code we use indentation. Indentation refers to whitespaces at the beginning of the line.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you start writing an if statement in Python?
if x > y:
if x > y then:
if (x > y)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
20 questions
Python Recap

Quiz
•
7th Grade - University
20 questions
Intro to Python

Quiz
•
6th - 8th Grade
20 questions
Python 1

Quiz
•
7th - 9th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
16 questions
Python Basics

Quiz
•
KG - University
15 questions
Python basics

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade