CSE 220 - CSE220 Programming for Computer Engineering -...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE220 Programming for Computer Engineering - Exam 1 Name ___________________________________ Spring 2009 ~ Burger ~ Dept. of Computer Science ~ Arizona State University 1 This exam is worth 22.5% of your final letter grade. You are permitted to bring one 3" x 5" recipe-sized notecard with notes written on it. You are to complete all questions on your own. Anyone caught cheating on this exam will receive a score of zero and will be reported to the School of Engineering Dean's Office for appropriate disciplinary action. Write you answers legibly. If the instructor or grader(s) cannot read your handwriting your answers may be graded incorrectly. You have 60 minutes to complete this exam. When you have completed the exam, hand in the entire exam to the instructor. Be prepared to identify yourself to the instructor with a valid photo ID (driver's license or ASU SUN Card only). Some of the questions are about the files and directories in the directory tree shown below. This Linux system has three users named Fred, Wilma, and Pebbles, each with his or her own home directory. 1. (1 pt) What is the absolute path to Fred's CSE220 assignment 1 document (a01.doc)? /home/fred/cse220/a01.doc Point Distribution 0.1 pt deduction: no file name (a01.doc) 0.2 pt deduction: incorrect folder name 2. (1 pt) What is the absolute path to Pebbles' CSE220 assignment 1 document (a01.doc)? /home/pebbles/cse220/a01.doc Point Distribution 0.1 pt deduction: no file name (a01.doc) 0.2 pt deduction: incorrect folder name 3. (1 pt) Assume Fred is logged in and his current directory is his home directory. What command would he type to make his MAT143 directory his current directory? cd mat143 Point Distribution 0.2 pt deduction: cd fred/mat143 (/home is not Fred’s home directory). 4. (1 pt) Assume Fred's current directory is /tmp. What command would he type to make his home directory his current directory? cd OR cd ~ OR cd /home/fred OR cd . ./home/fred Point Distribution 0.2 pt deduction: cd /home or cd . ./home (/home is not Fred’s home directory).
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE220 Programming for Computer Engineering Exam 1 Spring 2009 ~ Burger ~ Dept. of Computer Science ~ Arizona State University 2 5. (1 pt) If Fred's current directory is his home directory, what one command would Fred type to see the permission attributes of the files in his EEE301 directory? ls -l eee301
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/02/2010 for the course COMPUTER cse 220 taught by Professor Kevinburger during the Spring '10 term at ASU.

Page1 / 4

CSE 220 - CSE220 Programming for Computer Engineering -...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online