
Control Statements - C

Quiz
•
Computers
•
12th Grade
•
Hard
Purushotham M
Used 17+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
Compile time error
Hello is printed thrice
Nothing
Varies
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
2.000000
4.000000
3.000000
Run time error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
Hello
Infinite hello
Run time error
Nothing
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
Compile time error
Infinite loop
After loop
Undefined behaviour
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
In for loop After loop
After loop
Compile time error
Undefined behaviour
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
In while loop
In while loop
In while loop
In while loop
In while loop
Depends on the compiler
Compile time error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times i value is checked in the following C code?
2
3
4
1
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
15 questions
Python Basics

Quiz
•
KG - University
10 questions
Programming - Algorithms in Pseudocode & Flow Diagrams

Quiz
•
1st - 12th Grade
15 questions
Python and PseudoCode Quiz

Quiz
•
10th Grade - University
10 questions
C++ Programming Quiz

Quiz
•
12th Grade
15 questions
Java Level 1 - D

Quiz
•
12th Grade
15 questions
Grade 12-Python selection&iteration

Quiz
•
11th - 12th Grade
14 questions
For Loops (Java)

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade