C Language - Quiz 2
Quiz
•
Computers
•
Vocational training
•
Practice Problem
•
Medium
Motaher Hossain
Used 3+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
以下哪种操作适用于条件判断?
Which of the following is suitable for conditional checking?
if
while
for
None / 这些都没有
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
如果 x = 0,以下 if 语句中哪个条件为真?
If x = 0, which condition in the following if statements are true?
if (x)
if (!x)
if (x > 0)
if (x < 0)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
在以下哪种情况下,循环会被执行至少一次?
In which of the following cases will the loop be executed at least once?
do-while
for
None / 这些都没有
while
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
以下哪个运算符用于比较两个值?
Which operator is used to compare two values?
&&
==
-
+
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
以下哪个关键字可以提前结束循环?
Which keyword can terminate a loop prematurely?
continue
break
return
exit
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
如果 for 循环条件永远为真会发生什么?
What happens if a for loop's condition always evaluates to true?
循环终止 / Loop terminates
无限循环 / Infinite loop
报错 / Error occurs
无法编译 / Fails to compile
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
以下哪种循环控制结构不属于 C 语言?
Which of the following loop control structures is NOT part of C language?
foreach
for
while
do-while
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Data Structure
Quiz
•
Professional Development
20 questions
DATA STRUCTURES
Quiz
•
12th Grade
20 questions
looping and branching statements in C
Quiz
•
9th Grade
25 questions
C PROGRAMMING
Quiz
•
University
20 questions
U1系統平台
Quiz
•
12th Grade
16 questions
Quiz on List and Tuples
Quiz
•
University
15 questions
Windows知識驗收
Quiz
•
8th Grade
20 questions
ITパスポート問題_01 ストラテジ01_経営組織論
Quiz
•
KG
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
