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

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

12th Grade

13 Qs

quiz-placeholder

Similar activities

MA3-App Lab Design and Functionality

MA3-App Lab Design and Functionality

9th - 12th Grade

8 Qs

แบบทดสอบก่อนเริ่มอบรม ICT Next Gen

แบบทดสอบก่อนเริ่มอบรม ICT Next Gen

9th - 12th Grade

8 Qs

HTML Level 1

HTML Level 1

8th Grade - University

16 Qs

Arduino Quiz #11: Functions

Arduino Quiz #11: Functions

11th Grade - University

18 Qs

Binary, Decimal, Hexadecimal Knowledge

Binary, Decimal, Hexadecimal Knowledge

7th Grade - University

9 Qs

Kiểm Tra Môn Tin Học 10

Kiểm Tra Môn Tin Học 10

10th Grade - University

17 Qs

Digital Literacy Quiz: Effective Prompt Creation

Digital Literacy Quiz: Effective Prompt Creation

10th Grade - University

10 Qs

G12- Python Inputs and Exercises

G12- Python Inputs and Exercises

12th Grade - University

9 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?