C Language - Quiz 2
Quiz
•
Computers
•
Vocational training
•
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
Linux 3-4
Quiz
•
University
25 questions
g7_ch4
Quiz
•
7th Grade
20 questions
111學年度-資訊科技對我們的影響
Quiz
•
7th Grade
20 questions
六年級程式設計測驗
Quiz
•
6th Grade
20 questions
Javascript Fundamental Practice
Quiz
•
Professional Development
16 questions
Python массив
Quiz
•
9th Grade
15 questions
電腦病毒大作戰
Quiz
•
3rd Grade
20 questions
Computer Application Practice Quiz Class 10
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
