แบบทดสอบเรื่องโครงสร้างภาษาซีเบื้องต้น

แบบทดสอบเรื่องโครงสร้างภาษาซีเบื้องต้น

12th Grade

10 Qs

quiz-placeholder

Similar activities

ข้อสอบแนะแนว ม.2 ชุดที่2

ข้อสอบแนะแนว ม.2 ชุดที่2

9th - 12th Grade

10 Qs

ความรู้เกี่ยวกับ google app

ความรู้เกี่ยวกับ google app

12th Grade

10 Qs

แบบทดสอบ ป.4

แบบทดสอบ ป.4

9th Grade - University

12 Qs

ส่วนประกอบของภาษา

ส่วนประกอบของภาษา

9th - 12th Grade

10 Qs

บทที่ 9 การเขียนรายงาน การปฏิบัติงานเชิงวิชาชีพ

บทที่ 9 การเขียนรายงาน การปฏิบัติงานเชิงวิชาชีพ

10th - 12th Grade

10 Qs

สารละลาย

สารละลาย

12th Grade

10 Qs

กาพย์เห่เรือ เจ้าฟ้ากุ้ง

กาพย์เห่เรือ เจ้าฟ้ากุ้ง

12th Grade

10 Qs

ความรู้เกี่ยวกับกิจการ

ความรู้เกี่ยวกับกิจการ

10th - 12th Grade

10 Qs

แบบทดสอบเรื่องโครงสร้างภาษาซีเบื้องต้น

แบบทดสอบเรื่องโครงสร้างภาษาซีเบื้องต้น

Assessment

Quiz

Other

12th Grade

Practice Problem

Medium

Created by

Terdphong Pikulthong

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ถ้าหากตัวแปร a เป็นตัวแปรประเภท int การกำหนดค่าให้กับตัวแปร a ข้อใดไม่ถูกต้อง

a = 20;

a = 2+8;

a = 3-1;

a := 5;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ข้อใดใช้ฟังก์ชั่น scanf() ได้ถูกต้อง

scanf("%d,x");

scanf("%d",y);

scanf("%d",&z);

scanf("%d\n",a)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ข้อใดที่ไม่จำเป็นต้องมีในการเขียนโปรแกรม

main( )

{ }

#include

#define

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

printf("22900");

printf("%d",2);

printf(1 + 1 = %d,2);

printf("KRUTERDsoCute");

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

คำว่าอะไรที่ทุกโปรแกรมในภาษาซีจะต้องมี

printf

var

main

int

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ถ้าหาก x มีค่าเท่ากับ 12.3456 และมีการทำคำสั่งต่อไปนี้ printf("%.4f",x); ผลลัพธ์ที่ได้จะเท่ากับข้อใด

12.345600

12.3456

12.34

1.234

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ข้อใดใช้ฟังก์ชั่น printf() ในการแสดงผลบวกของตัวแปร x กับตัวแปร y ได้ถูกต้อง

printf("x + y = ", x+y);

printf("x + y = x+y\n", x, y, x+y);

printf("x + y = %d", %d);

printf("%d + %d = %d", x, y, x+y);

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?