ภาษาซีif

ภาษาซีif

11th Grade

20 Qs

quiz-placeholder

Similar activities

final ComSci 5

final ComSci 5

11th Grade

20 Qs

STARFIELD MID-TERM 2

STARFIELD MID-TERM 2

9th - 12th Grade

15 Qs

ตอบปัญหาคอมพิวเตอร์st

ตอบปัญหาคอมพิวเตอร์st

9th - 12th Grade

20 Qs

TIN 11 BÀI 11 KIỂU MẢNG

TIN 11 BÀI 11 KIỂU MẢNG

11th Grade

18 Qs

Начала программирования на языке Паскаль

Начала программирования на языке Паскаль

8th - 11th Grade

15 Qs

Data Encryption

Data Encryption

10th - 11th Grade

19 Qs

Trắc nghiệm excel - 1

Trắc nghiệm excel - 1

KG - University

20 Qs

Chapter 3: Storage devices and media (Part 2):

Chapter 3: Storage devices and media (Part 2):

10th - 11th Grade

15 Qs

ภาษาซีif

ภาษาซีif

Assessment

Quiz

Computers

11th Grade

Practice Problem

Hard

Created by

Gawkij Tearamoke

Used 68+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

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

>

=

>=

!=

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

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

if ไม่มี else

if แบบมี else

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

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

m = 4.5;

x == 8;

'A' > 'B'

C > D;

4.

MULTIPLE CHOICE QUESTION

10 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

20 sec • 1 pt

ถ้าหากต้องการตรวจสอบคะแนนที่อยู่ในตัวแปร score ว่าถ้าหากคะแนนเกิน 80 ให้แจ้งว่าได้เกรด A จะต้องเขียนอย่างไร

if((mark>80)&&(mark<=100)) printf("A");

if(mark>80); printf("A");

if(80<mark<=100) printf("A");

if(mark>80) printf('A');

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ฟังก์ชัน if-else ใช้กับเงื่อนไขแบบใด

เงื่อนไขแบบทางเดียว

เงื่อนไขเลือกทำสองทาง

เงื่อนไขเลือกทำหลายทาง

ไม่มีข้อถูก

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การเขียนฟังก์ชั่นในลักษณะ if-else-if ใช้กับเงื่อนไขแบบใด

เงื่อนไขแบบทางเดียว

เงื่อนไขเลือกทำสองทาง

เงื่อนไขเลือกทำหลายทาง

ไม่มีข้อถูก

Create a free account and access millions of resources

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?