Quiz: Programming Basics Review

Quiz: Programming Basics Review

11th Grade

10 Qs

quiz-placeholder

Similar activities

Gestion des Utilisateurs de la BD

Gestion des Utilisateurs de la BD

2nd Grade - University

12 Qs

Pascal Coding

Pascal Coding

11th Grade

10 Qs

Intro to JS: Variables & Values

Intro to JS: Variables & Values

11th Grade - University

8 Qs

Coding and AI Knowledge Check

Coding and AI Knowledge Check

10th Grade - University

10 Qs

Quiz Arduino Level 1

Quiz Arduino Level 1

11th Grade

10 Qs

Quiz Face-Off – Year 11: Gold vs Diamond-Lower case answers only

Quiz Face-Off – Year 11: Gold vs Diamond-Lower case answers only

11th Grade

10 Qs

Programming Basics & Variables

Programming Basics & Variables

11th Grade

5 Qs

PEMAHAMAN DASAR INFORMATIKA KELAS XI

PEMAHAMAN DASAR INFORMATIKA KELAS XI

11th Grade

15 Qs

Quiz: Programming Basics Review

Quiz: Programming Basics Review

Assessment

Quiz

Information Technology (IT)

11th Grade

Easy

Created by

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

print

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?