TEN TEST CENTER
child
Java Language (Quiz ID : 31)
1. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
int x = 1;
int y = 2;
if (y == ++x) System.out.print(x++);
if (y == x++) System.out.print(++x);
System.out.print(x++ + ++y);
}
}






2. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
for(int i=1;i<=3;i++) System.out.print(i++);
for(int i=1;i<=3;++i) System.out.print(++i);
}
}




3. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
for(int i=1;i<=5;i++)
for(int j=1;j<=i;j++)
if (i == ++j) System.out.print(i);
}
}






4. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
int x = 1;
int y = 2;
if ((y == ++x) && (x == x++)) System.out.print(x);
if ((y == x++) && (x == y++)) System.out.print(y);
System.out.print(x + y);
}
}





5. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
for(int i=1;i<=5;i++)
for(int j=1;j<=i;j++)
if (i == j++) System.out.print(i);
}
}






6. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
int x = 1;
if (true && (x++ == x++)) System.out.print(x);
if (false && (x++ == x++))
System.out.print(x);
else
System.out.print(x);
}
}





7. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
for(int i=1;i<=5;i++)
for(int j=1;j<=i;j++)
if (i == j && i == j++) System.out.print(i);
}
}






8. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
int x = 1;
for (;x<=2;x++) System.out.print(x);
System.out.print(++x);
}
}






9. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
int x = 1;
if (1 == x++) System.out.print(1);
if (2 == ++x) System.out.print(2);
if (3 == x++) System.out.print(3);
}
}




10. ผลลัพธ์คืออะไร
class x {
public static void main(String a[]) {
for(int i=1;i<=3;i+=2)
for(int j=1;j<=i;j++)
System.out.print(i);
}
}





คำชี้แจง
- ถ้าไม่กรอกทั้ง Name และ Surname จะไม่ตรวจให้
- ถ้าทำแบบทดสอบไม่ครบทุกข้อ จะไม่ตรวจให้
- ระบบเก็บผลสอบเพียง 100 ระเบียนล่าสุด
- ผลการตรวจจะเผยแพร่ทั้ง ชื่อ สกุล คะแนน และเวลา
Name : ex. burin
Surname : ex. rujjy
ต้องกรอกชื่อและสกุล(อังกฤษ)และทำทุกข้อ
สถิติ 100 รายการ : เริ่มใหม่ : ภาพเตรียมข้อสอบ : รหัสต้นฉบับ : รุ่น 4.650222 : เวลา : Mar 28,2024 19:48:16
คอมพิวเตอร์
แฟน BNK48 (1)
คีย์แอพพลิเคชั่น(1)
จาวาทำซ้ำ(1)
คอมพิวเตอร์(7)
vb.net(1)
คณิต
บวกเลข(1)
บวกเลข(2)
อนุกรม ก.พ.(1)
คณิต(1)
เตรียม คณิต ก.พ.
อังกฤษ
ถาม - ตอบ
present 1
present perfect 1
อังกฤษเบื้องต้น
aiken format
ไทย สังคม
สังคมศึกษา
ความรู้ทั่วไป
ไทย f.1
ไทย p.1
ไทย m.1
เกี่ยวกับเรา
หน้าหลัก
ทีมงาน
ศูนย์สอบออนไลน์
สนับสนุน
facebook page
สถิติ 100 รายการล่าสุด