Search Header Logo

แบบทดสอบการเขียนโปรแกรมเบื้องต้น

Authored by สุชาติ4 นิกรรัมย์

Computers

9th - 12th Grade

Used 11+ times

แบบทดสอบการเขียนโปรแกรมเบื้องต้น
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ข้อใดคือชนิดของข้อมูลแบบตัวเลขจำนวนเต็ม ?

String

Float

Integer

Boolean

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ข้อใดคือชนิดของข้อมูลแบบข้อความ ?

Integer

Float

String

Boolean

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ข้อใดคือหลักการเขียนโปรแกรมที่ดี ?

เขียนโค้ดให้สั้นที่สุด

เขียนโค้ดให้ซับซ้อนที่สุด

เขียนโค้ดให้เข้าใจง่ายและมีประสิทธิภาพ

เขียนโค้ดโดยไม่สนใจการทดสอบ

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ข้อใดคือความหมายของคำว่า "เงื่อนไข" (IF) ?

ข้อมูลที่ป้อนเข้าสู่โปรแกรม

ผลลัพธ์ของโปรแกรม

ข้อกำหนดที่ใช้ในการตัดสินใจ

ชุดคำสั่งของโปรแกรม

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ถ้า ค่าตัวแปรนี้ มากกว่า 5 แล้ว ให้ทำเหตุการณ์นี้ โจทย์นี้ ต้องใช้คำสั่งใด ?

If…

for ….

while ….

int a

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ให้ วนทำซ้ำ เหตุการณ์นี้ จำนวน 5 รอบ โจทย์นี้ ต้องใช้คำสั่งใด ?

If…else…

for ….

while ….

int a

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ให้ วนทำซ้ำ เหตุการณ์นี้ เมื่อ ค่าในตัวแปร x น้อยกว่า 5 โจทย์นี้ ต้องใช้คำสั่งใด ?

if…else…

for ….

while ….

int a

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?