1 Answer #1, Quiz #1 Lp:slt $t0,$s1,$s2 # $t0 = a<b slt $t1,$s1,$s2 # $t1 = a<c and $t2,$t0,$t1 # $t2 = $t1 && $t0 beq $t2,$zero,End addi $s1,$s1,1 # $s1.

Slides:



Advertisements
Similar presentations
QUIZ-A QUICK PROGRESS CHECK ON YOUR UNDERSTANDING.
Advertisements

Add title Add a picture or a description. Question 1(True) Click to type your question here I have made this an easy True/false question true False Next.
MIPS assembly. Review  Lat lecture, we learnt  addi,  and, andi, or, ori, xor, xori, nor,  beq, j, bne  An array is stored sequentially in the memory.
……+(4n-3) = n(2n-1) P 1 = 1(2(1)-1)=1 check.
Solution 2nd Exam.
The University of Adelaide, School of Computer Science
Ready. Steady Go! 40+60= x Level 1 Time
AB 11 22 33 44 55 66 77 88 99 10  20  19  18  17  16  15  14  13  12  11  21  22  23  24  25  26  27  28.
CSCE 212 Quiz 2 – 2/2/11 1.What is the purpose of the jal instruction? 2.What are the two conditional branching (if, goto; not the slt instruction) instructions.
Create Your Own Quiz Quiz Rules & Guidelines  You and your partner will create a minimum 5 problem, multiple choice quiz along with an answer key. 
True/False. False True Subject May Go Here True / False ? Type correct answer here. Type incorrect answer here.
Section 2.6 Question 1. Section 2.6 Answer 1 Section 2.6 Question 2.
Determine whether each curve below is the graph of a function of x. Select all answers that are graphs of functions of x:
(BASIC MATH) QUIZ. START!! Click Here!! 1. What is Addition? a. The act or process of adding numbers. The act or process of adding numbers. b. The act.
START Help Pac-Man find his dinner by answering math questions correctly. Try to go as fast as you can. You can do it! Click the Pac Man to begin playing.
6 th grade math EDCI 270 Julia Kline Previous Home.
Warm-Up 1) 2) 3) 4) Name the dimensions. Quiz – you may not use your notes 1) 2) 3) 4) Name the dimensions Check your work!! Watch out for careless errors.
Quiz Name Here Click to start Question 1 Type question here Wrong Answer Right Answer.
AE1205 Programming Python Quiz: so how do we generate Numbers 1 to 10? range( ) Numbers 5,10,15,20,25 to 100? range( ) Numbers 20,18,16, to 0? range( )
CLASS OPENER: Is the given sequence arithmetic, if so what is the common difference? 1.1,4,9,16… 2.-21, -18, -15, -12… 3.97, 86, 75, 64… 4.0, 1, 3, 6,
CSCI-365 Computer Organization Lecture Note: Some slides and/or pictures in the following are adapted from: Computer Organization and Design, Patterson.
$1,000,000 $500,000 $100,000 $50,000 $10,000 $5000 $1000 $500 $200 $100 Is this your Final Answer? YesNo Question 2? Correct Answer Wrong Answer.
Objectives The student will be able to: Factor using the greatest common factor (GCF). SOL: A.2c Designed by Skip Tyler, Varina High School.
 Geometric mean of any n numbers is:  Find the geometric mean of the following list of numbers. A. 4, 6 B. 3, 5, 9 C. 4, 8, 10, 12.
Friday Quiz Details! Part One-Geography You will have to correctly identify places and features of US and NC map. Part 2: Key terms.
Name ANSWERS 6A/B/C Math Exit Slip Oct. __ 1) 9282) X46 7) 3668.
Lines of Symmetry Quiz. Time to test if you understand lines of symmetry!! In this Quiz you will have questions and underneath you will have 3 choices.
Multiplication Facts X 3 = 2. 8 x 4 = 3. 7 x 2 =
Quiz Name Here Click to start Question 1 Type question here Wrong Answer Right Answer.
NextHome William Harmon. PrevNextHome Quiz - Part 12: What We Found, What We Have - Obtaining Drawing Information 1. CAD can display measured distances.
The Smart board Quiz Change the title and put intro information here.
Team Members Matt Fuller Vineetha Ayarpulli Robert Lundine.
 What is the product of 3 x 2 or 3 groups of 2?  What is the product of 2 x 3 or 2 groups of 3?  Integers are similar: ◦ What is the product of 3 x.
DIGITAL MARKETING CONSULTING & TRAINING ©JASMINE SANDLER MODULE TWO QUIZ.
Testing Programs with Loops CSIS 1595: Fundamentals of Programming and Problem Solving 1.
Quiz About Your Topic Question 1 A question about your topic: A. [Insert incorrect answer] C. [Insert incorrect answer] B. [Insert incorrect answer]
Good Luck !! Type your Instructions for your quiz.
CSCI-365 Computer Organization Lecture Note: Some slides and/or pictures in the following are adapted from: Computer Organization and Design, Patterson.
Is the answer to 3 x (-2) positive or negative? How do you know?
First Aid Quiz Question and Answer Life’s Emergency Training lifesemerg.com
TAKS Exit Review Math by Morrison 2012 © Math by Morrison
Start the Quiz Show the answer Check the answer Time’s up! Timer
TAKS Exit Review Math by Morrison 2012 © Math by Morrison
Standard and Expanded Form
Decision Making.
6 Figure Grid Map skills Quiz Reference Quiz
Rule Exercises Status of the Ball Definitions and Rule 15
Rule Exercises Status of the Ball Definitions and Rule 15
Make Your Own Quiz.
'. \s\s I. '.. '... · \ \ \,, I.
The University of Adelaide, School of Computer Science
Quiz About [Your topic]
סדר דין פלילי – חקיקה ומהות ההליך הפלילי
Regents Practice Part A and B1 August 2011 Exam.

True or False: {image} is one-to-one function.
' '· \ ·' ,,,,
Find the reference angle for the angle measuring {image}
Quiz Name Here Click to start.
Quiz Name Here Click to start.
Quiz 2 Start the Stage 3 Quiz.
Who Wants to Win a Million?
Question 10.
You must show all steps of your working out.
Question 1.
Among the Hidden/Fahrenheit 451
Quiz Template Start quiz!
Which of the following is equivalent to the fraction below? 3 8
Complete the family of four
True or False True or False
Presentation transcript:

1 Answer #1, Quiz #1 Lp:slt $t0,$s1,$s2 # $t0 = a<b slt $t1,$s1,$s2 # $t1 = a<c and $t2,$t0,$t1 # $t2 = $t1 && $t0 beq $t2,$zero,End addi $s1,$s1,1 # $s1 = $s1 + 1 j Lp End: Wrong Answer!! C++ first checks the first condition, if it is false exit loop. The correct answer is:

2 Answer #1, Quiz #1 (cont) Lp:slt $t0,$s1,$s2 # $t0 = a<b beq $t0,$zero,End slt $t0,$s1,$s2 # $t0 = a<c beq $t0,$zero,End addi $s1,$s1,1 # $s1 = $s1 + 1 j Lp End: Correct Answer!! Exit loop if one of the conditions is false.

3 Answer #2, Quiz # = = = = = xff = xab1 = x8612 = $t0 = -1<100 = 1 $t1 = <-100 = 0 Answer #4, Quiz #1

4 Answer #3, Quiz #