Presentation is loading. Please wait.

Presentation is loading. Please wait.

COMPUTATIONAL THINKING FOR INFORMATION TECHNOLOGY HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK.

Similar presentations


Presentation on theme: "COMPUTATIONAL THINKING FOR INFORMATION TECHNOLOGY HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK."— Presentation transcript:

1 COMPUTATIONAL THINKING FOR INFORMATION TECHNOLOGY HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

2 STUDENT SCENARIO: PROGRAM DESIGN PROJECT In this scenario, your school has decided to purchase movies for students to rent. Your assignment is to design a program that will help your school keep track of which movies are available, which movies are rented and the student bill. Theresa Kim will be your guide for the lesson. Your instructor will be your overall project manager and information resource. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

3 OBJECTIVES [STILL NEED OBJECTIVES] This course will enable you to develop logical thinking skills, including: Asking probing questions to uncover details of a problem Clearly defining a problem Defining clear success criteria for the project including measurable objectives HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

4 Hi, I’m Theresa. I’ll be your guide for this assignment. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

5 PROJECT OVERVIEW You will work on this project for the entire semester adding to the project when you learn a new design skill. You will not design the entire project at one time. You submit one portion of the project at a time. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

6 Your Assignment Create a pseudocode design for a program that will allow students to rent movies. The system will allow students to search the available movie inventory, return a movie and rent a movie. The student information is located using their address. After the student rents the movie, the system will list the movies the student rented and a bill. The student will be prompted to enter their payment information. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

7 The Completed System Will: Store student and movie information. Update the movie inventory. (keep an accurate count of the number of movies available) Bill a customer using the following rules: –Students can only rent up to 3 movies at a time –If students rent 3 movies, they receive 1 of the three movies for free –Each movie costs $1.50 HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

8 Billing rules (cont.):Billing rules (cont.): –A 5% Sales tax is added to the total cost. –If the movie is rated R, the system must verify that the student is 17 years old or older. If the student is under 17, an error message is printed and the movie is removed from the student's list of movies. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

9 Ready to get started? Your tasks are waiting for you! HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

10 TASK 1: DATA FILES For this task, you will create preliminary data files. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

11 Task 1 Overview The first step is to determine the type of input data needed for the movie check-out system. You may learn that you need to add more fields as you continue to work on the problem. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

12 Deliverables 1.Create a sample Customer data file that includes at least 5 records –Create headings over the columns –Save the file as CustomerData_LastName (where LastName is the your last name) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

13 Deliverables (cont.) 2.Create a sample Movie data file that includes at least 10 records –Create headings over the columns –Save the file as MovieData_LastName (where LastName is the your last name) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

14 Deliverables (cont.) 3.Create a sample Payment data file that includes at least 5 records –Create headings over the columns –Save the file as PaymentData_LastName (where LastName is the your last name) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

15 Now you’re ready to move on to the next task. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

16 TASK 2: BASIC DESIGN (SIMPLE SEQUENCE AND SELECTION) For this task, you will build on your work in Task 1 and create code to prompt a student for specific data. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

17 Deliverables Create a pseudocode/flowchart design to prompt a student for their Address and the titles of the three movies they want to rent. The problem should display the Student’s address and a total bill. Take into account the data that you created during Task1. Modify the files that you create during Task 1. you need to add more fields to the files. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

18 Action Steps 1.Bill a student using the following rules: Students can rent up to 3 movies. If the movie is rated R, the system must verify that the customer is 17 years old or older If the customer is under 17, an error message is printed stating that the customer is not allowed to rent the movie HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

19 Action Steps (cont.) 1.Rules (cont.): Each movie costs $1.50 A 5% Sales tax is added to the total cost. 2.Save the file as: Simple_Sequence_Selection_SchoolName (where SchoolName is the name of your school) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

20 Good job. Let’s move on! HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

21 TASK 3: DESIGN FOR MULTIPLE CUSTOMERS (ITERATION – LOOP) For this task, you will modify your work in Task 2 to include a loop. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

22 Deliverables Modify the pseudocode/flowchart design that you created in Task 2 to include statements to prompt the student to enter the movie titles one movie at a time. After the student has finished entering the movie titles, the system will calculate and print the bill. Hint: use a loop to process the total bill. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

