Search Header Logo

ข้อสอบปลายภาคภาษาซี

Authored by saijai yahata

Computers

6th Grade

Used 5+ times

ข้อสอบปลายภาคภาษาซี
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

หากคุณจะประกาศตัวแปรจำนวนจริง

ในภาษา C ควรทำอย่างไร?

integer myVariable;

var myVariable;

float myVariable;

int myVariable;

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ถ้า เห็น int ต้องใช้กับ รูปแบบใด

%d

%c

%f

%e

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ถ้าอยากให้แสดงผลทศนิยม เป็น 3.14 จะกำหนดรูปแบบใด

%f

%.2f

%2.f

%2.f%

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

การสร้างตัวแปรข้อใดผิด

a

A

NUM1

99

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

จากภาพผิดบรรทัดที่เท่าไหร่

ถูกหมดทุกบรรทัด

บรรทัดที่ 8,10

บรรทัดที่ 1,11

บรรทัดที่ 7,8

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

การใช้ฟังก์ชั่น printf() ข้อใดไม่ถูกต้อง

printf("BBM");

printf("%.2f",52.78);

printf("9+9=%d",9+9);

printf('COMPUTER');

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

คำสั่ง \n คือ

ใช้ ขึ้นบรรทัดใหม่

ใช้ ขึ้นย่อหน้าใหม่

ใช้ เลือนบรรทัด

ผิดต้องเป็นคำสั่ง /n

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?