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

Quiz
•
Education
•
12th Grade
•
Hard
ครูกนกวรรณ สุวรรณกูฏ
Used 16+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
พัฒนาการในวัยรุ่น

Quiz
•
KG - Professional Dev...
10 questions
การสะกดคำ ม.4

Quiz
•
9th - 12th Grade
20 questions
ตอบคำถามออนไลน์ : ชีวิตและผลงานของสุนทรภู่

Quiz
•
12th Grade
20 questions
ทดสอบก่อนเรียน : คำทับศัพท์และศัพท์บัญญัติ

Quiz
•
9th Grade - University
20 questions
ราชาธิราช ตอน สมิงพระรามอาสา

Quiz
•
12th Grade
15 questions
ลุล่วง

Quiz
•
7th - 12th Grade
10 questions
แบบทดสอบเรื่องคำมูล คำประสม

Quiz
•
12th Grade
20 questions
คำในภาษาไทย

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Education
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University