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

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

12th Grade

13 Qs

quiz-placeholder

Similar activities

มัลติมีเดีย 2

มัลติมีเดีย 2

6th Grade - University

10 Qs

7th Grade

7th Grade

7th Grade - University

17 Qs

แบบทดสอบซัพพลายเชนเบื้องต้น

แบบทดสอบซัพพลายเชนเบื้องต้น

6th Grade - University

10 Qs

Tech Adventures for Grade 2

Tech Adventures for Grade 2

2nd Grade - University

15 Qs

html basics

html basics

8th Grade - University

11 Qs

G 10- Understanding System Software

G 10- Understanding System Software

10th Grade - University

16 Qs

Pretest Python

Pretest Python

12th Grade

10 Qs

Introduction to Computer Science Concepts

Introduction to Computer Science Concepts

6th Grade - University

10 Qs

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

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

Assessment

Quiz

Information Technology (IT)

12th Grade

Practice Problem

Medium

Created by

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

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?