COSC-2325 Final
Exam Questions
and Complete
Solutions Graded
A+
Denning [Date] [Course title]
, Object Files - Answer: Intermediate files generated by a compiler containing machine code that is not
yet executable.
Linker - Answer: Combines multiple object files into a single executable
Assembler - Answer: Translates assembly language code into machine code, generating object files.
Radix - Answer: The base of a number system
Binary to decimal - Answer: Multiply each bit by 2 raised to the position's power, starting from 0 at the
rightmost bit. Sum these values.
Decimal to binary - Answer: Divide by 2. Record the remainder. Continue dividing the quotient by 2 until
it is 0. Read in reverse order.
Hex to decimal - Answer: Multiply each digit by 16 raised to the position's power, starting from 0 at the
rightmost digit. Sum these values.
decimal to hex - Answer: Divide by 16. Record the remainder. Continue dividing the quotient by 16 until
it is 0. Read in reverse order.
add binary integers - Answer: Perform addition, but carry over when sum exceeds 1
add hex numbers. - Answer: Perform addition, but use digit rules (0-9 and A-F) with carry over when
sum exceeds F.
8-bit two's complement - Answer: This is a method of representing negative numbers in binary. Invert all
bits of the number and then add 1.
negative decimal number to binary - Answer: Convert the absolute value, then apply the complement
method to get the representation of the negative number.
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 Dants. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $14.49. You're not tied to anything after your purchase.