Programming Practice Quiz

Programming Practice Quiz

8th Grade

31 Qs

quiz-placeholder

Similar activities

Computer Science Level 1 - Blocks with VEXcode VR Course

Computer Science Level 1 - Blocks with VEXcode VR Course

6th - 8th Grade

26 Qs

information technology

information technology

6th - 8th Grade

30 Qs

2122 Database

2122 Database

7th - 9th Grade

35 Qs

Y9 Project 2_KPOW Responding

Y9 Project 2_KPOW Responding

8th Grade

30 Qs

CSIM Lesson 2

CSIM Lesson 2

6th - 8th Grade

30 Qs

Job Applications Test

Job Applications Test

6th - 8th Grade

30 Qs

Keyboarding Midterm

Keyboarding Midterm

5th - 8th Grade

29 Qs

Tynker Programming 301 Quiz: Lesson 3-4

Tynker Programming 301 Quiz: Lesson 3-4

6th - 8th Grade

34 Qs

 Programming Practice Quiz

Programming Practice Quiz

Assessment

Quiz

Computers

8th Grade

Medium

Created by

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

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?