Starting from:

$25

CS160- Assignment 3 Solved

• What are the similarities between the two degrees?

First year, identical class recommendations. Both programs have to take CS 261, CS 290, Technical writing, Statistics for Engineers, and a perspectives class. Then the third year both pathways have to take some of the same CS classes. This is again the same situation for the fourth year. In the end both have the same foundation for CS.

• What are the differences between the two degrees?

The second year they start to differ. For the second year for Systems you have to take more math class then you would for applied. In the third year for applied this is where you get more electives to go down a certain pathway while the systems program has a set of required classes. In the end what’s different is systems you have less lee-way in specific CS classes you want to pursue while in Applied you get to choose what you want to subset of CS you want to learn more about. Applied is more specific CS and systems is more general CS.

 

 

• Which degree do you see yourself more interested in?

I see myself in the Applied program because at this moment I’m interested in Cybersecurity.  Also because I feel that there’s more room for me to explore and sample through a various amount of CS classes to see what field I want to pursue.

 

• Even if you are more interested in the Systems degree, what would you be interested in with the applied?  Which pre-approved plan would you pick or which plan would you create on your own, and why?

I would pick Cybersecurity because that seems like it’d be an exciting career in which I get to do some amazing stuff while also helping other people.

 

 

 

 

 

• Carry out the plan/Devise a plan



 

 

 

 

• Looking back:



 

 

 

 

• Carry out the plan

print("\nHello! Welcome to the Text Adventure Game!");

continueGame = int(input("Enter 1 to continue! "));

gameVariable = 0;

if(continueGame == 1):

    print("\nAwesome lets get started! \n\nYou awake in a dense forest with nothing but your clothes and a genie lamp.");

    print("You've seen the movie Aladdin so instinctually you rub the lamp with your hands and nothing happens");

    gameVariable = int(input("You 1 rub the lamp again or 2 throw it against a tree in defeat (enter 1 or 2) "));

    if(gameVariable == 1):

        print("\nYou rub the lamp again and a genie appears!");

        print("The genie thanks you for summoning him as it has been 500 years since he's last gotten out");

        print("The genie says that they can grant you one wish");

        print("\nThey can grant you the power of teleportation(1), speed(2), wealth(3)\n");

        gameVariable = int(input("What power do you want? "));

        

        if(gameVariable == 1):

            print("\nYou can now teleport anywhere you want!");

            gameVariable = int(input("Do you teleport home(1) or to space(2)? "));

            if (gameVariable == 1):

                print("\nYou're exhausted from waking up in a forest and meeting a genie so you go to bed. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou don't have a spacesuit on you so science gets the better of you. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        elif(gameVariable == 2):

            print("\nYou can now move faster than any human has before!");

            gameVariable = int(input("Do you run as fast as you can out of the forest(1) or climb as quick as you can up a tall tree(2)? "));

            if (gameVariable == 1):

                print("\nYou run out of the dense forest and see your house over on the hill. You run into your house and call Genius World Records to time your 100 meter dash. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou quickly climb the tallest tree to see your house not to far away. You run to your house and make dinner. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        elif(gameVariable == 3):

            print("\nYou now have all the money in the world! But you're stuck in the middle of the forest");

            gameVariable = int(input("Do you burn the money to make a smoke signal to get rescued(1) or bury it all and try to find your own way out of the forest(2) "));

            if (gameVariable == 1):

                print("\nYou make a bonfire with all the money and 2 hours later a rescue helicopter comes and picks you up. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou bury the money but now you're really cold. You walk for days and are still in nothing but forest... Science gets the better of you. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        else:

             print("Sorry you entered the wrong number GAME OVER");

 

    elif (gameVariable == 2):

        print("You throw the lamp and it knocks the top off and a genie appears!");

        print("The genie thanks you for summoning him as it has been 500 years since he's last gotten out");

        print("The genie says that they can grant you one wish");

        print("\nThey can grant you the power of teleportation(1), speed(2), wealth(3)\n");

        gameVariable = int(input("What power do you want? "));

        

        if(gameVariable == 1):

            print("\nYou can now teleport anywhere you want!");

            gameVariable = int(input("Do you teleport home(1) or to space(2)? "));

            if (gameVariable == 1):

                print("\nYou're exhausted from waking up in a forest and meeting a genie so you go to bed. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou don't have a spacesuit on you so science gets the better of you. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        elif(gameVariable == 2):

            print("\nYou can now move faster than any human has before!");

            gameVariable = int(input("Do you run as fast as you can out of the forest(1) or climb as quick as you can up a tall tree(2)? "));

            if (gameVariable == 1):

                print("\nYou run out of the dense forest and see your house over on the hill. You run into your house and call Genius World Records to time your 100 meter dash. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou quickly climb the tallest tree to see your house not to far away. You run to your house and make dinner. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        elif(gameVariable == 3):

            print("\nYou now have all the money in the world! But you're stuck in the middle of the forest");

            gameVariable = int(input("Do you burn the money to make a smoke signal to get rescued(1) or bury it all and try to find your own way out of the forest(2) "));

            if (gameVariable == 1):

                print("\nYou make a bonfire with all the money and 2 hours later a rescue helicopter comes and picks you up. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou bury the money but now you're really cold. You walk for days and are still in nothing but forest... Science gets the better of you. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        else:

             print("Sorry you entered the wrong number GAME OVER");

 

    else:

        print("Sorry you entered the wrong number GAME OVER");

 

else:

    print("\nToo bad you have to play!");

    print("\nYou awake in a dense forest with nothing but your clothes and a genie lamp.");

    print("You've seen the movie Aladdin so instinctually you rub the lamp with your hands and nothing happens");

    gameVariable = int(input("You 1 rub the lamp again or 2 throw it against a tree in defeat (enter 1 or 2) "));

    if(gameVariable == 1):

        print("\nYou rub the lamp again and a genie appears!");

        print("The genie thanks you for summoning him as it has been 500 years since he's last gotten out");

        print("The genie says that they can grant you one wish");

        print("\nThey can grant you the power of teleportation(1), speed(2), wealth(3)\n");

        gameVariable = int(input("What power do you want? "));

        

        if(gameVariable == 1):

            print("\nYou can now teleport anywhere you want!");

            gameVariable = int(input("Do you teleport home(1) or to space(2)? "));

            if (gameVariable == 1):

                print("\nYou're exhausted from waking up in a forest and meeting a genie so you go to bed. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou don't have a spacesuit on you so science gets the better of you. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        elif(gameVariable == 2):

            print("\nYou can now move faster than any human has before!");

            gameVariable = int(input("Do you run as fast as you can out of the forest(1) or climb as quick as you can up a tall tree(2)? "));

            if (gameVariable == 1):

                print("\nYou run out of the dense forest and see your house over on the hill. You run into your house and call Genius World Records to time your 100 meter dash. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou quickly climb the tallest tree to see your house not to far away. You run to your house and make dinner. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        elif(gameVariable == 3):

            print("\nYou now have all the money in the world! But you're stuck in the middle of the forest");

            gameVariable = int(input("Do you burn the money to make a smoke signal to get rescued(1) or bury it all and try to find your own way out of the forest(2) "));

            if (gameVariable == 1):

                print("\nYou make a bonfire with all the money and 2 hours later a rescue helicopter comes and picks you up. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou bury the money but now you're really cold. You walk for days and are still in nothing but forest... Science gets the better of you. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        else:

             print("Sorry you entered the wrong number GAME OVER");

 

    elif (gameVariable == 2):

        print("You throw the lamp and it knocks the top off and a genie appears!");

        print("The genie thanks you for summoning him as it has been 500 years since he's last gotten out");

        print("The genie says that they can grant you one wish");

        print("\nThey can grant you the power of teleportation(1), speed(2), wealth(3)\n");

        gameVariable = int(input("What power do you want? "));

        

        if(gameVariable == 1):

            print("\nYou can now teleport anywhere you want!");

            gameVariable = int(input("Do you teleport home(1) or to space(2)? "));

            if (gameVariable == 1):

                print("\nYou're exhausted from waking up in a forest and meeting a genie so you go to bed. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou don't have a spacesuit on you so science gets the better of you. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        elif(gameVariable == 2):

            print("\nYou can now move faster than any human has before!");

            gameVariable = int(input("Do you run as fast as you can out of the forest(1) or climb as quick as you can up a tall tree(2)? "));

            if (gameVariable == 1):

                print("\nYou run out of the dense forest and see your house over on the hill. You run into your house and call Genius World Records to time your 100 meter dash. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou quickly climb the tallest tree to see your house not to far away. You run to your house and make dinner. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        elif(gameVariable == 3):

            print("\nYou now have all the money in the world! But you're stuck in the middle of the forest");

            gameVariable = int(input("Do you burn the money to make a smoke signal to get rescued(1) or bury it all and try to find your own way out of the forest(2) "));

            if (gameVariable == 1):

                print("\nYou make a bonfire with all the money and 2 hours later a rescue helicopter comes and picks you up. GAME OVER");

            elif (gameVariable == 2):

                print("\nYou bury the money but now you're really cold. You walk for days and are still in nothing but forest... Science gets the better of you. GAME OVER");

            else:

                print("\nSorry you entered the wrong number GAME OVER");

 

        else:

             print("Sorry you entered the wrong number GAME OVER");

 

    else:

        print("Sorry you entered the wrong number GAME OVER");

 

 

 

More products