CSCI 243 Fall 2011 Exam #1

Directions:  This exam is closed book, closed notes, closed neighbor, closed computer, and (hopefully) open mind.  Write legibly, since if I can’t decipher it, I have to assume that it is wrong.  Maximize your score by looking over the whole test and then answering the easy questions first.  Good luck and have fun!

 

MATCHING: Write the number of the word from the right column next to the word’s definition in the left column in the space provided.

 

____ 1.    changes access permissions on a file

 

____  2.   deletes a directory

 

____  3.   prints a file

 

____  4.   compares two files showing the editing commands that change one into the other

 

____  5.   displays information about a command, its options

 

____  6.   creates an empty file, or updates a file’s timestamp

 

____  7.   changes the current directory

 

____  8.   shows the number of characters, words and lines in a file

 

____  9.   displays the contents of a file one screen at a time

 

____  10. displays the user name you are running as

 

____  11.  shows the amount of free space on each disk drive

 

____  12. creates a new directory

 

____  13. sets abbreviations for commands in the shell

 

____  14. used to allow a program to continue running after you log out

 

____  15. makes a copy of a file

 

____  16. shows the currently executing processes

 

____  17. terminates program execution

 

____  18. program used to edit files

 

____  19. displays the first few lines of a file

 

____  20. lowers the priority of a job

 

____ 21. compresses or uncompresses a file

 

____ 22. displays a calendar

 

____ 23. displays the directory you are currently “in”

 

____ 24. displays the contents of a file as a series of byte values

 

____ 25. sorts the contents of a file

 

 

 

1.     alias

2.     bg

3.     cal

4.     cat

5.     cd

6.     chmod

7.     cp

8.     df

9.     diff

10.  du

11.  echo

12.  fg

13.  finger

14.  grep

15.  gzip

16.  head

17.  kill

18.  less

19.  lpq

20.  lpr

21.  lprm

22.  ls

23.  man

24.  mkdir

25.  nohup

26.  mv

27.  nice

28.  od

29.  ps

30.  pwd

31.  rm

32.  rmdir

33.  sort

34.  talk

35.  tar

36.  touch

37.  vi

38.  wall

39.  wc

40.  who

41.  who am i

42.  write

1.     alias

2.     bg

3.     cal

4.     cat

5.     cd

6.     chmod

7.     cp

8.     df

9.     diff

10.  du

11.  echo

12.  fg

13.  finger

14.  grep

15.  gzip

16.  head

17.  kill

18.  less

19.  lpq

20.  lpr

21.  lprm

22.  ls

23.  man

24.  mkdir

25.  nohup

26.  mv

27.  nice

28.  od

29.  ps

30.  pwd

31.  rm

32.  rmdir

33.  sort

34.  talk

35.  tar

36.  touch

37.  vi

38.  wall

39.  wc

40.  who

41.  who am i

42.  write

 


 

BONUS:(5 points)

SUDOKU:  The usual…fill in the empty squares with the digits 1 thru 9 such that each row, column, and 3x3 square contains each of the digits exactly once.

 

2

 

 

4

 

 

5

 

 

 

 

 

 

5

8

 

2

 

 

4

2

 

9

1

6

 

 

8

5

 

1

 

4

9

 

9

 

 

 

 

 

 

 

1

 

4

7

 

6

 

3

8

 

 

7

2

8

 

1

6

 

 

8

 

9

6

 

 

 

 

 

 

1

 

 

3

 

 

2