หน่วยที่ 5 การเขียนโปรมแกรมแบบทำซำ้
Quiz
•
Computers
•
Vocational training
•
Practice Problem
•
Hard
นางสาวพุทธิพร สุทธิปัญญา
Used 13+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือลักษณะของโปรแกรมวนรอบทำซ้ำ(Loop) ?
โปรแกรมที่ทำงานตามลำดับจากบนลงล่าง
โปรแกรมที่ใช้การตัดสินใจควบคุมการทำงาน
โปรแกรมที่วนกลับมาทำซ้ำตำแหน่งเดิม
โปรแกรมที่ควบคุมให้ทำงานตามเงื่อนไขที่กำหนด
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จุดเด่นของโปรแกรมวนรอบคือข้อใด ?
ช่วยให้โปรแกรมทำงานเร็วขึ้น
ลดจำนวนบรรทัดของโปรแกรมที่ซ้ำกัน
สามารถนำไปใช้ในโปรแกรมอื่นได้
ถูกทุกข้อ
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดไม่ใช่การวนรอบในภาษา C
for
while
do…while
repeat…until
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การวนรอบแบบใด มีลักษณะทำก่อนตรวจสอบเงื่อนไข
for
while
do…while
repeat…until
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเป็นการวนรอบเพื่อแสดงเลขคู่ของตัวเลขระหว่าง 1 ถึง 100
for (k=2; k<100; k++)
for (k=2; k<=100; k++)
for (k=1; k<=100; k+=2)
for (k=2; k<=100; k+=2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ผลลัพธ์ของโปรแกรม คือข้อใด ?
int x;
for(x=2; x<5;x++)
printf ("% d" , x) ;
1 2 3 4
1 2 3 4 5
2 3 4
2 3 4 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าเปลี่ยนคำสั่งแสดงผลเป็น printf("Hello C \n"); จะแสดงผลข้อความกี่บรรทัด ?
int x;
for(x=2; x<5;x++)
printf ("% d" , x) ;
2 บรรทัด
3 บรรทัด
4 บรรทัด
แสดงเพียงบรรทัดเดียว
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
10 questions
Dasar C++
Quiz
•
KG - 3rd Grade
15 questions
เทคโนโลยีการสื่อสาร
Quiz
•
7th Grade
10 questions
สอบปลายภาคชั้นม.2
Quiz
•
8th Grade
10 questions
ม.2 แบบทดสอบก่อนเรียน หน่วย 2
Quiz
•
6th - 8th Grade
10 questions
การใช้อินเทอร์เน็ตอย่างมีประสิทธิภาพ
Quiz
•
6th Grade
10 questions
คําถามเกี่ยวกับเทคโนโลยีสารสนเทศ
Quiz
•
1st - 5th Grade
10 questions
Pre-Post-Project
Quiz
•
KG - University
10 questions
แบบทดสอบหลังเรียนหน่วยที่ 2 เรื่อง ระบบปฏิบัติการ
Quiz
•
1st Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
