A program is being designed that will allow a user to log into an account on a website using a username and password.
Identify two possible inputs and one output this program will need.
Did this page help you?
A program is being designed that will allow a user to log into an account on a website using a username and password.
Identify two possible inputs and one output this program will need.
How did you do?
Did this page help you?
A Nonogram is a logic puzzle where a player needs to colour in boxes. The puzzle is laid out as a grid and each square needs to be either coloured black or left white.
The numbers at the side of each row and column tells the player how many of the boxes are coloured in consecutively. Where a row has two or more numbers, there must be a white square between the coloured squares.
In this example:
the first column has 1 1, this means there must be two single coloured boxes in this column. There must be at least 1 white box between them.
the first row has 2, this means there must be two consecutively coloured boxes in the row.
Juan is creating a program that will store a series of Nonograms for a user to play. The game will randomly select a puzzle and display the blank grid with the numbers for each row and column to the user.
The user plays the game by selecting a box to change its colour. If the box is white it will change to black and if it is black it will change to white. The user can choose to check the answer at any point, and the game will compare the grid to the answers and tell the user if they have got it correct or not.
Juan is creating a structure diagram to design the game.
Identify one input, one process and one output required for the game.
How did you do?
Did this page help you?