Site Loader

[News]

[9/2] Hi! Hi

[10/10] Please check assignment 1 again.

[General Info]

Class Time: 18:00 ~ 21:45 (Monday)

Room Number : #27419B, Engineering Building 2

Official Language : English

Instructor : Prof. Euiseong Seo

Course Description: This is a supplementary lab course for the system program course (SWE2001). In this course, students will earn hands-on experiences in writing system program code, performance analysis and optimization.

Textbook : 

References

Grading: (subject to change)

  • Class attendance: 10%
  • Final Exam: 40%
  • 3 Programming Assignments: 50%

TA:

  • Donggyu Choi (gmj03003@gmail.com)
  • Jongseok Kim (ks77sj@gmail.com) 

[Schedule]

The following scheduling is tentative and subject to change without notice.

Week Topic Reading
Week1 Introduction 9/2
Week2 Intro to Linux 9/9
Week3 File I/O(1) 9/16
Week4 Process 9/23
Week5 Signals 9/30
Week6 IPC 10/7
Week7 Assignment 1  10/14
Week8 Mid-term Exam Week 10/21 
Week9 No class due to conference 10/28
Week10 Socket 11/4
Week11 Concurrency 11/11
Week12 Assignment 2 11/18
Week13 Pthread 1 11/25
Week14 Pthread 2 12/2
Week15 Pthread 3 12/9
Week16 Final Exam Week 12/16 

[Resource]

[Assignments]

 

 * Assignment 1 [score] [score_raw] [update 12/20,  4:00 PM]    – due: 10/25, 11:59 PM
    – The following fixes were made [update 10/17]
            In 7. Example: ‘she tom’ => ‘she (new line) tom’
            In 7. Example: ‘he * is’ => ‘he*is’ (In case 4, the * between the two words appears without spaces.)
            In 7. Example: ‘summer(new line)is’ => ‘summer is’
            In 4.2: ‘one or more characters’ => ‘one or more words’

500-Days-of-Summer_s.txt   answer.out
    – Please re download document file and answer.out.
 

1. Line number starts with 1. Index starts with 0. 

2. In case 4, there could be a space between words 1,2 and *.

3. There are some errors in Example. If you search ‘he’, you just print only ‘he’, not ‘she’, ‘he.’, ‘her’, ‘he’s’, etc,.

4. In case 2, there are a multiple (more than 2) words as input.

5. If input has ” character, it is case 3.
      – If input has * character, it is case 4.
      – If input doesn’t have ” or * and multiple words, it is case 2.
      – If input doesn’t have ” or * and single words, it is case 4. 
      – there are no case ” and * exist at same time.

6. In cases 2 and 3, multiple words (more than 2 and 3) can be given as input.

7. In case 4, input value is always two words.

8.  The word’s criterion is always white space. For example, if we want to find ” is. “, it must be searched for ” is. ”, not “is”.

 

Assignment 2    [score]
    – due: 10/25, 11:59 PM 

1. cp corresponds to type3, not type2.

2. Synopsis type2 programs may or may not have a file as an argument. That is, if file is found, data is read from file, if not, data is read from stdin.

   cat file-> cat [file] (For all programs of type2)

 

Post Author: