New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Microsoft 98-388 Introduction to Programming Using Java Exam Practice Test

Demo: 6 questions
Total 44 questions

Introduction to Programming Using Java Questions and Answers

Question 1

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

Which three values will be displayed in sequence? To answer, move the appropriate values from the list of values to the answer area and arrange them in the correct order.

Options:

Question 2

You are writing a Java program that collects patient information and stores it in a database.

You need to ensure that the program stores data using the least amount of memory.

Which data type should you use to complete each variable declaration? To answer, drag the appropriate data type from the column on the left to its code segment on the right. Each data type 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.

Options:

Question 3

You are interviewing for a job as a Java developer. You are presented with the following code. Line numbers are included for reference only.

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.

Options:

Question 4

You have the following code segment. Line numbers are included for reference only.

What is the output of line 07?

Options:

A.

-44

B.

-40.0

C.

40.0

D.

44.0

Question 5

You are interviewing for a job at Adventure Works, Inc. The hiring manager asks you to create a simple console program.

The program takes multiple arguments from the command line and writes them to the screen in the same order as they were typed on the command line.

Which three code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.

Options:

Question 6

You are creating a method that processes invoices. The invoices are contained in an AmayList instance. After each invoice is processed, the method must remove the invoice from the ArrayList instance.

How should you complete the code? To answer, select the appropriate code segments in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Demo: 6 questions
Total 44 questions