|
|
|
||
|
|||
|
|
Comp25: Week 2 Lab: Binary and Hexadecimal NumbersLearning Objectives
Steps to Take
ExamplesQ: 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 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 GuidelinesThis assignment will be graded using the following guidelines:
|
| Copyright © 2008-09 University of the Pacific, Stockton, California. All rights reserved. |