CS603 Assignment No. 1 Solution and Discussion


  • Cyberian's Gold

    Re: CS603 Assignment No. 1 Solution and Discussion

    Software Architecture and Design (CS603)
    Assignment # 01
    Total marks = 20

    Deadline Date: 01/06/2020

    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 concern 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.

    Topic Covered:
    • The assignment has been designed to enhance your knowledge about discipline of design and design processes.

    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 people 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]

    Questions No 01 Marks (15)

    Scenario
    Due to pandemic situation in our country, suppose you have downloaded a game on your smart phone named as Ludo Star to pass the quarantine. You have to draw an activity diagram for Ludo star app for the following modules:
    • You can sign up or can join through Facebook
    • If you signup then login will be required to play the game
    • If login or join through face book is failed, then again ask to sign up or join through face book
    • After login you will select the playing mode. Playing modes are given below:
    o 1 On 1
    o Team Up
    o Four Player
    • After that choose the bet coins and start play
    • After playing the result will be displayed as won or loss
    • At last there will be an option to play again

    Draw an ACTIVITY diagram for the above scenario.

    Questions No 02 Marks (5)

    Consider a scenario where we have to perform some operations on the basis of the number. If the number
    is odd, perform the following operations:

    1. Add 5 to the number
    2. Multiply it by 5
    3. Display the number
      If the number is even, then perform the following operations:
    4. Add 7 to the number
    5. Multiply it by 7
    6. Display the number
      At the end add 20 to the number regardless if it is even or odd. According to the above scenario, the activity diagram is given below:

    d7d770b4-7d3e-49de-89db-4b201e749410-image.png

    Redraw the above diagram by using Decision and Merge nodes.


  • Cyberian's Gold

    @moaaz said in CS603 Assignment No. 1 Solution and Discussion:

    Questions No 02 Marks (5)
    Consider a scenario where we have to perform some operations on the basis of the number. If the number
    is odd, perform the following operations:

    Add 5 to the number
    Multiply it by 5
    Display the number
    If the number is even, then perform the following operations:
    Add 7 to the number
    Multiply it by 7
    Display the number
    At the end add 20 to the number regardless if it is even or odd. According to the above scenario, the activity diagram is given below:

    Redraw the above diagram by using Decision and Merge nodes.

    Solution:
    2a595f28-2f8e-49a3-9df5-8fb27e42a024-image.png


  • Cyberian's Gold

    @moaaz said in CS603 Assignment No. 1 Solution and Discussion:

    Questions No 01 Marks (15)
    Scenario
    Due to pandemic situation in our country, suppose you have downloaded a game on your smart phone named as Ludo Star to pass the quarantine. You have to draw an activity diagram for Ludo star app for the following modules:
    • You can sign up or can join through Facebook
    • If you signup then login will be required to play the game
    • If login or join through face book is failed, then again ask to sign up or join through face book
    • After login you will select the playing mode. Playing modes are given below:
    o 1 On 1
    o Team Up
    o Four Player
    • After that choose the bet coins and start play
    • After playing the result will be displayed as won or loss
    • At last there will be an option to play again
    Draw an ACTIVITY diagram for the above scenario.

    Solution:
    a6a63710-7010-41f4-86bc-08968b0d04ff-image.png



Quiz 100% Result Quiz 100% Result
| |