top of page
  • Writer's pictureKaty Morgan

Introduction to Microsoft Technology Associate (MTA) - Introduction to Programming Using Java Exam

The Microsoft 98-388 Exam is challenging and thorough preparation is essential for success. This exam study guide is designed to help you prepare for the Introduction to Programming Using Java certification exam. It contains a detailed list of the topics covered on the Professional exam, as well as a detailed list of preparation resources. This study guide for the Microsoft Introduction to Programming Using Java will help guide you through the study process for your certification.


98-388 pdf, 98-388 questions, 98-388 exam guide, 98-388 practice test, 98-388 books, 98-388 Syllabus, 98-388

98-388 Microsoft Introduction to Programming Using Java Exam Summary Exam Name: Microsoft Introduction to Programming Using Java Exam Code: 98-388 Exam Price: $127 (USD) Duration: 45 mins Number of Questions: 40-60 Passing Score: 700 / 1000 Schedule Exam: Pearson VUE Sample Questions: Microsoft Introduction to Programming Using Java Sample Questions Recommended Practice: Microsoft 98-388 Certification Practice Exam

Exam Syllabus: 98-388 Microsoft Technology Associate (MTA) - Introduction to Programming Using Java 1. Understand Java fundamentals (15-20%) Describe the use of main in a Java application - signature of main, why it is static; how to consume an instance of your own class; command-line arguments Perform basic input and output using standard packages - print statements; import and use the Scanner class Evaluate the scope of a variable - declare a variable within a block, class, or method 2. Work with data types, variables, and expressions (40-45%) Declare and use primitive data type variables - data types, including byte, char, int, double, short, long, float, boolean; identify when precision is lost; initialization; how primitives differ from wrapper object types such as Integer and Boolean Construct and evaluate code that manipulates strings - string class and string literals, comparisons, concatenation, case and length; String.format methods; string operators; converting a primitive data type to a string; the immutable nature of strings; initialization; null Construct and evaluate code that creates, iterates, and manipulates arrays and array lists - one- and two-dimensional arrays, including initialization, null, size, iterating elements, accessing elements; array lists, including adding and removing elements, traversing the list Construct and evaluate code that performs parsing, casting and conversion - implementing code that casts between primitive data types, converts primitive types to equivalent object types, or parses strings to numbers Construct and evaluate arithmetic expressions - arithmetic operators, assignment, compound assignment operators, operator precedence 3. Implement flow control (15-20%) Construct and evaluate code that uses branching statements - if, else, else if, switch; single-line versus block; nesting; logical and relational operators Construct and evaluate code that uses loops - while, for, for each, do while; break and continue; nesting; logical, relational, and unary operators 4. Perform object-oriented programming (10-15%) Construct and evaluate a class definition - constructors; constructor overloading; one class per .java file; this keyword; inheritance and overriding at a basic level Declare, implement, and access data members in a class - private, public, protected; instance data members; static data members; using static final to create constants; describe encapsulation Declare, implement, and access methods - private, public, protected; method parameters; return type; void; return value; instance methods; static methods; overloading Instantiate and use a class object in a program - instantiation; initialization; null; accessing and modifying data members; accessing methods; accessing and modifying static members; importing packages and classes 5. Compile and debug code (5-10%) Troubleshoot syntax errors, logic errors, and runtime errors - print statement debugging; output from the javac command; analyzing code for logic errors; console exceptions after running the program; evaluating a stack trace Implement exception handling - try catch finally; exception class; exception class types; display exception information


Microsoft 98-388 Certification Sample Questions and Answers

To make you familiar with Microsoft Introduction to Programming Using Java (98-388) certification exam structure, we have prepared this sample question set. We suggest you to try our Sample Questions for MTA Introduction to Programming Using Java 98-388 Certification to test your understanding of Microsoft 98-388process with real Microsoft certification exam environment. 98-388 Microsoft Introduction to Programming Using Java Sample Questions:- 01. You need to evaluate the following code segment:

What happens when the code segment is run? a) iNum has a value of 0. b) An exception is thrown. c) iNum has a value of 2. d) iNum has a value of 3. 02. The Random class is shown in the exhibit. Line numbers are included for reference only. You need to evaluate the class and determine which line prevents the class from compiling successfully. Which line prevents the class from compiling successfully? a) Line 15 b) Line 14 c) Line 17 d) Line 12 e) Line 13 03. The following Java code exists (line numbers are included for reference only): - 01 char data = 65; - 02 System.out.println(data): You need to determine what happens when this code is compiled and run. What happens when this code is run? a) The string "5453" is printed. b) The number 65 is printed. c) An exception is thrown. d) The letter 'A' is printed. 04. You have the following code segment. Line numbers are included for reference only.

What is the output of line 07? a) -44 b) -40.0 c) 40.0 d) 44.0 05. The question requires that you evaluate the underlined text to determine if it is correct. You should use an int data type to store the numeric value 3,000,000,000 (3 billion) so that the least amount of memory is used. Review the underlined text. If it makes the statement correct, select "No change is needed." If the statement is incorrect, select the answer choice that makes the statement correct. a) No change is needed. b) a short c) a byte d) a long 06. You need to analyze the following code segment. Line numbers are included for reference only.

What is the output of line 12 when you run printInt()? a) 0 b) 1 c) 2 d) 3 07. You are creating a Java console application that teaches students about Java. You need to define the signature of the method that is called when the application first starts. How should you define the method? To answer, select the appropriate code segments from the drop-down menus.

Solution:

Determine whether the given solution is correct? a) Incorrect b) Correct 08. The question requires that you evaluate the underlined text to determine if it is correct. You have the following class definition:

The logError method can be invoked by code in all classes in the same package as the Logger class. Review the underlined text. If it makes the statement correct, select “No change is needed.” If the statement is incorrect, select the answer choice that makes the statement correct. a) No change is needed b) only by the Logger class c) only by the Logger class and classes in the same package that inherit from it d) by all classes in all packages 09. You work as a Java programmer. You need to convert a numeric String to a primitive double value. What code segment should you use? a) Double.valueOf(numberString); b) Double.parseDouble(numberString); c) String.parseDouble(numberString); d) double.parseDouble(numberString); 10. You are evaluating loops. You need to identify infinite loops. Which three statements represent infinite loops? Each correct answer presents a complete solution. a) do {} while (true); b) for (; ;) {} c) for (; false ; ) {} d) do {} while (false); e) while (true) {} f) while (false) {} g) while (true) break; Answers:- Answer 1 :- c Answer 2 :- a Answer 3 :- d Answer 4 :- b Answer 5 :- d Answer 6 :- a Answer 7 :- b Answer 8 :- c Answer 9 :- d Answer 10 :- a, b, e



bottom of page