ถ้าต้องการเก็บข้อมูลเกี่ยวกับผลการเรียน เช่น '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
ตัวแปรและชนิดข้อมูล

Quiz
•
10th Grade
10 questions
แบบทดสอบก่อนเรียนการออกแบบ ม.5

Quiz
•
9th - 12th Grade
15 questions
Python

Quiz
•
6th Grade - University
15 questions
ทวนความรู้ครั้งที่ 3

Quiz
•
9th - 12th Grade
10 questions
Operators in C

Quiz
•
9th - 12th Grade
11 questions
ออกแบบและเทคโนโลยี

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

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

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade