Quiz: Programming Basics Review

Quiz
•
Information Technology (IT)
•
11th Grade
•
Easy
Tarra Jackson
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
What is the purpose of an if statement?
To repeat code
To make decisions
To define a variable
To display output
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following is NOT a valid variable name?
user_name
2nd_place
favoriteColor
total_amount
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
What does a return statement do in a function?
Prints output to the screen
Ends the program
Sends a value back to the caller
Defines a new variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which symbol is used for assignment in Python?
==
=
:
=>
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
What is the output of print(5 + "5")?
10
"55"
Error
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
What is the main advantage of using functions?
They make programs longer
They help avoid repetition and improve readability
They replace all loops
They make the program run faster
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of these is an example of a loop?
if-else
for
return
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
WebXam Programming Quiz for Grade 11

Quiz
•
11th Grade
6 questions
Website Analytics and Optimization Quiz

Quiz
•
11th Grade
10 questions
Parts of a Computer: Operating System Functions

Quiz
•
9th Grade - University
10 questions
Sequencing Blockly - 2

Quiz
•
7th Grade - University
10 questions
ASESMEN DIAGNOSTIK INFORMATIKA X DPB 2

Quiz
•
10th Grade - University
11 questions
Network+ 1.3.5 & 1.3.6 Transport and Application Layer

Quiz
•
11th Grade
9 questions
js expressions

Quiz
•
11th Grade
15 questions
Computer Hardware and Troubleshooting Quiz

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
16 questions
Metric Conversions

Quiz
•
11th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade