
Java-前導&運算子
Quiz
•
Computers
•
1st Grade - University
•
Medium
闕河正 闕河正
Used 2+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
var a = 5;
/*a = a - 2;
a += 1;
*/
a *= 3;
請問上段程式執行完後變數a的值為何?
15
9
12
5
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
java每一段程式的結尾需添加什麼符號
:
>
<
;
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
System.out.printf(3*(2-5)-8)
請問此段程式輸出為何?
1
5
9
15
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
a = 80.3625
請選擇一段程式可正確的輸出80.36
System.out.printf("%.2f\n" , a);
System.out.printf("%.2d\n" , a);
System.out.printf("%2f\n" , a);
System.out.printf("%2d\n" , a);
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
請問下段程式的結果各為何?
A.2.0/3.0
B.2f/3f
C.2/3
A.0.6666666
B.0.6666666
C.0.6666666
A.0.6666666
B.0.6666667
C.0
A.0.6666667
B.0.6666666
C.0
A.0.6666666
B.0.6666667
C.0.6666667
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
int grade = 60;
String point = "成績:"
point += "grade = " + grade;
成績:grade = 60
成績 = 60
成績 = grade
grade = 60
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
int a = 10;
byte b = a * 13;
請問b的值為何?
130
-128
-126
127
Similar Resources on Wayground
11 questions
J10.3 网络的类型
Quiz
•
8th Grade
12 questions
Метод координат
Quiz
•
5th Grade
8 questions
QUIZ PAPEL 8ANO AULAS 01, 02 e 03(PARA QUEM FALTOU NA AULA)
Quiz
•
8th Grade
10 questions
SOAL-TKJ
Quiz
•
10th Grade
10 questions
Arithmetic Operators in C
Quiz
•
12th Grade
10 questions
Objektumok kezelése, hozzáférés szabályozás, ..
Quiz
•
University
11 questions
Y9 - T6.2 - CrashCourse Programming Languages
Quiz
•
9th Grade
10 questions
REC1/1TRI PENS COMP 1ºANO
Quiz
•
1st Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
41 questions
Respectful or Not Respectful
Quiz
•
6th Grade
20 questions
Logos
Quiz
•
2nd - 8th Grade
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade