Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Given they are thinking of hard drive (internal), register, compilation, interpretation
- BEGIN 'Software Akinator'
- ASK 'Is it a component of a computer that can be physically touched?'
- IF yes
- ASK 'Is it an internal component?'
- IF yes
- ASK 'Is it a part of the Cpu?'
- IF yes
- ASK 'Is it a register ?'
- IF yes
- Display 'Gotcha'
- ASK 'Do you want to play again?'
- IF yes
- RETURN TO 'Software Akinator'
- ELSE
- DISPLAY 'Thanks for playing'
- EXIT
- ELSE
- ASK 'Is it a Hard drive?'
- IF yes
- Display 'Gotcha'
- ASK 'Do you want to play again?'
- IF yes
- RETURN TO 'Software Akinator'
- ELSE
- DISPLAY 'Thanks for playing'
- EXIT
- ELSE
- ASK 'Is it software?'
- IF no
- ASK 'Is it a type of process?'
- IF yes
- ASK 'Does it translate human-readable code to machine-executeable code?'
- IF yes
- ASK 'Is it compilation ?'
- IF yes
- Display 'Gotcha'
- ASK 'Do you want to play again?'
- IF yes
- RETURN TO 'Software Akinator'
- ELSE
- DISPLAY 'Thanks for playing'
- EXIT
- ELSE
- ASK 'Is it a Interpretation?'
- Display 'Gotcha'
- ASK 'Do you want to play again?'
- IF yes
- RETURN TO 'Software Akinator'
- ELSE
- DISPLAY 'Thanks for playing'
- EXIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement