
ภาษาซีif
Authored by Gawkij Tearamoke
Computers
11th Grade
Used 68+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
ตัวดำเนินการใดไม่ใช่ตัวดำเนินการทางตรรก
>
=
>=
!=
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
การเลือกทำแบบทางเดียวควรใช้คำสั่งใด
if ไม่มี else
if แบบมี else
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
การเขียนประโยคใดต่อไปนี้ไม่สามารถใช้กำหนดเงื่อนไขให้กับ if ได้
m = 4.5;
x == 8;
'A' > 'B'
C > D;
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
ประโยคในข้อใด เป็นการตรวจสอบว่าตัวแปร x อยู่ในช่วงตั้งแต่ 20 ถึง 30
if((x>=20)&&(x<=30))
if((x>=20)||(x<=30))
if(20<x<30)
if((x<=10)&&(x>=20))
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ถ้าหากต้องการตรวจสอบคะแนนที่อยู่ในตัวแปร score ว่าถ้าหากคะแนนเกิน 80 ให้แจ้งว่าได้เกรด A จะต้องเขียนอย่างไร
if((mark>80)&&(mark<=100)) printf("A");
if(mark>80); printf("A");
if(80<mark<=100) printf("A");
if(mark>80) printf('A');
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
ฟังก์ชัน if-else ใช้กับเงื่อนไขแบบใด
เงื่อนไขแบบทางเดียว
เงื่อนไขเลือกทำสองทาง
เงื่อนไขเลือกทำหลายทาง
ไม่มีข้อถูก
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การเขียนฟังก์ชั่นในลักษณะ if-else-if ใช้กับเงื่อนไขแบบใด
เงื่อนไขแบบทางเดียว
เงื่อนไขเลือกทำสองทาง
เงื่อนไขเลือกทำหลายทาง
ไม่มีข้อถูก
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
22 questions
Steve Jobs
Quiz
•
6th - 12th Grade
21 questions
HTML5 & CSS3 Refresher
Quiz
•
7th - 12th Grade
16 questions
Introduction to Programming Vocabulary
Quiz
•
9th - 12th Grade
15 questions
Unbound Report Quiz
Quiz
•
9th - 12th Grade
15 questions
Code.org Lesson 1-14
Quiz
•
9th - 12th Grade
25 questions
Lesson 4_Advanced Motion Tweening
Quiz
•
9th - 12th Grade
16 questions
Python programming
Quiz
•
6th - 12th Grade
21 questions
Illustrator - Tools
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade