
Java03-09
Authored by วิรยา สีขาว
Computers
5th Grade
Used 7+ 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
30 sec • 1 pt
ชนิดตัวแปรใด ไม่ใช่ จำนวนเต็มในภาษาจาวา
Long
int
short
float
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดกำหนดตัวแปรแบบจำนวนจริงได้ถูกต้อง
float number = 20.00 ;
double number = 20 ;
double number = 20d ;
Long number = 20.00L ;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าเงื่อนไขกำหนดว่าให้ x เท่ากับ 100 แล้วให้แสดง x คูณ 2 ข้อใดเขียนคำสั่งในภาษาจาวาได้ถูกต้อง
if (x = 100) {
System.out.println(x*2);
}
if (x == 100) {
System.out.println(x*2);
}
if (x >= 100) {
System.out.println(x*2);
}
if (x <= 100) {
System.out.println(x*2);
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ชนิดตัวแปรแบบ byte สามารถเก็บข้อมูลได้เท่าใด
-128 ถึง +127
-1024 ถึง +1024
-32,768 ถึง +32,767
เก็บรหัสอักขระ/ASCII /Unicode
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x = 5;
int y = 3;
System.out.println(x != y);
จากคำสั่งดังกล่าวค่าจะออกมาเป็นเท่าใด
8
15
false
true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x = 5;
System.out.println(x > 10 && x < 3);
จากคำสั่งดังกล่าวค่าจะออกมาเป็นเท่าใด
8
15
false
true
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าต้องการลดค่าตัวแปร x ลงที่ละ 1 จะเขียนตัวดำเนินการตามข้อใด
++x;
--x;
x+=x+1;
x-=x-1;
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
15 questions
I.T. Quiz Bowl 2025
Quiz
•
5th - 7th Grade
13 questions
Effective Internet Searching
Quiz
•
5th - 8th Grade
12 questions
Computer Science
Quiz
•
3rd - 12th Grade
10 questions
Internet Services
Quiz
•
5th - 8th Grade
11 questions
christmas
Quiz
•
KG - University
15 questions
Computer Quiz
Quiz
•
5th - 6th Grade
10 questions
Copyright
Quiz
•
1st - 5th Grade
10 questions
Software - Common Utility Programs
Quiz
•
3rd - 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