Weighting = 5%
Total marks = 16
Letter break downs
Letter | Score out of 16 |
A | 16 |
A- | 15 |
B+ | 14 |
B | 13 |
B- | 12 |
C+ | 11 |
C | 10 |
C- | 9 |
D+ | 8 |
D | 7 |
D- | 6 |
F | 0 - 5 |
On Unix workstations in the Computer Science lab complete the following steps:
Login onto computers
Start a script session
Show the contents of your home directory
Make a new directory called 231
Enter the newly created 231 directory
Show the contents of the newly created 231 directory
Go to the official directory for CPSC 231 (/home/231)
Show the contents of the CPSC 231 directory
Go to the directory for assignment 1 (/home/231/assignments/assignment1)
Show the contents of the assignment 1 directory
Show the contents of the a1 file
Copy this file to the newly created 231 directory that you created (in your home directory).
Go to the newly created 231 directory (in your home directory)
Show the contents of the newly created 231 directory.
End the script session
Print out the script and hand it in (along with the rest of your assignment 1 submission) make sure you read the submission guidelines!
Learning objectives:
Familiarization with the basic commands that you will use on an everyday basis in the Computer Science Unix environment.
Grading:
1 mark maximum for all steps properly completed
0.5 marks if a step was missed
0.0 marks if two or more steps were missed
Using the Unix text editor of your choice (e.g., Emacs, Xmacs) type a brief document (approximately a page or 2 3 paragraphs) that describes what the area of Computer Science is all about. Note: This report can either be based upon your perceptions and opinions or you can base it upon the material covered in lecture. If you choose the latter case just be sure that you put it in your own words (and dont merely cut and paste the notes!)
Print out this document and hand it in (along with the rest of your Assignment 1 submission) make sure you read the submission guidelines!
Learning objectives
Grading
You will either receive 1 mark for an assignment that fulfills all of the above requirements or 0 for one that does not.
Number system |
|||
Value in decimal | Value in binary | Value in Octal | Value in Hexadecimal |
8 |
1000 |
10 |
|
10 |
1010 |
A |
|
24.5 |
|
30.4 |
18.8 |
11111111 |
377 |
FF |
0 | 1 | 1 | 1 | |
1 |
0 | 0 | 1 |
+ |
1 |
|
|
- | 1 |
1 |
||
|
Number system |
||
Unsigned binary value | Ones complement value | Two complement value |
0111 1011 |
0111 1011 |
|
-01011 |
|
10101 |
|
1000 |
1001 |
(AND)
|
T | F | T | F | T |
AND | T | T | T | F | T |
|
(OR)
|
T | F | T | F | T |
OR | T | T | T | F | T |
|
(XOR)
|
T | F | T | F | T |
XOR | T | T | T | F | T |
|
(NAND)
|
T | F | T | F | T |
NAND | T | T | T | F | T |
|
(NOR)
|
T | F | T | F | T |
NOR | T | T | T | F | T |
|
Learning objectives