DEVRY CIS 115 LOGIC AND DESIGN
TAKE MY ONLINE CLASS

Many of you may be asking the question, “What is Devry CIS 115 Logic And Design?” The simple answer is that logic and design are the steps that a software, game, or web developer goes through in determining what his or her application is supposed to do and how it can be done. Analysis and design are the first steps in any new or existing software development project and they are a lot of fun!

Using an analogy, think about building a new house. The first thing you do is decide how many rooms you want, how big the house should be, and the basic layout of the floor plan—this is the analysis activity in which you determine what needs to be done. Then, an architect takes the basic floor plan and creates a detailed design or blueprint of the house, which shows the exact measurements—this is the design, or how it will be done. Establishing what you need to do and then determining how you are going to do it must be correctly completed before you start building the house. This is as true for building a house as it is for building a software application, game, or website. Therefore, before you learn how to do any programming, you need to learn how to analyze the requirements and create the logic and design that are used to construct the application. Just like when you build a house, you cannot build a program without a blueprint!

Although we will focus on a specific language (Python), the concepts learned in this course will be applied in every programming language that you will ever learn. Once you master the Course Objectives, you will be able to create efficient designs that are easier to build and test. You will also find it much easier to learn different programming languages because you will be familiar with analyzing requirements and creating designs that use standards and techniques used in every programming language.

Some of the topics in this course might be familiar. For example, we will look at the order of math operations, rules that you would have learned in a previous math class. You may have seen logical operators (And, Or, Not) in a previous class. However, unless you have already studied programming, many of the concepts presented in this class will not be familiar and the thought process that you use will be a little different as well. The key is to have fun with the material, stay organized, focus on the weekly activities, and ask questions whenever you have them. If you want to be a software, game, or web developer, this is the place to start. Although the course will be challenging, if you like solving puzzles, it can also be a lot of fun.

NOTE: Since courses and assignments are getting changed frequently we highly recommend hiring our professional CIS experts who have taken more than 1200 CIS classes. If you want to ace your class with an A grade contact us today.

Let the learning begin!

 

Devry CIS 115 Week 1 Software Development and Design Tools

 

