แบบทดสอบก่อนเรียน การเขียนโปรแกรม

แบบทดสอบก่อนเรียน การเขียนโปรแกรม

12th Grade

15 Qs

quiz-placeholder

Similar activities

นมัสการมาตาปิตุคุณและนมัสการอาจริยคุณ

นมัสการมาตาปิตุคุณและนมัสการอาจริยคุณ

KG - University

10 Qs

Google Drive

Google Drive

9th - 12th Grade

10 Qs

บทบรรยาย บรรยายนา

บทบรรยาย บรรยายนา

12th Grade

15 Qs

你好

你好

10th - 12th Grade

10 Qs

การตั้งสมมติฐาน

การตั้งสมมติฐาน

12th Grade

10 Qs

การขยายพันธุ์พืชแบบอาศัยเพศ

การขยายพันธุ์พืชแบบอาศัยเพศ

12th Grade

10 Qs

นิราศนรินทร์

นิราศนรินทร์

9th - 12th Grade

10 Qs

canva

canva

7th - 12th Grade

10 Qs

แบบทดสอบก่อนเรียน การเขียนโปรแกรม

แบบทดสอบก่อนเรียน การเขียนโปรแกรม

Assessment

Quiz

Education

12th Grade

Practice Problem

Hard

Created by

ครูกนกวรรณ สุวรรณกูฏ

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือเครื่องหมายลงท้ายคำสั่งต่างๆ ในภาษาซี

; (semi-colon)

: (colon)

# (directive)

, (comma)

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

การใช้คำสั่ง printf() ข้อใดไม่ถูกต้อง

printf("THAILND");

printf("5 + 2 = %d",5+2);

printf('%f',x);

printf("12345");

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ข้อใดใช้คำสั่ง scanf() ได้ถูกต้อง

scanf(%d,&x);

scanf("%d",&x);

scanf(‘%d’,&x);

scanf("%d,&x");

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

23.1234

2.3123

23.12

2.31

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ข้อใดคือคำตอบที่ถูกต้องที่สุด จาก Code ที่ว่างไว้ printf(“Price =........ , num =........”,18, 3.48);

%d %c

%.2f %d

%d %2.f

%.2f %c

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ข้อใดคือคำตอบที่ถูกต้องที่สุด จาก Code ที่ว่างไว้ printf(“Point =........ , Grade =........”,50.4, ‘F’);

%d %c

%.2f %d

%d %2.f

%f %c

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ข้อใดประกาศตัวแปรถูกต้อง

float a = 5.144;

float b = 3;

int i = ‘6’;

int j = 100:

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?