Basics of C++ Program

Basics of C++ Program

University

10 Qs

quiz-placeholder

Similar activities

Java Static

Java Static

University

10 Qs

CSC404 Quiz 1

CSC404 Quiz 1

University

10 Qs

ECE-C Quiz _3

ECE-C Quiz _3

University

10 Qs

Variabel dan Tipe Data C++

Variabel dan Tipe Data C++

University - Professional Development

10 Qs

C Practice Test 1

C Practice Test 1

University

12 Qs

Day 1 Quiz

Day 1 Quiz

11th Grade - University

12 Qs

Arrays and Functions

Arrays and Functions

University

12 Qs

Tie Round

Tie Round

University

15 Qs

Basics of C++ Program

Basics of C++ Program

Assessment

Quiz

Computers

University

Hard

Created by

Illiana Azizan

Used 62+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following is a reserved word in C++?

Const

include

Char

void

int

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Are the identifiers "firstname" and "FirstName" the same?

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An identifier consists of letters, digits, and the underscore character (_ ).

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A C++ identifier can start with a digit.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The following image shows a legal C++ program:

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

These statements shows a/an _________ identifiers.

legal

illegal

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these is a correct operator used to put a comment?

/* This is a C++ program.

// This is a C++ program.

/* This is a C++ program. */

// This is a C++ program. //

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?