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
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?
Similar Resources on Wayground
30 questions
Try Out PAT Kelas VIII
Quiz
•
8th Grade
26 questions
The Internet
Quiz
•
6th - 8th Grade
26 questions
More logic gates
Quiz
•
7th Grade - University
27 questions
3d printing
Quiz
•
8th Grade
26 questions
Credit and Credit Cards Unit
Quiz
•
8th Grade
35 questions
PLTW CSIM Lesson 1 Assessment
Quiz
•
5th - 9th Grade
30 questions
CSD Unit 1 Test
Quiz
•
8th Grade
30 questions
Fundamentals of Computers
Quiz
•
5th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
