C++ Quiz

C++ Quiz

Professional Development

30 Qs

quiz-placeholder

Similar activities

Java Fundamentals

Java Fundamentals

Professional Development

28 Qs

Diagnóstico

Diagnóstico

Professional Development

25 Qs

CodeHS Basic Data Structures in Python

CodeHS Basic Data Structures in Python

University - Professional Development

26 Qs

Quiz Básico de Java

Quiz Básico de Java

7th Grade - Professional Development

25 Qs

Java Basics

Java Basics

Professional Development

25 Qs

C Programming

C Programming

University - Professional Development

30 Qs

MicroArd_Final Quiz

MicroArd_Final Quiz

Professional Development

30 Qs

Blind Coding Round 1

Blind Coding Round 1

Professional Development

30 Qs

C++ Quiz

C++ Quiz

Assessment

Quiz

Computers

Professional Development

Medium

Created by

AI ML

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

1.Which of the following statement is not true about C++?
A class cannot have the private members
Members of a class are public by default
A structure can have the member functions
All of the above

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

2. Which of the following can be considered as the members that can be inherited but not accessible in any class?
Protected
Public
Private
None of the above

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

3. Which of the following is the correct syntax to print the message in C++ language?
Out <<“Hello world!;
cout <<“Hello world!”;
Cout << Hello world! ;
None of the above

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

4. Which of the following can be considered as the correct syntax for declaring an array of pointers of integers that has a size of 10 in C++?
int *arr = new int*[10]
int *arr = new int[10];
int arr = new int[10];
int **arr = new int*[10];

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

5. Which of the following can be considered as the object of an array?
Elements of the Array
Index of an array
Functions of the Array
All of the above

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

6. Which of the following is the correct identifier?
varname@
$var_name
VAR_123
None of the above

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

7. The programming language that has the ability to create new data types is called_______________
Overloaded
Reprehensible
Extensible
Encapsulated

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?