Difference between revisions of "CSC103 Homework 1 2012"

From dftwiki3
Jump to: navigation, search
(Question #2 (challenging))
 
Line 96: Line 96:
  
 
Imagine what the paragraph that describes the computing facility of the aircraft will read.  This is the answer to this question.  Just one paragraph.  Let your imagination run wild: you can invent whatever you want, but you cannot lie about the scientific facts of what you are reporting on.
 
Imagine what the paragraph that describes the computing facility of the aircraft will read.  This is the answer to this question.  Just one paragraph.  Let your imagination run wild: you can invent whatever you want, but you cannot lie about the scientific facts of what you are reporting on.
 
 
</onlydft>
 

Latest revision as of 09:09, 1 February 2012

--D. Thiebaut 20:07, 31 January 2012 (EST)



This homework assignment is due on Wednesday Feb. 8nd, at 9:00 a.m. Please print it or write it on paper, and bring it to class on the due date. No late assignments will be accepted.


Question #1 (easy)

Count in binary and write down first 33 numbers of the series. In other words, complete the second column in the list below.

Decimal      Binary
0                 0
1                 1
2                10
3                11
4                ...
5
6
7
8
9
10
11
12
13
14
15
16
17
18 
19
20
21 
22
23
24
25
26
27
28
29
30
31
32

Perform the following additions in binary:


    10101 + 10011 =

    10011 + 00111 =

Question #2 (challenging)

Assume that we live in a universe where everybody only has 6 fingers. Just as we did in class with a system of 2 digits (binary code), we invente a system for counting with only 6 digits: 0, 1, 2, 3, 4, and 5.

  • Write the first 20 numbers of a system with 6 digits. To help you out, I will start with the first 7 numbers of the series:
0
1
2
3
4
5
10
...

Continue on until you have 20 consecutive numbers of a system in base 6.

Question #3 (more challenging)

Perform the addition of the following numbers in base 6.


    1002 + 5301 = 

    2222 + 5301 = 


Question #4 (moderately challenging)

You've just been hired by the local paper as a summer intern. The first day on the job the paper learns of a UFO crash in a nearby village and sends you to investigate. Your assignment is to write an article that very day that will describe the type of technology found in the fallen aircraft.

Imagine what the paragraph that describes the computing facility of the aircraft will read. This is the answer to this question. Just one paragraph. Let your imagination run wild: you can invent whatever you want, but you cannot lie about the scientific facts of what you are reporting on.