Abstraction, Design and Coding

Breaking problems down, writing clear instructions, and the effects of technology.

9 questions, free, marked as you go with a worked explanation on every one.

What this covers

The questions

  1. What does abstraction mean in computer science?
  2. What is a loop used for in a program?
  3. A program is meant to draw a square but draws a triangle. What should you do first?
  4. Which of these are good reasons to break a big problem into smaller parts? Select all that apply.
  5. What is an algorithm?
  6. Which is a possible negative impact of new technology?
  7. A program controlling a school greenhouse contains this instruction: if the temperature is above 28 degrees Celsius, open the vent. What kind of coding structure is this?
  8. A robot is programmed to draw a regular hexagon by repeating this pair of steps six times: move forward 10 cm, then turn by the same angle each time. How many degrees must it turn at each corner?
  9. Use the table. Both methods correctly sorted the same five numbers. Which one is the more efficient algorithm for this problem?

Answer these free