C++ Basics

C++ Basics

University

31 Qs

quiz-placeholder

Similar activities

HTML Quiz - 1

HTML Quiz - 1

University

30 Qs

Resumen Unidad 2 PP

Resumen Unidad 2 PP

University

30 Qs

HTML and CSS

HTML and CSS

University

30 Qs

Цифровые кафедры в СВФУ

Цифровые кафедры в СВФУ

University

26 Qs

HTML and CSS

HTML and CSS

University - Professional Development

36 Qs

JavaScript

JavaScript

University

30 Qs

Fundamentos de HTML y sus etiquetas 🌐💡

Fundamentos de HTML y sus etiquetas 🌐💡

University

26 Qs

CS 211 - Midterm Review

CS 211 - Midterm Review

University

30 Qs

C++ Basics

C++ Basics

Assessment

Quiz

Computers

University

Medium

Created by

Jack Bandy

Used 4+ 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?