Search Header Logo

รหัสเทียม

Authored by Apisit Buatong

Computers

University - Professional Development

Used 18+ times

รหัสเทียม
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ข้อใดกล่าวถูกต้องในการเขียนรหัสเทียม

ต้องใส่เครื่องหมายวรรคตอนให้ถูกต้อง

หากมีการใช้เงื่อนไข ควรเขียน if…else ให้ตรงกันเป็นคู่ ๆ

เหมาะกับโปรแกรมภาษาเครื่อง

ต้องใช้ภาษาอังกฤษเขียนเท่านั้น

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ข้อใดเป็นการเขียนรหัสเทียมเพื่อการกำหนดค่า

print “sum of 1 to 5 = ”, sum

if (score >=50) then

vat = 0.07

while (i<=10) do

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ข้อใดเป็นการเขียนรหัสเทียมเพื่อการคำนวณ

print “sum of 1 to 5 = ”, sum

vat = 0.07

X MOD 3

if (score >=50) then

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ข้อใดเป็นการเขียนรหัสเทียมเพื่อการแสดงผลข้อมูล

if (score >=50) then

X MOD 3

print “sum of 1 to 5 = ”, sum

vat = 0.07

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ข้อใดเป็นการเขียนรหัสเทียมเพื่อการเปรียบเทียบเงื่อนไข

print “sum of 1 to 5 = ”, sum

X MOD 3

if (score >=50) then

while (i<=10) do

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ข้อใดเป็นการเขียนรหัสเทียมเพื่อการทำซ้ำ

X MOD 3

while (i<=10) do

print “sum of 1 to 5 = ”, sum

if (score >=50) then

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

จงใช้ตัวเลือกด้านล่างเขียนรหัสเทียมจากผังงาน ตามภาพที่วงไว้

count = count +1

Profit = price – cost

input price, cost

if (count <=10) goto input price,cost

else stop

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

Already have an account?