ข้อสอบ
ประเภท : เฉลยทีละข้อ - ทันที
ชุดแบบสอบ
ทดสอบ จาวา ชุดเล็ก (Mini JAVA)
ในชุด 30 ข้อ
แต่ถ้าต้องการแบบตอบแล้ว สรุปผลหลังทำครบทุกข้อ ให้ไปที่
ศูนย์สอบ
เพื่อเลือกแบบสอบใหม่
1.
Which of the following are Java keywords?
[j0045]
For
private
main
args
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
2.
How much is SHORT for primitive type?
[j0023]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
3.
Which of the following are illegal lines?
[j0015]
char a = '&';
char a = 0;
char a = 09;
char a = 99;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
4.
Which of the following are illegal lines?
[j0012]
char a = 'a' + 'a';
byte a = 'z' + 'z'
int a = 10/3;
byte a = 10/3;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
5.
What is collection class?
[j0060]
LinkList
TreeList
HashMap
OrderedList
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
6.
Which of the following are illegal lines?
[j0008]
int x = 01;
byte b = -255;
boolean x = true;
float a = 2.1f;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
7.
How much is LONG for primitive type?
[j0025]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
8.
Which of the following are illegal lines?
[j0006]
int x = 1111;
byte b = 127;
boolean x = true;
float a = 2.1;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
9.
Which of the following are equal 12?
[j0089]
10 >> 2
10 << 2
24 >> 1
24 << 1
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
10.
What will be printed out for the following code?
System.out.println('True');
[j0030]
true
TRUE
Compilation fails
An exception is thrown at runtime
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
11.
Which of the following are illegal lines?
[j0005]
int x = 1;
byte b = 127;
float a = 1.1;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
12.
Which of the following are illegal lines?
[j0004]
int x = 1.0;
byte b = -127;
float a = 5;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
13.
How much is SHORT for primitive type?
[j0023]
8 bit
16 bit
32 bit
64 bit
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
14.
Which of the following are illegal lines?
[j0076]
int a = 1;
int a[] = {"1"};
int a[] = {1,2,3};
int a[] = {1};
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
15.
Which of the following are result of 4 & 6?
[j0104]
1
2
4
6
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
16.
What is collection class?
[j0066]
Vector
SortedSet
OrderedList
KeyMap
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
17.
What is collection class?
[j0062]
LinkedList
OrderedList
KeyMap
KeySet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
18.
Which of the following are Java keywords?
[j0045]
For
private
main
args
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
19.
Which of the following are legal lines about StringBuffer class?
[j0116]
x.insert(4,"a")
x.toUpperCase()
x.length()
x.replace("a","A","")
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
20.
Which of the following are illegal lines?
[j0078]
integer a = 1;
double a = 1;
long a = 1;
float a = 1;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
21.
Which of the following are data type for switch?
[j0093]
double
float
String
char
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
22.
Which of the following are illegal lines?
[j0002]
int x = -129;
byte b = -128;
float a = 5.5;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
23.
Which of the following are data type for switch?
[j0096]
double
float
String
int
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
24.
Which of the following are illegal lines?
[j0002]
int x = -129;
byte b = -128;
float a = 5.5;
boolean x = true;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
25.
Which of the following are illegal lines?
[j0012]
char a = 'a' + 'a';
byte a = 'z' + 'z'
int a = 10/3;
byte a = 10/3;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
26.
Which of the following are illegal lines?
[j0012]
char a = 'a' + 'a';
byte a = 'z' + 'z'
int a = 10/3;
byte a = 10/3;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
27.
What collection class is ordered by index?
[j0072]
TreeList
HashTable
LinkedList
MapSet
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
28.
What will be printed out for the following code?
System.out.println(0x11);
[j0038]
0
11
17
Compilation fails
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
29.
Which of the following are illegal lines?
[j0006]
int x = 1111;
byte b = 127;
boolean x = true;
float a = 2.1;
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
30.
What is access modifier?
[j0052]
javac
void
public
java
ยังไม่เลือก
ค่อย ๆ คิด อย่าใจร้อนครับ
ศัพท์ภาษาอังกฤษ (ศัพท์ยาก) - ความรู้ทั่วไป ชุดประเทศไทย - สังคมระดับมัธยมถึงปริญญา
ศัพท์ภาษาอังกฤษ ระดับต้น - คอมพิวเตอร์เบื้องต้น และการจัดการระบบปฏิบัติการ - นักวิทยุสมัครเล่น
จังหวัด รหัสไปรษณีย์ - Visual Basic - JAVA - ทั่วไป.ศิริรุ่งสาวโยนก
ปรับปรุง : 2564-02-12
.
Truehits.net