C second module quiz

Quiz
•
Computers
•
Professional Development
•
Hard
SHANIFA E
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is conditional statement in C
if
int
printf
scanf
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
a=4;
if(a%2==0)
printf("%d is even",a);
else
printf("%d is odd",a);
Write output of the above code
4 is even
a is even
4 is odd
a is odd
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
switch(expression)
{
case value1:
//code to be executed; break; //optional
case value2:
//code to be executed;break; //optional
…..
……
default:
//code to be executed if all cases are not matched;
}
The above code is syntax of switch statement.True or false
False
True
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
..................... is an alternative to mulifiple if else if statement
for
if else
do while
switch
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
This is flowchart of
if
if else
switch
for
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
.................. is an entry controlled loop
while
do while
switch
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
................. is an exit controlled loop
while
do while
for
switch
Create a free account and access millions of resources
Similar Resources on Wayground
21 questions
CÂU LỆNH WHILE

Quiz
•
Professional Development
21 questions
C-1 CHAPTER-3

Quiz
•
Professional Development
20 questions
Mobile Device

Quiz
•
Professional Development
22 questions
3TH sem GAT 2023

Quiz
•
Professional Development
20 questions
Q1 PYTHON EXPRESSION

Quiz
•
Professional Development
20 questions
แบบทดสอบภาษาซี

Quiz
•
Professional Development
20 questions
Array Data Structure Quiz for Beginners

Quiz
•
Professional Development
20 questions
Pre-Assessment: Java Basics

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade