C-Volution (Easy 2)

C-Volution (Easy 2)

University

30 Qs

quiz-placeholder

Similar activities

Pre-test Informatika Kelas 8

Pre-test Informatika Kelas 8

8th Grade - University

25 Qs

INFORMATIKA KELAS IX

INFORMATIKA KELAS IX

9th Grade - University

25 Qs

C++ Advanced Quiz

C++ Advanced Quiz

University

30 Qs

Computer Programming Quiz

Computer Programming Quiz

University

30 Qs

соңғы сессия 8 бзв

соңғы сессия 8 бзв

University

30 Qs

Kefahaman C++ dan Arduino Uno

Kefahaman C++ dan Arduino Uno

University

34 Qs

C++ Basics Quiz

C++ Basics Quiz

University

25 Qs

Pyhton Debugging Questions

Pyhton Debugging Questions

University

25 Qs

C-Volution (Easy 2)

C-Volution (Easy 2)

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Sujal Bhagat

Used 3+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to terminate a switch statement case?

stop

end

break

exit

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the default case in a switch statement?

To define a loop.

To execute code when no other case matches.

To print output.

To read input.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of printf("%d", 20 / 3);?

6.66

6

7

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for bitwise AND in C?

&&

&

||

|

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the == operator do?

Assigns a value.

Checks for equality.

Checks for inequality.

Performs logical NOT.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid character constant in C?

123

"A"

'A'

3.14

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet? C int x = 10; if (x >= 10) { printf("Equal or greater");}

Equal or greater

No output

Error

10

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?