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

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

12th Grade

13 Qs

quiz-placeholder

Similar activities

แบบทดสอบ google site

แบบทดสอบ google site

1st Grade - University

10 Qs

ทดสอบก่อนเรียนวิทยาการข้อมูล

ทดสอบก่อนเรียนวิทยาการข้อมูล

9th - 12th Grade

10 Qs

Understanding Loops in C Programming

Understanding Loops in C Programming

1st Grade - University

15 Qs

Scratch Pre-knowledge

Scratch Pre-knowledge

3rd Grade - University

15 Qs

JavaScript Basics Quiz

JavaScript Basics Quiz

9th - 12th Grade

9 Qs

CONCEPTOS ARDUINO

CONCEPTOS ARDUINO

1st Grade - University

10 Qs

Mail Merge

Mail Merge

10th Grade - University

11 Qs

G12 Sem 2 T 3

G12 Sem 2 T 3

12th Grade

10 Qs

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

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

Assessment

Quiz

Information Technology (IT)

12th Grade

Medium

Created by

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

Used 1+ times

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?