
21910-1003 กลางภาค
Authored by Dome Ji
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การตรวจสอบแบบใดที่ควรใช้ ในกรณีมีหลายทางเลือก
แบบ if
แบบ if else
แบบ else if
แบบ switch
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเขียนเงื่อนไขเปรียบเทียบได้ถูกต้อง
if (x=0)
if (x=>0)
if (x<>0)
if (x!=0)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเขียนเงื่อนไขเปรียบเทียบไม่ถูกต้อง
if (x=y)
if (x!=y)
if (x>0)
if (x>=0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือการตรวจสอบว่าผู้ใช้กดแป้นพิมพ์ตัว [Y]
if (ch=[Y])
if (ch=y && ch == Y)
if (ch=='y' && csh == 'Y')
if (ch=='y' || csh == 'Y')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเป็นการตรวจสอบว่า x เป็นจํานวนเต็มบวก
if (x>0)
if (x>=0)
if (x<>0)
if (x!=0)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือการตรวจสอบว่า x เป็นเลขคี่
if (x/2 = 0)
if (x/2! = 0)
if (x%2 == 0)
if (x%2 != 0)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเขียนการตรวจสอบว่าตัวแปร x y และ z มีค่าเท่ากัน ?
if (x=y=z)
if (x==y== z)
if (x==y && y==z)
if (x==y || y==z)
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?