Download presentation
Presentation is loading. Please wait.
1
Review Operation Bingo
2
1. What is the result of: A: 7.0
3
2. What is the data type of:
A: double
4
3. What is the result of: 3 + “4” A: “34”
5
4. What is the result of: 10 / 3 A: 3
6
5. What is the result of: 5 % 7 A: 5
7
6. What is the result of: 7 % 5 A: 2
8
7. What is the result of: 7 / 5 A: 1
9
8. What is the data type of:
1.0 – 5 A: double
10
9. What is the result of: 1.0 – 5 A: -4
11
10. What is the data type of:
“CS” A: String
12
11. What is the result of: “CS” A: “CS139”
13
12. What is the data type of:
5 / 7 A: int
14
13. What is the result of: 5 / 7 A: 0
15
14. What is the result of: 294 % 7 / 50.0 A: 0.0
16
15. What is the data type of:
294 % 7 / 50.0 A: double
17
Math.PI A: 3.14 (to two decimal places)
16. What is the result of: Math.PI A: 3.14 (to two decimal places)
18
17. What is the data type of:
Math.PI A: double
19
18. What is the result of: 17 / 25 *
20
19. What is the result of: % 25
21
20. What is the result of: 7 / 3 * 6.0 / 2
22
21. What is the result of: true && false
23
22. What is the result of: false || true
24
23. What is the data type of:
false || true
25
24. What is the result of: ‘a’ < ‘b’ A: true
26
25. What is the result of: x != x
27
26. What is the result of: 5 == ‘5’
28
‘a’ < ‘b’ || ‘X’ > ‘Y’
27. What is the result of: ‘a’ < ‘b’ || ‘X’ > ‘Y’
29
28. What is the result of: x == 3 && x == 5
30
29. What is the result of: x != 3 || x != 5
31
30. What is the data type of:
“Pinto”.equals(“Mustang”) A: boolean
32
31. What is the data type of:
3 + ( 6 + “4”) A: String
33
32. What is the result of: 3 + ( 6 + “4”) A: “364”
34
33. What is the data type of:
“String 1”.compareTo(“Me”) A: int
35
34. What is the result of: 10 / 3.0 A: 3.33 (two decimals)
36
35. What is the result of: 10.0 / (two decimals)
37
36. What is the result of: “4” A: “94”
38
37. What is the data type of:
2.0 * (17 / 25) A: double
39
38. What is the result of: 2.0 * (17 / 25) A: 0.0
40
39. What is the result of: 17 % 25 A: 17
41
40. What is the result of: 3 * A: 7.0
42
41. What is the data type of:
3 * A: double
43
42 What is the result of: “” A: “8.0”
44
43. What is the data type of:
“” A: String
45
44. What is the data type of:
3 * 7.0 / 1 <= 17 A: boolean
46
45. What is the result of: 49 % A: 7
47
46. What is the data type of (int) ( ) % 3 A: int
48
47. What is the result of (int) ( ) % 3 A: 1
49
48. What is the result of (double) 12 / 4 A: 3.0
50
49. What is the data type of (double) 12 / 4 A: double
51
50. What is the result of: 5 – 1.0 A: -4.0
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.