
1D COMP
Quiz
•
Education
•
University
•
Practice Problem
•
Medium
T N
Used 5+ times
FREE Resource
Enhance your content in a minute
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
ถ้าให้ x = 5; y = 7; z = 12;
และ k = (x + y) * z + y;
จงหาค่าของ k
74
128
151
96
47
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
สมการ z เท่ากับ x กำลังสอง บวก y กำลังสอง เขียนเป็นนิพจน์ในภาษาคอมพิวเตอร์ได้อย่างไร
z = x2 + y2;
z = x * x + y * y;
z = x * 2 + y * 2;
z = x ** 2 + y ** 2;
z = xx + yy;
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
ถ้ากำหนดให้ Relative Precedence ของ Operators เป็นไปตามลำดับดังนี้ 1) ++ -- 2) * / % 3) + - จากลำดับ Operator Precedence ด้านบน จงjหาค่าตัวแปรดังต่อไปนี้ x = 4 + 5 * 3;
x= 27
x = 19
x= 17
ไม่สามารถระบุค่าได้
ถูกทุกข้อ
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
กำหนดให้โปรแกรมมีชุดคำสั่งคือ
i = 0
i = i + 1
j = 1
j = i + j
เมื่อคอมพิวเตอร์ทำโปรแกรมนี้จนจบ ผลลัพธ์จากการทำงานคือข้อใด
i มีค่า 0
j มีค่า 0
j มีค่า 1
j มีค่า 2
j มีค่า 3
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
กำหนดให้โปรแกรมมีขั้นตอนการทำงานดังนี้
เริ่มต้น
รับค่า x และ y
นำค่า x + y ใส่ลงใน a
นำค่า x – y ใส่ลงใน b
แสดงค่าผลคูณของ a กับ b
จบ
ถ้าเครื่องคอมพิวเตอร์ทำโปรแกรมนี้ โดยผู้ใช้ใส่ค่า 8 และ 2 ผลลัพธ์ที่ได้คือข้อใด
8
16
28
60
88
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
กำหนดให้โปรแกรมมีขั้นตอนการทำงานดังนี้
เริ่มต้น
รับค่า x, y และ z
นำค่าที่มากที่สุดของ x, y, z ไปใส่ไว้ใน a
นำค่าที่น้อยที่สุดของ x, y, z ไปใส่ไว้ใน c
นำค่าเฉลี่ยของ x, y, z ไปใส่ไว้ใน b
จบ
ถ้าเครื่องคอมพิวเตอร์ทำโปรแกรมนี้จนจบแล้วข้อใดเป็นจริง
a < b < c
a > b > c
a <= b <= c
a >= b >= c
a >= b <= c
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
ข้อใดได้ผลลัพธ์บนหน้าจอเหมือนกับคำสั่งต่อไปนี้ int a = 50; PRINTtoSCREEN(a+200);
int a = 350; PRINTtoSCREEN(a); a = a - 100;
PRINTtoSCREEN(a); int a = 50; a = a * 5;
PRINTtoSCREEN(a); a = a - 100; int a = 350;
a = a * 5; int a = 50; PRINTtoSCREEN(a);
int a = 50; a = a * 5; PRINTtoSCREEN(a);
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
24 questions
คำคล้องจอง ป.3
Quiz
•
3rd Grade - University
30 questions
ระเบียบวิธีวิจัย mid 1-64
Quiz
•
University
30 questions
161434_Midterm C.7
Quiz
•
University
25 questions
ข้อสอบเพิ่มคะแนนพิเศษสำหรับผู้บริหารในอนาคต
Quiz
•
University
30 questions
161434_Midterm C.2
Quiz
•
University
30 questions
Test_161312_C6
Quiz
•
University
23 questions
ข้อสอบ (ซ่อม) ปลายภาคหลักสูตรผู้ช่วยพยาบาลรุ่นที่ 4 วพบ.สร.
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Education
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
