C++  quiz

C++ quiz

University

15 Qs

quiz-placeholder

Similar activities

La communication dans la salle de classe et les objets

La communication dans la salle de classe et les objets

University - Professional Development

15 Qs

Sharing Session ISO

Sharing Session ISO

KG - Professional Development

20 Qs

C Language Basic Quiz

C Language Basic Quiz

7th Grade - Professional Development

10 Qs

Week 3 Pass

Week 3 Pass

University

18 Qs

PHP Beginners Quiz

PHP Beginners Quiz

University

15 Qs

String Methods Review

String Methods Review

9th Grade - University

10 Qs

Technoquiz..3

Technoquiz..3

University

15 Qs

Day -5 Workshop Quiz

Day -5 Workshop Quiz

University

15 Qs

C++  quiz

C++ quiz

Assessment

Quiz

Other

University

Medium

Created by

Avantika Marathe

Used 11+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?