100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Comsc 260 test 1 Exam Questions With Correct Answers

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
14-01-2025
Written in
2024/2025

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) - Answermov 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? - AnswerP Q P AND Q F F F F T F ©BRIGHSTARS 2024/2025 ALL RIGHTS RESERVED. 2 | P a g e 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? - Answer127 Which of the following is the correct SIGNED hexadecimal representation of -6? - AnswerFFA 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 - Answer1. sum = sum mod 16 What is the two's complement of the hexadecimal number 101101? - AnswerEFEEFF Which of the options below is the smallest SIGNED hexadecimal number that you can make with two (2) hexadecimal symbols? - Answer80 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 - Answer1. sum = sum mod 2 Suppose a program has the following data

Show more Read less
Institution
Comsc 260
Module
Comsc 260

Content preview

©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

Written for

Institution
Comsc 260
Module
Comsc 260

Document information

Uploaded on
January 14, 2025
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Brightstars Havard School
View profile
Follow You need to be logged in order to follow users or courses
Sold
218
Member since
1 year
Number of followers
7
Documents
12914
Last sold
2 days ago
VERIFIED EXAMS AND STUDY GUIDES.

Here, you will find Study Notes, Exam answer packs 100% Guarenteed success.

3.2

33 reviews

5
10
4
4
3
8
2
3
1
8

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions