Homework 1.1 - Instructions All assignments must be typed...

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

View Full Document Right Arrow Icon
Instructions: All assignments must be typed; no hand-written assignments will be accepted. You must name your file as: your_last_name_your_first_name_HW# Acceptable file formats: .doc, .docx, .pdf Inside the file, you MUST include your full name, otherwise your HW will not be graded. Do not just give answer. You must show your work. Otherwise you will not get any points CIS 3360 – Security in Computing Spring 2015 Homework 1.1 (50 points) 1) Number conversions - run through the algorithms for each of the following number conversions, showing each of the steps. If you write a program to automate the process, show the output of your program AND attach your code (.c or .java) as a separate file. a) Convert 605 10 to binary, octal (base 8) and hexadecimal. Binary: 605 10 = 2 x 302 + 1 302 = 2 x 151 + 0 151 = 2 x 75 + 1 75 = 2 x 37 + 1 37 = 2 x 18 + 1 18 = 2 x 9 + 0 9 = 2 x 4 + 1 4 = 2 x 2 + 0 2= 2 x 1 + 0 1= 2 x 0 +1 = 1001011101 2 Octal: 1 001 011 101 // 111 = 4+2+1 1 1 (2+1) (4+1) 1 1 3 5 = 1135 8 Hexadecimal: //1111 = 8 + 4 + 2 +1, //0-9, A-F 10 0101 1101 2 (1+4) (8+4+1) 2 5 13 2 5 D = 25D 16 b) Convert 10110011 2 to octal, decimal and hexadecimal.
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern