MIPS Assembly Language Midterm Certification Review Exam Questions And Answers Verified Solutions.
8 views 0 purchase
Course
MIPS
Institution
MIPS
n bits can represent ___ things - correct answer 2^n
Decimal Number System - correct answer base 10, digits 0-9
Binary Number System - correct answer base ...
Repeated Division Method - correct answer Gets a decimal number into some
other number system
Repeated Division Formula - correct answer quotient( or initial number)/base =
quotient 2 + remainder. Continue into there is a quotient of 0. Remainders give new number
(first-last/left- right)
Converting Decimal to Hex - correct answer Repeated division using base 16,
then convert 10-15 to their hexadecimal equivalent
Converting Decimal to Binary - correct answer Repeated division using base 2
Converting Binary to Decimal - correct answer Horner's Method using base 2
, Converting Binary to Hex - correct answer Break into groups of 4 bits then
convert each to its hexadecimal equivalent
Converting Hex to Decimal - correct answer Horner's Method using base 16
Converting Hex to Binary - correct answer Convert each hex bit to it's 4 bit
equivalent
Finding 2s Complement in Binary - correct answer Flip all bits and add 1
or
Flip all bits after the first 1
Finding 2s Complement in Hexadecimal - correct answer subtract the number
from 0xFFFFFFF then add 1
Floating Point Encoding Step 1 - correct answer Set aside the Sign Bit
Floating Point Encoding Step 2 - correct answer Convert the whole number
part
Floating Point Encoding Step 3 - correct answer Use Repeated multiplication to
convert the fractional part to binary
Repeated Multiplication - correct answer multiplying the fractional part by its
base. If the result is < 1 the bit is 0, if >= 1 the bit is 1, continue until you reach 1 or there is a pattern of
repetition
Floating Point Encoding Step 4 - correct answer Combine the whole and
fractional binary parts
Floating Point Encoding Step 5 - correct answer Convert to scientific notation
with base 2
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller RealGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.