23 Action Steps 1.Add the statement(s) for the following: If customer rents 3 movies, they receive 1 of the three movies for free 2.Save the file as Iteration_SchoolName (where SchoolName is the name of your school) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

24 You’re ready for your next task. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

25 TASK 4: ORGAINZING STATEMENTS (MODULES) For this task, you will enhance your Task 3 work with new modules. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

26 Deliverables Modify the pseudocode/flowchart design that you created during Task 3 to include at least the following modules. Enter Student Calculate the Bill Print the Bill After the student has finished entering the movie titles, the system will calculate and print the bill. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

27 Action Steps 1.Create a hierarchy chart for the modules 2.Save the hierarchy chart as Hierarchy_Chart_LastName (where LastName is your Last Name) 3.Save the pseudocode/flowchart design using the filename Modules_LastName (where LastName is your Last Name) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

28 Let’s move on to Task #5. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

29 TASK 5: ORGANIZING DATA (ARRAYS) For this task, you will create data arrays, adding to the work you completed in Task 4. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

30 Deliverables 1.Modify the pseudocode/flowcharting design that you created in Task 4 to include at least the following modules: –Enter the MovieName into an array named Movies and QuantityonHand into an array named MovieQuantity The information for the movies is stored in the MovieData_LastName file QuantityonHand = -999 when end the file is reached) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

31 Deliverables (cont.) 1.Modify the pseudocode/flowcharting design that you created in Task 4 to include at least the following modules: –Update Movie inventory (add to inventory/deduct from inventory) –Calculate and print the customer bill –Calculate and print the total daily sales –Calculate and print the average number of movies rented HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

32 Deliverables (cont.) 2.The customer will be prompted to enter their address and whether they want to rent or return a movie. 3.If the student wants to rent a movie, after the customer has finished entering the movie title(s), the system will calculate and print the bill. 4.If the student wants to return a movie, a message is printed on the screen after returning the movie(s) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

33 Deliverables (cont.) 5.Modify the hierarchy chart to include the new modules. Save the hierarchy chart as Hierarchy_LastName 6.Save the pseudocode/flowchart design using the filename Arrays_LastName (where LastName is your last name) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

34 OK, you’re ready for your last task. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

35 TASK 6: OBJECTS For this task, you will use object-oriented design to design classes. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

36 Deliverables: Part 1 Use object-oriented design to design a class called Customer that will receive the information in the Sample Customer Data file that you created during Task 1 of the project. The class that you create will receive the customer data, validate the data and display the input data. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

37 Action Steps: Part 1 1.Design the class table 2.Write an algorithm for each operation 3.Write a test or driver algorithm to test the solution HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

38 Deliverables: Part 2 Use object-oriented design to design a class called Movie that will receive the information in the Sample Movie Data file that you created during Task 1 of the project. The class that you create will receive the movie data, validate the input data and print the valid movie data that have a quantity amount equal to 0. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

39 Action Steps: Part 2 1.Design the class table 2.Write an algorithm for each operation 3.Write a test or driver algorithm to test the solution HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

40 Deliverables: Part 3 Use object-oriented design to design a class called Payment that will receive the information in the Sample Payment Data file that you created during Task 1 of the project. The class that you create will receive the payment data, validate the input data and print the data. HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

41 Action Steps: Part 3 1.Design the class table. 2.Write an algorithm for each operation. 3.Write a test or driver algorithm to test the solution When you are done with Parts 1-3, save the file as Objects_LastName (where Last Name is your last name) HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP

42 INSTRUCTOR CONTACT INFORMATION Phone: Office location: Office hours: Other info: HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK 1TASK 2TASK 3TASK 4TASK 5TASK 6HELP


Download ppt "COMPUTATIONAL THINKING FOR INFORMATION TECHNOLOGY HOMEHOME | OBJECTIVES | OVERVIEW | TASK 1 | TASK 2 | TASK 3 | TASK 4 | TASK 5 | TASK 6 | HELPOBJECTIVESOVERVIEWTASK."

Similar presentations


Ads by Google