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

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

12th Grade

15 Qs

quiz-placeholder

Similar activities

วงจรขยายสัญญาณออปแอมป์

วงจรขยายสัญญาณออปแอมป์

10th - 12th Grade

10 Qs

生病

生病

1st - 12th Grade

10 Qs

สพป.อบ.5

สพป.อบ.5

12th Grade

10 Qs

ตอบคำถามออนไลน์ : ชีวิตและผลงานของสุนทรภู่

ตอบคำถามออนไลน์ : ชีวิตและผลงานของสุนทรภู่

12th Grade

20 Qs

การตอนกิ่ง

การตอนกิ่ง

12th Grade

10 Qs

สอบหลังเรียนหน่วยที่ 5 ศาสนากับการเมืองและสันติภาพ

สอบหลังเรียนหน่วยที่ 5 ศาสนากับการเมืองและสันติภาพ

8th - 12th Grade

10 Qs

โคลงภาพ

โคลงภาพ

9th - 12th Grade

10 Qs

How long have you travelled aboard?

How long have you travelled aboard?

6th Grade - University

20 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?