Summary: Python Programming

Study material generic cover image
  • This + 400k other summaries
  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
PLEASE KNOW!!! There are just 26 flashcards and notes available for this material. This summary might not be complete. Please search similar or other summaries.
Use this summary
Remember faster, study better. Scientifically proven.
Trustpilot Logo

Read the summary and the most important questions on Python programming

  • 1 Basic concepts of programming

    This is a preview. There are 5 more flashcards available for chapter 1
    Show more cards here

  • Where does the CPU (Central Processing Unit) consist and their function?

    1. Memory Unit: temporarily stores data during processing. 
    2. Control Unit: manages the flow of data and instructions
    3. Arithmetic Logic Unit (ALU): performs calculations and logical operations
  • What is the difference between input Unit and output unit?

    The input unit are devices like keyboards, mice and scanners and the output units are devices like monitors, printers and speakers or produce the results of the processed data.
  • What is the difference between hardware and software?

    Hardware refers to the physical parts of the computer (CPU, memory, storage devices) while software refers to the programs and applications that tell the computer what to do (such as a operating system macOS or apps/games)
  • What is a algorithm in programming?

    An Algorithm is a sequence of instructions that a computer must perform to solve a problem.
  • 1.1 Errors

    This is a preview. There are 2 more flashcards available for chapter 1.1
    Show more cards here

  • Which three errors can occur in a program?

    1. Syntax errors
    2. Runtime error
    3. Semantic errors
  • What are syntax errors?

    Python can only execute a program if the program is syntactically correct, otherwise the process fails and returns an error message (syntax errors).
  • What are runtime errors in programming?

    Runtime errors occur when you run the program while the code has successfully compiled. These can happen when there is an invalid operation, unexpected condition or incorrect logic, causing it to crash.
  • What are semantic errors?

    When you have a semantic error your program wil run successfully but will not generate any error messages, but it will not do the right thing. (The program you wrote is not the program you wanted to write)
  • 2 Python programming

    This is a preview. There are 1 more flashcards available for chapter 2
    Show more cards here

  • What is print() in python?

    This is a built in function that instructs the computer to display text on the screen
    • print = ("Hello, World!")
  • What are comments in Python?

    These are lines after a # , that are ignored by the interpreter during the execution of the program but can be used to enhance the readability of the code or can be used to prevent executing any specific parts of a code, while making changes or testing.
PLEASE KNOW!!! There are just 26 flashcards and notes available for this material. This summary might not be complete. Please search similar or other summaries.

To read further, please click:

Read the full summary
This summary +380.000 other summaries A unique study tool A rehearsal system for this summary Studycoaching with videos
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart

Topics related to Summary: Python Programming