Search Header Logo

Quiz 1

Authored by RAFIZAH MOHD HANIFA

Computers

University

Used 2+ times

Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Who invented C++?

Dennis Ritchie

Ken Thompson

Brian Kernighan

Bjarne Stroustrup

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is C++?

C++ is an object oriented programming language

C++ is a procedural programming language

C++ supports both procedural and object oriented programming language

C++ is a functional programming language

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is a correct identifier in C++?

VAR_1234

$var_name

7VARNAME

7var_name

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following type is provided by C++ but not C?

double

float

int

bool

5.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

Media Image

What is the value of p in the following C++ code snippet?

12

0

2

16

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is used to terminate the function declaration in C++?

;

]

)

:

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which concept allows you to reuse the written code in C++?

Inheritance

Polymorphism

Abstraction

Encapsulation

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?