TUE1

TUE1

University

40 Qs

Similar activities

A4ALGU CLUB EVENT QUIZ

A4ALGU CLUB EVENT QUIZ

University

40 Qs

C++ 3B

C++ 3B

University

40 Qs

CodeChef (Secret Snippet)

CodeChef (Secret Snippet)

University

35 Qs

Kuis 2

Kuis 2

University

35 Qs

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - University

40 Qs

TUE3

TUE3

University

40 Qs

TUE2

TUE2

University

40 Qs

Round 1 Code2duo

Round 1 Code2duo

University

44 Qs

TUE1

TUE1

Assessment

Quiz

Created by

GOKUL C [CIR]

Computers

University

1 plays

Medium

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

x is greater

y is greater

No output

Compilation error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

a = 5
b = 5

Equal

Not Equal

Error

None of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

x is less than 15

x is equal to 15

x is greater than 15

None of the above

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following code if n = 0?

True

False

Error

No output

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

In range

Out of range

Error

None

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Positive

Negative

Error

None

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

One

Two

Three

Default

8.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which statement is true about the switch-case structure in C++?

The switch expression must be of type int.

The case labels must be unique constants.

he case labels can be non-integer values.

The switch statement does not allow break.

9.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What happens if there is no break statement in a switch-case block?

It will throw a compile-time error.

The program will terminate.

It will result in a "fall-through" to the next case.

The switch will not execute.

10.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Zero

ZeroOne

One

Default

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?