Now is the time to get certified for Python!
There are three Python certification exams on the market:
Microsoft MTA 98-381: Introduction to Programming Using Python
Python Institute PCAP-31-02/PCAP-31-03: Certified Associate in Python Programming
Python Institute PCEP-30-01: Certified Entry-Level Python Programmer
The questions will be from the following knowledge areas:
Basics, Data Types, Operators, Data Aggregates, Control Flow, Functions
I/O, Error Handling, Modules
There are six practice tests with preparation questions from all knowledge areas.
Which questions for which certification:
If you prepare for the Microsoft MTA 98-381 certification you can skip the questions from the knowledge area OOP.
If you prepare for the PCEP-30-01 certification you can skip the questions from the knowledge areas
OOP, I/O, Error Handling and Modules.
If you prepare for the PCAP-31-03/PCAP-31-02 certification you will need all knowledge areas.
Every question has an explanation and a Try-it-yourself-code which you can run to better understand the topic.
Preparation question topics:
cache (__pycache__, pyc), code points, encoding (ASCII, encode(), Unicode, UTF-8), escaping, indentation, shebang #!, sys.argv
basic data types (int, float, str, bool), chr-ord(), complex, copy(), del, eval(), id(), input(), isdigit(), mutable/immutable, None, octal notation, print() with parameter, scientific notation, string comparison, string concatenation, string slicing, type casting (int(), float(), str() bool()), type()
arithmetic operators, assignment operators & multiple assignments, bitwise operators, identity operator, logical operators, membership operator, operator precedence, relational operators
append(), dictionary, list, set, tuple, indexing & slicing, find() & rfind(), format(), insert(), keys() & values(), len(), list indexing & slicing, list(), set(), LIFO, list/tuple concatenation, lower() & upper(), max(), sum(), pop(), remove(), sorted(), stack, split(), tuple assignment
break & continue, conditional expression (if else), else (nobreak), for, generator expression, if elif else, list comprehension, range(), while
argument passing, built‑in functions, def, default parameter, filter(), function header, generator, generator function, global, isalnum(), lambda, map(), sort(), mutable argument, naming functions, pass, positional/keyword argument, recursive functions, return, returning a tuple, scope, shadowing, yield
bytearray, close(), open() and its modes, read(), readline(), readlines(), seek(), with, write(), writelines()
args, assert, ArithmeticError, AssertionError, AttributeError, BaseException, errno.EEXIST, Exception, FileExistsError, ImportError, IndexError, io.UnsupportedOperation, MemoryError, NameError, raise an exception, runtime error, SyntaxError, try except else finally, TypeError, user defined exception, ValueError, ZeroDivisionError
__name__, __pycache__, calendar (Calendar(), isleap(), iterweekdays(), setfirstweekday(), week, weekheader()), datetime (date(), strftime(), timedelta()), dir(), from & import, functools.reduce(), math (ceil(), e, fabs(), floor(), fmod(), frexp(), pi, pow()), os (chdir(), getcwd(), listdir(), mkdir(), module, namespace, package, path.isfile()), pip (--version, install, list, search, show, uninstall), platform (system(), version()), pyc, PyPI, random (choice(), randint(), random(), randrange(), seed(), shuffle()), re modul, sys (exit(), stderr()), time.sleep()
__init__(), __str__(), class, class variable, constructor, hasattr(), inheritance, instance variable, isinstance(), issubclass(), method overriding, MRO, multiple inheritance, object, object variables, operator overloading, private attributes (single underscore, double underscore), self, subclass, super()
Here some general tips for online exams:
If you find the right answer, trust yourself and move on. You can double check later if there is still time.
Don't always look at the answers too early. If there is a question like "What is the expected output ...", try to calculate the output without looking at the answers. If you then find your calculation in the answers, Bingo!
You have to find your rhythm. If there is a question in the beginning, that blocks you, mark it and move on. You can do that one later.
Why learn Python?
Python is easy to learn. The syntax is simple and the code is very readable. With Python, you can write programs in fewer lines of code than with most other programming languages. The popularity of Python is growing rapidly. It is now one of the most popular programming languages. Python has a wide variety of applications. It is used for automation, web application development, artificial intelligence, data science and so on:
Python can make life easier by automating many tasks, such as scraping a website to collect data, automating test cases in software development, or automating everyday office tasks. Python can easily access and read all kinds of files, which opens up the possibility of saving a lot of time by automating repetitive tasks.
Python is a good choice for rapid web application development. With many frameworks like Django, Pyramid, and Flask, you can develop web applications with great speed using Python. Python is used on the server side of web development. You can use Python to interact with database and create RESTful API services.
The near future will be the era of artificial intelligence. In the past, computers and machines were used to perform mathematical calculations at very high speeds, but now many large organizations and researchers are working to develop intelligent systems that can perform tasks like a human. To some extent, machines are able to understand human emotions and their natural language. They can mimic certain human actions that were not possible before. Again, Python is very popular for developing AI systems.
Earlier, Python was mainly used to build applications and write scripts to automate tasks, but now a brand new trend of data science has given Python an even bigger boost. Data scientists are heavily dependent on Python because it is so simple, has a large community, and can perform huge calculations with ease.
Python is being used in a wide variety of fields, and there are no signs that this trend is coming to a halt. It's safe to say that Python is here to stay for the long haul in this ever-changing and evolving IT industry.