MTA: Basics of Python Programming (98-381 & PCAP-31-02)


This course includes

Prepare for the MTA 98-381 and PCAP-31-02 certification exams with the Basics of Python Programming for 98-381 and PCAP-31-02 course and lab. The lab provides a hands-on learning experience in a safe, online environment. The Microsoft Python certification course and lab cover the 98-381 and PCAP-31-02 exam objectives and include topics such as Python basics, Data structure, Python modules, errors and exceptions, object-oriented programming, input and output, Python functions, control flow tools in Python, and more.

Here's what you will get

The PCAP Certified Associate in Python Programming certification is an independent, vendor-neutral credential targeted at professionals who are starting a career in the field of Python programming. This certification validates candidates' skills and knowledge of general computer programming concepts such as conditional execution, loops, and Python programming language syntax.

Microsoft MTA certification is an entry-level training program designed to ensure proficiency and technical knowledge in mission-critical IT job roles. The MTA 98-381 exam validates candidates' skills to perform operations using data types and operators, control flow with decisions and loops, perform input and output operations, document and structure code, perform troubleshooting and error handling, and perform operations using modules and tools.


13+ Lessons | 100+ Quizzes | 70+ Flashcards | 70+ Glossary of terms


40+ Pre Assessment Questions | 2+ Full Length Tests | 40+ Post Assessment Questions | 80+ Practice Test Questions

Here's what you will learn

Download Course Outline

Lessons 1: Introduction

  • About Python
  • Getting Started with Python
  • Running Python
  • Basic Syntax
  • Lesson Summary

Lessons 2: Python Basics

  • Data Types
  • Python Operators and Expressions
  • Lesson Summary

Lessons 3: The Control Flow Tools in Python

  • Decision Making
  • Loops
  • Lesson Summary

Lessons 4: Data Structures

  • Lists
  • Tuples
  • Sets
  • Dictionaries
  • Sequences
  • Looping Techniques
  • Lesson Summary

Lessons 5: Functions in Python

  • Functions
  • More on Defining Functions
  • Intermezzo: Coding Style
  • Lesson Summary

Lessons 6: Modules in Python

  • Modules
  • Detailed Study on Modules
  • Standard Modules
  • The dir() Function
  • Packages
  • Lesson Summary

Lessons 7: Input and Output

  • Input from User
  • Output Formatting
  • Reading and Writing Files
  • Directories in Python
  • Lesson Summary

Lessons 8: Errors and Exceptions

  • Syntax Errors
  • Exceptions
  • Defining Clean-Up Actions
  • Lesson Summary

Lessons 9: Object Oriented Programming

  • Names and Objects
  • Scopes and Namespaces
  • Classes
  • Data Hiding
  • Inheritance
  • Private Variables and Methods
  • Odds and Ends
  • Iterator and Generator
  • Lesson Summary

Lessons 10: What's Next in Python

  • More on Python
  • Applications of Python
  • The Complete Python Program

Appendix A: Resources/Works Consulted

  • Books
  • Online Resources

Appendix B: The Python Standard Library

Appendix C: PCAP and 98-381 Exam Objectives

Hands-on LAB Activities (Performance Labs)

Python Basics

  • Exchanging the numbers
  • Converting float data type to integer data type
  • Using the len() built-in function
  • Using arithmetic operators
  • Using the exponentiation operator
  • Using the bitwise operator
  • Truncating the decimals

The Control Flow Tools in Python

  • Using the if-elif-else statement - Part 1
  • Using the if-elif-else statement - Part 2
  • Using the if-else statement
  • Checking whether a string is palindrome
  • Truncating vowels from a string
  • Comparing two variables
  • Using the for loop to print a pattern
  • Using the break statement
  • Using the while statement
  • Finding LCM of two numbers
  • Sorting words from a string

Data Structures

  • Finding elements of a list
  • Concatenating tuples
  • Modifying a set
  • Creating a dictionary
  • Finding the cube of a number

Functions in Python

  • Creating a function
  • Creating a function with its default value
  • Using an anonymous function

Modules in Python

  • Using the math module
  • Using the datetime module
  • Obtaining a year from the date

Input and Output

  • Using old string formatting
  • Printing the pattern
  • Using the format() method
  • Retrieving all the files from a folder
  • Printing the first line from a file
  • Writing the text to a file
  • Reading a file
  • Performing different operations on file

Errors and Exceptions

  • Correcting the errors
  • Rectifying the errors - Part 1
  • Rectifying the errors - Part 2

Exam FAQs

  • For PCAP-31-02: There is no official pre-requisite for the exam.
  • For 98-381: At least 100 hours of instruction and/or hands-on experience with the Python programming language.

  • For PCAP-31-02: USD 295
  • For 98-381: USD 127

  • For PCAP-31-02: Single-choice and multiple-choice questions
  • For 98-381: Single choice, multiple choice, drag-and-drop, active screen, build list, case studies, and short answer.

The exam contains

  • For PCAP-31-02: 40
  • For 98-381: 40-60

  • For PCAP-31-02: 65 minutes (exam) + 10 (Non-Disclosure Agreement/Tutorial)
  • For 98-381: 45 

  • For PCAP-31-02: 70%
  • For 98-381: The passing score varies from exam to exam and is provided on the score report.

  • For PCAP-31-02: A 15 days waiting period is required to re-sit that exam. There is no limit to the number of retakes of a failed exam. No retakes of a passed exam of the same exam version are allowed.
  • Microsoft Technology Associate (MTA) and Microsoft Certified Educator (MCE) exam retake policy:
    1. If a candidate does not achieve a passing score on an exam the first time, the candidate must wait 24 hours before retaking the exam.
    2. If a candidate does not achieve a passing score the second time, the candidate must wait seven days before retaking the exam a third time.
    3. A seven-day waiting period is imposed between each subsequent exam retake.
    4. A candidate may not take a given exam any more than five times per year (12 months). This 12-month period starts from the first attempt. The candidate is then eligible to retake the exam 12 months from the date of the first attempt.

98-381: For life

Customer Review

I am taking a Basics of python programming on uCertify. I have nothing but praise for how the courses were organized. At each chapter of the course, the course contents were activity filled, detailed and thoroughly explained. I would recommend this course to python enthusiast and professionals as well.

I used the uCertify Basics of Python Programming for 98-381 and PCAP-31-02 course. I must say that the uCertify platform is very much interactive and easy to use. The course is well structured and contains concise material that helps in understanding the concepts easily.

I was recently approached by uCertify, an e-learning platform that provides courses for various IT and Project Management certification exams. I interacted with their Python course to see why the site is worth learning with and yes, it is!