Comp25: Week 2 Lab: Binary and Hexadecimal Numbers 

Learning Objectives

  1. To demonstrate a knowledge of the binary and hexadecimal number systems, and the ASCII character set

Steps to Take

  1. Download this file to your U:\ drive: Week2Lab.doc
  2. Complete each question, including showing your work, and upload to Blackboard for Week 2 Lab

Examples

Q: How is 250-base 10 represented in binary (base 2) and hexadecimal (base 16)?

A: 250 = 128 + 64 + 32 + 16 + 8 + 0 + 2 + 0... or 11111010 in binary.  250 = (16*15) + 10... or F (15) A (10)...  or   #FA.

Q: Write out the binary nibble (4 bit) values of the hex code 1A.

A: 1=1 and A=10... 0001 1010
 
Q: What is the base 10 decimal value of the hex code 1E?

A: 16*1 = 16 plus E (14) = 30

Q: What is the decimal value of the binary number 101011?

A: 0 + 0 + 32 + 0 + 8 + 0 + 2 + 1 = 43

Useful Links

Grading Guidelines

This assignment will be graded using the following guidelines:

Grading Rubric: Percentage Points
On-Time 25% 7.5
Accuracy 50% 15
Style 25% 7.5
Total Points Possible 100% 30