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

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

12th Grade

10 Qs

quiz-placeholder

Similar activities

ตอบปัญหาวันภาษาไทย 1

ตอบปัญหาวันภาษาไทย 1

6th - 12th Grade

10 Qs

ขุนช้างขุนแผน ม.6 ชุดที่ 2

ขุนช้างขุนแผน ม.6 ชุดที่ 2

12th Grade

10 Qs

การอ่านเพื่อวิเคระห์วิจารณ์

การอ่านเพื่อวิเคระห์วิจารณ์

9th - 12th Grade

10 Qs

การเขียนรายงาน

การเขียนรายงาน

12th Grade

10 Qs

อุตสาหกรรมเกษตร : บทที่ 10 การขนส่งผลิตภัณฑ์อุตสาหกรรมเกษตร

อุตสาหกรรมเกษตร : บทที่ 10 การขนส่งผลิตภัณฑ์อุตสาหกรรมเกษตร

12th Grade

10 Qs

ร่ายสุุภาพ

ร่ายสุุภาพ

9th - 12th Grade

10 Qs

แบบทดสอบก่อนเรียนรายวิชาวิทยาการคำนวณ

แบบทดสอบก่อนเรียนรายวิชาวิทยาการคำนวณ

12th Grade

13 Qs

ขุมทรัพย์ TCAS

ขุมทรัพย์ TCAS

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

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

Already have an account?