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
BAB 4 | 4.1 KOD ARAHAN | SUBTOPIK 4.1.2

Quiz
•
2nd Grade - University
10 questions
Web 1.5-1.6 Quiz

Quiz
•
11th Grade
8 questions
MA3-App Lab Design and Functionality

Quiz
•
9th - 12th Grade
10 questions
Python Module 2 Section 6 Review

Quiz
•
11th Grade
10 questions
Input and Output Devices Challenge

Quiz
•
7th Grade - University
6 questions
CPP - Problem Solving - debugging

Quiz
•
11th Grade
9 questions
Binary, Decimal, Hexadecimal Knowledge

Quiz
•
7th Grade - University
10 questions
Quiz in ICT 9

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
7 questions
SAT Reading & Writing Practice Test - Reading Focus

Quiz
•
11th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade