Comsc 260 test 1 Exam Questions With Correct Answers
0 view 0 purchase
Course
Comsc 260
Institution
Comsc 260
Comsc 260 test 1 Exam Questions With
Correct Answers.
Suppose a program has the following data segment:
.data
A BYTE 4B BYTE 5result BYTE ?
Which of the options below will store the value 20 in the result variable?
(the value 20 is also the product of the two numbers: A * B = 4 * 5 = 20) - An...
T
T
T
What is the formula for finding the smallest SIGNED binary value for a given number of bits?
Note: N represents the number of bits in the formula - Answer✔-1 * (2^(N-1))
What is the largest SIGNED number that can be represented with 8 binary bits? - Answer✔127
Which of the following is the correct SIGNED hexadecimal representation of -6? -
Answer✔FFA
When adding hexadecimal numbers together in a column, what two steps are performed if their
sum is greater than 15?
What you put down in the column is calculated by the formula: _
Carry a 1 over to the next column - Answer✔1. sum = sum mod 16
What is the two's complement of the hexadecimal number 101101? - Answer✔EFEEFF
Which of the options below is the smallest SIGNED hexadecimal number that you can make
with two (2) hexadecimal symbols? - Answer✔80
When adding binary numbers together in a column, what two steps are performed if their sum is
greater than 1?
What you put down in the column is calculated by the formula: _
Carry a 1 over to the next column
HINT:
1 + 1 = 10
1 + 1 + 1 = 11 - Answer✔1. sum = sum mod 2
Suppose a program has the following data segment:
2|Page
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 Brightstars. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.