assign1 - COP 3502 Summer 2002 Assignment #1 Part 1 The...

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

View Full Document Right Arrow Icon
Part 1 The questions in this part of the assignment are based upon the binary number system. This part of the assignment must be submitted on paper. Make sure that you include your name, student id number, lab section number, and date in the following format at the top of your paper: 1. Convert each of the following binary numbers into their decimal equivalent: a. 11101101 b. 100001 c. 1111101 d. 1111000011 2. Convert each of the following decimal numbers into their binary equivalent: a. 110 b. 25 c. 257 d. 138 3. Answer the following questions about logarithms: a. Compute log 2 256 b. Compute log 3 243 c. Solve for x in this equation: log x 512 = 3 d. Solve for x in this equation: log 5 x = 4 e. Given a decimal number x , describe an algorithm that makes use of the log function to determine the number of digits in x ’s binary representation. Assignment #1 - 1 COP 3502 – Summer 2002 – Assignment #1 Lab Number: Assignment Number: Name: Student ID: Date:
Background image of page 1

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

View Full DocumentRight Arrow Icon
Part 2 In this part of the assignment, you will write an algorithm to solve the following problem
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 06/12/2011.

Page1 / 3

assign1 - COP 3502 Summer 2002 Assignment #1 Part 1 The...

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

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