100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Comsc 260 test 1 Exam Questions With Correct Answers $10.49
Add to cart

Exam (elaborations)

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...

[Show more]

Preview 2 out of 9  pages

  • January 14, 2025
  • 9
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • Comsc 260
  • Comsc 260
avatar-seller
Brightstars
©BRIGHSTARS 2024/2025 ALL RIGHTS RESERVED.




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) - Answer✔mov al,
Badd al, Badd al, Badd al, Bmov result, al

Which of the options below is the correct truth table for the logical AND operator? - Answer✔P
Q
P AND Q


F
F
F


F
T
F




1|Page

, ©BRIGHSTARS 2024/2025 ALL RIGHTS RESERVED.

T
F
F


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

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

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

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.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

56880 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 15 years now

Start selling
$10.49
  • (0)
Add to cart
Added