Programming Practice Quiz
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
T Y
Used 2+ times
FREE Resource
Enhance your content in a minute
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which line is a comment used for short explanations or observations concerning the code or program and has no effect on the behavior of the program?
#include "vex.h"
Brain.Screen.print("Hello World!");
// my first program in C++
int main( )
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which line is interpreted before the compilation of the program itself begins and instructs the preprocessor to perform standard input and output operations?
#include "vex.h"
Brain.Screen.print("Hello World!");
// my first program in C++
int main( )
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which line is used to declare a function, which is made up of a set of statements needed to perform a certain task?
#include "vex.h"
Brain.Screen.print("Hello World!");
// my first program in C++
int main( )
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which line is a statement that specifies its actual behavior? Statements are executed in the same order that they appear within a function's body.
#include "vex.h"
Brain.Screen.print("Hello World!");
// my first program in C++
int main( )
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does this { do?
This indicates the beginning of the function or program.
This indicates the end of the function or program.
This is a comment used for short explanations.
This line is used to declare a function, which is made up of a set of statements needed to perform a certain task.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does this } do?
This indicates the beginning of the function or program.
This indicates the end of the function or program.
This is a comment used for short explanations.
This line is used to declare a function, which is made up of a set of statements needed to perform a certain task.
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the first parameter represent?
Height
Width
Y-position
X-position
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
26 questions
OZOBOT Robotics Quizz
Quiz
•
1st - 9th Grade
30 questions
WEEK 5 - UTS KELAS KOMPUTER
Quiz
•
1st Grade - University
26 questions
Images and sound
Quiz
•
8th Grade
28 questions
Bazy danych
Quiz
•
KG - University
31 questions
Python Course Selection
Quiz
•
7th - 11th Grade
35 questions
Digital Citizenship and Social media
Quiz
•
6th - 8th Grade
31 questions
iMovie Quiz
Quiz
•
6th - 8th Grade
26 questions
Year 8 Michaelmas revision
Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
