This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Name: Student ID # CSE 110 Homework 1 Due: Monday, September 27, at 11:59 PM, via Blackboard. See the end of this assignment for submission instructions. This assignment is worth a total of 12 points. You must show all work in order to receive any credit for your solutions. 1. Follow the instructions below to perform the specied calculation. Be sure to show your work for each step. (4 points total) a. Translate A4 from hexadecimal into binary. (1 point) b. Translate 9D from hexadecimal into binary. (1 point) c. Add your answers to parts (a) and (b) together in binary. (1 point) d. Translate your answer from part (c) into hexadecimal. (1 point). 2. Write a detailed algorithm for making a peanut butter and jelly sandwich. You may assume that you are speaking to someone who has the ability to complete the task, but has never actually done it before (for example, a very young child). Your solution must contain at least four steps. (2 points) 3. Translate the following algorithm into several lines of Java code. Do not include a class declaration or 3....
View
Full
Document
 Fall '08
 SHAUNAKPAWAGI

Click to edit the document details