Quiz #1

Quiz #1

University

16 Qs

quiz-placeholder

Similar activities

Gli indirizzi IP

Gli indirizzi IP

9th Grade - Professional Development

15 Qs

Multimedia Video & Animation

Multimedia Video & Animation

University

20 Qs

Email Lớp 6

Email Lớp 6

6th Grade - University

17 Qs

DreamWeaver CS6

DreamWeaver CS6

University

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

PHP Quiz - 1

PHP Quiz - 1

University

20 Qs

BÀI 16 - THUẬT TOÁN SẮP XẾP

BÀI 16 - THUẬT TOÁN SẮP XẾP

9th Grade - University

15 Qs

MÚLTIPLOS DE UN NÚMERO

MÚLTIPLOS DE UN NÚMERO

1st Grade - University

20 Qs

Quiz #1

Quiz #1

Assessment

Quiz

Computers

University

Hard

Created by

Rajinikanth B

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Who invented C++?

Dennis Ritchie

James Gosling

Bjarne Stroustrup

Guido van Rossum

2.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

Select the valid IDENTIFIERS

hello

_

1_2_3

hello123

Int

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a correct way to declare an integer variable in C++?

int 1num;

integer num;

int num;

int-number;

4.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Media Image

What is the output of the given code?

4

5

6

Compilation Error

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is not a valid C++ data type?

string

bool

integer

double

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which loop will always execute its body at least once, regardless of the condition?

for loop

do-while loop

  • while loop

None of the above

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the purpose of the break statement in C++?

To terminate the current loop or switch statement

To terminate the program

To skip the current iteration

To restart the loop

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?