JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
แบบฝึกหัดบทที่8
ประโยคคำสั่ง Statement
Sign in to Google
to save your progress.
Learn more
* Indicates required question
ชื่อ-สกุล
*
Your answer
ระดับชั้น
*
Your answer
E-mail
*
Your answer
1.การเขียนประโยคในการสั่งงานเพื่อควบคุมการทำงานของโปรแกรมคือข้อใด
*
Variable
Statement
Control
Operator
2.ประโยคคำสั่งที่ขึ้นต้นด้วย Do เป็นประโยคสั่งประเภทใด
*
แบบวนซ้ำ
แบบมีเงื่อนไข
แบบทางเลือก
แบบกำหนดค่า
3.ข้อใดคืือรูปแบบประโยคคำสั่งแบบมีเงี่ยนไง
*
If...Then
Do...While
A=B+C
For...Next
4.( If A>30 Then Bonus = B*C ) B*่C จะเก็บค่าไว้ทีใด
*
A
If
Bonus
Then
5.( If A>30 Then Bonus = B*C ) โปรแกรมจะทำามเงื่อนไขเมื่อ A มีค่าเท่าใด
*
0
30
31
ถูกทุกข้อ
6.Do...Until เงื่อนไขต่อจาก Until จะเป็นข้อใด
*
เป็นเท็จ
เป็นจริง
จริงหรือเป็นเท็จ
เป็นเท็จหรือเป็นจริง
7.Salary=10000 , If Salary >=10000 Then Bonus =Salary*5% ข้อใดจะได้รับโบนัส
*
เมื่อ Salary น้อยกว่า 10000
เมื่อ Salary เท่ากับ 10000
เมื่อ Salary มากว่า 10000
ข้อ ข และ ค ถูก
8.จากโจทย์ข้อ 7 ถ้า Salary เท่าไร 12000 บาท จะได้รับ Bonus เท่าใด
*
ไม่ได้รับ Bomus
10000 *5%
12000*5%
500
9.Else หมายถึงข้อใด
*
กระทำเมื่อเงื่อนไขเป็นจริง
กระทำเมื่อเงื่อนไขเป็นจริง
กระทำเมื่อมีทางเลือก
กระทำเมื่อทางเลือกผิด
10.Do... จะใช้ร่วมกับคำสั่งใดในข้อต่อไปนี้
*
While
Then
Nxet
Else
Submit
Clear form
Never submit passwords through Google Forms.
Forms
This content is neither created nor endorsed by Google.
Report Abuse
Terms of Service
Privacy Policy
Help and feedback
Contact form owner
Help Forms improve
Report