• Home
  • Y9
    • Unit 1 - Introduction
    • Unit 2 - Text Adventure
  • Y10
    • Term 1 >
      • Introduction
      • 1 - Solving Problems
      • 2 - IPO
      • 3 - Strings
      • 4 - Flowcharts
  • Y11
    • Coursework >
      • 1. Design of Solution
      • 2. Solution Development
      • 3. Programming Techniques
      • 4. Evaluation & Testing
      • Exemplars
      • Literacy Support
    • Theory >
      • Data Representation
      • Networks
      • SDLC
      • SQL
  • Home
  • Y9
    • Unit 1 - Introduction
    • Unit 2 - Text Adventure
  • Y10
    • Term 1 >
      • Introduction
      • 1 - Solving Problems
      • 2 - IPO
      • 3 - Strings
      • 4 - Flowcharts
  • Y11
    • Coursework >
      • 1. Design of Solution
      • 2. Solution Development
      • 3. Programming Techniques
      • 4. Evaluation & Testing
      • Exemplars
      • Literacy Support
    • Theory >
      • Data Representation
      • Networks
      • SDLC
      • SQL

Week 3 - Input, process, output and storage

Identifying IPOS from code

Click the Run button below to start the programs (they will run one after another in this example). Then, in your books, identify the inputs, processes, outputs and storage for the following code snippets and answer the questions for each program in full sentences:
Keyword: CONCATENATION = join together
In the context of coding, we can concatenate the value of a variable with other string text
Picture
#BUT WHY??
Time to get your hands dirty in Python!
For each of the programs shown below, create an IPOS box (in your books) and then code the solution in Python. Save each challenge as a separate file (you might create a Python folder in your Home Directory!).

Challenge 1 - Write a program that:
  • asks the user to input 2 numbers
  • divide the first number by the second number
  • output the result
Challenge 3 - Write a program that:
  • ​asks the user to input 3 number
  • calculate the fourth exponent of each number
  • output each original input number and its fourth exponent value
Challenge 2 - Write a program that:
  • asks the user their name
  • ask what their favourite song is
  • respond to them by saying that you like that subject as well​
Challenge 4 - Write a program that:
  • ​explain what parentheses are
  • using an example, explain what the purpose of the MOD function is in Python
  • how does BODMAS affect math calculations in Python?