4.1.4

Writing Your Own Program: Input, Outputs, Design

Test yourself on Writing Your Own Program: Input, Outputs, Design

Test your knowledge with free interactive questions on Seneca — used by over 10 million students.

Designing a ‘basketball’ game

Imagine you are making a basketball game. You need to think about how the game will look, the inputs, the outputs, and the parts of the game.

What will it look like?

What will it look like?

  • You will want to make your game attractive to the player.
    • You might want to make it look like a bird's-eye view of a basketball court.
    • The game should have a simple design.
What is the input?

What is the input?

  • The input is how the player will use the game.
    • What will the player need to do with the keypad, mouse, finger, etc. to control the game?
What is the output?

What is the output?

  • The outputs of the game are everything the game should do.
    • The ball can be moved with the red and blue boxes.
    • The ball should bounce off the walls.
    • If the ball hits the basket, you should add points to the team's score.
What are the parts of the game?

What are the parts of the game?

  • The parts of the game are the different components you can see, hear, or feel.
Parts of the game: examples

Parts of the game: examples

  • Parts of the game are:
    • the background design
    • the ball
    • the movement of the ball and hands
    • the bounce of the ball off the walls
    • the point-scoring
    • the effects (e.g. sound)
Jump to other topics

Practice questions on Writing Your Own Program: Input, Outputs, Design

Can you answer these? Test yourself with free interactive practice on Seneca — used by over 10 million students.

  1. 1
  2. 2
  3. 3
  4. 4
Answer all questions on Writing Your Own Program: Input, Outputs, Design

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium