Test 1: Introduction, Python Setup and Comments

MCQs

30 questions · 25 min · 30 marks

Want to try first? Take the free Computer Science test: 94hbp-7gz9m-ufent-tsj4r

Sample questions

The first 5 of 30. Try each one, then tap to see the answer.

  1. Question 1

    Python is widely known for its:

    • AComplex syntax
    • BSimplicity and readability
    • CSlow speed only
    • DBeing only for games
    Show answer

    Answer: B

    Python is famous for its simplicity and readability.

  2. Question 2

    Python is a:

    • ALow-level language
    • BOperating system
    • CWidely-used high-level programming language
    • DDatabase
    Show answer

    Answer: C

    Python is a widely-used high-level programming language.

  3. Question 3

    Python is applicable to fields such as:

    • AWeb development, data analysis and artificial intelligence
    • BOnly web development
    • COnly games
    • DOnly hardware repair
    Show answer

    Answer: A

    Python is versatile and used in web development, data analysis and artificial intelligence.

  4. Question 4

    Computer programming is the process of:

    • ARepairing hardware
    • BTyping documents
    • CInstalling Windows
    • DCreating a set of instructions that tell a computer how to perform a task
    Show answer

    Answer: D

    Instructions are written in a programming language the computer can understand and execute.

  5. Question 5

    Giving directions to a friend on how to reach your house is compared to programming because the instructions must be:

    • AClear and precise
    • BLong and confusing
    • CRandom
    • DHidden
    Show answer

    Answer: A

    We give clear and precise instructions to the computer to complete specific tasks.

More tests in Introduction to Python Programming

Practise with a free account

Save your scores, see which chapters need work, and keep a notebook of every question you got wrong.

Create free account