
Programming Concepts Quiz
Authored by esraa emad
Computers
7th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of using variables x_plane and y_plane in the airplane animation code?
To create random movements
To store color values
To simplify position changes for all shapes
To control the animation speed
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a flowchart in programming?
To create visual animations
To show the logical sequence of steps in a process
To store variable values
To generate random numbers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which shape is used to represent decisions in a flowchart?
Rectangle
Circle
Diamond
Arrow
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the random() command do in p5js?
Creates a random color
Generates a number within a specified range
Randomly positions shapes
Randomizes animation speed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the throttle effect created in the airplane animation?
Using multiple rectangles
Using random colors
Using an ellipse with random height
Using triangle shapes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when y_cloud1 > height condition is true?
The cloud moves faster
The cloud changes color
The cloud resets to the top of the screen
The animation stops
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of rectMode(CENTER) in the code?
To change rectangle color
To properly align rectangle position
To make rectangles larger
To create rectangular borders
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?