C++ Basics

C++ Basics

University

31 Qs

quiz-placeholder

Similar activities

FINAL_EXAM (CFP_122)

FINAL_EXAM (CFP_122)

University

35 Qs

Trắc nghiệm HTML CSS

Trắc nghiệm HTML CSS

University

30 Qs

QUIZOBYTE FINAL ROUND

QUIZOBYTE FINAL ROUND

University

30 Qs

XML Quiz

XML Quiz

University

30 Qs

¿Quién es el mejor?

¿Quién es el mejor?

University

27 Qs

CS10 Midterm Prep II

CS10 Midterm Prep II

University

29 Qs

Programming Fundamentals

Programming Fundamentals

University

30 Qs

CMSC 202 - Exam 1 review

CMSC 202 - Exam 1 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?