I used your 98-381 exams for practice and to identify my weak areas.
Exam Code: 98-381
Exam Name: Introduction to Programming Using Python
Updated: Oct 21, 2026
Q & A: 42 Questions and Answers
98-381 Free Demo download
Experts analyze the exam outline and notice every little change. The Microsoft Introduction to Programming Using Python study vce at PassTorrent follows the syllabus: 42 practice questions for the 98-381 exam in 2026.
| Certification Vendor: | Microsoft |
|---|---|
| Exam Name: | Introduction to Programming Using Python |
| Exam Number: | 98-381 |
| Passing Score: | Approximately 700 (70%-scale, official thresholds determined by Microsoft) |
| Exam Price: | Approximately USD 127 |
| Exam Format: | Select from drop-down, Multiple response, Drag-and-drop, Multiple choice |
| Exam Duration: | 45 minutes |
| Related Certifications: | Microsoft 98-375 HTML5 App Development Fundamentals Microsoft 98-382 Introduction to Programming Using JavaScript |
| Real Exam Qty: | 40-60 |
| Available Languages: | Portuguese (Brazil), Japanese, Chinese (Simplified), Korean, German, French, Spanish, Chinese (Traditional), English |
| Certificate Validity Period: | Retired (no longer offered after June 30, 2022) |
| Sample Questions: | ![]() |
| Exam Way: | Exam retired; previously delivered at Pearson VUE or Certiport testing centres |
| Pre Condition: | Foundational programming knowledge recommended; approximately 100+ hours of Python instruction or equivalent experience |
| Official Syllabus URL: | https://learn.microsoft.com/en-us/learn/certifications/mta-introduction-to-programming-using-python |
| Section | Objectives |
|---|---|
| Topic 1: Perform Operations Using Data Types and Operators | - Determine sequence of execution based on operator precedence - Perform data and data type operations (type conversion, structures, indexing/slicing) - Identify Python data types (str, int, float, bool) |
| Topic 2: Perform Troubleshooting and Error Handling | - Analyze and fix Python code errors (syntax, logic, runtime) - Handle exceptions using try/except/finally |
| Topic 3: Document and Structure Code | - Define and call functions with parameters and return values - Use comments and documentation strings |
| Topic 4: Control Flow with Decisions and Loops | - Construct and analyze loops (for, while, break, continue, nested loops) - Construct and analyze branching statements (if, elif, else) |
| Topic 5: Perform Operations Using Modules and Tools | - Use built-in Python modules (math, datetime, random, os, sys) |
| Topic 6: Perform Input and Output Operations | - File I/O (open, read, write, append, close, with statement) - Console I/O (read input, print formatted text) |
Upon successful payment, our system emails the Microsoft Introduction to Programming Using Python study material automatically within about a minute, with 24/7 patient help if nothing arrives within 2 hours. If you fail the corresponding 98-381 exam within 60 days of purchase, we refund the full amount: send a scanned enrollment slip plus the official Score Report PDF within 2 days of the exam, processed within 7 days. Excluded: exams within 3 days of purchase, candidate names that don't match the payer, and free or expired products. Or exchange for two equal-value products free.
The Microsoft Introduction to Programming Using Python blueprint spans 6 domains β including Document and Structure Code, Control Flow with Decisions and Loops, Perform Operations Using Data Types and Operators. Our experts analyze this outline and notice every little change; the complete outline above lists every subtopic.
The Microsoft Introduction to Programming Using Python is Microsoft's certification exam for Microsoft Python, at the Associate (Entry-Level) level. One useful certificate can exert real influence on your future. Related credentials include Microsoft 98-375 HTML5 App Development Fundamentals, Microsoft 98-382 Introduction to Programming Using JavaScript.
Approximately USD 127 per attempt, Approximately 700 (70%-scale, official thresholds determined by Microsoft) to pass. Retakes cost the full fee β practice regularly with the 42 practice questions for the 98-381 exam at PassTorrent before you book.
45 minutes for 40-60 questions. Regular timed practice in the PassTorrent engine makes the format familiar long before exam day.
Foundational programming knowledge recommended; approximately 100+ hours of Python instruction or equivalent experience Eligibility rules change over time, so verify the current requirements on the official page (official 98-381 exam page) before registering.
Yes β under each kind of Microsoft Introduction to Programming Using Python practice test we offer one free demo, including a real part of the content; look through it thoroughly before ordering. Purchases include 365 days of free updates by email; renew afterward at 50% off.
HOTSPOT
During school holidays, you volunteer to explain some basic programming concepts to younger siblings.
You want to introduce the concept of data types in Python. You create the following three code segments:
You need to evaluate the code segments.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Correct Answer:
References:
https://www.w3resource.com/python/python-data-type.php
HOTSPOT
You are an intern for ABC electric cars company. You must create a function that calculates the average velocity of their vehicles on a 1320 foot (1/4 mile) track. The output must be as precise as possible.
How should you complete the code? To answer, select the appropriate code segments in the answer area.
Correct Answer:

References:
https://www.w3resource.com/python/python-data-type.php
HOTSPOT
You create a function to calculate the power of a number by using Python.
You need to ensure that the function is documented with comments.
You create the following code. Line numbers are included for reference only.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Answer Area
Correct Answer:

References:
http://www.pythonforbeginners.com/comments/comments-in-python
https://www.w3resource.com/python/python-string.php
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.
Correct Answer:

References:
http://www.mathcs.emory.edu/~valerie/courses/fall10/155/resources/op_precedence.html
http://interactivepython.org/runestone/static/pythonds/BasicDS/InfixPrefixandPostfixExpressions.html
You are creating a Python program that shows a congratulation message to employees on their service anniversary.
You need to calculate the number of years of service and print a congratulatory message.
You have written the following code. Line numbers are included for reference only.
You need to complete the program.
Which code should you use at line 03?
Correct Answer: A π³οΈ
Explanation: Only visible for PassTorrent members. You can sign-up / login (it's free).
Viewing page 1 out of 9 pages.
Viewing questions 1-5 out of 42 questions.
Over 14954+ Satisfied Customers
I used your 98-381 exams for practice and to identify my weak areas.
I got free update for one year for 98-381 exam braindumps, and I had obtained the update version for once, it's cool!
I still canβt believe that i passed the 98-381 exam with highest marks! All credit goes to PassTorrent! Thanks!
Want to share a perfect tool that I got in the form of PassTorrent 98-381 real exam questions with answers. It cleared all the confusion I had before preparing with it whereas to the point Covering all Topics
Good to get your 98-381 questions and answers.
Yes, it is valid. And after you studied with the 98-381 exam questions, when you attended the exam, you would feel everything is sheduled, it is just you to show up and play. I passed the exam smoothly with ease.
passed the 98-381 exam today using 98-381 exam dumps! Valid about 90%!
If you are not sure about this 98-381 exam, i advise you to order one. It is very useful and you are bound to pass for sure. I passed mine with the guide of the 98-381 exam questions yesterday!
Valid and updated exam dumps for the 98-381 certification exam by PassTorrent. Highly recommend everyone to study from them. Passed my exam today with 93% marks.
98-381 exam torrent is high quality, and they saved my time.
I had a month old 98-381 practice dump but it's still valid. I passed 98-381 exam and received my certification.
Mike here, wanted to share amazing experience of mine using PassTorrent dumps. I downloaded demo for98-381 exam and eventually bought 98-381 pdf
PassTorrent Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all vce.
We are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
If you prepare for the exams using our PassTorrent testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
PassTorrent offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.