Difference between revisions of "CSC231 Final Exam Fall 2017"

From dftwiki3
Jump to: navigation, search
Line 1: Line 1:
 
<onlydft>
 
<onlydft>
 +
 +
=Assembly=
 +
* Add a new function to 231Lib.asm called cowPrint() that gets a message in ecx, edx, and prints a message with a cow, as does the bash
 +
::<source lang="text">
 +
___________________
 +
< That's all folks! >
 +
-------------------
 +
        \  ^__^
 +
        \  (oo)\_______
 +
            (__)\      )\/\
 +
                ||----w |
 +
                ||    ||
 +
 +
 +
/usr/games/cowsay we are here\!
 +
______________
 +
< we are here! >
 +
--------------
 +
        \  ^__^
 +
        \  (oo)\_______
 +
            (__)\      )\/\
 +
                ||----w |
 +
                ||    ||
 +
 +
</source>
  
 
* Have file of ints, and put together a bash file that reads 10 integers, these are indexes of lines to get in the file.
 
* Have file of ints, and put together a bash file that reads 10 integers, these are indexes of lines to get in the file.

Revision as of 16:31, 25 November 2017


...