Self-test your mastery of Python - or that of your co-workers and friends - by reviewing this starter set of 10 common interview questions & answers.
The concepts reviewed in this introductory set of questions (Lessons #K0001 - K0010) spans 7 "beginner," as well as 3 "intermediate" Python programmer concepts. No "advanced" questions are included.
Also available on Udemy, students should note that all concepts presented in this first set of Python Interview Questions have been hand-selected by the author from his Python Primer (Python 1000,) as well as his Beyond the Basics (Python 2000) on-line training opportunities.
Fellow Python enthusiasts should note that this set of Python Interview Questions also serves as an introduction to the author's official Know How question & answer series. Unlike this set first of lessons, the questions and answers included in the author's "Know How" series include concepts found throughout the author's Python 3000 training opportunities, as well as a related set of information from the authors blog, and his Tactical Python Projects video presentations.
Introduction: Presentation Strategy & Lesson Review
Discover how to avoid "IDE Fever" by reviewing how the Operating System finds Python, the "Python Path," as well as how to run Python scripts from the command line.
Another common interview question, this lesson will help you be prepared to discuss what is commonly meant when we say "module" or "script" in Python.
Review how to document a live Module, as well as the Module at-rest. Discover how to use help() so as to review what we have defined in our active programming sessions.
Demonstrate Python mastery by creating ranges, as well as enumerating through collections by understanding the three forms of each.
Slicing questions are becoming popular. This lesson will review slicing concepts so as to help you answer the type of slicing questions that are almost sure to be asked of every Python software developer.
Like it or not, formatting data is simply part of what every professional Python software developer must do. The king of know-how, start your data-formatting review by mastering how to print the most know-how worthy format requested from this-man's interview list: Money!
Everyone should understand this concept, but some do not. Be prepared!
Python's greatest strength is also it's greatest weakness: Be prepared to discuss why testing every execution point in a Python application is more important than in any other popular programming language.
There is allot of confusion over the way Python shares Objects. Demonstrate your mastery of Python by telling everyone how Python accomplishes much the same things as passing Objects around by Reference & by Value, by officially having little need to be aware of either!
Another intermediate question, be prepared to discuss how a "typeless" language such as Python also allows us to perform class-name & instance-type checking.
I've over 30 years of experience.
"Mr. Nagy presently earns his keep in the world by providing technology mentoring, training, hands-on consulting / software development, & customized content creation services.
Mr. Nagy has served as both a Principal Trainer & Principal Software Development Engineer. His "Linked In" recommendations testify to a 30+ year track record of excellent personal communication skills, design & analysis abilities, as well as superior consulting & training results.
Though tenured, Mr. Nagy is most often described as being extremely technical, yet very personable & easy to get along with.
The author of over 26 Open-Source Projects, Mr. Nagy's hands-on experience includes topics such as C/C++, Python, SO / SOA, Security, Testing, UML, Java/JEE, .NET (C# and VB.NET), LAMP, Hadoop, jQuery, HTML 5, Android, and more. Maintaining techniques in embedded engineering, Mr. Nagy has experience creating custom training for such expert-level, high-performance technologies as IBM Rhapsody.
Technically speaking, "... from the best Service-Oriented practices to embedded engineering, I maintain an extensive hands-on skill set. From Java and C/ C++, C#, PHP, Python, Ruby, HTML 5 and Web 2.0, I have both designed and implemented architectures from the UI / RIA to the server, well into the RFC Layer. …
I also have over 150 successful training / mentoring, publication, and speaking engagements to my credit. Recent experience includes such state-of-the art technologies as Hadoop, Android, WSO2, and TFS."