ตัวแปรชนิดใดในภาษา C ใช้เก็บจำนวนเต็มขนาด 4 ไบต์โดยทั่วไป?

แบบทดสอบวิชาการเขียนโปรแกรมภาษาC(ก่อนเรียน)ม4-1/68

Quiz
•
Computers
•
10th Grade
•
Hard
ศุภกิจ ศรีวงศ์ชัย
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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; }
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
แบบทดสอบปลายภาค IPST MICROBOX ม.2 ภาคเรียนที่ 2 ปีการศึกษา 2561

Quiz
•
8th - 10th Grade
20 questions
แบบทดสอบปลายภาควิชาการเขียนโปรแกรมไพทอน ม.4/2

Quiz
•
8th Grade - University
20 questions
แบบทดสอบรายจุดประสงค์ Scratch

Quiz
•
10th Grade
20 questions
ตอบปัญหาคอมพิวเตอร์st

Quiz
•
9th - 12th Grade
15 questions
กลางภาค ภาษาซี

Quiz
•
9th - 12th Grade
21 questions
พื้นฐาน Python ม2

Quiz
•
1st Grade - University
15 questions
การออกแบบและการเขียนอัลกอริทึม

Quiz
•
1st - 10th Grade
20 questions
KidBright เบื้องต้น

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
MCAS Biology Review

Quiz
•
9th - 10th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade
20 questions
Managing Credit

Quiz
•
9th - 12th Grade