subject

The primary of goal of this homework is to practice the mips assembly language (e. g., arithmetic operation, loop, condition, function, etc.) by programming a simple game. a computer will think a three-digit random number and you will guess and find it out. first of all, the computer randomly generates a three-digit random number, e. g. 1 2 3, 8 3 9, 0 4 5, or 7 3 2. for the sake of simplicity, each digit cannot be duplicated. for example, 1 3 3, 7 2 7, 0 0 9, or 8 8 8 are not allowed. when you guess the number, the computer will response in terms of number of strike(s) and ball(s), e. g., 2 strikes 0 ball. based on the number of strike(s) and ball(s), you will have a clue about the number what the computer is currently thinking. there is a set of rules: ï‚· strike(s): the computer will response with a strike, if your input digit and position are matched with computer's. let say, the computer has 4 2 9. if you type 0 1 8, the computer will response with "0 strike", because all your digits and their positions are not matched. if you type 5 2 7, the computer will response with "1 strike", because one of digits (i. e., 2) and its position is matched. if you type 4 3 9, the computer will response with "2 strike

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
What must you do before formatting a paragraph?
Answers: 1
question
Computers and Technology, 22.06.2019 04:30
Kyle, a receptionist for a building supply company, recently won an award for saving his company money on their phone system. after being presented with kyle's research, the company changed the way in which it made long-distance phone calls and cut their expenses in this area by 75 percent. the new system the kyle's company most likely adopted was wired communications switching stations voip hdtv
Answers: 3
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
For the following example of making a peanut butter and jelly sandwich, identify which are inputs, processes, or outputs: bread scooping and spreading peanut butter plate scooping and spreading jelly finished sandwich putting two pieces of covered bread together dirty plate crumbs
Answers: 2
You know the right answer?
The primary of goal of this homework is to practice the mips assembly language (e. g., arithmetic op...
Questions
question
History, 24.07.2019 13:30
Questions on the website: 13722360