Search Header Logo

หน่วยที่ 4 นิพจน์และตัวดำเนินการ ชค.1

Authored by kungnang nuaywattana

Computers

7th Grade

Used 5+ times

หน่วยที่ 4 นิพจน์และตัวดำเนินการ  ชค.1
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

20 sec • 1 pt

นิพจน์ประกอบด้วยอะไรบ้าง

ตัวแปร

ตัวดำเนินการทางคณิตศาสตร์

ค่าคงที่

ถูกทุกข้อ

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้า a มีชนิดข้อมูลเป็น int นิพจน์ a = 5/2 ; มีค่าตามข้อใด

2.5

2

3

0

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

จากนิพจน์ b = 6.6 / a + 2 * n ; ส่วนใดจะได้รับการกระทำก่อน

6.6 / a

a + 2

2 * n

6.6 / n

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

มีการประกาศตัวแปร int a=5, b=8, c=13, d=15; ผลลัพธ์จากนิพจน์ (a + b % c * d) คือข้อใด

5

13

195

125

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

มีการประกาศตัวแปร int counter = 4, a=5, b= -7, ans;

ผลลัพธ์จากนิพจน์ ans = a * ++counter – b; ค่าของตัวแปร counter และ ans คือเท่าใด

4 และ 32

5 และ 32

4 และ 27

5 และ 27

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนดให้ a และ b มีค่าเท่ากับ 10 และ 12 ตามลำดับ จงหาผลลัพธ์ของ a และ b หลังจากประมวลผลนิพจน์ต่อไปนี้ a += ( b == 2 );

10 และ 20

20 และ 20

10 และ 12

12 และ 12

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

จากนิพจน์ num1 != num2 หมายความว่าอย่างไร

num1 เท่ากับ num2

num1 มากกว่า num2

num1 น้อยกว่า num2

num1 ไม่เท่ากับ num2

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?