Programming Practice Quiz

Programming Practice Quiz

8th Grade

31 Qs

quiz-placeholder

Similar activities

8.5 Final MCQ Assessment 2022

8.5 Final MCQ Assessment 2022

8th Grade

30 Qs

general knowledge

general knowledge

5th - 12th Grade

26 Qs

Systems Architecture

Systems Architecture

8th - 10th Grade

30 Qs

St Michael's  - Year 8 - Advanced Small Basic

St Michael's - Year 8 - Advanced Small Basic

8th Grade

33 Qs

Ada Lovelace

Ada Lovelace

8th Grade

31 Qs

PLTW Vocab Words

PLTW Vocab Words

7th - 8th Grade

26 Qs

Computing Essentials A

Computing Essentials A

6th - 8th Grade

29 Qs

Video Games

Video Games

KG - University

28 Qs

 Programming Practice Quiz

Programming Practice Quiz

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

T Y

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?