
Java03-09
Authored by วิรยา สีขาว
Computers
5th Grade
10 Questions
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
10 questions
5_Settings
Quiz
•
5th Grade
15 questions
KS3 Google Quiz L4
Quiz
•
5th - 9th Grade
9 questions
Tin 5 - Bài 12. Viết chương trình để tính toán
Quiz
•
5th Grade
10 questions
Computer Systems and Embedded Systems
Quiz
•
5th Grade
12 questions
Internet Searching - 4
Quiz
•
4th - 6th Grade
10 questions
Point of View
Quiz
•
4th - 6th Grade
10 questions
Website Evaluation
Quiz
•
3rd - 6th Grade
10 questions
Proofreader's Marks
Quiz
•
5th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
10 questions
Context Clues
Quiz
•
5th Grade
10 questions
Christmas Trivia for Kids
Quiz
•
5th Grade
21 questions
Christmas Movies
Quiz
•
5th Grade