Professional Documents
Culture Documents
COS315 Previous Background Assessment: Instructions
COS315 Previous Background Assessment: Instructions
COS315 Previous Background Assessment: Instructions
Information
Name:
Email address:
Programming
1. Write down the value of i at the specied locations: i=0; i=i+1; i=i*2; i++;
2. Given the following code: j=0; for(i=0;i<5;i++) j++; What is the value of j? 3. Circle the lines which contain invalid statements: int *a; a = 5;
UNIX
In the following table, the left hand column has a unix command, and its denition exists in the list on the right. Write the letter next to the command that most appropriately describes that command. The rst one has been completed as an example.
List the contents of the current directory Use to remove a le Show the contents of a le Show the contents of a le, with a return key for each screenfull (e) Use to nd a given string in a le (f) Determine the path of a given command to determine what will run (g) Change the current directory (h) Create a directory (i) Use to edit a le (j) Use to bundle a set of les into a single archive (k) Run at a dierent scheduling priority
Programming experience
Circle the number that corresponds to your experience with each particular programming language (0 - dont know it, 5 - expert!).
C C++ Java Fortran 77/90/95 Unix Shell Other (please describe below)
0 0 0 0 0 0
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
5 5 5 5 5 5
Writing sample
In no less than seven sentences, please tell me a bit about yourself. Describe why you are studying computer science and what you would like to do once you obtain your degree.