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
30 questions
information technology

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

Quiz
•
6th - 8th Grade
30 questions
Systems Architecture

Quiz
•
8th - 10th Grade
30 questions
HTML/CSS

Quiz
•
8th - 10th Grade
30 questions
Social Media Strategist

Quiz
•
8th Grade
34 questions
Pakdad's Revision Quiz

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

Quiz
•
8th Grade
26 questions
Computer Terminology and Formal Email Pre-quiz

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade