CIS 115 All Exercises Devry University (Devry) For more course tutorials visit www.cis115.com CIS 115 All Exercises Devry University.

Slides:



Advertisements
Similar presentations
Programming with Microsoft Visual Basic 2008 Fourth Edition
Advertisements

Programming with Microsoft Visual Basic th Edition
Programming Logic and Design Eighth Edition
Chapter 2: Problem Solving
Computational Thinking for Information Technology
ITEC113 Algorithms and Programming Techniques
Chapter 2: Input, Processing, and Output
An Introduction to Programming with C++ Fifth Edition
A High-Level Model For Software Development
Programming Logic and Design, Introductory, Fourth Edition1 Understanding Computer Components and Operations (continued) A program must be free of syntax.
Chapter 1 Program Design
Chapter 3 Planning Your Solution
Review Algorithm Analysis Problem Solving Space Complexity
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
PROGRAMMING, ALGORITHMS AND FLOWCHARTS
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Looping Exercises Deciding Which Loop to Use At this.
Looping While-continue.
Chapter 2: Beginning the Problem-Solving Process
Chapter 12: How Long Can This Go On?
First tutorial.
Programming Concepts Chapter 3.
Array Processing.
S2008Final_part1.ppt CS11 Introduction to Programming Final Exam Part 1 S A computer is a mechanical or electrical device which stores, retrieves,
An Object-Oriented Approach to Programming Logic and Design Fourth Edition Chapter 5 Arrays.
Programming Logic and Design Sixth Edition Chapter 5 Looping.
Chapter 6: The Repetition Structure
Chapter 5: More on the Selection Structure Programming with Microsoft Visual Basic 2005, Third Edition.
An Introduction to Programming with C++ Sixth Edition Chapter 7 The Repetition Structure.
An Object-Oriented Approach to Programming Logic and Design Fourth Edition Chapter 4 Looping.
CS 100 Introduction to Computing Seminar
Programming with Microsoft Visual Basic th Edition
CS161 Topic #16 1 Today in CS161 Lecture #16 Prepare for the Final Reviewing all Topics this term Variables If Statements Loops (do while, while, for)
1 Program Planning and Design Important stages before actual program is written.
Intermediate 2 Computing Unit 2 - Software Development.
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
An Introduction to Programming with C++ Sixth Edition
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Programming Logic and Design Fifth Edition, Comprehensive Chapter 6 Arrays.
An Introduction to Programming with C++ Sixth Edition Chapter 5 The Selection Structure.
4 - Conditional Control Structures CHAPTER 4. Introduction A Program is usually not limited to a linear sequence of instructions. In real life, a programme.
An Introduction to Programming with C++1 Beginning the Problem- Solving Process Tutorial 2.
CIS 115 AID Peer Educator/cis115aid.com FOR MORE CLASSES VISIT
CIS 115 Slingshot Academy / Tutorialrank.com Tutorialrank.com For More Tutorials
CIS 115 All Exercises Devry University (Devry) FOR MORE CLASSES VISIT CIS 115 All Exercises Devry University.
An Introduction to Programming with C++ Sixth Edition Chapter 8 More on the Repetition Structure.
CIS 115 All Exercises Devry University (Devry) FOR MORE CLASSES VISIT CIS 115 All Exercises Devry University.
CIS 115 ALL EXERCISES DEVRY UNIVERSITY (DEVRY)  CIS 115 All Exercises Devry University CIS 115 ALL ILABS DEVRY UNIVERSITY (DEVRY)  CIS 115 All iLabs.
CIS 115 AID Teaching Effectively/cis115aid.com FOR MORE CLASSES VISIT
DEVRY CIS 115 All iLabs Week 1 to Week 7 Check this A+ tutorial guideline at
DEVRY CIS 115 Final Exam 1 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 115 F INAL E XAM 2 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 115 F INAL E XAM 3 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 115 Week 7 Lab Fireworks Stand Checkout Check this A+ tutorial guideline at
DEVRY CIS 170 C I L AB 2 OF 7 D ECISIONS Check this A+ tutorial guideline at decisions For.
DEVRY CIS 170 C I L AB 3 OF 7 L OOPING Check this A+ tutorial guideline at looping For more.
CIS 115 Slingshot Academy / cis115.com
Exercise : Write a program that print the final price of purchase at a store where everything costs exactly one dollar. Ask for the number of items purchased.
1-1 Logic and Syntax A computer program is a solution to a problem.
Chapter 2: Input, Processing, and Output
Lecture 2 Introduction to Programming
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
CIS 115 Possible Is Everything/snaptutorial.com
CIS115 Education for Service-- snaptutorial.com
CIS 115Competitive Success/tutorialrank.com
MDD 310 Enthusiastic Studysnaptutorial.com
CIS 115 Lessons in Excellence-- cis115.com. CIS 115 All Exercises Devry University (Devry) For more course tutorials visit CIS 115 All.
CIS 115 Education for Service-- tutorialrank.com.
CIS 115 Education for Service-- cis115.com. CIS 115 All Exercises Devry University (Devry) For more course tutorials visit CIS 115 All.
CIS 115 Teaching Effectively-- snaptutorial.com
Programming Right from the Start with Visual Basic .NET 1/e
Presentation transcript:

CIS 115 All Exercises Devry University (Devry) For more course tutorials visit CIS 115 All Exercises Devry University

CIS 115 All iLabs Devry University (Devry) For more course tutorials visit CIS 115 All iLabs Devry University

CIS 115 Entire Course: Devry University: All iLabs and Exercises (Devry) For more course tutorials visit CIS 115 Entire Course: Devry University: All iLabs and Exercises

CIS 115 Final Exam 1 (Devry) For more course tutorials visit 1. (TCO 1) What does IPO of IPO Model stand for? (Points : 4) 2. (TCO 1) What is a data item with a name and a value that remain the same during the execution of a program? (Points : 4) 3. (TCO 1) What symbol in a flowchart would be used by a developer to represent an input or output operation? (Points : 4) 4. (TCO 1) Set is a process. What data type would you expect the variable, name, to have? (Points : 4) 5. (TCO 1) You are using dollar amounts in an algorithm. What data type would you assign? (Points : 4) 6. (TCO 2) What tool is used by developers to design logic using specific shapes/symbols? (Points : 4) 7. (TCO 2) When a program evaluates mathematical expression, which of the following operators (or mathematical operations) has the lowest precedence? (Points : 4)

CIS 115 Final Exam 2 (Devry) For more course tutorials visit 1. What is the first step in software development? 2. What are named locations in a computer’s memory holding information required by a program? 3. What symbol in a flowchart would be used by a developer to represent the beginning or ending point? 4. ) Set name = “BSCIS” is a process. What data type would you expect the variable, name, to have? 5. (You are using dollar amounts in an algorithm. What data type would you assign? 6. What tool is used by developers to design logic using specific shapes/symbols? 7. When a program evaluates mathematical expression, which of the following operators (or mathematical operations) takes precedence?

CIS 115 Final Exam 3 (Devry) For more course tutorials visit 1. (TCO 1) When creating an IPO Model, program designers generally determine _____ last. (Points : 4) 2. (TCO 1) What is a data item with a name and a value that remain the same during the execution of a program? (Points : 4) 3. (TCO 1) What symbol in a flowchart would be used by a developer to represent the beginning or ending point? (Points : 4) 4. (TCO 1) Set is a process. What data type would you expect the variable, name, to have? (Points : 4) 5. (TCO 1) You are designing an algorithm that will use a date of What data type would you choose for this date variable? (Points : 4) 6. (TCO 2) What is a tool that developers use to design logic using English-like statements? (Points : 4) 7. (TCO 2) When a program evaluates mathematical expression, which of the following operators (or mathematical operations) has the lowest precedence? (Points : 4) 8. (TCO 2) Which one of the following is not a valid assignment statement in a program? (Points : 4)

CIS 115 Final Exam 3 Sets of Answers (Devry) For more course tutorials visit CIS 115 Final Exam 3 Sets of Answers

CIS 115 Week 1 Exercise (Devry) For more course tutorials visit Assignment: This activity will assist you in the understanding of how output should appear after statements are executed (results) and how to write proper pseudocode. 1. Show the result of each pseudocode program. 2. Also rewrite the pseudocode statements using Assignment statements. Rubric: When completed compile the following documents together neatly in 1 & 2 order: 1) This instruction sheet first 2) Your answer sheet, second Point distribution for this activity: Pseudocode Activity

CIS 115 Week 1 iLab 1 (Devry) For more course tutorials visit A. Lab #: CIS CIS 115-A1 B. Lab 1 of 1 : Fireworks Stand Checkout C. Lab Overview – Scenario / Summary: TCO #4 – Given a simple business problem that requires one or more decisions, create a solution algorithm that uses decisions with logical and relational expressions. TCO #5 – Given a simple business program that requires iteration, create a solution algorithm that employs loops. TCO #9 – Given a program with logic errors that is intended as a solution to a simple business problem, employ debugging diagnostics to remove and correct the errors.

CIS 115 Week 2 Exercise (Devry) For more course tutorials visit Given a simple business problem, design a solution algorithm that uses arithmetic expressions and built-in functions. Assignment: Your goal is to solve the following simple programming exercise. You have been contracted by a local restaurant to design an algorithm determining the total meal charges. The algorithm should ask the user for the total food purchase and the tip percent. Then, the algorithm will calculate the amount of a tip, a 7% sales tax, and the total meal charge (including tip). The food purchase, sales tax, tip amount, and total meal charge will need to be displayed to the customer. Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing. Display all output using currency formatting (built-in Visual Logic function). Advanced (optional): use a constants for the 7% sales tax.

CIS 115 Week 2 Lab Total Meal Purchases (Devry) For more course tutorials visit Scenario/Summary Your goal is to solve the following simple programming exercise. You have been contracted by a local antique store to design an algorithm determining the total purchases and sales tax. According to the store owner, the user will need to see the subtotal, the sales tax amount, and the total purchase amount. A customer is purchasing four items from the antique store. Design an algorithm where the user will enter the price of each of the four items. The algorithm will determine the subtotal, the sales tax, and the total purchase amount. Assume the sales tax is 7%. Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing. Display all output using currency formatting (built-in Visual Logic function). Advanced (optional): Use a constant for the 7% sales tax.

CIS 115 Week 3 Exercise (Devry) For more course tutorials visit Week 3 Activity – Calculate Overtime Pay TCO #4 – Given a simple business problem that requires one or more decisions, create a solution algorithm that uses decisions with logical and relational expressions. TCO #9 – Given a program with logic errors that is intended as a solution to a simple business problem, employ debugging diagnostics to remove and correct the errors. Assignment: You will need to design an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed. It will then calculate their gross and net pay. If they work more than 40 hours, overtime is calculated at 1 ½ times the regular rate and displayed separately. If they are married, use a flat tax rate of 15%. If they are single, use 22%, if they are divorced, use 23%, and if they are widowed, use 13% (I realize that these are not very realistic).

CIS 115 Week 3 Lab Decision Calendar (Devry) For more course tutorials visit i L A B O V E R V I E WScenario/Summary Your goal is to solve the following programming lab activity. Write a program that prompts and accepts a number between 1 and 12. After getting the input, display the number with the appropriate month. (example: This is the 1st month…January, This is the 2nd month…February, This is the 12th month…December). Be sure to THINK about the logic and design first (IPO chart and/or pseudocode), then code the Visual Logic command line processing. Deliverables Decision Calendar IPO Model Decision Calendar Pseudocode Decision Calendar Flowchart Decision Calendar Output Sample

CIS 115 Week 4 Exercise (Devry) For more course tutorials visit TCO #4 – Given a simple business problem that requires one or more decisions, create a solution algorithm that uses decisions with logical and relational expressions. TCO #9 – Given a program with logic errors that is intended as a solution to a simple business problem, employ debugging diagnostics to remove and correct the errors. Assignment: You will need to design an application that will receive the weight of a parcel and calculate and display the cost per kg and the delivery charge for that parcel. Calculate the charges using the following data: Parcel Weight (kg) Cost per kg ($) 2.5 to 5 kg $2.85 per kg > 5kg $2.45 per kg

CIS 115 Week 4 Lab Grade Calendar (Devry) For more course tutorials visit You have been asked to design a program that will allow a teacher to calculate the percentage and the final grade for students in a class. The program will prompt the teacher to enter the student’s first and last name and the number of points the student received. The program shall only accept scores between 0 and 1,000 points (including 0 and 1,000), with 1,000 points being the maximum number of points. If the input value is within the valid range, the program will display a "good score" message; otherwise, the program will display an error message and then terminate the program. The program shall then calculate the score percentage, and then determine the grade based on the percentage using the following grade criteria:

CIS 115 Week 5 Exercise (Devry) For more course tutorials visit Assignment (part A): Your goal is to solve the following simple programming exercise. Using a FOR loop, write an algorithm that displays the squares of the numbers 1 to 10 to console output. Thought provoking question: Do you need to accept input? Assignment (part B): Using a pretest WHILE loop, write an algorithm that displays the squares of the numbers 1 to 10 to console output. Assignment (part C): This is extra for those who desire a challenge. Accomplish the same output as above, but use a posttest WHILE loop this time. Be sure to THINK about the logic and design first (IPO chart and or pseudocode), then code the Visual Logic command line processing.

CIS 115 Week 5 Lab Fireworks Stand Checkout (Devry) For more course tutorials visit Your algorithm will keep track of a customer’s purchases at the local fireworks stand. Customers will not know exactly how many items they will purchase, so using a for-loop on this lab is not allowed. Let’s keep the rules simple. Accept the dollar value of each item purchased from the user until the user is finished. When purchases are complete, enter a sentinel value of -1 (indicating the user has finished). If the item purchased is $50.00 or more, give your customer a 10% discount on the item purchased. Display all of the purchases to the customer with the original price and the discount price. Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing.

CIS 115 Week 6 Exercise (Devry) For more course tutorials visit Assignment: Arrays are incredible fun! Today we are going to work on a program to keep track of our homework scores for a math class. Write a program that accepts five homework scores as input values and stores them into a table (which is another name for an array). Once the scores are in the array, we can process them again and again. First, load the scores in your array. Second, display the contents of the array in order. Third, display array in reverse order. Fourth, calculate the average of the five scores entered in the array. Finally, the algorithm should display all the homework scores in the array that are larger than the previously calculated average. Make sure you use some output statements to clarify all the details you are displaying, being cautious about spelling and communicating to your user. Be sure to THINK about the logic and design first (IPO chart and or pseudocode), then code the Visual Logic command line processing.

CIS 115 Week 6 Lab Fireworks Stand Checkout (Devry) For more course tutorials visit Your algorithm will keep track of a customer’s purchases at the local fireworks stand. Customers will not know exactly how many items they will purchase, so using a for-loop on this lab is not allowed. Let’s keep the rules simple. Accept the dollar value of each item purchased from the user until the user is finished. When purchases are complete, enter a sentinel value of -1 (Make certain you do not include the -1 sentinel value in your total). Keep track of the total dollar amount of all fireworks purchased. Keep a tally of the number of items purchased. If more than 20 items were purchased, give your customer a 10% discount on the total purchases. Once purchases are complete, display the total number of items purchased, the average price of the items, the total of all fireworks purchased, any discount if applicable, and the total of all fireworks purchased minus the discount. Be sure to THINK about the logic and design first (IPO chart and/or pseudocode), then code the Visual Logic command line processing.

CIS 115 Week 7 Exercise (Devry) For more course tutorials visit Assignment: Your goal is to solve the following simple programming exercise. You have been asked by your accounting department to design an algorithm determining the annual profit for your company. The algorithm should ask the user for the projected monthly sales for 12 months. Then, you need to determine the annual profit and display it to the user. The annual profit is 21% of the total sales. Part A: Using Visual Logic, write the monthly sales amounts to a file, monthly_Sales.dat. (Hint: be sure to enter a sentinel value for end of file processing later.) Part B: Using a separate algorithm, use the monthly_Sales.dat file as input to determine the company’s annual profit. Be sure to THINK about the logic and design first (IPO chart and or pseudocode), then code the Visual Logic command line processing.

CIS 115 Week 7 Lab Fireworks Stand Checkout (Devry) For more course tutorials visit In this lab, you are going to extend the Fireworks Checkout Stand application in Week 6. This week, we will be more efficient by using files and modularizing the program. This week, we will also load our array of valid zip codes from a text file. In addition, we will modify the existing code to create a modularized design. Load the array via a.txt file. Prompt to see if the user wants to search for a zip code. Prompt the user to enter a zip code and search against the array. If the zip code is found in the array, continue processing the sale. If the zip code is not found in the array, display a message stating, "State law prohibits selling fireworks for people living in the zip code". Modularize your code. Be sure to THINK about the logic and design first (IPO chart and/or pseudocode), then code the Visual Logic command line processing.