[su_button url=”https://www.homeworkprovider.com/product/devry-cis-115-week-1-ilab/” target=”blank” background=”#1b98f5″ size=”8″ icon=”icon: shopping-cart”]Buy CIS 115 Week 1 Lab Answers[/su_button]


Title of Lab: Building a Registration Form and Pay Calculator in Python


Summary – Part 1

Create a program that allows a student to complete a registration form and displays a completion message that includes the user’s full name and a temporary password.


Summary – Part 2

Create a program that calculates a user’s weekly gross and take-home pay.


Deliverables

  •  2 source code Python file. 
  •  A Word document containing both source code and the screen print of the program outputs. 


Lab Steps

Part 1 – Registration Form


Sample Output:

First Name: Eric
Last Name: Idle
Birth Year: 1934

Welcome Eric Idle!

Your Registration is complete.

Your temporary password is: Eric*1934


Specifications:

  •  The user’s full name consists of the user’s first name, a space, and the user’s last name.
  • The temporary password consists of the user’s first name, an asterisk (*), and the user’s birth year.
  • Assume the user will enter valid data.

 

Devry CIS 115 Week 2 Selection Control Structures

 

[su_button url=”https://www.homeworkprovider.com/product/devry-cis-115-week-2-ilab-even-or-odd-and-grade-checker-in-python/” target=”blank” background=”#1b98f5″ size=”8″ icon=”icon: shopping-cart”]Buy CIS 115 Week 2 Lab Answers[/su_button]


Title of Lab: Even or Odd and Grade Checker in Python


Summary – Part 1

Create a program that checks whether a number is even or odd.


Summary – Part 2

Create a program that checks one’s letter grade.


Deliverables

  •  2 source code Python file. 
  •  A Word document containing both source code and the screen print of the program outputs. 


Lab Steps

Part 1 – Even or Odd


Sample Output:

Even or Odd
Enter an integer: 20
This is an even number.


Specifications:

  • Use the selection structure.
  • Assume that the user will enter a valid integer


Make sure to use the following criteria:

  • 100 – 90: A
  • 89 – 80: B
  • 79 – 70: C
  • 69 – 60: D
  • 59 and below: F


Sample Output:

  • Grade Checker
  • Enter your grade: 88
  • You earned a B
  • Assume the user will enter valid data.
  • Selection structure needs to be used.

 

Devry CIS 115 Week 3 Repetition Control Structures

 

[su_button url=”https://www.homeworkprovider.com/product/devry-cis-115-week-3-ilab-change-calculator-and-shipping-calculator-in-python/” target=”blank” background=”#1b98f5″ size=”8″ icon=”icon: shopping-cart”]Buy CIS 115 Week 3 Lab Answers[/su_button]


Title of Lab: Change Calculator and Shipping Calculator in Python


Summary – Part 1

Create a program that calculates the coins needed to make change for the specified number of cents.

 

Summary – Part 2

Create a program that calculates the total cost of an order including shipping.

 

Deliverables

  •  2 source code Python file. 
  •  A Word document containing both source code and the screen print of the program outputs. 


Lab Steps

Part 1 – Change Calculator

 

Sample Output:

Change Calculator

Enter the number of cents (0-99): 99

Quarters: 3
Dimes: 2
Nickels: 0
Pennies: 4

Continue? (y/n): y

Enter the number of cents (0-99): 55

Quarters: 2
Dimes: 0
Nickels: 1
Pennies: 0

Continue? (y/n): n

Bye!

 

Specifications:

  • The program should display the minimum number of quarters, dimes, nickels, and pennies that one needs to make up the specified number of cents.
  • Assume that the user will enter a valid integer for the number of cents.
  • The program should continue only if the user enters “y” or “Y” to continue.

Part 2 – Shipping Calculator

Sample Output:
===============================================================
Shipping Calculator
===============================================================
Cost of items ordered: 49.99
Shipping cost: 7.95
Total cost: 57.94

Continue? (y/n): y
===============================================================
Cost of items ordered: -65.50
You must enter a positive number. Please try again.
Cost of items ordered: 65.50
Shipping cost: 9.95
Total cost: 75.45

Continue? (y/n): n
===============================================================
Bye!

Specifications:

Use the following table to calculate shipping cost:

Cost of Items Shipping Cost
< $30.00 $5.95
$30.00 – $49.99 $7.95
$50.00 – $74.99 $9.95
> $75.00 Free

If the user enters a number that’s less than zero, display an error message and give the user a chance to enter the number again.

 

Devry CIS 115 Week 4 Complex and Nested Statements and Debugging

 

[su_button url=”https://www.homeworkprovider.com/product/devry-cis-115-week-4-ilab-and-course-project/” target=”blank” background=”#1b98f5″ size=”8″ icon=”icon: shopping-cart”]Buy CIS 115 Week 4 Lab & Course Project Answers[/su_button]


Title of Lab: Multiplication Table in Python

 

Summary

This week’s lab is to create a simple multiplication table using nested loops and if statements.
Prompt the user for the size of the multiplication table (from 2×2 to 10×10). Use a validation loop to display a warning if the number is less than 2 or greater than 10 and prompt the user to enter the data again until they enter a valid number.
Put a # after any even number in your table (odd numbers will have just a space/nothing after them).

Deliverables

 

Lab Steps

Sample Output:

The output should be something similar to the following.

cis-115-week-4-ilab

 

Hints:

  • The outer loop will start each new row.
  • The inner loop will control the display of each column in the row.
  • Note that to keep the numbers right-aligned, there are different amounts of space before single-digit numbers (those less than 10), double-digit numbers (those between 10-99), and triple-digit numbers (100).
  • The row labels can be added to your inner loop (note that there are different amounts of space required after the number in the row labels.
  •  The column labels should use a separate loop(s) that run before the main outer loop.
  • You can continue printing on the same line using end=”” in your print statement. This will come in handy if you want to print several things on one line inside a loop. For example, assuming the value of name is Ada, the following will print “Hello Ada” on one line:
    print(“hello “, end=””)
    print(name, end=””)


Tips:

  • Start early!
  • Do the basic table first without worrying about the spacing or lining things up, and don’t include row or column headings (add those later).
  • Once you get the numbers in the correct position, think about adding the proper amount of space before each number to line things up.
  • Once the columns line up, add the #/space for even/odd numbers.
  • Once the basic table is working, then add the row and column headings, and finally the main title.
  • Test as you go!

 

CIS 115 Week 4: Course Project

The Week 4 portion of your Course Project is due this week. Please refer to the Course Project Overview in the Introduction and Resources module for full details. Use this report (Links to an external site.) to complete this portion of the project.

Guess the number!

You will create a program that will ask the user to guess a number between 1 and 10. The pseudocode is below. Be sure to import random at the beginning of your code and use a comment block explaining what your program does

#Guess the number week 4

#Name:

#Date:
#Random number, loop while true
#ask user for number.
#if number is too high or too low, tell user, if they guessed it break out of loop

Display "Welcome to my Guess the number program!"

random mynumber

while True

Display "Guess a number between 1 and 10"

Get guess

if (guess<mynumber)

Display "Too low"

else if (guess>mynumber)

Display "Too high"

else if (guess==mynumber)

Display "You guessed it!"

 

When you run your program the result should be something like this:

Welcome to my Guess the number program!

Please guess a number between 1 and 10: 5

Too high

Please guess a number between 1 and 10: 4

Too high

Please guess a number between 1 and 10: 3

Too high

Please guess a number between 1 and 10: 2

You guessed it!

 

Devry CIS 115 Week 5 ArraysLists

 

[su_button url=”https://www.homeworkprovider.com/product/devry-cis-115-week-5-ilab-and-course-project/” target=”blank” background=”#1b98f5″ size=”8″ icon=”icon: shopping-cart”]Buy CIS 115 Week 5 Lab & Course Project Answers[/su_button]


Title of Lab: Race Time Sorting in Python

 

Summary

Store the times into arrays called Chevy[ ] and Ford[ ]. Then list the winner of each pair, giving the number of seconds the winner won by. At the end declare which team won based on which team had the most wins.


Deliverables

  •  A source code Python file. 
  •  A Word document containing both source code and the screen print of the program outputs. 


Lab Steps

There are eight cars in each team called Chevy and Ford. One car from each team races its opponent on the drag strip. Read in the racing times for the eight Chevy cars and then read in the times for the eight Ford cars.


Sample Match:

devry-cis-115-week-5-ilab-and-course-project


Specifications:

  • Accept the racing times for each of the Chevy cars into the array Chevy[ ].
  • Accept the racing times for each of the Ford cars into the array Ford[ ].
  • Then declare the wining car for each race, giving the winning time in seconds.
  • If the times are identical, then declare the race was a tie.
  • Finally, declare which team won the match, assuming a tie is possible.


CIS 115 Week 5: Course Project

The Week 5 portion of your Course Project is due this week. Please refer to the Course Project Overview in the Introduction and Resources module for full details. Use this report (Links to an external site.) to complete this portion of the project.

Guess the number!

You will add to the program you created last week. This week you will add input validation and a count to show how many guesses the user took before getting the correct number. The pseudocode is below. Be sure to import random at the beginning of your code and use a comment block explaining what your program does

#Guess the number week 5

#Name:

#Date:

#Random number, loop while true

#ask user for number. Check to see if the value is a number between 1 and 10

#if number is too high or too low, tell user, if they guessed it break out of loop

Display "Welcome to my Guess the number program!"

random mynumber

count=1

while True

   try

      Display "Guess a number between 1 and 10"

      Get guess

      while guess<1 or guess>10

          Display "Guess a number between 1 and 10"

          Get guess

    except

         Display "numbers only"

          continue

    if (guess<mynumber) Display "Too low" count=count+1 else if (guess>mynumber)

          Display "Too high"

          count=count+1

    else if (guess==mynumber)

        Display "You guessed it in "+ count + " attempts"

When you run your program the result should be something like this:

Welcome to my Guess the number program!

Please guess a number between 1 and 10: a

Numbers only!

Please guess a number between 1 and 10: -3

Please guess a number between 1 and 10: 4

Too low

Please guess a number between 1 and 10: 5

Too low

Please guess a number between 1 and 10: 6

You guessed it! It took you 3 attempts

Be sure to submit your assignment.

 

Devry CIS 115 Week 6 Modular Design

 

[su_button url=”https://www.homeworkprovider.com/product/devry-cis-115-week-6-ilab-and-course-project/” target=”blank” background=”#1b98f5″ size=”8″ icon=”icon: shopping-cart”]Buy CIS 115 Week 6 Lab & Course Project Answers[/su_button]


Title of Lab: Shopping List in Python


Summary

Create a program that will allow a user to add, list, and delete items from a shopping list.


Deliverables

  •  A source code Python file. 
  •  A Word document containing both source code and the screen print of the program outputs. 


Lab Steps

The program should be modular. For example, you will want to have an add_item(shopping_list) function, a delete_item(shopping_list) function, a display_list(shopping_list) function, a display_menu() function, and a main().


Sample Match:

devry-cis-115-week-6-ilab-and-course-project


Specifications:

  • The program should start with 2 items in the shopping list.
  • Don’t forget to include at the end of the program the code:
    o if __name__ == “__main__”:
    main();
  • Use this code for the delete_item(shopping_list) function:

devry-cis-115-week-6-ilab-and-course-project-specification

 

CIS 115 Week 6: Course Project

The Week 6 portion of your Course Project is due this week. Please refer to the Course Project Overview in the Introduction and Resources module for full details. Use this report (Links to an external site.) to complete this portion of the project.

Guess the number!

You will add to the program you created last week. This week you will add quite a bit of code to your project. You will add an option for the computer to guess as well as the user to guess a number. In addition, you will add a menu system. Be sure to import random at the beginning of your code and use a comment block explaining what your program does.

#Guess the number week 6

#Name:

#Date:

#Menu system displays - ask user if they want to guess a number, have computer guess a number, or exit

#Random number, loop while true

#ask user for number. Check to see if the value is a number between 1 and 10

#if number is too high or too low, tell user, if they guessed it break out of loop

#ask user to enter a number, computer randomly guesses

Display "Welcome to my Guess the number program!"

while true

   Display "1. You guess the number"
   Display "2. You type a number and see if the computer can guess it"
   Display "3. Exit"
   Get option


   if(option ==1)

      random mynumber

      count=1

      while True

         try

            Display "Guess a number between 1 and 10"

            Get guess

            while guess<1 or guess>10

                 Display "Guess a number between 1 and 10"

                  Get guess

        except

              Display "numbers only"

              continue

      if (guess<mynumber) Display "Too low" count=count+1 else if (guess>mynumber)

              Display "Too high"

              count=count+1

        else if (guess==mynumber)

             Display "You guessed it in "+ count + " attempts"

   if(option ==2)

      Get number from user

      count=1

      while True

 

         Get randomval from computer

 

         if (number<randomval) Display "Too low" count=count+1 else if (number>randomval)

            Display "Too high"

            count=count+1

         else if (number==randomval)

             Display "The computer guessed it in "+ count + " attempts. The number was "+randomval

   else

        break

When you run your program the result should be something like this:

Welcome to my Guess the number program!

You guess the number
You type a number and see if the computer can guess it
Exit
What is your choice: 1

Please guess a number between 1 and 10: 8

Too high

Please guess a number between 1 and 10: 7

You guessed it! It took you 2 attempts

You guess the number
You type a number and see if the computer can guess it
Exit
What is your choice: 2

Please enter a number between 1 and 10 for the computer to guess: 5

The computer guessed 7 which is too high

The computer guessed 2 which is too low

The computer guessed 9 which is too high

The computer guessed 8 which is too high

The computer guessed 8 which is too high

The computer guessed 1 which is too low

The computer guessed 3 which is too low

The computer guessed 4 which is too low

The computer guessed 2 which is too low

The computer guessed 8 which is too high

The computer guessed 3 which is too low

The computer guessed 1 which is too low

The computer guessed 4 which is too low

The computer guessed 7 which is too high

The computer guessed 1 which is too low

The computer guessed 7 which is too high

The computer guessed 1 which is too low

The computer guessed 4 which is too low

The computer guessed 4 which is too low

The computer guessed it! It took 20 attempts

You guess the number
You type a number and see if the computer can guess it
Exit
What is your choice: 3

Thank you for playing the guess the number game!

Be sure to submit your assignment.

 

Devry CIS 115 Week 7 GUIs and Networking in Python

 

[su_button url=”https://www.homeworkprovider.com/product/devry-cis-115-week-7-ilab-and-course-project/” target=”blank” background=”#1b98f5″ size=”8″ icon=”icon: shopping-cart”]Buy CIS 115 Week 7 Lab & Course Project Answers[/su_button]


Title of Lab: Networking with Python


Deliverables

  •  A source code Python file. 
  •  A Word document containing both source code and the screen print of the program outputs. 


Lab Steps 1: Finding Your IP Address

  • We will create a python program to do a port scan.
  • To do this you need to find the IP address of your computer.
  • Open a Command Prompt (Start button -> Windows System-> Command Prompt).
  • At the command prompt type ipconfig –all

devry cis 115 week 7 ilab and course project

In the above example, the IP address is IPv4 192.168.15.149


Lab Steps 2: Running Your Code

  • After you have set up your router we will create a python program to do a port scan.
  • Open Idle create a new file. Enter the following python code to create a port scanner.
  • NOTE – do not run the port scanner on any site except your router and your own machine.

devry cis 115 week 7 ilab and course project running code

 

Run the above code and enter the IP address of the machine (note the machine above is 192.168.8.113). This will take several minutes – even up to 10 minutes so please be patient! You may also try entering in the IP address of your router (shown below)

devry cis 115 week 7 python

 

CIS115 Week 7 Lab GUI Overview


Title of Lab: Creating a GUI in Python


Summary

This week’s lab is to create a GUI in python and use the tkinter module Use text boxes to retrieve the speed and time traveled (in minutes) from the user.
From this calculate the distance traveled: distance = rate * time


Deliverables

  •  A source code Python file. 
  •  A Word document containing both source code and the screen print of the program outputs. 


Lab Steps

Sample Output:

The output should be something similar to the following.

devry cis 115 week 7 GUI


Hints:

  • The following code below is an implementation of a GUI to solve for miles per gallon. Use the code from the example below calculating miles per gallon, and modify it to display the distance traveled.
  • Instead of asking the user for miles driven and gas. You will need to ask for Time driving and Speed. You will also need to modify the formula.
import tkinter as tk
from tkinter import ttk

def click_calculateButton():
    miles = float( milesText.get() )    # get miles driven from the miles textfield
    gas = float( gasText.get() )        # get gas used from the gas textfield
    mpg = miles / gas                   # do the math!
    mpgText.set( round(mpg,1) )         # display the output

def command_exitButton():
    root.destroy()

# create root window
root = tk.Tk()
root.title("MPG Calculator")
root.geometry("280x150")    # size of window

# create frame and add it to the root window
frame = ttk.Frame(root, padding="10 10 10 10")
frame.pack(fill=tk.BOTH, expand=True)

# create labels and textfields
ttk.Label(frame, text="Miles Driven:").grid(column=0, row=0, padx=5, pady=5, sticky=tk.E)  # display label in grid
milesText = tk.StringVar()
ttk.Entry(frame, width=25, textvariable=milesText).grid(column=1, row=0)

ttk.Label(frame, text="Gas Used:").grid(column=0, row=1, padx=5, pady=5, sticky=tk.E)
gasText = tk.StringVar()
ttk.Entry(frame, width=25, textvariable=gasText).grid(column=1, row=1)

# create a button and add it to the window
ttk.Button(frame, text="Calculate", command=click_calculateButton).grid(column=0, row=2, padx=5, pady=5, sticky=tk.E)
ttk.Button(frame, text="Exit", command=command_exitButton).grid(column=1, row=2, padx=5, pady=5, sticky=tk.W)

ttk.Label(frame, text="MPG:").grid(column=0, row=3, padx=5, pady=5, sticky=tk.E)
mpgText = tk.StringVar()
mpgEntry = ttk.Entry(frame, width=25, textvariable=mpgText, state="readonly").grid(column=1, row=3) # notice readonly!


CIS115 Week 7: Course Project

The Week 7 portion of your Course Project is due this week. Please refer to the Course Project Overview in the Introduction and Resources module for full details. Use this report (Links to an external site.) to complete this portion of the project.

Guess the number!

You will add to the program you created last week. This week you will add a list to keep track of all the numbers guessed and modularize your code. Be sure to import random at the beginning of your code and use a comment block explaining what your program does.

#Guess the number week 7

#Name:

#Date:

#Menu system displays - ask user if they want to guess a number, have computer guess a number, or exit

#Random number, loop while true

#ask user for number. Check to see if the value is a number between 1 and 10

#if number is too high or too low, tell user, if they guessed it break out of loop

#ask user to enter a number, computer randomly guesses

display_menu() module

 

   Display "1. You guess the number"
   Display "2. You type a number and see if the computer can guess it"
   Display "3. Exit"


 

main() module

   Display "Welcome to my Guess the number program!"

   while true

      display_menu()

      Get input

       if(option==1)

           user_guess()

       elif(option==2)

            computer_guess()

       else

          break

 


user_guess() module

      random mynumber

      count=1

      userGuesses=[]

      while True

         try

            Display "Guess a number between 1 and 10"

            Get guess

            while guess<1 or guess>10

                Display "Guess a number between 1 and 10"

                Get guess

         except

            Display "numbers only"

            continue

         userGuesses.append(guess)

         if (guess<mynumber) Display "Too low" count=count+1 else if (guess>mynumber)

              Display "Too high"

              count=count+1

         else if (guess==mynumber)

              Display "You guessed it in "+ count + " attempts"

              Display "you picked the following numbers: " +userGuesses

 

computer_guess() module

   Get number from user

   count=1

   computerGuesses=[]

   while True

      Get randomval from computer

      computerGuesses.append(randomval)

      if (number<randomval) Display "Too low" count=count+1 else if (number>randomval)

         Display "Too high"

         count=count+1

      else if (number==randomval)

         Display "The computer guessed it in "+ count + " attempts. The number was "+randomval

         Display "The computer guessed the following numbers "+computerGuesses

      else

         break

When you run your program the result should be something like this:

Welcome to my Guess the number program!

You guess the number
You type a number and see if the computer can guess it
Exit
What is your choice: 1

Please guess a number between 1 and 10: 5

Too high

Please guess a number between 1 and 10: 4

Too high

Please guess a number between 1 and 10: 3

Too high

Please guess a number between 1 and 10: 2

Too high

Please guess a number between 1 and 10: 1

You guessed it! It took you 5 attempts

You picked the following numbers: [5, 4, 3, 2, 1]

You guess the number
You type a number and see if the computer can guess it
Exit
What is your choice: 2

Please enter a number between 1 and 10 for the computer to guess: 5

The computer guessed 8 which is too high

The computer guessed 7 which is too high

The computer guessed 4 which is too low

The computer guessed 7 which is too high

The computer guessed 4 which is too low

The computer guessed 7 which is too high

The computer guessed 2 which is too low

The computer guessed 1 which is too low

The computer guessed 7 which is too high

The computer guessed 6 which is too high

The computer guessed 3 which is too low

The computer guessed it! It took 12 attempts

The computer guessed the following numbers: [8, 7, 4, 7, 4, 7, 2, 1, 7, 6, 3, 5]

You guess the number
You type a number and see if the computer can guess it
Exit
What is your choice: 3

Thank you for playing the guess the number game!

Be sure to submit your assignment.

 

Devry CIS 115 Week 8 Final Project

 

[su_button url=”https://www.homeworkprovider.com/product/devry-cis-115-week-8-course-project-presentation/” target=”blank” background=”#1b98f5″ size=”8″ icon=”icon: shopping-cart”]Buy CIS 115 Week 8 Presentation Course Project Answers[/su_button]


CIS115 Week 8 Overview

This week we will create a powerpoint presentation illustrating your Guess the Number game course project. You will create a narrated powerpoint presentation.  A video explanation on how to create a narrated powerpoint is here (Links to an external site.).  In addition, add one new feature to your Guess the number game. Feel free to add any new feature. Some ideas include:

  • Smarter computer guessing (if it is too high, the computer will decrease its guess by 1 or too low increase its guess by 1)
  • A limited number of guesses (for example – only 5 guesses)
  • Asking the user for his/her name and greeting the user by name
  • A 2 player option where one person enters a number and the other person tries to guess it
  • A GUI (watching the video for the powerpoint narration, the video author explains how to create a GUI in python

Submit your narrated powerpoint and final .py code with screenshot

do-my-paper-pay-someone-to-write-my-paper

do you want to boost your grades? yes?

stop thinking we are eager to help you out

Payment Methods

Contact

Scroll to Top