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
Already have an account?
Similar Resources on Wayground
27 questions
Wordpress- Posts
Quiz
•
8th Grade
30 questions
Manual Input devices
Quiz
•
8th Grade
34 questions
Code.org: Unit 1 Test
Quiz
•
6th - 9th Grade
35 questions
MYE Revision 7 & 8
Quiz
•
7th - 8th Grade
26 questions
Parts of the Computer
Quiz
•
7th - 8th Grade
26 questions
History of/ All About Technology
Quiz
•
5th - 9th Grade
26 questions
Artificial Intelligence Quiz1
Quiz
•
4th - 8th Grade
32 questions
ASKT2 : Bab 3 : b) Pemalar / Pembolehubah & Input/Output
Quiz
•
8th - 9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
