Summary: Programmeren

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
Use this summary
Remember faster, study better. Scientifically proven.
Trustpilot Logo

Read the summary and the most important questions on Programmeren

  • 1.1 Printing text

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

  • What does the print() function do?

    It prints whatever is between the round brackets
  • Because Hello is a word, a piece of text, it needs to be.......

    Enclosed in quotation marks --> ' '
  • Printing in Python can be done with print and round brackets () and single quotes (' '). But, it can also be done with?

    Double quotes ( "  " )
  • How can you print multiple lines in python?

    • With the \n character (no spaces before or after the character)
    • Triple quotes (" " ")
  • What is the difference between printing text and printing numbers? Numbers are printed like this: print(5), while text...

    Can be printed between singles or double quotes.

  • 1.2 About Assignments

    This is a preview. There are 11 more flashcards available for chapter 1.2
    Show more cards here

  • Why do we want store values before printing?

    Because the same piece of information is present in printed text multiple times.
  • How do we call text in programming?

  • What is the difference between a triple quoted string and a single or double quoted one?

    Triple quotes strings may contain newlines
  • How do you use a f-string?

    You need to place the letter f before a string, than use the variable inside it. Like this:  

    f"Hello {name}"
  • How is a variable called when it remains the same in an entire program?

    It has to role as        fixed value

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