HW_01

HW_01 - 1111111111101000 c. 1000000000001001 d....

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS/ECEn 124, W2012 Homework #1 Abstraction (Ch 2) Name Section Score / 41 Questions: Answers: 1. (3 points) Can a higher level programming language instruct a computer to compute more than a lower level programming language? Explain. 2. (3 points) Name three characteristics of algorithms. Briefly explain each of these characteristics. 3. (2 points) Briefly describe the difference between an ISA and a micro-architecture. 4. (3 points) Explain the function of the following: a. A compiler b. An interpreter c. An assembler 5. (5 points) What are the decimal values of the following 8-bit unsigned binary integers? a. 00101010 b. 11111101 c. 10000001 d. 01111111 e. 11111111 BYU, ECEn/CS 124, W2012 Homework #1 Page 1/2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6. (5 points) What are the decimal values of the following 16-bit 2's complement binary integers? a. 0010111101100001 b.
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1111111111101000 c. 1000000000001001 d. 1010101010101010 e. 0111111111111111 7. (5 points) What are the decimal values of the following 12-bit 1's complement binary integers? a. 100011000011 b. 000011101111 c. 101010101010 d. 011111111111 e. 100000000000 8. (5 points) Convert the following decimal values to 16-bit 2's complement binary numbers. a.-23540 b.-17 c. 128 d. 127 e.-555 9. (5 points) Write the following 16-bit binary numbers in hexadecimal notation. a. 1111110101101001 b. 1010000111101101 c. 1011111010101011 d. 1111111011101101 e. 1001110010000101 10. (5 points) How many bits are required to represent the following decimal numbers as 2s complement binary numbers? a.-64 b. 31 c. 256 d. 987 e.-987 BYU, ECEn/CS 124, W2012 Homework #1 Page 2/2...
View Full Document

This document was uploaded on 02/06/2012.

Page1 / 2

HW_01 - 1111111111101000 c. 1000000000001001 d....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online