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

Eggheads

Eggheads

4th Grade - Professional Development

11 Qs

Week 6 Autotronics 1 DTA2174

Week 6 Autotronics 1 DTA2174

University

8 Qs

TOEIC Talk 2

TOEIC Talk 2

University

15 Qs

Chromebook Tips, Tricks and Troubleshooting

Chromebook Tips, Tricks and Troubleshooting

KG - University

10 Qs

CST 150: Electrical Drawings

CST 150: Electrical Drawings

University

10 Qs

Arduino/Node MCU

Arduino/Node MCU

University

15 Qs

Quiz CCNA1 Módulo 1-3

Quiz CCNA1 Módulo 1-3

University

14 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?