FREE! Click here to Join FunTrivia. Thousands of games, quizzes, and lots more!
Quiz about Python Programming Language
Quiz about Python Programming Language

Python Programming Language Trivia Quiz


Python is a high level programming language. This quiz covers the basics of the language, its history and recent events related to the language.

A multiple-choice quiz by anandpillai. Estimated time: 5 mins.
  1. Home
  2. »
  3. Quizzes
  4. »
  5. Science Trivia
  6. »
  7. Computers
  8. »
  9. Software and Programming

Author
anandpillai
Time
5 mins
Type
Multiple Choice
Quiz #
139,672
Updated
Dec 03 21
# Qns
10
Difficulty
Tough
Avg Score
5 / 10
Plays
776
- -
Question 1 of 10
1. Who created the Python programming language? Hint


Question 2 of 10
2. Why was the language called "Python "? Hint


Question 3 of 10
3. Which of these languages does Python resemble in its class syntax? Hint


Question 4 of 10
4. Which languages does Python owe its origin to? Hint


Question 5 of 10
5. Which of these languages have strong support for regular expressions? Hint


Question 6 of 10
6. The following is NOT considered as an advantage of the Python programming language. Hint


Question 7 of 10
7. Python is one of the pillars of the active opensource software community. Which are the other languages promoted by the opensource community ? (HINT: These languages are sometimes wrongly called 'scripting' languages) Hint


Question 8 of 10
8. Which of these languages has Python NOT borrowed its features from? Hint


Question 9 of 10
9. What is the Java implementation of Python popularly known as ? Hint


Question 10 of 10
10. Which are the Usenet newsgroups on the Python programming language? Hint



(Optional) Create a Free FunTrivia ID to save the points you are about to earn:

arrow Select a User ID:
arrow Choose a Password:
arrow Your Email:




Most Recent Scores
Nov 19 2024 : Guest 176: 6/10
Sep 23 2024 : Guest 71: 7/10

Score Distribution

quiz
Quiz Answer Key and Fun Facts
1. Who created the Python programming language?

Answer: Guido van Rossum

The Python programming language was created by Guido Van Rossum in 1991.
2. Why was the language called "Python "?

Answer: The inventor is a fan of "Monty Python's Flying Circus".

Guido is a fan of the Monty Python's Flying Circus, a comedy series from the seventies.
3. Which of these languages does Python resemble in its class syntax?

Answer: C++

C++ uses the "class" keyword for describing self contained entities called "Objects" in the Object Oriented Programming jargon. Python has borrowed the "class" keyword from C++ for describing objects.
4. Which languages does Python owe its origin to?

Answer: ABC, Modula-3

Guido was a member of the distributed system group at CWI in the late 80s. They used a language called 'ABC' there for scripting tasks. Guido felt it lacked certain features he wanted. He also did not want to use Bash scripting/C for routine system administration tasks. He created Python , borrowing the good features of ABC and another language called Modula-3.
5. Which of these languages have strong support for regular expressions?

Answer: Python, Perl, Ruby

Python, Perl and Ruby have strong support for regular expressions either built into the language or in the core modules. C is a much lower level language. Java also does not feature regular expression support in its core library. HTML is the markup language used to create webpages and does not support any features of programming languages.
6. The following is NOT considered as an advantage of the Python programming language.

Answer: Ideally suited for fast and memory intensive tasks like number crunching.

Python is considered to be an easy language for the novice to learn. It is also well suited for the expert in the field. It is natively object oriented and easily extendable by using languages like C/C++/Java. It allows for rapid development because of the clean and easy syntax and ability to do quick prototypes.

But owing to the fact that it uses an intepreter and its basic memory model, it is not ideally suited to perform tasks that rely on speed and memory like number crunching (Parallel processing, Numeric computations, System programming, Parsing) which are better done in languages like C/C++.

It can be used to some extent for these tasks with the help of C extension libraries.
7. Python is one of the pillars of the active opensource software community. Which are the other languages promoted by the opensource community ? (HINT: These languages are sometimes wrongly called 'scripting' languages)

Answer: Perl, Ruby, Tcl, Lua

The four languages, namely Perl, Python, Tcl and Ruby rose to prominence in the 90s. They are considered as high level languages suited for a range of tasks like application development, system programming, networking and scripting routine tasks. These languages have rich third party library support which are mostly opensource.

These five languages are the most actively supported by the opensource software community and are considered as the computer languages of the future.
8. Which of these languages has Python NOT borrowed its features from?

Answer: Fortran

Python has borrowed features from other languages. It borrows its class syntax from C++, function/functional programming idioms and lambda syntax from CLISP, and object orientation concepts from Java. But as far as I know, it has not borrowed any features from Fortran!
9. What is the Java implementation of Python popularly known as ?

Answer: Jython

Python has two popular implementations, one that uses C and another that uses Java. The former is known as CPython (or just "Python", since it is the most popular) and the latter is called as Jython or JPython.
10. Which are the Usenet newsgroups on the Python programming language?

Answer: comp.lang.python, comp.lang.python.announce

Usenet archives computer language groups in its comp.lang newsgroup.
Python has two groups in this, comp.lang.python for questions on the language and comp.lang.python.announce for announcements of new programs, language features, products or events.
Source: Author anandpillai

This quiz was reviewed by FunTrivia editor crisw before going online.
Any errors found in FunTrivia content are routinely corrected through our feedback system.
Related Quizzes
1. Java Average
2. Computer Viruses Difficult
3. Beginning C Programming Average
4. Compact Discs (CDs) Tough
5. Microsoft Word 2000 for Windows Average
6. Oh Say Can You C++, Version 1.0 Average
7. SQL Commands and Database Concepts Average
8. Java Programming Average
9. Data Structures Tough
10. Number Bases Average
11. Software Engineering Tough
12. Sorting Tough

11/21/2024, Copyright 2024 FunTrivia, Inc. - Report an Error / Contact Us