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

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

12th Grade

13 Qs

quiz-placeholder

Similar activities

Programming Bach

Programming Bach

9th - 12th Grade

14 Qs

MakeCode Arcade Questions

MakeCode Arcade Questions

10th Grade - University

15 Qs

3TDS - Programação Backend - Aula 88

3TDS - Programação Backend - Aula 88

12th Grade

10 Qs

Materi Berpikir Komputasional

Materi Berpikir Komputasional

9th Grade - University

10 Qs

XI-TINKERCAD

XI-TINKERCAD

11th Grade - University

15 Qs

BERPIKIR KOMPUTASIONAL DENGAN UNSUR DEKOMPOSISI

BERPIKIR KOMPUTASIONAL DENGAN UNSUR DEKOMPOSISI

12th Grade

10 Qs

Unit 3 Karel Programming Review 2

Unit 3 Karel Programming Review 2

9th - 12th Grade

15 Qs

Marketing Digital -Exercício Aula 1

Marketing Digital -Exercício Aula 1

11th 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

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

Already have an account?