Search Header Logo

ว30285-ทดสอบเรื่องคำสั่งแบบเงื่อนไข

Authored by ศุภกิจ ศรีวงศ์ชัย

Computers

10th Grade

Used 4+ times

ว30285-ทดสอบเรื่องคำสั่งแบบเงื่อนไข
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

30 sec • 1 pt

ข้อใดคือตัวแปรชนิด int

3
3.14
0.01
TRUE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือรูปแบบตัวแปรที่ใช้เก็บข้อมูลชนิดตัวเลขจำนวนเต็ม

%d
%f
%s
%p

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือคำสั่งวนรอบในโปรแกรมภาษาซี

do
repeat
if
until

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เครื่องหมายที่กำกับการขึ้นบรรทัดใหม่ของโปรแกรมภาษาซี คือเครื่องหมายใด

: (โคลอน)
; (เซมิโคลอน)
< > (น้อยกว่ามากกว่า)
, (คอมม่า)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เครื่องหมาย { } ใช้สำหรับโปรแกรมภาษาซี ข้อใดถูกต้องที่สุด

ใช้สำหรับกำหนดค่าตัวแปร
ใช้สำหรับขึ้นบรรทัดใหม่
ใช้สำหรับแสดงข้อมูล
ใช้สำหรับเริ่มต้นและสิ้นสุดโปรแกรม

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

int a=3;
int a=3.50;
float a=3;
float a=3.50;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การเลือกทำแบบทางเดียวควรใช้คำสั่งใด

if ไม่มี else
if แบบมี else
if..else และ switch
switch

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?