
Test C++
Authored by LUKNAPA GAEWKHAMJAENG
Computers
10th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ถ้าต้องการเก็บข้อมูลเกี่ยวกับผลการเรียน เช่น 'A' ควรกำหนดชนิดข้อมูลของตัวแปรดังข้อใด
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
กลไก
Quiz
•
10th Grade
15 questions
Hardware & Software
Quiz
•
8th - 12th Grade
10 questions
แบบทดสอบก่อนเรียน บทที่ 1
Quiz
•
1st - 12th Grade
10 questions
แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่4
Quiz
•
10th - 12th Grade
15 questions
Struktur Kontrol Perulangan, Array, dan Function (Bahasa C)
Quiz
•
10th Grade
10 questions
แบบทดสอบก่อนเรียนเรื่องออกแบบวิธีการแก้ปัญหา
Quiz
•
9th - 12th Grade
12 questions
แบบทดสอบความรู้ทั่วไปเกี่ยวกับคอมพิวเตอร์และเทคโนโลยีสารสนเทศ
Quiz
•
9th - 12th Grade
10 questions
อุปกรณ์คอม
Quiz
•
7th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade