DAY 2 - C& C++ Assessment _11th & 12th June 24

DAY 2 - C& C++ Assessment _11th & 12th June 24

University

10 Qs

quiz-placeholder

Similar activities

SBMnatics

SBMnatics

University

13 Qs

TME 103_3rd Examination Quiz 1

TME 103_3rd Examination Quiz 1

University

10 Qs

AA ACC4201 Quiz 1

AA ACC4201 Quiz 1

University - Professional Development

10 Qs

COMMUNICATION

COMMUNICATION

University

10 Qs

Preparation for employment

Preparation for employment

12th Grade - Professional Development

10 Qs

Petit Fours

Petit Fours

12th Grade - University

14 Qs

The Bhutan Baccalaureate

The Bhutan Baccalaureate

8th Grade - University

15 Qs

Article 10 - Evaluation

Article 10 - Evaluation

University

15 Qs

DAY 2 - C& C++ Assessment _11th & 12th June 24

DAY 2 - C& C++ Assessment _11th & 12th June 24

Assessment

Quiz

Professional Development

University

Practice Problem

Medium

Created by

KVCH CORPORATE

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators has the highest precedence in C?

+ (Addition)

* (Multiplication)

&& (Logical AND)

= (Assignment)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

will be the output of the following C code snippet?

30

25

20

15

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a bitwise operator in C?

&&

||

&

==

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following C code snippet?

Positive

Negative

Compilation error

No output

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following loops will execute at least once, regardless of the condition?

for loop

while loop

do-while loop

Infinite loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following C code snippet?

0 1 2 3

0 1 2

1 2 3

1 2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is true about the switch statement in C?

The switch statement can evaluate only integer expressions.

The switch statement can evaluate any type of expression.

The switch statement is limited to two cases.

The switch statement must always include a default case.

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

Already have an account?