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

VLAN  y VPN

VLAN y VPN

5th Grade - University

15 Qs

C-Lab-9

C-Lab-9

University

5 Qs

Communication Across the Day

Communication Across the Day

University

10 Qs

EES 101 Week 4

EES 101 Week 4

University

10 Qs

Javascript

Javascript

KG - University

10 Qs

OFDP-73/120 Assignment 1

OFDP-73/120 Assignment 1

University

10 Qs

C & I 4646

C & I 4646

University

10 Qs

Week 12 - Imperative Exercises

Week 12 - Imperative Exercises

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?