Search Header Logo

หลักการเขียนโปรแกรม

Authored by CHAYUTPONG TANGTANASIRIKUL

Information Technology (IT)

Vocational training

Used 6+ times

หลักการเขียนโปรแกรม
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

โค้ดในโปรแกรมภาษา C ต้องเริ่มต้นด้วยอะไรก่อนเสมอ

#include <stdio.h>

main()

return 0;

#define

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ฟังก์ชันใดในภาษา C ที่ทำงานโดยอัตโนมัติเมื่อโปรแกรมเริ่มต้น

printf()

main()

scanf()

return()

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

สัญลักษณ์ใดใช้เพื่อปิดท้ายคำสั่งในภาษา C

:

;

,

.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

หลังจากเขียนโค้ดภาษา C เสร็จแล้วจะได้ไฟล์ที่มีนามสกุลอะไร

.c

.cpp

.java

.h

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

หากต้องการคอมเมนต์ในโปรแกรมภาษา C แบบหลายบรรทัดต้องใช้คำสั่งใด

#Comment

//

/* Comment */

<!-- >

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ฟังก์ชัน main() ต้องอยู่ในโครงสร้างใดเสมอ

{ }

[ ]

< >

( )

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ตัวแปรคืออะไร

ค่าคงที่ในโปรแกรม

ชื่อที่ใช้เก็บค่าข้อมูล

คำสั่งในการรับข้อมูล

ฟังก์ชันการแสดงผล

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?