1. 3.0 + 4.0 A: 7.0 2 3.0 + 4 A: double 3 3 + “4” A: “34” 4.
-
Upload
adelia-lang -
Category
Documents
-
view
222 -
download
0
description
Transcript of 1. 3.0 + 4.0 A: 7.0 2 3.0 + 4 A: double 3 3 + “4” A: “34” 4.
Review Operation Bingo
1
2
3.0 + 4.0
A: 7.0
1. What is the result of:
3
2. What is the data type of:
3.0 + 4
A: double
4
3 + “4”
A: “34”
3. What is the result of:
5
10 / 3
A: 3
4. What is the result of:
6
5 % 7
A: 5
5. What is the result of:
7
7 % 5
A: 2
6. What is the result of:
8
7 / 5
A: 1
7. What is the result of:
9
1.0 – 5
A: double
8. What is the data type of:
10
1.0 – 5
A: -4
9. What is the result of:
11
“CS” + 13 + 9
A: String
10. What is the data type of:
12
“CS” + 13 + 9
A: “CS139”
11. What is the result of:
13
5 / 7
A: int
12. What is the data type of:
14
5 / 7
A: 0
13. What is the result of:
15
294 % 7 / 50.0
A: 0.0
14. What is the result of:
16
294 % 7 / 50.0
A: double
15. What is the data type of:
17
Math.PI
A: 3.14 (to two decimal places)
16. What is the result of:
18
Math.PI
A: double
17. What is the data type of:
19
17 / 25 * 1.0
0.0
18. What is the result of:
20
1.0 + 7 % 2519. What is the result of:
21
7 / 3 * 6.0 / 220. What is the result of:
22
true && false21. What is the result of:
23
false || true22. What is the result of:
24
false || true
23. What is the data type of:
25
‘a’ < ‘b’
A: true
24. What is the result of:
26
x != x25. What is the result of:
27
5 == ‘5’26. What is the result of:
28
‘a’ < ‘b’ || ‘X’ > ‘Y’27. What is the result of:
29
x == 3 && x == 528. What is the result of:
30
x != 3 || x != 529. What is the result of:
31
“Pinto”.equals(“Mustang”)
A: boolean
30. What is the data type of:
32
3 + ( 6 + “4”)
A: String
31. What is the data type of:
33
3 + ( 6 + “4”)
A: “364”
32. What is the result of:
34
“String 1”.compareTo(“Me”)
A: int
33. What is the data type of:
35
10 / 3.0
A: 3.33 (two decimals)
34. What is the result of:
36
10.0 / 3.0
3.33 (two decimals)
35. What is the result of:
37
3 + 6 + “4”
A: “94”
36. What is the result of:
38
2.0 * (17 / 25)
A: double
37. What is the data type of:
39
2.0 * (17 / 25)
A: 0.0
38. What is the result of:
40
17 % 25
A: 17
39. What is the result of:
41
3 * 0 + 7.0
A: 7.0
40. What is the result of:
42
3 * 0 + 7.0
A: double
41. What is the data type of:
43
3.0 + 5 + “”
A: “8.0”
42 What is the result of:
44
3.0 + 5 + “”
A: String
43. What is the data type of:
45
3 * 7.0 / 1 <= 17
A: boolean
44. What is the data type of:
46
49 % 7 + 3 + 4
A: 7
45. What is the result of:
47
(int) (6.0 + 7) % 3
A: int
46. What is the data type of
48
(int) (6.0 + 7) % 3
A: 1
47. What is the result of
49
(double) 12 / 4
A: 3.0
48. What is the result of
50
(double) 12 / 4
A: double
49. What is the data type of
51
5 – 1.0
A: -4.0
50. What is the result of: