
แบบทดสอบวิชาการเขียนโปรแกรมภาษาC(ก่อนเรียน)ม4-1/68
Authored by ศุภกิจ ศรีวงศ์ชัย
Computers
10th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ตัวแปรชนิดใดในภาษา C ใช้เก็บจำนวนเต็มขนาด 4 ไบต์โดยทั่วไป?
char
int
float
double
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่งใดใช้สำหรับแสดงข้อความออกทางหน้าจอในภาษา C?
scanf()
printf()
gets()
getchar()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่งใดใช้สำหรับนำเข้าข้อความทางแป้นพิมพ์ในภาษา C?
scanf()
printf()
gets()
getchar()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่ง scanf("%d", &num); ใช้ทำอะไร?
รับค่าตัวเลขทศนิยมเข้าตัวแปร num
รับค่าตัวเลขจำนวนเต็มเข้าตัวแปร num
แสดงค่าตัวแปร num
ประกาศตัวแปร num
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ในภาษา C ตัวดำเนินการ ++ มีหน้าที่อะไร?
ลดค่าตัวแปรลง 1
เพิ่มค่าตัวแปรขึ้น 1
คูณค่าตัวแปร
หารค่าตัวแปร
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่ง if (a > b) หมายความว่าอะไร?
ถ้า a มีค่ามากกว่า b ให้ทำคำสั่งในบล็อกนี้
ถ้า a มีค่าน้อยกว่า b ให้ทำคำสั่งในบล็อกนี้
กำหนดค่า a เท่ากับ b
หาผลรวมของ a และ b
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ฟังก์ชันใดในภาษา C ใช้คืนค่าผลรวมของสองจำนวนเต็ม?
void add(int a, int b)
int add(int a, int b)
int add(int a, int b) { return a + b; }
void add() { return a + b; }
Access all questions and much more by creating a free account
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
20 questions
Computer Science: Chapter 2 Test Review
Quiz
•
9th - 12th Grade
15 questions
Python
Quiz
•
6th Grade - University
20 questions
Tin học 11 chương I
Quiz
•
1st - 12th Grade
17 questions
Project Stem Python Unit 1 Test Review
Quiz
•
9th - 12th Grade
20 questions
แนวคิดเชิงคำนวณ ม.2
Quiz
•
10th Grade
15 questions
หน่วยที่ 2 เรื่อง ( Language C )
Quiz
•
9th - 12th Grade
20 questions
แบบทดสอบการค้นหาข้อมูล
Quiz
•
6th Grade - University
20 questions
การผลิตสื่อสิ่งพิมพ์
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade