
หน่วยที่ การโปรแกรมคอมพิวเตอร์เชิงโครงสร้าง 1/66
Quiz
•
Computers
•
Professional Development
•
Hard
nippaporn kankong
Used 3+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
คำว่าอะไรที่ทุกโปรแกรมในภาษาซีจะต้องมี
int
main
var
printf
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
คำสั่งต่าง ๆ ของโปรแกรมภาษาซีจะต้องอยู่ภายในเครื่องหมายใด
( )
[ ]
{ }
/* */
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
การใช้ฟังก์ชั่น printf() ข้อใดไม่ถูกต้อง
printf("THAILND");
printf("12345");
printf("5 + 2 = %d",5+2);
printf('COMPUTER');
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดใช้ฟังก์ชั่น scanf() ได้ถูกต้อง
scanf("%d\n",x)
scanf("%d",&x);
scanf("%d",x);
scanf("%d,x");
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ถ้าหาก x มีค่าเท่ากับ 23.1234 และมีการทำคำสั่งต่อไปนี้ printf("%1.2f",x);
ผลลัพธ์ที่ได้จะเท่ากับข้อใด
2.31234
23.1234
23.12
2.31
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดใช้ฟังก์ชั่น printf() ในการแสดงผลบวกของตัวแปร x กับตัวแปร y ได้ถูกต้อง
printf("%d + %d = %d", x, y, x+y);
printf("x + y = %d", x+y);
printf("x + y = x+y\n", x, y, x+y);
printf("x + y = ", x+y);
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ถ้าหากตัวแปร x เป็นตัวแปรประเภท int การกำหนดค่าให้กับตัวแปร x ข้อใดไม่ถูกต้อง
x := 8;
x = 8+2;
x = 2-8;
x = 31;
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
5 questions
การวิเคราะห์ข้อมูลทางด้านสถิติด้วยโปรแกรม SPSS for Windows
Quiz
•
Professional Development
10 questions
c program -basic
Quiz
•
Professional Development
10 questions
Demo C programming
Quiz
•
Professional Development
15 questions
คีย์ลัด Powerpoint
Quiz
•
5th Grade - Professio...
10 questions
ครั้งที่ 2. ม.4 Servo กับ อัลตราโซนิกส์ (ultrasonics)
Quiz
•
Professional Development
10 questions
Day 1 C Programming Quiz
Quiz
•
Professional Development
10 questions
หน่วยที่ 3 การโปรแกรมคอมพิวเตอร์เชิงโครงสร้าง 1/2566
Quiz
•
Professional Development
10 questions
PRSI - Quiz Procedimentos
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade