C++ Language Quiz

C++ Language Quiz

10th Grade

10 Qs

quiz-placeholder

Similar activities

AP CSP Big Idea 1

AP CSP Big Idea 1

9th - 12th Grade

10 Qs

Instruction cycle

Instruction cycle

10th Grade

10 Qs

Coding - Computer Programming

Coding - Computer Programming

KG - University

10 Qs

C# Programming Basics Quiz

C# Programming Basics Quiz

10th Grade

10 Qs

Code.org Quiz2

Code.org Quiz2

7th Grade - University

15 Qs

if/else statements quiz

if/else statements quiz

9th Grade - University

10 Qs

Unit 3 Coding

Unit 3 Coding

8th - 12th Grade

11 Qs

Arrays += Chan

Arrays += Chan

9th - 12th Grade

12 Qs

C++ Language Quiz

C++ Language Quiz

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Noam Ben-Zion

Used 27+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which programming language is often considered one of the first high-level programming languages?

C++

Java

Python

HTML

Scratch

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'include' statement indicate in C++?

It includes the input/output stream library

It includes the math library

It includes the graphics library

It includes the string library

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'do-while' loop in C++?

To execute a block of code at least once and then repeatedly until a specified condition is true

To execute a block of code repeatedly until a specified condition is true

To execute a block of code repeatedly as long as a specified condition is true

To execute a block of code at least once and then repeatedly as long as a specified condition is true

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'Vectors' in C++?

To store a collection of elements of the same type

To store a collection of elements of different types

To store a collection of elements with fixed size

To store a collection of elements with dynamic size

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'Classes' in C++?

To define a collection of data members and member functions

To define a collection of objects

To define a collection of variables

To define a collection of functions

6.

MULTIPLE SELECT QUESTION

45 sec • 2 pts

Which programming language shares similar attributes with C++ for conditional statements?

JavaScript

Ruby

Python

Swift

Fortnite engine

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'if-else' statement in C++?

To execute a block of code at least once and then repeatedly as long as a specified condition is true

To execute a block of code repeatedly as long as a specified condition is true

To execute a block of code based on a specified condition

To execute a block of code repeatedly until a specified condition is code

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?