Programming Practice Quiz

Quiz
•
Computers
•
8th Grade
•
Medium
T Y
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
36 questions
EV3 QBank

Quiz
•
6th - 8th Grade
36 questions
Final Vocabulary Review (7th-8th Grade)

Quiz
•
6th - 8th Grade
28 questions
Computer Translators

Quiz
•
8th - 10th Grade
34 questions
Python Unit 4 - Loops & Error Handling

Quiz
•
6th - 9th Grade
30 questions
CSIM Lesson 2

Quiz
•
6th - 8th Grade
26 questions
Y8 - SUM2 - Intro to Python (No Iteration)

Quiz
•
8th Grade
34 questions
Automation and Robotics 2.3

Quiz
•
6th - 8th Grade
30 questions
CSIM Lesson 1

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
15 questions
Wren Pride and School Procedures Worksheet

Quiz
•
8th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
10 questions
Converting Repeating Decimals to Fractions

Quiz
•
8th Grade