Review for Conditionals, Variables and Functions

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

R M
Used 23+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
10
100
20
200
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
10
11
12
13
16
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
10
25
30
35
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
a b c
a b c b c b c
a b c b c
a b c a
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
CheckWin();
checkWin();
checkwin();
checkWin()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one of the following statements about functions is TRUE
A function can change names over the course of a program.
Code can be added or removed dynamically from a function while the program is running.
Functions can be called using different names depending on where in the program they are called.
Two functions can be given identical names as long as their code is identical.
Two functions in a single program can have different names but contain identical code.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT true about functions in programming?
Functions are reusable programming abstractions.
Functions help reduce the complexity of writing and maintaining programs.
Functions cannot make calls to other functions within the same program.
Functions help break a problem into logical chunks.
Once defined, a function can be called many times from different parts of a program.
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is one important naming convention of functions?
A function name should indicate how long the function takes to run.
Two functions with similar behavior should be given identical names to indicate the relationship between them.
A function name should be as descriptive as possible to indicate what the function does.
Function names should be organized alphabetically.
The function name should begin with a number that indicates the order in which it should be executed.
9.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When programmers work together, what is an example of how abstraction in programming can promote collaboration?
Team members can rely on one another to explain their code.
Programmers can write functions without needing to know what they do or how they should work.
Programmers can use functions created by their partners, relying on the functionality without needing to know the specific details of how the function is implemented.
In order for programmers to work together, they must work in the same room.
Abstraction allows programmers to brainstorm more creative solutions to problems.
Similar Resources on Wayground
10 questions
Fungsi Logika

Quiz
•
11th Grade
10 questions
OCR J277 - Maintainability

Quiz
•
10th - 11th Grade
10 questions
Year 8 - Unit 2: Small Basic Programming Terminology

Quiz
•
9th Grade
9 questions
H DDD - Aggregate functions (revision)

Quiz
•
12th Grade
12 questions
Unit 7 Mid Review

Quiz
•
9th - 12th Grade
10 questions
QUARTER3 MOD 1 TO 5

Quiz
•
10th Grade
12 questions
CountIf Function

Quiz
•
10th Grade
10 questions
3.4 Microbit RETRIEVAL PRACTICE

Quiz
•
6th - 9th 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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade