
การรับและพิมพ์ข้อมูลเบื้องต้น

Quiz
•
Computers
•
4th Grade
•
Hard
saksit loetlathong
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากต้องการตัวแปรเก็บค่าจำนวนเต็มบวกที่มีค่าไม่มาก ควรกำหนดเป็นชนิดข้อมูลแบบใด
int
float
char
long int
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จากคำสั่ง printf("Hello Program C"); ได้ผลลัพธ์ข้อใด
Hello C
Hello Program C
print Hello Program C
Program C
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
รหัสควบคุมการแสดงผล ที่มีความหมาย “ขึ้นบรรทัดใหม่ “ คือข้อใด
\n
\t
\r
\f
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int speed;
printf("Enter wind speed : ");
scanf("%d",&speed);
ตัวแปรมีชื่อว่าอะไร?
int
speed;
speed
wind
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int speed;
printf("Enter wind speed : ");
scanf("%d",&speed);
รหัสควบคุมรูปแบบการแสดงผลค่าตัวแปรออกทางจอภาพ เป็นชนิดใด
ทศนิยม
อักขระ 1 ตัว
ข้อความ
จำนวนเต็ม
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่ง scanf("%c",&answer); หมายถึงข้อใด
รับอักขระเข้ามาเก็บไว้ในตัวแปร answer
รับข้อความเข้ามาเก็บไว้ในตัวแปร answer
รับจำนวนเต็มเข้ามาเก็บไว้ในตัวแปร answer
รับจำนวนทศนิยมเข้ามาเก็บไว้ในตัวแปร answer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดใช้ฟังก์ชั่น scanf() ได้ถูกต้อง
scanf(“%d\n”, x)
scanf(“%d”, &x);
scanf(“%d”, x);
scanf(“%d, x”);
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
แบบทดสอบหลังเรียน KidBright

Quiz
•
4th Grade
10 questions
การเขียนโปรแกรมด้วย Scratch

Quiz
•
4th Grade
10 questions
แบบทดสอบก่อนเรียนชุดฝึกปฏิบัติที ๕ การสร้างเกมอย่างง่าย

Quiz
•
1st - 5th Grade
10 questions
IOT บลูธูท

Quiz
•
KG - 12th Grade
10 questions
IoT อินเตอร์เน็ตของสรรพสิ่ง

Quiz
•
KG - Professional Dev...
15 questions
แบบทดสอบวิทยาการคำนวณ ป.6

Quiz
•
1st - 5th Grade
10 questions
ตัวอย่างช้อสอบคอมพิวเตอร์ ป.4

Quiz
•
4th Grade
10 questions
ทดลองการแข่งป6อิอิ

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Place Value

Quiz
•
4th Grade
20 questions
Place Value

Quiz
•
4th Grade
18 questions
Subject and Predicate Practice

Quiz
•
4th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
20 questions
place value

Quiz
•
4th Grade
20 questions
Place Value and Rounding

Quiz
•
4th Grade
14 questions
Types of Sentences

Quiz
•
4th Grade
15 questions
Place Value

Quiz
•
4th Grade