การเขียนโปรแกรม C เบื้องต้น

การเขียนโปรแกรม C เบื้องต้น

12th Grade

13 Qs

quiz-placeholder

Similar activities

codingม.ปลาย

codingม.ปลาย

12th Grade - University

15 Qs

การสืบค้นเพื่อหาแหล่งข้อมูล

การสืบค้นเพื่อหาแหล่งข้อมูล

9th - 12th Grade

10 Qs

แข่งขันcodingม.ปลาย

แข่งขันcodingม.ปลาย

12th Grade - University

15 Qs

ความรู้เกี่ยวกับการใช้งาน Ai/Canva/Gmail

ความรู้เกี่ยวกับการใช้งาน Ai/Canva/Gmail

1st Grade - University

10 Qs

แบบทดสอบ Unit D

แบบทดสอบ Unit D

4th Grade - University

10 Qs

codingม.ต้น

codingม.ต้น

12th Grade - University

15 Qs

แบบทดสอบ QR Code

แบบทดสอบ QR Code

9th Grade - University

10 Qs

ความรู้พื้นฐานการเขียนโปรแกรม Python

ความรู้พื้นฐานการเขียนโปรแกรม Python

12th Grade

15 Qs

การเขียนโปรแกรม C เบื้องต้น

การเขียนโปรแกรม C เบื้องต้น

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

เรวดี พิพัฒน์สูงเนิน

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

ภาษา C ถูกพัฒนาโดยใคร?

Linus Torvalds

James Gosling

Dennis Ritchie

Bjarne Stroustrup

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันหลักในภาษา C คืออะไร?

start

main

run

execute

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวแปรในภาษา C ต้องประกาศอย่างไร?

ไม่ต้องประกาศตัวแปรในภาษา C สามารถใช้ได้ทันที;

ใช้คำสั่ง print เพื่อประกาศตัวแปร เช่น print a;

ต้องประกาศด้วยประเภทข้อมูล ตามด้วยชื่อ เช่น int a; หรือ float b = 5.0;

ประกาศโดยใช้ชื่อก่อนแล้วตามด้วยประเภทข้อมูล เช่น a int;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่งใดใช้สำหรับการแสดงผลในภาษา C?

output()

show()

printf()

display()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การใช้คำสั่ง if-else ในภาษา C มีรูปแบบอย่างไร?

if { // code if true } else (condition) { // code if false }

if (condition) { // code if true } else { // code if false }

if (condition) { // code } else if { // code if false }

if (condition) // code if true else // code if false

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การทำซ้ำในภาษา C สามารถใช้คำสั่งใดได้บ้าง?

goto

for, while, do-while

case

switch

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การจัดการหน่วยความจำในภาษา C ใช้ฟังก์ชันใด?

freeup

alloca

malloc, calloc, realloc, free

malloc2

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?