The Morse code is a signalling code
designed to transmit English text by
radio pulses (beeps).
The characters encoded by the Morse code is
case-insenstive.
We denote a short pulse as • (dot)
and a long pulse as - (dash)
For this question, you need to search online for binary ASCII code
The ASCII code is a binary code to represent the English characters and symbols.
Characters encoded by ASCII is case-sensitive !
Decode this message in ASCII code:
01000110 01101001 01110011 01101000
Message:
Suppose you are given the following binary number:
01000001
Corresponding decimal number:
What is the decimal number that corresponds to this binary number ?
Suppose you are given the following binary number:
01000001
Character represented by ASCII code:
What is the character that is represented by this binary number ?
Make a correct English sentence that
starts with:
I is
Question 8 (10 pts)
Give the representation of the decimal number 4359 in the octal number system
(that is based on the number 8).
Give the representation of the decimal number 4359 in the hexadecimal number
system
(that is based on the number 16).
Give the representation of the binary number
10100110
in the octal number system
Give the representation of the octal number 354
in the binary number system
Give the representation of the hexameciaml number AF
in the binary number system
Question 9 (10 pts)
Compute in binary: (5 pts each)
(1) 10100100 + 00101111
(2) 10100100 - 00101111
Use spaces to indent and line up digits with the nano editor.
Comment: do not use Internet tools to do this question, because you may get
this kind of question on the test.
Use this question to practice for the test.
Question 10 (10 pts)
Suppose a computer has a
address bus that consists of
20 wires.
What is the maximum
amount of memory
that this computer can have ? (5 pts)
What is the
minimum width
(= number of wires) of
the address bus in
order to address a
640K bytes
memory ? (5 pts)
Extension request
You can make and receive extension requests for a homework/project
as long as you have not exceeded the maximum requests allowed.
Extension requests must be made before the assignment is due !!!
"Free" extension requests are granted for illness and family
emergencies.
To make an extension request, do the following in EGTAPI:
1. Click on File Browser in EGTAPI
2. Click on Req ext (lower right corner) in the File Browser menu
The "Egtapi Extension Request" window will pop up:
3. In the "Section Number" drop down tab:
Select "1" if you are in Section 1
Select "2" if you are in Section 2
4. Enter "Project Code": hw1
5. Click the "Request extension" button
6. You will see the request result in the right most panel.
If your request is successfull, you will see:
Extension request was successful:
Turn hw1 in before ..... (new due date)
in the "Request extension" pop up window (you may need to scroll down)
You request will
be successful if
you have not exceeded the
maximum number of "free" (no-questions-asked)
requests allowed
How to turnin your homework
Important note:
You mustturn in your program to complete the assignment !!!
You must
turn in each assignmentbefore its due date
(unless you have requested an extension).
The easiest way to turn in
your work is
using EGTAPI
Watch this video on how to
turn in a file
with EGTAPI:
click here
Here are the written instructions explained in the video:
1. Click on File Browser in EGTAPI
2. Select the file that you want to turn in
In this case, select the file "hw1.s" inside your hw1 folder
3. After selecting the file (in this case: "hw1.s"), click Turnin in the File Browser menu
The "Egtapi Turn-in" window will pop up:
4. In the "Section Number" drop down tab:
Select "1" if you are in Section 1
Select "2" if you are in Section 2
5. Enter "Project Code": hw1
6. Click the "Turn in" button
7. You will see the turn in result in the right most panel.
Make sure that your see the message: "Program ... has been successfully turned in..."
If you want to see what you have turned in, then
1. Open the EGTAPI Terminal (click on "Terminal")
2. Enter this command in the lower input area of the Terminal panel:
/home/cs255001/turnin // If you're in section 1
or
/home/cs255002/turnin // If you're in section 2
Statement of Policy on Project/Homework Assignments
Students will be graded partially on the basis of their homework assignments. These homework assignments are to be treated as examinations, and are expected to be your individual work. While discussions with other students in the course may be permitted or encouraged by your instructor, you should write your program yourself. Your instructor (and any teaching assistants assigned to the course) will be glad to help you to the extent that he or she feels reasonable.
Submissions based on other students solutions in prior offerings of the course specifically violate these guidelines, as do submissions prepared with the help of an outside "tutor".
You should take precautions to protect the confidentiality of your work, do not collaborate on questions that you turn in for a grade, do not show your solution to a fellow student, not even after the due date for some students may have receive extension.
All submissions should include a comment statement near the top of the program of the form:
THIS HOMEWORK IS MY OWN WORK, IT WAS WRITTEN WITHOUT CONSULTING A TUTOR
OR WORK WRITTEN BY OTHER STUDENTS - your name
Cases of apparent plagiarism or collusion will be referred to the
Honor Council.