Are you ready for a Python interview?
Do you want to check your preparation for Python written exams/tests?
Have you read multiple books and attended multiple course but you are not sure, if all your concepts are spot on?
Are you simply looking for quality python quiz questions?
If the answer to any of the above question is YES, then this is the course for you.
This course can also be used to complement your Python studies. Questions can be used to test your freshly acquired knowledge and give you confidence and motivation to go on further.
Basic to intermediate Python concepts are covered to assess your knowledge and skills. Questions are arranged in an orderly manner to provide ease of understanding.
1st Exam covers following topics:
Built-in types
Identifier naming rules
Sequence types(List, Tuple, Set, Dictionary, String)
int, float and Boolean types
bool() and print() function.
indexing and slicing
del statement and None keyword
Sequence functions: len(), sort(), sorted(), min(), max(), index() and count()
String functions: upper(), lower(), capitalize(), title(), split(), join(), strip(), lstrip(), rstrip(), trim(), find(), rfind(), count() & replace()
List functions: remove(), pop(), extend(), append()
Set functions: update(), add()
Dictionary functions: pop(), get(), setdefault()
Triple single-quote('''), triple double-quote("""), single-quote('), double-quote(")
Immutability of string and tuple
2nd Exam covers following topics:
Operators, conditional statements and loops
Numeric operators: +, -, *, **, /, //, %
Sequence operators: +, *
Bitwise operator: ~ & ^ | << >>
Boolean operators: and, or, not
Relational operators: <, >, <=, >=, ==, !=
conditional statements: if, if-else, if-elif, if-elif-else
for, for-else, while, while-else loops and range()
break & continue statements
in and not in operators
operator precedence
unpacking syntax
set operators: &(intersection), |(union) and ^(symmetric difference)
String functions: startswith(), format()
Dictionary functions: keys(), values() and items(), update()
Set functions: union(), intersection(), difference()
Comprehension syntax of List, Dictionary & Set
built-in functions: str(), int(), input(), enumerate()
3rd Exam covers following topics:
Functions, lambdas and modules
def keyword and function parameters (non-default, default)
Invoking functions and its arguments (positional, keyword)
* and ** for parameters and * and ** for arguments
return statement
Local and Global variables
global and nonlocal statements
Variable shadowing
Lambda expressions
modules and import statements
__doc__, __annotations__, __defaults__ attributes
inner/nested functions
f'' string
decorator
Classes and objects
class keyword
Important dunder methods: __init__, __repr__, __eq__
Important functions: id(), dir(), hex(), isinstance(), type(), super()
self parameter of instance methods
@classmethod and @staticmethod decorators
@property and @<var>.setter decorators
Inheritance
dir() function
Name mangling
Detailed explanation is also provided for each question.
NOTE: All the codes in this course are verified against Python 3.7.
Most of the Quiz questions are not straight forward. There are tricky questions included to flex your python muscles.
So, grab a cup of coffee or your favorite drink and test your Python skills.
Features of Practice Tests:
You can pause the test at any time and resume later.
You can retake the test as many times as you would like.
The progress bar at the top of the screen will show your progress as well as the time remaining in the test. If you run out of time, don’t worry; you will still be able to finish the test.
You can skip a question to come back to at the end of the exam.
You can also use “Mark for Review” to come back to questions you are unsure about before you submit your test.
If you want to finish the test and see your results immediately, press the stop button.
Copyright 2024 Udayan Khattry
All rights reserved. No part of this course may be reproduced in any form or by any electronic or mechanical means, including information storage and retrieval systems, without permission in writing from the author.