Starting from:

$30

CSC3320- Systems Programming: Homework 1 Solved

Create a Google doc for each homework assignment 
Start your responses from page 2 of the document and copy these instructions on page 1.
Fill in your name, campus ID and panther # in the fields provided. If this information is missing in your document 
Keep this page 1 intact on all your submissions.
Each homework will typically have 2-3 PARTS, where each PART focuses on specific topic(s).
Start your responses to each PART on a new page.
If you are being asked to write code copy the code into a separate txt file and submit that as well.
If you are being asked to test code or run specific commands or scripts, provide the evidence of your outputs through a screenshot and copy the same into the document.
Upon completion, download a .PDF version of the document and submit the same.
Full Name:

Campus ID:

Panther #:

PART 1

Answer the following questions briefly. Provide clear and succinct reasoning. 

Points per question = 5

Tell the  differences  between  Unix  and    Then  please  list  some  operating systems (at least three) which belong to Unix but not Linux.
What is the pipe mechanism in UNIX? And show one command using pipe and explain how the pipe works in it?
In a Linux system, you can issue the command ls / to check the sub directories under root. Please describe the meanings of directory /bin,  /dev, /boot, /usr, /etc, /mnt, /sbin, /var For  example, you can say that /bin contains binary executable files.
What is the meaning of Multitask and Multi-user in a Unix system?
What does -rwxr-xr-x mean in terms of permissions for a file? What is the exact unix command (with the octal representation) for changing the permissions to this setting?
In class,  you  have  learned  the  meaning  of  read,  write  and  execute  permission for regular files. However, these permissions are also applied  to directories.  So  please  describe  the  meaning  of  read,  write,  and  execute permission for directory.
  Part II-a
Regular Expression 

Find  outcomes  for each  given  basic/extended  regular  expression  

(maybe multiple correct answers) 

Points per question: 2.5

Example:

‘ab+a’ (extended regex)

Part II-b
Regular Expression 

Write down the extended regular expression for following questions. 

E.g. Social security number in the format of 999-99-9999. Answer: [09]{3}-[0-9]{2}-[0-9]{4} 

Points per question: 5

Valid URL  beginning  with  “http://” and  ending  with  ".edu" (e.g.  http://cs.gsu.edu, http://gsu.edu)
Non-negative integers. (e.g. 0, +1, 3320)
A valid absolute pathname in Unix (e.g. /home/ylong4, /test/try.c)
Identifiers which  can  be  between  1  and  10  characters  long,  must  start with a letter or an underscore. The following characters can  be letters or underscores or digits. (e.g. number, _name1, isOK).
Phone number in any of the following format: 9999999999,999-999- 9999, (999)-999-9999. (Note: all of these formats should be matched by a single regular expression)
Part III
Programming

Points per question: 15

Create a file named homework_instructions.txt using VI editor and type in it all the submission instructions from page1 of this document. Save the file in a directory named homeworks that you would have created. Set the permissions for this file such that only you can edit the file while anybody can only read. Find and list (on the command prompt) all the statements that contain the word POINTS. Submit your answer as a description of what you did in a sequential manner (e.g. Step1 … Step 2… and so on..). Add a screenshot to your answer as a proof of evidence.

More products