Difference between revisions of "CSC231 Homework 1 Fall 2012"

From dftwiki3
Jump to: navigation, search
(Misc. Information)
(Misc. Information)
Line 51: Line 51:
 
<br />
 
<br />
 
==Misc. Information==
 
==Misc. Information==
* [[http://www.smith.edu/its/tara/file_transfer/ssh_sftp.html#installing| Installing ]] ssh on your computer.
+
* [http://www.smith.edu/its/tara/file_transfer/ssh_sftp.html#installing| Installing ] ssh on your computer.
 
* Tutorial on [http://www.math.toronto.edu/admin/ssh.html using ssh].
 
* Tutorial on [http://www.math.toronto.edu/admin/ssh.html using ssh].
 
<br />
 
<br />

Revision as of 11:15, 7 September 2012

--D. Thiebaut 09:24, 7 September 2012 (EDT)


Mini Assignment #1

This homework is due Monday 9/10/12 at 11:00 a.m., at the beginning of class. It won't be graded but will be checked. The purpose of this homework is to make sure everybody in class gets familiar with the process of logging in the 231 accounts, and editing, assembling and linking assembly language programs.


Write an assembly language program called hw1.asm based on the Hello World! program we saw in class, that will print out this message on the screen:


----------------------------------
          Welcome to 
             CSC231 
----------------------------------

The actual number of dash characters, and the alignment is not important. Efficiency is not important either. Just a clean output is required.


How to Submit

From your 231 account, submit your file as follows:

   rsubmit hw1 hw1.asm



Troubleshooting

It is possible that if you are using ssh to connect to Beowulf the first time, and if you are using a Mac, you get a message of this form:

ssh 231a-xx@beowulf.csc.smith.edu
==================================================
   WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     
==================================================
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
bf:db:14:e6:a4:e0:f3:3d:d8:87:35:66:a9:35:68:fb.
Please contact your system administrator.
Add correct host key in /Users/alex/.ssh/known_hosts to get rid of this message. 
Offending key in /Users/xxxxx/.ssh/known_hosts:1
RSA host key for beowulf.csc.smith.edu has changed and you have requested strict checking. 
Host key verification failed.

In this case, use the editor of your choice and edit the file ~/.ssh/known_hosts and remove the lines that contains the word beowulf. Be careful, the lines are very long and wrap around to form blocks of 4 or 5 lines on your screen, so deleting one line will require a big block to disappear. Bold text


Misc. Information