
แบบทดสอบรายวิชาการเขียนโปรแกรมเชิงวัตถุเบื้องต้น
Authored by CHAYUTPONG TANGTANASIRIKUL
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
คำว่า "Write Once, Run Anywhere" ใน Java หมายถึงอะไร
โค้ดที่เขียนครั้งเดียวสามารถรันได้บนทุกแพลตฟอร์ม
โค้ดที่ต้องเขียนใหม่ทุกครั้งเมื่อต้องการใช้งาน
โค้ดที่รองรับเฉพาะบนระบบปฏิบัติการ Linux
โค้ดที่ไม่สามารถแก้ไขได้หลังจากคอมไพล์
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
กระบวนการแปลง Source Code ของ Java เป็น Bytecode ใช้เครื่องมือใด
javac
java
JIT Compiler
JVM
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดคือคำสั่งที่ถูกต้องในการประกาศตัวแปร age ให้เก็บค่าตัวเลขจำนวนเต็ม
float age = 25;
char age = 25;
int age = 25;
boolean age = true;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ค่าข้อมูล 3.14 ควรเก็บในตัวแปรชนิดใด
int
double
boolean
Char
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดคือผลลัพธ์ของคำสั่ง System.out.println(5 + "10");
15
5 10
510
Error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ชนิดข้อมูลใดที่ใช้เก็บค่าตัวอักษรเพียง 1 ตัว
char
String
boolean
int
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ตัวแปร String str = "Java"; มีชนิดข้อมูลเป็นแบบใด
Primitive Data Type
Non-Primitive Data Type
Boolean Type
Char Type
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?