C++ Basics

C++ Basics

University

31 Qs

quiz-placeholder

Similar activities

Decision and Case Control Statements in C

Decision and Case Control Statements in C

University

35 Qs

Struktur Data

Struktur Data

University - Professional Development

30 Qs

C++ Basic Programming Elements

C++ Basic Programming Elements

University

28 Qs

Test Diagnóstico. Estructura de Datos

Test Diagnóstico. Estructura de Datos

University

31 Qs

Test IT 12+3 ວິຊາ ໂປແກມມິງ1

Test IT 12+3 ວິຊາ ໂປແກມມິງ1

University

30 Qs

SD_Midterm Quiz

SD_Midterm Quiz

University

30 Qs

untitled

untitled

5th Grade - University

27 Qs

PEMROGRAMAN DASAR X

PEMROGRAMAN DASAR X

KG - University

26 Qs

C++ Basics

C++ Basics

Assessment

Quiz

Computers

University

Medium

Created by

Jack Bandy

Used 1+ times

FREE Resource

31 questions

Show all answers

1.

OPEN ENDED QUESTION

2 mins • 1 pt

What are some tools or topics you would be interested in working with for the next 4 projects? What ideas do you have for programs we could write in C++?

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is the correct statement to output "Hello World" in C++?

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

cout << "Hello World";

print("Hello World");

cout > "Hello World";

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the best definition of a reserved word in C++?

A user-defined variable

A keyword with a special meaning

A function name

A comment

4.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

Write a C++ statement that declares the variable firstInitial to be a character variable.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the context of a function, what is the role of the "void" keyword in C++?

To declare a variable

To indicate a function returns no value

To start a loop

To end a program

6.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

What is the result of the following expression in C++?

11%9

7.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

What is the result of the following expression in C++?

15/4

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?