Hi, I need help with this program. I attached the program info and everything explained in the attached file. One of the attached files is too big, so here is a link to download it:
https://www.dropbox.com/scl/fi/4cqxr32jh83z9rdp2dh…
for this program, we use C++ in Visual Studio, so I recommend using the same app.
8/22/23, 11:11 AM
Assignment2: CSC 261-01: Computr Org / Assembly Languag (FA23)
Assignment2
Due Aug 22 at 5:30pm
Points 100
Questions 14
Available Aug 17 at 6:45pm – Aug 22 at 5:30pm
Time Limit None
Allowed Attempts 3
Instructions
By clicking on submit when finished with this assignment, and all future assignments, you are signifying
that you have followed the UNCG Academic Integrity Policy on this assignment and are ready for your
work to be graded. You have not allowed anyone to look at or copy your answers, nor have you copied
anyone else’s work, nor may you seek help for answers to these questions from external sources
(websites, etc.). This work is entirely your own. Any evidence of plagiarism will result in at least a 0 on
the assignment and reporting at the department or university level.
Your answers are saved as you enter them, and you may exit the quiz (do not hit “Submit”!) and restart
it at any time before the deadline. Answers you have entered will be saved for when you resume your
work, but to make sure Canvas has successfully saved your work it is probably best to wait 5 seconds or
so after entering an answer before closing the quiz.
Take the Quiz Again
Attempt History
Attempt
Time
Score
KEPT
Attempt 2
56 minutes
36 out of 100
LATEST
Attempt 2
56 minutes
36 out of 100
Attempt 1
28 minutes
28 out of 100
Correct answers are hidden.
Score for this attempt: 36 out of 100
Submitted Aug 22 at 11:11am
This attempt took 56 minutes.
https://uncg.instructure.com/courses/121254/quizzes/355350
1/8
8/22/23, 11:11 AM
Incorrect
Assignment2: CSC 261-01: Computr Org / Assembly Languag (FA23)
Question 1
0 / 8 pts
The following is an unsigned binary number:
11010100101
The decimal equivalent is: 2693
The hexadecimal equivalent is:
There is no size assumed.
Do NOT use leading zeros in your response.
Do Not use spaces in your response.
Answer 1:
2693
Answer 2:
(You left this blank)
Incorrect
Question 2
0 / 8 pts
The following is an unsigned hexadecimal number:
E8BF4
The decimal equivalent is: 596628
The binary equivalent is: 1110100010111110
There is no size assumed.
Do NOT use leading zeros in your response.
Do Not use spaces in your response.
Answer 1:
596628
Answer 2:
https://uncg.instructure.com/courses/121254/quizzes/355350
2/8
8/22/23, 11:11 AM
Assignment2: CSC 261-01: Computr Org / Assembly Languag (FA23)
1110100010111110100
Incorrect
Question 3
0 / 8 pts
The following is an unsigned decimal number:
15751
The binary equivalent is: 11110100110111
The hexadecimal equivalent is:
There is no size assumed.
Do NOT use leading zeros in your response.
Do Not use spaces in your response.
Answer 1:
11110100110111
Answer 2:
(You left this blank)
Question 4
10 / 10 pts
Give the hexadecimal ASCII code representation of the following:
Spring 2022 – CSC 261!
Hint: There are single spaces in the following locations:
after the g in Spring
before and after the hyphen
after the C in CSC
Spaces do have ASCII values, and make sure you include punctuation
characters!
Each character will have two hex digits. Separate each pair of hex digits
with a space in your answer.)
https://uncg.instructure.com/courses/121254/quizzes/355350
3/8
8/22/23, 11:11 AM
Assignment2: CSC 261-01: Computr Org / Assembly Languag (FA23)
For example, if the string is Hello all, then the answer is 48 65 6c 6c 6f
20 61 6c 6c
ASCII (in hex):
53 70 72 69 6e 67 20 32 30 32 32 20 2d 20 43 53 43 20 32 36 31 21
Question 5
10 / 10 pts
Translate the following hex-represented ASCII sequence to the
corresponding alphabetical string.
44 69 64 20 79 6f 75 20 67 65 74 20 69 74 3f
Displayed:
Did you get it?
Incorrect
Question 6
0 / 4 pts
Find the doubleword-length 2’s complement hex representation of the
following decimal number:
-934
Notes:
When writing the hex value using this representation, you should
always write pairs of digits with spaces between them. For example, if
the value is 3F2E44DA2C, then it should be written as 3F 2E 44 DA
2C.
Make sure your answer is the correct size. If it is not written in the
correct size, it is wrong!
Hexadecimal:
FC 5A
https://uncg.instructure.com/courses/121254/quizzes/355350
4/8
8/22/23, 11:11 AM
Incorrect
Assignment2: CSC 261-01: Computr Org / Assembly Languag (FA23)
Question 7
0 / 4 pts
Find the word-length 2’s complement hex representation of the following
decimal number:
933
Notes:
When writing the hex value using this representation, you should
always write pairs of digits with spaces between them. For example, if
the value is 3F2E44DA2C, then it should be written as 3F 2E 44 DA
2C.
Make sure your answer is the correct size. If it is not written in the
correct size, it is wrong!
Hexadecimal:
03 9D
Incorrect
Question 8
0 / 4 pts
Find the decimal integer that corresponds to the following doubleword 2’s
complement hex representation:
02 F2 AC 8B
Integer:
49895691
Question 9
6 / 6 pts
Find the byte-length 2’s complement representation of the following
decimal number:
https://uncg.instructure.com/courses/121254/quizzes/355350
5/8
8/22/23, 11:11 AM
Assignment2: CSC 261-01: Computr Org / Assembly Languag (FA23)
-92
Hexadecimal:
A4
Question 10
6 / 6 pts
Find the decimal integer that corresponds to the following byte-length 2’s
complement hex representation:
89
Integer:
-119
Incorrect
Question 11
0 / 12 pts
Perform the following operation on word-size 2’s complement represented
hex numbers, supplying the sum, the carry, and the overflow values:
C657 + 81D4
Sum (make sure it is word-size and your answer is in hex):
47BB
Carry (type yes or no): no
Overflow (type yes or no): no
Answer 1:
https://uncg.instructure.com/courses/121254/quizzes/355350
6/8
8/22/23, 11:11 AM
Assignment2: CSC 261-01: Computr Org / Assembly Languag (FA23)
47BB
Answer 2:
no
Answer 3:
no
Partial
Question 12
4 / 12 pts
Perform the following operation on word-size 2’s complement represented
numbers , supplying the difference, the borrow, and the overflow values:
62F2 – AC84
Difference (make sure it is word-size and your answer is in hex):
B8 76
Borrow (type yes or no): yes
Overflow (type yes or no): no
Answer 1:
B8 76
Answer 2:
yes
Answer 3:
no
Incorrect
Question 13
https://uncg.instructure.com/courses/121254/quizzes/355350
0 / 4 pts
7/8
8/22/23, 11:11 AM
Assignment2: CSC 261-01: Computr Org / Assembly Languag (FA23)
Express the following decimal number as a word-length 1’s complement
number (in hex):
-413 (this is a decimal number!)
1’s complement: (make sure your answer is in hex)
FF 92
Incorrect
Question 14
0 / 4 pts
Use BCD to encode the following decimal number in 4 bytes. (Use hex)
3141592
BCD: (make sure your answer is in hex)
31415192
Quiz Score: 36 out of 100
https://uncg.instructure.com/courses/121254/quizzes/355350
8/8
9/15/23, 12:05 PM
Program2Temperature
Program2Temperature
100 Possible Points
9/15/2023
Attempt 1
In Progress
NEXT UP: Submit Assignment
Add Comment
Unlimited Attempts Allowed
9/12/2023 to 9/15/2023
Details
Use WINDOWS32 program.
You will write a program that asks the user to enter a Celsius temperature.
example1, this user entered:
Once the user has entered the number in Celsius, you will convert it to Fahrenheit (refer back to
figure 4.23 in your book)
example2, the program printed the conversion:
After the conversion to Fahrenheit, you will compare the temperature to see if it is freezing.( 32 F, you will end the program,
example4, Celsius entered:
example5, Fahrenheit displayed:
Program ends.
Your output windows should match mine exactly but the user input will change.
Upload your zipped folder using the name firstInital_LastNameProg2 once you have completed the
project.
ie, my program name would be R_CrellinProg2. Yours will have your name.
Choose a submission type
Upload
Studio
More
Submit Assignment
https://uncg.instructure.com/courses/121254/assignments/1410242
2/3
9/15/23, 12:05 PM
Program2Temperature
Choose a file to upload
or
Webcam Photo
Canvas Files
Submit Assignment
https://uncg.instructure.com/courses/121254/assignments/1410242
3/3