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

DAY  4 - Arrays & String Assessment _14 June 24

DAY 4 - Arrays & String Assessment _14 June 24

University

10 Qs

Arduino/Node MCU

Arduino/Node MCU

University

15 Qs

Programming - Screening Test

Programming - Screening Test

3rd Grade - Professional Development

15 Qs

open loop and closed loop control systems part 2

open loop and closed loop control systems part 2

University

15 Qs

CSS Quiz-I

CSS Quiz-I

11th Grade - Professional Development

10 Qs

Moringa JavaScript Iteration

Moringa JavaScript Iteration

9th Grade - Professional Development

10 Qs

Mechatronics

Mechatronics

University

8 Qs

C-Lab10

C-Lab10

University

10 Qs

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

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

Assessment

Quiz

Professional Development

University

Medium

Created by

KVCH CORPORATE

Used 1+ times

FREE Resource

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