แบบทดสอบเรื่องโครงสร้างภาษาซีเบื้องต้น
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Medium
Terdphong Pikulthong
Used 14+ times
FREE Resource
Enhance your content in a minute
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
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
แบบทดสอบหลังการเข้าร่วมโครงการ
Quiz
•
12th Grade
10 questions
รอบรู้เรื่องกาพย์ฉบัง
Quiz
•
9th Grade - University
10 questions
หน่วยการเรียนรู้ที่ 8 อันตรายจากสารเสพติด
Quiz
•
9th - 12th Grade
10 questions
แบบทดสอบ
Quiz
•
12th Grade
10 questions
หนี้
Quiz
•
12th Grade
12 questions
แบบทดสอบก่อนเรียน-หลังเรียน บทที่ 4 วันหยุด วันลา
Quiz
•
9th - 12th Grade
12 questions
เอ๊ะ!! ตอบอะไรดีนะ
Quiz
•
10th - 12th Grade
10 questions
คำยืมภาษาต่างประเทศ
Quiz
•
12th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
