Search Header Logo

21910-1003 กลางภาค

Authored by Dome Ji

Computers

9th - 12th Grade

Used 3+ times

21910-1003 กลางภาค
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

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

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?