Search Header Logo

คำสั่ง

Authored by สุกัญญา ช่วยรักษ์

Other

12th Grade

Used 21+ times

คำสั่ง
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เป็นฟังก์ชั่นการกำหนดค่าต่างๆ ในส่วนนี้มีการกำหนดค่าเพียงครั้งเดียวเท่านั้น

ฟังก์ชั่น setup()

ฟังก์ชั่น loop ()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เป็นส่วนในการเขียนโปรแกรมและสั่งให้โปรแกรมทำงาน ซึ่งมีการทำงานเป็นแบบวนลูปไปเรื่อยๆ

ฟังก์ชั่น setup()

ฟังก์ชั่น loop ()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เป็นคำสั่งในการตรวจสอบเงื่อนไขการทำงานของโปรแกรม ถ้าเงื่อนไขเป็นจริงให้ทำงานตามคำสั่งที่กำหนดนั้น

คำสั่ง if

คำสั่ง if...else

คำสั่ง for

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เป็นคำสั่งให้โปรแกรมทำงานซ้ำตามจำนวนรอบที่ต้องการ

คำสั่ง if

คำสั่ง if...else

คำสั่ง for

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เป็นคำสั่งกำหนดเงื่อนไขการทำงานของโปรแกรม โดยมี 2 เงื่อนไข ถ้าเงื่อนไขเป็นจริงทำงานตามคำสั่งที่กำหนดแบบหนึ่ง ถ้าเงื่อนไขเป็นเท็จทำงานตามคำสั่งที่กำหนด    อีกแบบหนึ่ง

คำสั่ง if

คำสั่ง if...else

คำสั่ง for

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เป็นคำสั่งเพื่อกำหนดการทำงานของโปรแกรมหลายๆ เงื่อนไข ถ้าตัวแปรที่กำหนดตรงกับเงื่อนไขนั้นๆ ทำให้โปรแกรมทำงานตามที่กำหนดไว้แต่และเงื่อนไข

คำสั่ง switch case

คำสั่ง while

คำสั่ง do...while

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เป็นคำสั่งทำซ้ำแบบวนรอบ ถ้าเงื่อนไขเป็นจริงโปรแกรมทำงานตามคำสั่งที่เขียนไว้ในวงเล็บปีกกา แต่ถ้าเงื่อนไขเป็นเท็จโปรแกรมจบการทำงาน

คำสั่ง switch case

คำสั่ง while

คำสั่ง do...while

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?