Microsoft 98-381 : Introduction to Programming Using Python

98-381 pass collection

Exam Code: 98-381

Exam Name: Introduction to Programming Using Python

Updated: Sep 17, 2026

Q & A: 42 Questions and Answers

Already choose to buy "PDF"
Price: $49.99 

About Microsoft 98-381 Exam

One package, every platform. The online test engine includes all the functions of the PC software and runs on Windows, Mac, Android, and iOS, so the 42 practice questions for the 98-381 exam at PassCollection follow you from desk to phone to tablet. In 2026, study tools should fit your devices — not the other way around.

Microsoft 98-381 Exam Overview:

Certification Vendor:Microsoft
Exam Name:Introduction to Programming Using Python
Exam Number:98-381
Exam Price:USD 127 (varies by region)
Passing Score:700 / 1000 (equivalent to 70%)
Exam Format:Multiple-choice, Multiple-select, Code analysis, Drag-and-drop
Exam Duration:45 minutes
Certificate Validity Period:Valid for lifetime; Exam retired June 30, 2022
Real Exam Qty:40-60
Available Languages:Korean, Japanese, Spanish, French, German, Portuguese (Brazil), Chinese (Simplified), English, Chinese (Traditional)
Recommended Training:Microsoft Official Learning Resources
Exam Registration:Certiport Registration
Microsoft Official Exam Page
Pearson VUE
Sample Questions:Free Download 98-381 pass collection
Exam Way:Proctored onsite or online via Certiport / Pearson VUE; exam retired June 30, 2022
Pre Condition:No formal prerequisites; recommended 100+ hours of instruction or hands-on Python experience
Official Syllabus URL:https://learn.microsoft.com/en-us/credentials/certifications/exams/98-381/

Microsoft 98-381 Exam Syllabus Topics:

SectionWeightObjectives
Topic 1: Perform Operations Using Modules and Tools1-5%- Import and use built-in modules: math, datetime, random, sys, os
- Access module attributes and functions
- Solve problems using standard library tools
Topic 2: Perform Input and Output Operations20-25%- Read input from console and command line
- Format and display output
- Handle file paths and file existence checks
- Open, read, write, append, and close files
Topic 3: Perform Operations using Data Types and Operators20-25%- Perform type conversion and data structure operations
- Recognize and use data types: str, int, float, bool
- Apply arithmetic, comparison, logical, and assignment operators
- Evaluate expressions and operator precedence
Topic 4: Control Flow with Decisions and Loops25-30%- Implement conditional statements: if, elif, else
- Use control keywords: break, continue, pass
- Apply compound conditions and logical expressions
- Construct loops: for, while, nested loops
Topic 5: Document and Structure Code15-20%- Write comments and docstrings
- Structure code using functions and parameters
- Organize code into logical blocks
- Follow Python naming conventions and style guidelines
Topic 6: Perform Troubleshooting and Error Handling5-10%- Identify syntax, runtime, and logical errors
- Debug and trace code execution
- Implement try/except/finally blocks
- Raise and handle exceptions appropriately

The Microsoft Introduction to Programming Using Python Exam: Answers Before You Buy

Whichever matches your habits — all three are built around the same Microsoft Introduction to Programming Using Python content. The PDF version suits paper readers: print it out, mark it up, and share pages with a study partner. The PC test engine suits computer-based learners: it simulates the real exam scene, lets you set a time limit like the live 98-381 exam, flags your mistakes, and reminds you to re-practice them daily. The online APP includes every software function and runs on Windows, Mac, Android, and iOS. Choose the one you will actually use every day.

The 98-381 exam contains 40-60 questions to be completed in 45 minutes minutes. That pace is exactly what the PC test engine's timed mode trains — set the same limit in practice, and the real clock stops being a surprise.

Microsoft recommends these training options for candidates:

Official courses build understanding; a daily practice routine with expert-verified answers builds exam-day readiness. The strongest preparation uses both.

To pass the 98-381 exam you need 700 / 1000 (equivalent to 70%), and registration costs USD 127 (varies by region). Set against that fee, thorough preparation is the smaller expense by far — and the one most likely to protect the larger one.

The official outline divides the 98-381 exam into weighted domains, including:

  • Perform Input and Output Operations (20-25%)
  • Perform Operations using Data Types and Operators (20-25%)
  • Control Flow with Decisions and Loops (25-30%)

The Microsoft Introduction to Programming Using Python practice questions at PassCollection follow these same objectives, whichever of the three study formats you use.

Yes. We understand that many candidates prefer not to advertise how they prepare. PassCollection runs a strict information protection system: your personal details and your 98-381 exam purchase are kept secret and safe, and never disclosed to any third party. You can order the Microsoft Introduction to Programming Using Python materials with complete peace of mind.

No formal prerequisites; recommended 100+ hours of instruction or hands-on Python experience

The 98-381 exam is the official assessment behind the Microsoft Introduction to Programming Using Python certification from Microsoft. Many IT professionals pursue it as a step toward leadership roles, because the credential verifies practical command of the published objectives. Solid preparation — not luck — is what carries candidates through it.

