Algorithms and flowchartsIB MYP Maths Standard: Flashcards
What these 13 flashcards ask
- What is an algorithm?
- What are the three main parts of an algorithm?
- Which flowchart shape shows a decision?
- Which flowchart shape shows start and stop?
- Which flowchart shape shows an input or output?
- Which flowchart shape shows a process (calculation)?
- What is a trace table?
- What is a loop?
- Trace: n=3, total=0; add n, reduce n by 1, repeat while n0. Output?
- What is a term-to-term rule?
- First four terms: u1=3, rule \times2+1?
- Algorithm for ax+b=c?
- Why does the ax+b=c algorithm fail if a=0?
Exam questions on Algorithms and flowcharts
- An algorithm is written in steps. Step 1: Set and . Step 2: Add to . Step 3: Reduce by . Step 4: If , go back to Step 2; otherwise output and stop.Step 1 is changed to set . Find the new output.2 marks
- A flowchart takes a number as its input. Process: double and subtract to get . Decision: if , output the word "Large"; otherwise output .Find the smallest whole number input that gives the output 'Large'.2 marks
- A sequence is generated by an algorithm. Step 1: Set the first term . Step 2: To get the next term, multiply the previous term by and then add . Step 3: Repeat Step 2 until the terms needed have been found.Use the algorithm to find the first five terms of the sequence.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).