App development · lesson 7 of 24 · free

Input, processing and output — App development for students

Every app follows the same pattern. Input is what the user gives: typing a price, tapping a button, taking a photo. Processing is the work the app does: adding up a bill, checking a password, working out a tip. Output is what the user gets back: a result on screen, a beep, a buzz or a pop-up. Reading a few lines of app code, you can spot which line is the input, which line does the processing and which line shows the output.

▶ Watch how it works

Got it? Practise ↓

Developer's tip

In, work, out — “the user gives input, the app processes it, the user gets output”

  1. Input → processing → output.
  2. Input: typing, tapping, a photo, your voice. Output: a result on screen, a sound, a buzz, a pop-up.
  3. In code, the processing line works out a new value from the inputs; show() is the output.

Use it for: Planning what each screen of your app takes in and gives back.

Worked example: ⚙️ Which line does the processing (works out the answer)?
line 1: let price = 35; // typed by the user
line 2: let qty = 3; // typed by the user
line 3: let total = price * qty;
line 4: show(total); → line 3

  1. Lines 1 and 2 are typed by the user — inputs. Line 4 shows the result — output.
  2. Line 3 works out price × qty — that is the processing.

Check: It would show 35 × 3 = 105 ✓

▶ Watch it animated

✏️ Practice

Work it out in your head or on paper, type the answer and press Check. Stuck? Press “Show me how”.

Right: 0 · Tried: 0

🏁 Lesson 7 test

20 questions. Check each answer, then go to the next one. Get 16 or more right to pass.

🏅 Sign in with Google to earn the ⚙️ Input-Output Wizard badge when you pass — and a certificate when you finish all 8 lessons of Part 1 · What Apps Are. You can still take the test without signing in.

🖨️ App Dev Worksheet: Input, Processing, Output

✨ Free AI tutor

Ask the AI tutor about this lesson

Why does it work? When should you use it? Ask in English, मराठी or हिंदी.

Sign in with Google to ask Free — 20 questions a day.

👩‍🏫 App development classes near you — online or at home

Prefer a real teacher? TalentJR teachers take live online classes anywhere in India and visit homes in selected cities. Tell us what you need and our team will call you with timings and fees.

Live online classesSmall groups or 1:1 with a teacher, from home, any city.
Teacher at homeA TalentJR teacher visits your home (selected cities).
At a centreClasses at a TalentJR partner centre near you, where available.
Badges, certificates & gifts A badge for every lesson you pass, a certificate for every part you finish, plus TalentJR Points for daily practice. HTML, CSS & web development Build web pages with HTML, CSS and a little JavaScript.