Coding Workshop
Quiz
•
Computers
•
7th Grade
•
Practice Problem
•
Medium
Zul Arif
Used 7+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of an if-else statement in coding?
To repeat a block of code multiple times
To define a function or method
To make a decision based on a condition
To create a loop
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you write an if-else statement in Python?
if [condition]:
# code block if the condition is true
else:
# code block if the condition is false
if [condition] then:
# code block if the condition is true
else:
# code block if the condition is false
if [condition]
# code block if the condition is true
else
# code block if the condition is false
if [condition]:
# code block if the condition is false
else:
# code block if the condition is true
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
(10 > 9)
True
False
Invalid
0
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x is 4
y is 3
x + y < 11
True
False
Yes
No
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How is AND used in Boolean Logic?
To search all the words together
To search one or other words
To search nothing
To search for the opposite of the words
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The "NOT" used in Boolean Logic to produce the opposite of the input
True
1
0
False
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this code?
True
Different color...
False
Same color!
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
ASK BAB 1
Quiz
•
1st - 10th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
19 questions
KEYBOARDING TECHNIQUE
Quiz
•
5th - 8th Grade
20 questions
Year 7 Computing Revision Quiz
Quiz
•
7th Grade
19 questions
КҮРДЕЛІ ШАРТТАРДЫ ПРОГРАММАЛАУ. PYTHON
Quiz
•
7th Grade
15 questions
MORE ON CSS3
Quiz
•
7th Grade
22 questions
Powerpoint Topic 2
Quiz
•
7th Grade
15 questions
Software
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
