C Language - Quiz 2

C Language - Quiz 2

Vocational training

20 Qs

quiz-placeholder

Similar activities

OOP - Quiz

OOP - Quiz

University

15 Qs

111學年度-資訊科技對我們的影響

111學年度-資訊科技對我們的影響

7th Grade

20 Qs

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

六年級程式設計測驗

六年級程式設計測驗

6th Grade

20 Qs

Javascript Fundamental Practice

Javascript Fundamental Practice

Professional Development

20 Qs

電腦病毒大作戰

電腦病毒大作戰

3rd Grade

15 Qs

Computer Application Practice Quiz Class 10

Computer Application Practice Quiz Class 10

10th Grade

20 Qs

Linux 3-4

Linux 3-4

University

20 Qs

C Language - Quiz 2

C Language - Quiz 2

Assessment

Quiz

Computers

Vocational training

Medium

Created by

Motaher Hossain

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?