User Tools

Site Tools


labs

This is an old revision of the document!


we will use a new simulator inthis course

The simulator page is http://www.eecs.yorku.ca/course_archive/2017-18/F/2021S/

Please go to this page for the simulator, we will start using it from Lab B

Labs will start the week of Monday Sept. 18

LAB SCHEDULE

LAB 1 -- Week of Sept. 18

LAB A

many of you said that they have never used command line intrerface before. I will do the first part of the lab for you.

Here is the file, you have to rename it to the appropriate name (and change the class name of course).

project.txt rename it to Project.java (the system does not upload .java extension, I had to change it to .txt)

to renamt it type

mv project.txt Project.java

Now you have a Project.java in your directory.

To compile it, type

javac Project.java

The file will be compiled and a new file called Project.class is created for you

To run it type

java Project 6

you get

110

which is the binary representation of 6




LAB 2 -- Week of Sept 25

Here is

Please check the supplementary material sitefor the simulator and manuals you need for this lab

To run the simulator type rvs038 in a terminal at the command prompt

labs.1506348757.txt.gz · Last modified: 2017/09/25 14:12 by aboelaze

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki