C++  quiz

C++ quiz

University

15 Qs

quiz-placeholder

Similar activities

DESIGN AND BUILDING TEAM

DESIGN AND BUILDING TEAM

University

10 Qs

MTB-MLE

MTB-MLE

University

20 Qs

Quiz on the Malaysian Food Act 1983

Quiz on the Malaysian Food Act 1983

University

10 Qs

Pituitary gland

Pituitary gland

University

15 Qs

UNIT 2 OVERHEAD

UNIT 2 OVERHEAD

University

15 Qs

REPORT WRITING TECHNIQUE

REPORT WRITING TECHNIQUE

University

10 Qs

Olympian Gods&Goddesses Quiz

Olympian Gods&Goddesses Quiz

9th Grade - University

12 Qs

UTS Praktikum P3

UTS Praktikum P3

University

20 Qs

C++  quiz

C++ quiz

Assessment

Quiz

Other

University

Medium

Created by

Avantika Marathe

Used 12+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who invinted C++?

Dennis Ritchie

Ken Thompson

Brian Kernighan

Bjarne Stroustrup

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

double

float

int

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include<iostream.h>

#include<conio.h>

void main()

{

clrscr();

cout<<"Hello world";

getch();

}

What would be the output for the above program?

Hello World

hello world

Hello world

HELLO WORLD

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

;

]

)

:

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used for comments in C++?

// comment

/* comment */

both // comment or /* comment */

// comment */

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the actual parameters in C++?

Parameters with which functions are called

Parameters which are used in the definition of a function

Variables other than passed parameters in a function

Variables that are never used in the function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is called insertion/put to operator?

<<

>>

>

<

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?