Microsoft 98-388 - Introduction to Programming Using Java Exam
Page: 1 / 9
Total 42 questions
Question #1 (Topic: Topic 1, Understand Java fundamentals)
HOTSPOT
You need to evaluate the following code segment. Line numbers are included for reference only.
[Microsoft-98-388-1.0/xmlfile-2_1.png]
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code.
NOTE: Each correct selection is worth one point.
Hot Area:
[Microsoft-98-388-1.0/xmlfile-2_2.png]
You need to evaluate the following code segment. Line numbers are included for reference only.
[Microsoft-98-388-1.0/xmlfile-2_1.png]
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code.
NOTE: Each correct selection is worth one point.
Hot Area:
[Microsoft-98-388-1.0/xmlfile-2_2.png]
Answer: [Microsoft-98-388-1.0/xmlfile-3_1.png]
Question #2 (Topic: Topic 1, Understand Java fundamentals)
You have the following code segment. Line numbers are included for reference only.
[Microsoft-98-388-1.0/xmlfile-3_2.png]
What is the output of line 07?
[Microsoft-98-388-1.0/xmlfile-3_2.png]
What is the output of line 07?
A. -44
B. -40.0
C. 40.0
D. 44.0
Answer: B
Question #3 (Topic: Topic 1, Understand Java fundamentals)
HOTSPOT
You are interviewing for a job as a Java developer.
You are presented with the following code. Line numbers are included for reference only.
[Microsoft-98-388-1.0/xmlfile-4_1.png]
You need to evaluate what happens when the code runs.
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code.
NOTE: Each correct selection is worth one point.
Hot Area:
[Microsoft-98-388-1.0/xmlfile-5_1.png]
You are interviewing for a job as a Java developer.
You are presented with the following code. Line numbers are included for reference only.
[Microsoft-98-388-1.0/xmlfile-4_1.png]
You need to evaluate what happens when the code runs.
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code.
NOTE: Each correct selection is worth one point.
Hot Area:
[Microsoft-98-388-1.0/xmlfile-5_1.png]
Answer: [Microsoft-98-388-1.0/xmlfile-6_1.png]
Question #4 (Topic: Topic 1, Understand Java fundamentals)
HOTSPOT
You need to evaluate the following Java program. Line numbers are included for reference only.
[Microsoft-98-388-1.0/xmlfile-6_2.png]
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code.
NOTE: Each correct selection is worth one point.
Hot Area:
[Microsoft-98-388-1.0/xmlfile-7_1.png]
You need to evaluate the following Java program. Line numbers are included for reference only.
[Microsoft-98-388-1.0/xmlfile-6_2.png]
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code.
NOTE: Each correct selection is worth one point.
Hot Area:
[Microsoft-98-388-1.0/xmlfile-7_1.png]
Answer: [Microsoft-98-388-1.0/xmlfile-8_1.png]
Question #5 (Topic: Topic 1, Understand Java fundamentals)
You need to analyze the following code segment. Line numbers are included for reference only.
[Microsoft-98-388-1.0/xmlfile-9_1.png]
What is the output of line 12 when you run printInt()?
[Microsoft-98-388-1.0/xmlfile-9_1.png]
What is the output of line 12 when you run printInt()?
A. 0
B. 1
C. 2
D. 3
Answer: A