You can register for the 98-381 exam through these official channels:

Book your seat only when your timed practice scores say you are ready — the registration fee is better paid once than twice.

Microsoft Introduction to Programming Using Python Sample Questions:

Question #1

You develop a Python application for your company.
A list named employees contains 200 employee names, the last five being company management. You need to slice the list to display all employees excluding management.
Which two code segments should you use? Each correct answer presents a complete solution. (Choose two.)

  • A. employees [:-5]
  • B. employees [1:-5]
  • C. employees [1:-4]
  • D. employees [0:-4]
  • E. employees [0:-5]
Reveal Solution  Discussion  0

Correct Answer: E  🗳️

Explanation: Only visible for PassCollection members. You can sign-up / login (it's free).

Question #2

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.

Reveal Solution  Discussion  0

Correct Answer:


References:
https://docs.python.org/3.1/tutorial/inputoutput.html
https://stackoverflow.com/questions/11619942/print-series-of-prime-numbers-in-python
https://www.programiz.com/python-programming/examples/prime-number-intervals

Question #3

HOTSPOT
The ABC company needs a way to find the count of particular letters in their publications to ensure that there is a good balance. It seems that there have been complaints about overuse of the letter e. You need to create a function to meet the requirements.
How should you complete this code? To answer, select the appropriate code segments in the answer area.
NOTE: Each correct selection is worth one point.

Reveal Solution  Discussion  0

Correct Answer:


References:
https://www.w3resource.com/python/python-for-loop.php

Question #4

Evaluate the following Python arithmetic expression:

What is the result?

  • A. 3
  • B. 69
  • C. 13
  • D. 15
Reveal Solution  Discussion  0

Correct Answer: D  🗳️

Explanation: Only visible for PassCollection members. You can sign-up / login (it's free).

Question #5

DRAG DROP
Match the data type to the type operations.
To answer, drag the appropriate data type to the correct type operation. Each data type may be used once, more than once, or not at all.

Reveal Solution  Discussion  0

Correct Answer:


References:
https://www.w3resource.com/python/python-data-type.php

What Clients Say About Us

The best thing is to find the most reliable vendor for you are going to pass for sure. Thanks to PassCollection, i have passed the 98-381 exam today.

Ira Ira       4.5 star  

I took the 98-381 exam on Friday. Well the good news is that I have passed 98-381 exam. Thanks!

Spencer Spencer       5 star  

Recently,I am busy with my work,and at the same time, I am preparing for the 98-381 exam, with the help of 98-381 exam dumps, I feel more confident than ever and pass the exam successfully. Great!

Bruno Bruno       4.5 star  

I had almost given up after repeated attempts but I still not able to pass the 98-381 exam, when as the last resort I choose 98-381 study dumps for the exam preparation. It's really helpful, and I pass my 98-381 exam last week. Thank you!

Antoine Antoine       5 star  

Most precise 98-381 learning materials! After i finished my 98-381 exam and found that almost 90% questions are from the 98-381 learning dumps! I am so lucky to buy them!

Rod Rod       4 star  

Your Q&As are very good for the people who do not have much time for their exam preparation. The materials are very accurate. With it, I passed 98-381 easily.

Fabian Fabian       4.5 star  

Today, I get my desired job. I think it is the 98-381 certification that makes an important effect on the job interview. Thank you to provide the best valid 98-381 exam dump.

Ida Ida       4 star  

I passed my 98-381 certification exam with the help of pdf exam dumps and testing engine software by PassCollection. I highly recommend every candidate to prepare for the exam with these. I scored 92% in my exam.

Jonas Jonas       4.5 star  

Thanks for the 98-381dumps, it is good to use, i have passed my 98-381 exam, and i feel so wonderful.

Darnell Darnell       4 star  

After studing with 98-381 practice dump for only 3 days, then i became much confident that I would pass the exam with high scores and i really did it! Good luck, thanks!

Burke Burke       4 star  

These 98-381 dumps are amazing they are very good if you want to pass the exam ASAP. With just a few days practice I aced the exam.

Edmund Edmund       4.5 star  

Recommend your dumps to my friends. Really good questions. I pass just now.

Miranda Miranda       4.5 star  

I am an ambitious person and a hard worker who is looking for a new job with higher salary, this 98-381 question file helped to get the certification successfully. Thanks!

Marcus Marcus       4 star  

Guys, tis site helps… 98-381 practice tests are quite good. i ve completed one test and feel more then ready to sit for real exam.

Lucien Lucien       4.5 star  

This certification is super important for me!!! It's the only way to have career opportunity for me! Thank you for 98-381 questions! I'll do my best on exam.

Enoch Enoch       4.5 star  

Just got the latest 98-381 exam questions.

Beulah Beulah       5 star  

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Why Choose PassCollection

Quality and Value

PassCollection Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.

Tested and Approved

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.

Easy to Pass

If you prepare for the exams using our PassCollection 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.

Try Before Buy

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

Our Clients

amazon
centurylink
charter
comcast
bofa
timewarner
verizon
vodafone
xfinity
earthlink
marriot
vodafone