Navigation

    Cyberian
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Pro Blog
    • Users
    • Groups
    • Unsolved
    • Solved

    SOLVED CS604 Assignment 1 Solution and Discussion

    CS604 - Operating Systems
    cs604 assignment 1 solution discussion fall 2019
    1
    5
    187
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zareen
      zareen Cyberian's Gold last edited by

      Operating Systems (CS604)
      Assignment # 01
      Fall 2019
      Total marks = 20

      Deadline Date
      16-11-2019

      Please carefully read the following instructions before attempting assignment.

      RULES FOR MARKING
      It should be clear that your assignment would not get any credit if:
       The assignment is submitted after the due date.
       The submitted assignment does not open or file is corrupt.
       Strict action will be taken if submitted solution is copied from any other student or from the internet.

      You should consult the recommended books to clarify your concepts as handouts are not sufficient.

      You are supposed to submit your assignment in .doc or docx format.
      Any other formats like scan images, PDF, zip, rar, ppt and bmp etc will not be accepted.

      Objective:
      • The objective of this assignment is to provide hands on experience of:
      • To learn and understand the basic concept of an Operating System
      • To learn Process and its states

      NOTE

      No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.

      If you find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.

      For any query, feel free to email at:
      [email protected]

      Question No 01 2*5=10 marks

      As a process executes, it changes states. The state of a process is defined in part by the current activity of that process. Given below are current and next states of process. According to your understanding write process conditions based on the states in which process is currently in. what can be the condition that changes one state into another?

      711993dd-d5ba-4dd9-b8e8-13ae4e0898e1-image.png

      Question No 02 2*5=10 marks

      The following table contains the list of operations. Write down the Linux commands along with their screenshots for performing these operations:
      e6f1dbaf-ee88-4f30-8ad2-a08f1ca000e1-image.png
      List of Operations
      List the contents of files to the terminal window.
      Change the owner and group owner of a file.
      Compares two text files and show the differences between them
      Print a string of text to the terminal window.
      Change the password for a user.

      You are required to run the respective commands on Ubuntu and provide relevant screen shots of the list of operations as stated in above table.
      

      Wish you very Best of Luck!

      Discussion is right way to get Solution of the every assignment, Quiz and GDB.
      We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
      Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
      NOTE: Don't copy or replicating idea solutions.
      Quiz Copy Solution
      Mid and Final Past Papers
      Live Chat

      zareen 2 Replies Last reply Reply Quote 0
      • zareen
        zareen Cyberian's Gold last edited by

        Solution:
        Q. 1 Answer:
        As a process executes, it changes states. The state of a process is defined in part by the current activity of that process. Given below are current and next states of process. According to your understanding, what can be condition that changes one state into another:

        Sr # Current State -> Next State Conditions
        1 Ready->Running Scheduler Dispatch
        2 Waiting->Ready I/O or Event Completion
        3 Running->Terminated Exit
        4 Running->Ready Interrupt
        5 New->Ready Admitted

        Q.2 Answer:
        The following table contains the list of operations. Write down the Linux commands along with their screenshots for performing these operations:

        List of Operations
        List the contents of files to the terminal window.
        Change the owner and group owner of a file.
        Compares two text files and show the differences between them
        Print a string of text to the terminal window.
        Change the password for a user.

        You are required to run the respective commands on Ubuntu and provide relevant screen shots of the list of operations as stated in above table.

        Sr # List of Operations Command
        1 List the contents of files to the terminal window. cat
        2 Change the owner and group owner of a file. chown
        3 Compares two text files and show the differences between them diff
        4 Print a string of text to the terminal window. echo
        5 Change the password for a user. passwd

        Discussion is right way to get Solution of the every assignment, Quiz and GDB.
        We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
        Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
        NOTE: Don't copy or replicating idea solutions.
        Quiz Copy Solution
        Mid and Final Past Papers
        Live Chat

        1 Reply Last reply Reply Quote 0
        • zareen
          zareen Cyberian's Gold last edited by

          Solution:
          Q. 1 Answer:
          As a process executes, it changes states. The state of a process is defined in part by the current activity of that process. Given below are current and next states of process. According to your understanding, what can be condition that changes one state into another:

          Sr # Current State -> Next State Conditions
          1 Ready->Running Scheduler Dispatch
          2 Waiting->Ready I/O or Event Completion
          3 Running->Terminated Exit
          4 Running->Ready Interrupt
          5 New->Ready Admitted

          Q.2 Answer:
          The following table contains the list of operations. Write down the Linux commands along with their screenshots for performing these operations:

          List of Operations
          List the contents of files to the terminal window.
          Change the owner and group owner of a file.
          Compares two text files and show the differences between them
          Print a string of text to the terminal window.
          Change the password for a user.

          You are required to run the respective commands on Ubuntu and provide relevant screen shots of the list of operations as stated in above table.

          Sr # List of Operations Command
          1 List the contents of files to the terminal window. cat
          2 Change the owner and group owner of a file. chown
          3 Compares two text files and show the differences between them diff
          4 Print a string of text to the terminal window. echo
          5 Change the password for a user. passwd

          Discussion is right way to get Solution of the every assignment, Quiz and GDB.
          We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
          Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
          NOTE: Don't copy or replicating idea solutions.
          Quiz Copy Solution
          Mid and Final Past Papers
          Live Chat

          1 Reply Last reply Reply Quote 0
          • zareen
            zareen Cyberian's Gold @zareen last edited by

            @zareen said in CS604 Assignment 1 Solution and Discussion:

            Question No 02 2*5=10 marks
            The following table contains the list of operations. Write down the Linux commands along with their screenshots for performing these operations:

            List of Operations
            List the contents of files to the terminal window.
            Change the owner and group owner of a file.
            Compares two text files and show the differences between them
            Print a string of text to the terminal window.
            Change the password for a user.

            239d9a8c-6173-45ba-a78a-bab9988268a0-image.png 33610c53-054c-44d0-872d-b28a6a3926cb-image.png

            Discussion is right way to get Solution of the every assignment, Quiz and GDB.
            We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
            Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
            NOTE: Don't copy or replicating idea solutions.
            Quiz Copy Solution
            Mid and Final Past Papers
            Live Chat

            1 Reply Last reply Reply Quote 0
            • zareen
              zareen Cyberian's Gold @zareen last edited by

              @zareen said in CS604 Assignment 1 Solution and Discussion:

              @zareen said in CS604 Assignment 1 Solution and Discussion:

              Assignment # 01

              92529b9d-c647-40b8-bd4f-d4791eea7711-image.png

              Discussion is right way to get Solution of the every assignment, Quiz and GDB.
              We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
              Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
              NOTE: Don't copy or replicating idea solutions.
              Quiz Copy Solution
              Mid and Final Past Papers
              Live Chat

              1 Reply Last reply Reply Quote 0
              • zareen
                zareen Cyberian's Gold @zareen last edited by

                @zareen said in CS604 Assignment 1 Solution and Discussion:

                Assignment # 01

                Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                NOTE: Don't copy or replicating idea solutions.
                Quiz Copy Solution
                Mid and Final Past Papers
                Live Chat

                zareen 1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Insaf Sehat Card Live Cricket Streaming

                100% Off on Your FEE Join US! Ask Me How?

                Quiz 100% Result If you want to know how you can join us and get 100% Discount on your FEE ask Cyberian in Chat Room!
                Quiz 100% Result Quiz 100% Result
                solution1255 discussion1206 fall 2019813 assignment 1433 assignment 2297 spring 2020265 gdb 1248 assignment 382 crw10174 spring 201955
                | |
                Copyright © 2021 Cyberian Inc. Pakistan | Contributors
                Live Chat