ภาษาซีif

Quiz
•
Computers
•
11th Grade
•
Hard
Gawkij Tearamoke
Used 67+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
beginning c programing

Quiz
•
10th - 12th Grade
15 questions
coding

Quiz
•
8th - 12th Grade
20 questions
Jago PHP

Quiz
•
11th Grade
15 questions
หน่วยที่ 2 เรื่อง ( Language C )

Quiz
•
9th - 12th Grade
17 questions
PROVA 2º bimestre

Quiz
•
11th Grade
15 questions
Python

Quiz
•
6th Grade - University
20 questions
ความรู้พื้นฐาน Python

Quiz
•
10th Grade - University
20 questions
การเขียนโปรแกรม

Quiz
•
10th - 11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade