
Quiz-day1-C

Quiz
•
Other
•
University
•
Medium
Hoa Van
Used 6+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a built-in function in C?
my_function
printf
display
show
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to print "Hello, World" in C?
printf("Hello, World!");
display("Hello, World!");
write("Hello, World!");
echo("Hello, World!");
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in C?
123_variable
my-variable
my_variable
my variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to get the remainder of a division in C?
/
//
%
**
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which keyword is used to define a conditional statement in C?
if
while
for
switch
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
#include
x is greater than 5
x is less than or equal to 5
The program will encounter an error.
Nothing is printed.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to exit a loop in C?
break
continue
stop
exit
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
NCM 121 PFA

Quiz
•
University
20 questions
True Or False

Quiz
•
KG - University
18 questions
IMS505 Recap

Quiz
•
University
15 questions
Tech quiz Round 1

Quiz
•
University
15 questions
R programming

Quiz
•
University
15 questions
5CSE1_T&P questions

Quiz
•
University
14 questions
- My - Hero - Academia -

Quiz
•
University
20 questions
Deontological Ethics Quiz BATCH 2

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University