Exam Details

  • Exam Code
    :98-388
  • Exam Name
    :Introduction to Programming Using Java
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :42 Q&As
  • Last Updated
    :Mar 26, 2025

Microsoft Microsoft Certifications 98-388 Questions & Answers

  • Question 31:

    HOTSPOT

    You write the following Java program for Munson's Pickles and Preserves Farm. Line numbers are included for reference only.

    You encounter error messages when you attempt to compile the program.

    You need to ensure the program compiles successfully.

    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.

    Hot Area:

  • Question 32:

    HOTSPOT

    You write the following Java program for Munson's Pickles and Preserves Farm. Line numbers are included for reference only.

    You encounter error messages when you attempt to compile the program.

    You need to ensure the program compiles successfully.

    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.

    Hot Area:

  • Question 33:

    DRAG DROP

    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. NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 34:

    DRAG DROP

    You are interviewing for a job at Adventure Works, Inc. The hiring manager asks you to create a single 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.

    Select and Place:

  • Question 35:

    DRAG DROP

    References: https://docs.oracle.com/javase/tutorial/getStarted/cupojava/netbeans.html

    You have the following code:

    You need to create an int array named numbers initialized with num1, num2, and num3.

    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.

    NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 36:

    DRAG DROP

    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 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.

    Select and Place:

  • Question 37:

    DRAG DROP

    You are writing a Java method that evaluates an arithmetic formula.

    The method accepts an int value named number, raises the value to the second power, and returns the negative value of the result.

    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.

    NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 38:

    DRAG DROP

    You attend an interview for a job as a Java programmer.

    You need to declare a two by three array of the double type with initial values.

    How should you complete the code? To answer, drag the appropriate code segment to the correct location. 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.

    NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 39:

    DRAG DROP

    You are writing a Java method.

    The program must meet the following requirements:

    Accept a String parameter firstName

    Display a welcome message that contains firstName

    Ensure that the first letter of the name is capitalized, and the remaining letters are in lowercase

    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.

    NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 40:

    DRAG DROP

    References: http://www.tutorialspoint.com/java/java_strings.htm

    Your instructor asks you to evaluate four arithmetic code segments.

    What is the value of each code segment? To answer, drag the appropriate value from the column on the left to its code segment on the right. Each data 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.

    Select and Place:

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 98-388 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.