ถ้าต้องการเก็บข้อมูลเกี่ยวกับผลการเรียน เช่น 'A' ควรกำหนดชนิดข้อมูลของตัวแปรดังข้อใด
Test C++

Quiz
•
Computers
•
10th Grade
•
Hard
LUKNAPA GAEWKHAMJAENG
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
char
float
int
string
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
การใช้ฟังก์ชั่น printf() ข้อใดไม่ถูกต้อง
printf("12345");
printf("THAILND");
printf('COMPUTER');
printf("5 + 2 = %d",5+2);
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใด ไม่ใช่ ชนิดของข้อมูลในภาษาซี
float
int
string
char
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใด เป็นการประกาศตัวแปร i เป็นชนิดจำนวนเต็ม พร้อมกำหนดค่าเริ่มต้นให้เป็น 10
int i = 10 ;
float i = 10;
int i;
float i;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าหากต้องการให้ฟังก์ชั่น printf() แสดงผลเป็นตัวอักขระ จะต้องใช้รหัสควบคุมตัวใด
%s
%x
%f
%c
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
รหัสรูปแบบข้อมูลที่ใช้กับข้อมูลประเภทเลขจำนวนเต็ม คือรหัสรูปแบบข้อมูลใด
%s
%x
%f
%d
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
จากโปรแกรมต่อไปนี้ บรรทัดใดของโปรแกรมผิด
#include<stdio.h> ............(1)
main() ............(2)
{ .........(3)
Printf("Welcome to RMUT"); .........(4)
}
1
2
3
4
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
แบบทดสอบก่อนเรียนการออกแบบ ม.5

Quiz
•
9th - 12th Grade
10 questions
ภาษาไพทอน

Quiz
•
10th Grade
10 questions
แบบทดสอบวิชาเทคโนโลยีและคอมพิวเตอร์2

Quiz
•
8th Grade - University
10 questions
20204-2107 บทที่5

Quiz
•
1st Grade - University
10 questions
Chapter 03 Worksheet

Quiz
•
10th Grade
10 questions
แบบทดสอบการเรียนรู้การใช้โปรแกรมScratch

Quiz
•
6th - 12th Grade
10 questions
ตัวแปรและชนิดข้อมูล

Quiz
•
10th Grade
10 questions
แบบทดสอบก่อนเรียน บทที่ 1

Quiz
•
1st - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University