ภาษา C เรื่องการเลือกทำตามเงื่อนไข

ภาษา C เรื่องการเลือกทำตามเงื่อนไข

3rd Grade

10 Qs

quiz-placeholder

Similar activities

Sao chép di chuyển chi tiết tranh vẽ

Sao chép di chuyển chi tiết tranh vẽ

3rd Grade

15 Qs

HTML

HTML

1st - 3rd Grade

10 Qs

Ai là người chiến thắng!!!

Ai là người chiến thắng!!!

1st - 4th Grade

10 Qs

แบบทดสอบ เรื่อง การค้นหาข้อมูลบนอินเทอร์เน็ต

แบบทดสอบ เรื่อง การค้นหาข้อมูลบนอินเทอร์เน็ต

3rd Grade

10 Qs

วัดค่าความชื้นในอากาศ Kidbright

วัดค่าความชื้นในอากาศ Kidbright

1st - 3rd Grade

10 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

БАЗЫ ДАННЫХ

БАЗЫ ДАННЫХ

2nd - 5th Grade

14 Qs

Computer and Laws

Computer and Laws

3rd - 4th Grade

12 Qs

ภาษา C เรื่องการเลือกทำตามเงื่อนไข

ภาษา C เรื่องการเลือกทำตามเงื่อนไข

Assessment

Quiz

Computers

3rd Grade

Practice Problem

Hard

Created by

นายอธิเจตน์ ทิวะสิงห์

Used 23+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวดำเนินการใดไม่ใช่ตัวดำเนินการทางตรรกะ

>

=

>=

!=

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

if ไม่มี else

if แบบมี else

if…else และ switch

switch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การเขียนประโยคต่อไปนี้ไม่สามารถใช้กำหนดเงื่อนไขให้กับ if ได้

m=4.5

x == 8

‘A’ > ‘B’

C > D

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ประโยคในข้อใด เป็นการตรวจสอบว่าตัวแปร x อยู่ในช่วงตั้งแต่ 20 ถึง 30

if((x >= 20) && (x <= 30))

if((x >= 20) | | (x <= 30))

if(20 < x < 30)

if((x <= 10) && (x >= 20))

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ค่าในข้อใดไม่สามารถใช้เป็นค่าหลัง case ในคำสั่ง switch…case ได้

7

4.5

‘7’

‘A’

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้าหากในคำสั่ง switch…case ไม่มี break; เมื่อโปรแกรมทำงานจะเกิดอะไรขึ้น

โปรแกรมตรวจสอบ case ถัดไป

โปรแกรมแจ้งข้อผิดพลาด

กระโดดไปทำคำสั่งหลัง default

กระโดดออกนอก switch…case

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้าหากใช้เครื่องหมาย ; หลังตัวตรวจสอบเงื่อนไขของ if จะเกิดอะไรขึ้น

โปรแกรมจะแจ้งข้อผิดพลาด

โปรแกรมมองว่าเป็นสเตตเมนต์ว่าง

ไม่สามารถคอมไพล์ได้

ไม่มีข้อถูก

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?