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, 23.06.2019 02:00
Which demographic challenge is europe currently experiencing? a. an aging and decreasing population b. a baby boomc. an unequal distribution between males and females d. a large group of teenagers moving through the school system(i chose a but i'm unsure)
Answers: 1
question
Computers and Technology, 23.06.2019 05:00
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most?
Answers: 2
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
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
Mathematics, 02.12.2020 02:10
question
Mathematics, 02.12.2020 02:10
question
Mathematics, 02.12.2020 02:10
question
Mathematics, 02.12.2020 02:10
question
Mathematics, 02.12.2020 02:10