Cards (28)

  • What type of programming language is Python?
    High-level, interpreted programming language
  • Who created Python and in what year?
    Guido van Rossum in 1991
  • What is the main design emphasis of Python?
    Code readability
  • How does Python's syntax benefit programmers?
    Allows expression in fewer lines of code
  • What are the main uses of Python?
    • Web development (server-side)
    • Software development
    • Mathematics
    • System scripting
  • How can Python be used on a server?
    To create web applications
  • What can Python do with database systems?
    Connect, read, and modify files
  • How does Python handle big data?
    By performing complex mathematics
  • What is one use of Python in software development?
    Rapid prototyping
  • What is the latest version of Python as of now?
    3.13
  • When was Python 3.13.0 released?
    October 7, 2024
  • What are key features of Python?
    • Easy to learn and use
    • Cross-platform compatibility
    • Extensive libraries
    • Dynamic typing
    • Versatile programming paradigms
    • Open source
  • Why is Python considered easy to learn?
    Its simple and readable syntax
  • What does cross-platform compatibility mean for Python?
    Runs on Windows, macOS, and Linux
  • What is dynamic typing in Python?
    Variable types are determined at runtime
  • What does it mean that Python is open source?
    Free to use, distribute, and modify
  • Why should beginners learn Python?
    • Easy syntax like plain English
    • Built-in libraries for learning
    • Understandable error messages
    • Project-oriented learning approach
  • Name some famous applications built using Python.
    • YouTube
    • Instagram
    • Spotify
    • Dropbox
    • Netflix
    • Google
    • Uber
    • Pinterest
  • How can you check if Python is installed on a Windows PC?
    Search for Python in the start bar
  • How can you check if Python is installed on Linux or Mac?
    Open command line or Terminal
  • What is the purpose of the print() function in Python?

    Displays output on the screen
  • What is a string in Python?
    A sequence of characters enclosed in quotes
  • How do you exit the Python command line interface?
    Type exit command
  • What are comments in Python used for?
    • Enhance code readability
    • Identify functionality
    • Explain tricky scenarios
    • Prevent execution of code parts
  • Why is indentation important in Python?
    Indicates a block of code
  • How does indentation affect code execution in Python?
    Incorrect indentation causes errors
  • How many spaces are commonly used for indentation in Python?
    Four spaces
  • What happens if you use inconsistent indentation in Python?
    Python will give you an error