Passcerty.com » Microsoft » MTA » 98-381

98-381 Exam Questions & Answers

Exam Code: 98-381

Exam Name: Introduction to Programming Using Python

Updated: Apr 30, 2024

Q&As: 40

At Passcerty.com, we pride ourselves on the comprehensive nature of our 98-381 exam dumps, designed meticulously to encompass all key topics and nuances you might encounter during the real examination. Regular updates are a cornerstone of our service, ensuring that our dedicated users always have their hands on the most recent and relevant Q&A dumps. Behind every meticulously curated question and answer lies the hard work of our seasoned team of experts, who bring years of experience and knowledge into crafting these premium materials. And while we are invested in offering top-notch content, we also believe in empowering our community. As a token of our commitment to your success, we're delighted to offer a substantial portion of our resources for free practice. We invite you to make the most of the following content, and wish you every success in your endeavors.


Download Free Microsoft 98-381 Demo

Experience Passcerty.com exam material in PDF version.
Simply submit your e-mail address below to get started with our PDF real exam demo of your Microsoft 98-381 exam.

Instant download
Latest update demo according to real exam

*Email Address

* Our demo shows only a few questions from your selected exam for evaluating purposes

Free Microsoft 98-381 Dumps

Practice These Free Questions and Answers to Pass the MTA Exam

Questions 1

DRAG DROP

You are building a Python program that displays all of the prime numbers from 2 to 100.

How should you complete the code? To answer, drag the appropriate code segments 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:

Show Answer
Questions 2

DRAG DROP

The ABC company is converting an existing application to Python. You are creating documentation that will be used by several interns who are working on the team.

You need to ensure that arithmetic expressions are coded correctly.

What is the correct order of operations for the six classes of operations ordered from first to last in order of precedence? To answer, move all operations from the list of operations to the answer area and arrange them in the correct order.

Select and Place:

Show Answer
Questions 3

HOTSPOT

You develop a Python application for your company.

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

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code segment.

Hot Area:

Show Answer
Questions 4

You are creating a function that reads a data file and prints each line of the file. You write the following code. Line numbers are included for reference only.

The code attempts to read the file even if the file does not exist.

You need to correct the code.

Which three lines have indentation problems? Each correct answer presents part of the solution. (Choose three.)

A. Line 01

B. Line 02

C. Line 03

D. Line 04

E. Line 05

F. Line 06

G. Line 07

H. Line 08

Show Answer
Questions 5

The ABC company is creating a program that allows customers to log the number of miles biked. The program will send messages based on how many miles the customer logs. You create the following Python code. Line numbers are included for reference only.

You need to define the two required functions.

Which code segments should you use for line 01 and line 04? Each correct answer presents part of the solution? (Choose two.)

A. 01 def get_name():

B. 01 def get_name(biker):

C. 01 def get_name(name):

D. 04 def calc_calories():

E. 04 def calc_calories(miles, burn_rate):

F. 04 def calc_calories(miles, calories_per_mile):

Show Answer More Questions

Viewing Page 3 of 3 pages. Download PDF or Software version with 40 questions