× Didn't find what you were looking for? Ask a question
Top Posters
Since Sunday
g
1
C
1
New Topic  
s.h_math s.h_math
wrote...
Posts: 295
Rep: 3 0
A year ago
Good day,

Here is the first lab that I missed due to my sickness. I am watching a 10-hour YouTube video on learning C, and it's pretty straightforward and easy to learn; I am giving my best.I have also added the lab due this week if you have any insights on it,

I was wondering if you could kindly provide a pdf like you did for the last lab i'd appreciate that, thank you so much!

LAB #1
Purpose:
The purpose of this first lab is to practice binary conversions and do a
simple submission using D2L/Brightspace.
Before the lab:
1. Read the User's Guide to DCS Facilities for the instructions on
how to log on to the workstations in the ENG building.
2. Read the 'LAB USER GUIDE HANDOUT' (the last link in the menu
to the left of the screen).
During the lab:
Do items 1 to 9. Write your answers on a piece of paper
and show them to your lab assistant. Do the conversions
using pencil and paper only (on the final exam you will not
have access to computers or calculators).
1. What are the decimal equivalents of the following bit sequences
(IEEE754 floating point)?
1100 0010 1110 0000 0000 0000 0000 0000
0100 0000 1000 0000 0000 0000 0000 0000
1100 0000 1000 0000 0000 0000 0000 0000
2. What are the decimal equivalents of the following bit sequences
(unsigned integer)?
0000 0000 0000 0000 0000 1111 0000 0001
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0001 0001
0000 0000 0000 0000 0000 0000 0000 1111
3. What are the binary equivalents of the following decimal numbers
(signed integer - 2s complement)?
157 ; 205 ; -150 ; -55 ; -3 ; 65
4. What are the binary equivalents of the following decimal numbers
(IEEE 754 floating point)?
14.0 ; 32.0 ; -3.0 ; 128.0; -6.0 ; -15.0
5. What are the hexadecimal equivalents of the following bit
sequences?
1010 0000 1011 0010 1100 0011 1110 0101
1111 1010 1010 0001 0101 0111 1110 1000
6. What are the binary equivalents of the following hexadecimal
numbers?
66CCFF ; 3366FF ; FFFFFF ; 123456 ; ABCDEF;
7. What are the decimal equivalents of the following hexadecimal
numbers?
336699 ; FFCC22 ; 345678 ; 999999 ; 000000;
8. What are the hexadecimal equivalents of the following decimal
numbers?
44 ; 622 ; 1567 ; 1000 ; 677;
9. Write the answers to questions 1 to 8 in a text file and submit
that text file on D2L/Brightspace under Lab #1. Submissions are
due at the end of the lab session. You must submit your work
before leaving the lab.
After the lab:
1. Review the steps you took to perform the various operations in
the lab. If you did not have time to finish all excercises, finish
them at home and validate your answers on this website (but not
before you have done the conversions by hand!).
Last modified: January 06 2022 10:23:59.
 Attached file(s) 
You must login or register to gain access to these attachments.
Read 487 times
12 Replies

Related Topics

Replies
Anonymous
wrote...
A year ago
Can you see if this matches?
 Attached file 
(82.4 KB)
You must login or register to gain access to this attachment.
s.h_math Author
wrote...
A year ago
unfortunately, no. but similar.
Anonymous
wrote...
A year ago
1111 1010 1010 0001 0101 0111 1110 1000

Are you sure s.h_math ?

For example, isn't this the same?



Please list which ones are wildly different
s.h_math Author
wrote...
A year ago
2. 0000 0000 0000 0000 0000 0000 0001 0001

3. 157, 150, -5, 65

4. -3, -15.0

5.  What are the hexadecimal equivalents of the following decimal
numbers?
44 ; 622 ; 1567 ; 1000 ; 677;
wrote...
Educator
A year ago
Ok, noted.

Will look into it tomorrow!
s.h_math Author
wrote...
A year ago Edited: A year ago, s.h_math
Okay, I was supposed to hand it in tmr morning at 10Am.

However I will be waiting for your response so I can submit it right away
wrote...
Educator
A year ago
I can't by 10 AM 😥 I was thinking in  the afternoon.

I will still try answering them when I get the opportunity
Anonymous
wrote...
A year ago
2. 0000 0000 0000 0000 0000 0000 0001 0001

= 17

(0×20)+(1×21)+(0×22)+(0×23)+(0×24)+(0×25)+(0×26)+(0×27)+(0×28)+(0×29)+(0×210)+(0×211)+(0×212)+(0×213)+(0×214)+(0×215)+(1×216)+(0×217)+(0×218)+(0×219)+(0×220)+(0×221)+(0×222)+(0×223)+(0×224)+(0×225)+(0×226)+(0×227)+(0×228)+(0×229)+(0×230)+(0×231)

I believe the rest of the answers to lab 1 can be found in the attachment
 Attached file 
You must login or register to gain access to this attachment.
s.h_math Author
wrote...
A year ago Edited: A year ago, s.h_math
Thanks a lot. I’ll work on it now just saw this
Post Merge: A year ago

Also, Bioman.

Were you possibly able to find anything for lab 3?

Kindly let me know. Thanks a lot for the assistance.
wrote...
Educator
A year ago
I probably can find something for that, but please start a new thread. It's best to dedicate each thread to one topic.
s.h_math Author
wrote...
A year ago
Ok sorry about that
wrote...
Educator
A year ago
Ok sorry about that
No worries!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  473 People Browsing
Show Emoticons
:):(;):P:D:|:O:?:nerd:8o:glasses::-):-(:-*O:-D>:-D:o):idea::important::help::error::warning::favorite:
Related Images
  
 345
  
 338
  
 366
Your Opinion
What's your favorite coffee beverage?
Votes: 407