CSE 110 Final EXAM ||VERIFIED EXAM!!!|| MOST
RECENT EXAM ACTUAL COMPLETE REAL EXAM
QUESTIONS AND CORRECT ANSWERS (VERIFIED
ANSWERS) ALREADY GRADED A+ | GUARANTEED
SUCCESS!! NEWEST EXAM!!!
Given the following int (integer) variable, a= 11, b= 37, c=
3, d = 5, evaluate the expression:
a + b % c * d - Answer-16
Evaluate this logical expression:
false || false
a) True
b) False - Answer-b) False
Evaluate this expression: 3 == 1
a)True
b)False - Answer-b) False
Evaluate this expression: 6 + ! >= 10 || 20 - 10 < 7
a) True
,2|Page
b)False - Answer-b) False
Which of the following are Java primitive data types?
Choose all that apply;
a) boolean
b)double
c)String
d) Math
e) class
f) int
g) float
h) Array
i) Random
j)char - Answer-a) boolean b) double f) int f) float j) char
Which of the following Java literals have the data type
float? Choose all that apply.
a) 5.25
b) 5.25f
c) 5.0
d)'\n'
,3|Page
e)5f
f)'5'
g)false
h)true
j)123
k)-5
l)"5.0" - Answer-b) 5.25f e)5f
Which of the following Java literals have the data type
char? Choose all that apply.
a) 5.25
b) 5.25f
c) 5.0
d)'\n'
e)5f
g)false
h)"true"
i) true
j) 123
k)-5
, 4|Page
l)"5.0" - Answer-d)'\n' f)'5'
When the following expression is evaluated, the result will
be what Java data type?
3f + 5
a)double
b)char
c)none of these
d) String
e) int
f) float
g) boolean - Answer-f) float
Which of the following would be the best data type for a
variable to store a person's height in meters?
a) int
b) float
c) boolean
d) char
e) byte
f) String - Answer-b) float