แบบทดสอบเรื่องโครงสร้างภาษาซีเบื้องต้น

Quiz
•
Other
•
12th Grade
•
Medium
Terdphong Pikulthong
Used 14+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ถ้าหากตัวแปร a เป็นตัวแปรประเภท int การกำหนดค่าให้กับตัวแปร a ข้อใดไม่ถูกต้อง
a = 20;
a = 2+8;
a = 3-1;
a := 5;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดใช้ฟังก์ชั่น scanf() ได้ถูกต้อง
scanf("%d,x");
scanf("%d",y);
scanf("%d",&z);
scanf("%d\n",a)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดที่ไม่จำเป็นต้องมีในการเขียนโปรแกรม
main( )
{ }
#include
#define
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
การใช้ฟังก์ชั่น printf() ข้อใดไม่ถูกต้อง
printf("22900");
printf("%d",2);
printf(1 + 1 = %d,2);
printf("KRUTERDsoCute");
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
คำว่าอะไรที่ทุกโปรแกรมในภาษาซีจะต้องมี
printf
var
main
int
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ถ้าหาก x มีค่าเท่ากับ 12.3456 และมีการทำคำสั่งต่อไปนี้ printf("%.4f",x); ผลลัพธ์ที่ได้จะเท่ากับข้อใด
12.345600
12.3456
12.34
1.234
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดใช้ฟังก์ชั่น printf() ในการแสดงผลบวกของตัวแปร x กับตัวแปร y ได้ถูกต้อง
printf("x + y = ", x+y);
printf("x + y = x+y\n", x, y, x+y);
printf("x + y = %d", %d);
printf("%d + %d = %d", x, y, x+y);
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
ทบทวนความรู้เก่าของนักเรียน

Quiz
•
12th Grade
10 questions
คำสั่งสร้างเกม scrach

Quiz
•
10th - 12th Grade
15 questions
วิธีการใช้สถิติในการวิเคราะห์ข้อมูลวิจัย

Quiz
•
12th Grade
14 questions
ข้อสอบ PISA สู่โลกดิจิทัลด้วยเกม (PISA - Suphatsareeya -QUIZIZZ)

Quiz
•
9th - 12th Grade
10 questions
Python User Input

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade