Microsoft Introduction to Programming Using Java - 98-388 Exam Practice Test
Question 1
You work as an intern Java programmer at Adventure Works. Your team lead asks you to create a method.
The method must meet the following requirements:

How should you complete the code? To answer, select the appropriate code segments in the answer are a. NOTE: Each correct selection is worth one point.


The method must meet the following requirements:

How should you complete the code? To answer, select the appropriate code segments in the answer are a. NOTE: Each correct selection is worth one point.


Correct Answer:


Question 2
You are creating a method that converts a string representation of a number into an actual number.
The numbers passed into the method include whole numbers and fractional numbers.
How should you complete the code? To answer, select the appropriate code segments in the answer area.

The numbers passed into the method include whole numbers and fractional numbers.
How should you complete the code? To answer, select the appropriate code segments in the answer area.

Correct Answer:


Question 3
You work for Woodgrove Bank as a Java programmer.
You need to evaluate the following class. Line numbers are included for reference only.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

You need to evaluate the following class. Line numbers are included for reference only.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Correct Answer:


Question 4
You have the following code:
How should you complete the code? To answer, drag the appropriate code segment to the correct position.
Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.


How should you complete the code? To answer, drag the appropriate code segment to the correct position.
Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.


Correct Answer:


Question 5
You are writing a Java program.
The program must meet the following requirements:

How should you complete the code? To answer, select the appropriate code segments in the answer are a. NOTE: Each correct selection is worth one point.

The program must meet the following requirements:

How should you complete the code? To answer, select the appropriate code segments in the answer are a. NOTE: Each correct selection is worth one point.

Correct Answer:



