C++ quizz from start

C++ quizz from start

9th Grade

20 Qs

quiz-placeholder

Similar activities

SAT Practice

SAT Practice

8th Grade - Professional Development

15 Qs

SDA Chapter 6 Vocabulary

SDA Chapter 6 Vocabulary

7th - 9th Grade

20 Qs

UH BAB Kemagnetan

UH BAB Kemagnetan

9th Grade

20 Qs

ವಿಜ್ಞಾನ  ರಸಪ್ರಶ್ನೆ  3.  ಶ್ರೀನಿವಾಸ್ ರೆಡ್ಡಿ

ವಿಜ್ಞಾನ ರಸಪ್ರಶ್ನೆ 3. ಶ್ರೀನಿವಾಸ್ ರೆಡ್ಡಿ

9th - 10th Grade

20 Qs

6.2 Transformer

6.2 Transformer

9th Grade

20 Qs

COMPONENTES, MAGNITUD Y DIRECCIÓN DE UN VECTOR

COMPONENTES, MAGNITUD Y DIRECCIÓN DE UN VECTOR

9th - 10th Grade

18 Qs

Programming knowledge contest ( 1st level )

Programming knowledge contest ( 1st level )

9th - 12th Grade

20 Qs

Números enteros y inecuaciones de primer grado

Números enteros y inecuaciones de primer grado

5th - 10th Grade

16 Qs

C++ quizz from start

C++ quizz from start

Assessment

Quiz

Science

9th Grade

Easy

Created by

Hang Sithourk

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to output "Hello World" in C++?

print("Hello World");

System.out.printIn("Hello World");

Console.WriteLine("Hello World");

cout<<"Hello World";

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in C++ code?

# This is a comment

// This is a comment

/* This is a comment

This is a comment*/

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to create a variable that should store text?

string

String

myString

Txt

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the numeric value 5?

int x = 5;

num x = 5

double x = 5;

x = 5;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the floating number 2.8?

double x = 2.8;

double x = 2.8

int x = 2.8;

x = 2.8;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method can be used to find the length of a string?

getSize()

length()

getLength()

len()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to add together two values?

The + sign

The * sign

The & sign

The - sign

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?