How to Pass the Microsoft MTA Python 98-381 Exam?
Make 98-381 Certification Exam Easy with Edusum.com
98-381 Exam Detail Exam Code
98-381
Full Exam Name
Microsoft Technology Associate (MTA) - Introduction to Programming Using Python
Number of Questions 40-60 Practice Exams
Microsoft 98-381 Certification Practice Exam
Passing Score
700 / 1000
Time Limit
45 mins
Experience success with Edusum.com
98-381 Syllabus Topic
Weights
Perform Operations using Data Types and Operators
20-25%
Control Flow with Decisions and Loops
25-30%
Perform Input and Output Operations
20-25%
Document and Structure Code
15-20%
Perform Troubleshooting and Error Handling
5-10%
Perform Operations Using Modules and Tools
1-5%
Experience success with Edusum.com
Preparation tips for Microsoft 98-381 Certification • Perform enough practice with Microsoft system with related Microsoft 98-381 certification subjects • Identify the key configuration, workflow and data flow • Understand the all Syllabus Topics of Exam which are Given in Description. • Identify your weak areas from practice test and do more practice with system
• Repeat practice exams and try to score 100% on www.edusum.com Experience success with Edusum.com
Microsoft 98-381 Sample Questions
Experience success with Edusum.com
Q 1) You develop a Python application for your school. You need to read and write data to a text file. If the file does not exist, it must be created. If the file has content, the content must be removed. Which code should you use? Option. a) open("local_data", "r") b) open("local_data", "w+") c) open("local_data", "r+") d) open("local_data", "w")
Experience success with Edusum.com
ANSWER
b) open("local_data", "w+")
Experience success with Edusum.com
Q 2) The ABC company has hired you as an intern on the coding team that creates e-commerce applications. You must write a script that asks the user for a value. The value must be used as a whole number in a calculation, even if the user enters a decimal value. You need to write the code to meet the requirements. Which code segment should you use? Option. a) totalItems = input("How many items would you like?") b) totalItems = float(input("How many items would you like?")) c) totalItems = str(input("How many items would you like?")) d) totalItems = int(input("How many items would you like?"))
Experience success with Edusum.com
ANSWER
d) totalItems = int(input("How many items would you like?"))
Experience success with Edusum.com
Q 3) You are creating a function that manipulates a number. The function has the following requirements: -> A float is passed into the function -> The function must take the absolute value of the float -> Any decimal points after the integer must be removed Which two math functions should you use? Each correct answer is part of the solution. (Choose two.) Option. a) math.fmod(x) b) math.frexp(x) c) math.floor(x) d) math.ceil(x) e) math.fabs(x)
Experience success with Edusum.com
ANSWER
c) math.floor(x) e) math.fabs(x)
Experience success with Edusum.com
Q 4) You are writing an application that uses the sqrt function. The program must reference the function using the name squareRoot. You need to import the function. Which code segment should you use?
Option. a) import math.sqrt as squareRoot b) import sqrt from math as squareRoot c) from math import sqrt as squareRoot d) from math.sqrt as squareRoot
Experience success with Edusum.com
ANSWER
c) from math import sqrt as squareRoot
Experience success with Edusum.com
Q 5) You develop a Python application for your company. You want to add notes to your code so other team members will understand it. What should you do? Option. a) Place the notes after the # sign on any line b) Place the notes after the last line of code separated by a blank line c) Place the notes before the first line of code separated by a blank line d) Place the notes inside of parentheses on any time
Experience success with Edusum.com
ANSWER
a) Place the notes after the # sign on any line
Experience success with Edusum.com
Info on Microsoft 98-381 Certification • For more information on 98-381 Certification please refer to FAQs. • The 98-381 certification is increasingly becoming important for the career of employees. • The fees information are for the informative purposes and do not serve as an official offering and are subject to change • Focus on the guide for online registration and you will find it out.
Experience success with Edusum.com
More Info on Microsoft Certification VISIT www.edusum.com