This document provides instructions and test cases for a programming exercise to calculate parcel delivery charges based on package weight. Students are asked to design an algorithm that prompts the user for a package weight in kilograms, calculates the cost per kilogram and delivery charge based on weight thresholds, and displays the output. The algorithm should handle invalid negative weights. Sample outputs are provided for weights of 2kg, 5kg, and 6kg. Students must submit their IPO chart, pseudocode, and flowchart with sample output to receive points for the assignment.
Cmis 102 Enthusiastic Study / snaptutorial.comStephenson22
Introduction to Problem Solving and Algorithm Design
Using the above Code of Ethics, Pick at least 2 of the 8 principles and describe what these principles mean to you. In your write-up, summarize the principles you selected in your own words and provide at least one example of an activity or action you could take that would support each principle and one example of an activity or action that you believe would violate each principle. Be sure your document is well-written with minimal grammatical and spelling issues.
Cmis 102 Effective Communication / snaptutorial.comHarrisGeorg12
CMIS 102 Homework 1 Solution
Introduction to Problem Solving and Algorithm Design
Using the above Code of Ethics, Pick at least 2 of the 8 principles and describe what these principles mean to you. In your write-up, summarize the principles you selected in your own words and provide at least one example of an activity or action you could take that would support each principle and one example of an activity or action that you believe would violate each principle. Be sure your document is well-written with minimal grammatical and spelling issues.
Programs are complete in best of my knowledge with zero compilation error in IDE Bloodshed Dev-C++. These can be easily portable to any versions of Visual Studio or Qt. If you need any guidance please let me know via comments and Always Enjoy Programming.
CyberLab Training Division :
Intel VTune Amplifier is a commercial application for software performance analysis for 32 and 64-bit x86 based machines, and has both GUI and command line interfaces. It is available for both Linux and Microsoft Windows operating systems. Although basic features work on both Intel and AMD hardware, advanced hardware-based sampling requires an Intel-manufactured CPU.
Whether you are tuning for the first time or doing advanced performance optimization, Intel® VTune Amplifier provides a rich set of performance insight into CPU & GPU performance, threading performance & scalability, bandwidth, caching and much more. Analysis is faster and easier because VTune Amplifier understands common threading models and presents information at a higher level that is easier to interpret. Use its powerful analysis to sort, filter and visualize results on the timeline and on your source.
It is available as part of Intel Parallel Studio or as a stand-alone product.
VTune Amplifier assists in various kinds of code profiling including stack sampling, thread profiling and hardware event sampling. The profiler result consists of details such as time spent in each sub routine which can be drilled down to the instruction level. The time taken by the instructions are indicative of any stalls in the pipeline during instruction execution. The tool can be also used to analyze thread performance. The new GUI can filter data based on a selection in the timeline.
For More Details.
Visit: http://www.cyberlabzone.com
Cmis 102 Enthusiastic Study / snaptutorial.comStephenson22
Introduction to Problem Solving and Algorithm Design
Using the above Code of Ethics, Pick at least 2 of the 8 principles and describe what these principles mean to you. In your write-up, summarize the principles you selected in your own words and provide at least one example of an activity or action you could take that would support each principle and one example of an activity or action that you believe would violate each principle. Be sure your document is well-written with minimal grammatical and spelling issues.
Cmis 102 Effective Communication / snaptutorial.comHarrisGeorg12
CMIS 102 Homework 1 Solution
Introduction to Problem Solving and Algorithm Design
Using the above Code of Ethics, Pick at least 2 of the 8 principles and describe what these principles mean to you. In your write-up, summarize the principles you selected in your own words and provide at least one example of an activity or action you could take that would support each principle and one example of an activity or action that you believe would violate each principle. Be sure your document is well-written with minimal grammatical and spelling issues.
Programs are complete in best of my knowledge with zero compilation error in IDE Bloodshed Dev-C++. These can be easily portable to any versions of Visual Studio or Qt. If you need any guidance please let me know via comments and Always Enjoy Programming.
CyberLab Training Division :
Intel VTune Amplifier is a commercial application for software performance analysis for 32 and 64-bit x86 based machines, and has both GUI and command line interfaces. It is available for both Linux and Microsoft Windows operating systems. Although basic features work on both Intel and AMD hardware, advanced hardware-based sampling requires an Intel-manufactured CPU.
Whether you are tuning for the first time or doing advanced performance optimization, Intel® VTune Amplifier provides a rich set of performance insight into CPU & GPU performance, threading performance & scalability, bandwidth, caching and much more. Analysis is faster and easier because VTune Amplifier understands common threading models and presents information at a higher level that is easier to interpret. Use its powerful analysis to sort, filter and visualize results on the timeline and on your source.
It is available as part of Intel Parallel Studio or as a stand-alone product.
VTune Amplifier assists in various kinds of code profiling including stack sampling, thread profiling and hardware event sampling. The profiler result consists of details such as time spent in each sub routine which can be drilled down to the instruction level. The time taken by the instructions are indicative of any stalls in the pipeline during instruction execution. The tool can be also used to analyze thread performance. The new GUI can filter data based on a selection in the timeline.
For More Details.
Visit: http://www.cyberlabzone.com
Introduction to Problem Solving and Algorithm Design
Using the above Code of Ethics, Pick at least 2 of the 8 principles and describe what these principles mean to you. In your write-up, summarize the principles you selected in your own words and provide at least one example of an activity or action you could take that would support each principle and one example of an activity or action that you believe would violate each principle. Be sure your document is well-written with minimal grammatical and spelling issues.
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docxmelbruce90096
Week 2 iLab
TCO 2 — Given a simple problem, design a solution algorithm that uses arithmetic expressions and built-in functions.
Scenario
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 (input-process-output (IPO) chart, flowchart, and pseudocode). Display all output using currency formatting.
Advanced (optional): Use a constant for the 7% sales tax.
Rubric
Point distribution for this activity:
iLab Activity
Document
Points possible
Points received
Variable list
10
IPO chart
10
Flowchart
10
Pseudocode/C# code
10
Desk-check
10
Total Points
50
Name:_________________
(1) Variable List With Data Type
List all the variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on.
(2) IPO Model
List the inputs, any processes, calculations, and outputs. Use the same valid variable names you used in Step 1.
Inputs
Process (calculations)
Outputs
(3) Flowchart
Use MS Visio to create a flowchart. Paste the flowchart here, or attach as separate document. Use the same valid variable names you used in Step 1.
(4) Pseudocode or C# Code
Describe your solution using pseudocode or actual C# code. Use the same valid variable names you selected in Step 1.
(5) Desk-Check
Desk-check your solution by selecting appropriate test data.
Test data: List the values for your test data.
Expected output: What is the expected output of your program?
Step
Variables (write variable names in first line below)
Output
Enter step numbers
1
2
3
Week 2 Activity—Game Seating Charges
TCO 2—Given a simple 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 stadium to design an algorithm determining the total seating charges for any game held at the stadium. Lower-level seats cost $25 per seat, mid-level seats cost $15 per seat, and upper-level seats cost $10 per seat. The algorithm should ask the user for the number of seats being purchased in each seating level. Then, the algorithm will determine the total for each level and a grand total for the enti.
FOR MORE CLASSES VISIT
www.tutorialoutlet.com
Lab 3: EasyPHP and MySQL Setup
Due Week 5 and worth 75 points
• Install EasyPHP and MySQL and take a screen shot that shows the MySQL prompt on your screen. (Note: You must include the screen shot which shows that MySQL is installed on your computer as part of your assignment. An installation guide to aid the installation of EasyPHP and MySQL is located here.
• Research the capabilities of MySQL.
ICT104 Programming Assignment Compiled By Divya Lee.docxtarifarmarie
ICT104: Programming Assignment Compiled By: Divya Leekha T1 2019 Page |
1
T12019: ICT104 Program Design and Development
Programming Assignment
Assessment type: Programming Assignment
Purpose: This assessment will allow students to demonstrate their
understanding of Java programming and object oriented concepts, the use
of list classes in collection framework, and the use of graphical features using
swing and applets. This assessment contributes to Learning Outcomes c and
d.
Value: 20%
Due Date: Week 10 Sunday 23:55
Task Details:
Topic: Develop Java application based on the given scenario: individual assignment
Assignment Details:
The context for this assignment (Part 1 and Part 2) is a ‘Milk Consumption App’ for
calculating and displaying milk consumption of a given household. This assignment will test
a student’s knowledge of and skills in writing application software for a particular task,
understanding the business rules of a particular problem, coding these in a computer
program, developing a graphical user interface.
For this assignment, students will use the Java programming language and development will
be on the NetBeans IDE platform.
This assignment consists of 2 stages,
• Part 1: A simple console program (no GUI)
• Part 2: The same but wrapped in a GUI
Milk Consumption App
Preamble: A milk provider business owner has approached you with a request to write a
software application to track the milk usage of their clients.
Following data are gathered for each filling;
a) Amount of milk purchased (x litres) [float]
b) Price of milk (y cents/litre) [integer]
c) Number of days the household could utilize the milk (z days) [float]
ICT104: Programming Assignment Compiled By: Divya Leekha T1 2019 Page |
2
The client requires the application to track the last five such household fillings of milk and
alert if the average cost goes above the threshold as per the following table. (Important:
The value of threshold is as per the last two digits of student ID from the following table.)
Threshold above Last 2 Digits of your Student ID
1) 114.05 cents 00 to 09
2) 114.10 cents 10 to 19
3) 114.15 cents 20 to 29
4) 114.20 cents 30 to 39
5) 114.25 cents 40 to 49
6) 114.30 cents 50 to 59
7) 114.35 cents 60 to 69
8) 114.40 cents 70 to 79
9) 114.45 cents 80 to 89
10) 114.50 cents 90 to 99
A Worked example: Let’s calculate the average milk consumption for a single filling. Using
the notation above;
The average milk consumption (afc1) = x/z (liters per day)
The average cost (ac1) = (x/z)*y (cents per day)
Then for five households;
The overall Average Milk Consumption (afc) = {afc1+ afc2+…+ afc5}/5
The overall Average Cost (ac) = {ac1+ ac2+…+ ac5}/5
ICT104: Programming Assignment Compiled By:.
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxketurahhazelhurst
CASE STUDY
Internet/Excel Exercises, page 434, text
Record your findings in a Word document and submit it online
IBM has substantial operations in many countries, including the United States, Canada, and Germany. Go to finance.yahoo.com/q?s=ibm.
1. Click on Historical Prices. (Or apply this exercise to a different MNC.) Set the date range so that you can obtain quarterly values of the U.S. stock index for the last 20 quarters. Insert the quarterly data on a spreadsheet. Compute the percentage change in IBM’s stock price for each quarter. Next go to finance.yahoo.com/stock-center/ and click (under U.S.) on S&P Composite 1500 Index, which represents the U.S. stock market index, so that you can derive the quarterly percentage change in the U.S. stock index over the last 20 quarters. Then run a regression analysis with IBM’s quarterly return (percentage change in stock price) as the dependent variable and the quarterly percentage change in the U.S. stock market’s value as the independent variable. (Appendix C explains how Excel can be used to run regression analysis.) The slope coefficient serves as an estimate of the sensitivity of IBM’s value to the U.S. market returns. Also, check the fit of the relationship based on the R-squared statistic.
2. Go to finance.yahoo.com/stock-center/ and click (under “Europe”) on DAX, which represents the German stock market index. Repeat the process described in exercise 1 so that you can assess IBM’s sensitivity to the German stock market. Compare the slope coefficient between the two analyses. Is IBM’s value more sensitive to the U.S. market or the German market? Does the U.S. market or the German market explain a higher proportion of the variation in IBM’s returns (check the R-squared statistic)? Offer an explanation of your results.
Lab 5 Database Security
Use the script from week 1 for the week 5 lab.
1. Create four new users
a. The first user will have full rights to the database
b. The second user grant access to the Client’s table and allow them the rights to INSERT data into the clients table
c. The third user grant rights to create user logins and reset passwords
d. The fourth user grant column rights to the Course_Activity table allow access to the Course Code and Grade column. Allow user to UPDATE a maximum of 5 times per hour.
2. Login with each user to demonstrate the rights you have given them
a. User 1 login and create a VIEW for user 2 that just displays the Client table
b. User 2 login and add 3 more clients to the Clients table
c. User 3 login create two new users
d. User 4 login and UPDATE two new entries for Course Code and Grade Column for Client 1 and 2
e. For each user run the Show Privileges command to show correct rights and permissions have been applied
3. Show Log Files: For each user show log files (since we do not have MySQL Enterprise we cannot use the Audit function but as a substitute we can use the built-in log file function)
4. Create a Stored Procedure with User ...
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docxemelyvalg9
Student Lab Activity
A. Lab # CIS CIS170A-A1
B. Lab 5s of 7: Modularization
C. Lab Overview – Scenario / Summary:
TCOs:
TCO: 7
Given a set of program specifications for a simple business problem utilizing a modular design, code and test a program that meets the specifications and employs best programming practices.
TCO: 8
Given a set of program specifications for a simple business problem, code and test a program that implements methods with parameter lists that are passed as supported by the chosen programming language
This lab will familiarize the student with the process of modularizing his or her code.
D. Deliverables:
Step
Deliverable
Points
5
Program Listing, Output, and Project Files
45
The Dropbox deliverables include the following.
1. Include a zipped file with all the files from your Visual Basic project (see directions in Doc Sharing on how to collect and zip files.)
2. Create a single MS Word document and include the following.
· For each lab, copy and paste your code directly into the MS Word file.
· Include screenshot(s) of your test data with test results. Enter enough data to demonstrate that all your code has been tested.
· Include another screenshot of the Visual Basic build output messages. Check your build output to make sure you have a successful build with (0) errors and (0) warnings. NOTE: The build output messages appear at the bottom of your window after you click the Build menu and before you click the Start Without Debugging option. Your build output messages provide a list of compiler warnings or errors and let you know whether your program compiled successfully.
· Include the Word document as part of the zipped project file.
3. Upload each part of the lab into its corresponding weekly Dropbox.
E. Lab Steps:
Preparation:
If you are using the Citrix remote lab, follow the login instructions located in the iLab tab in Course Home.
Locate the Visual Studio 2010 Icon on the desktop. Click to open.
Lab:
Step 1: Create a New Project
Create a new project in VB.NET. Name your project CIS170A_Lab05.
Practically every real-world professional program in existence today uses some type of modular design—this is just the way programs are designed and built. As a result, the primary objective of this lab is for you to understand how modular programs are designed and how data are passed between modules as the program is executing. This may be one of the most important lessons of this course, so it is critical that you focus on the modular design of the program; if you have any questions, post them to the Lab Forum threaded discussion.
In this project, we are going to use the Week 4 Hockey Player Statistics program that you created last week as a starting point and make a few minor changes in the program requirements. What you will do is take the existing project and with only slight modifications to the form design you will modularize the design of the code and then add a few new requirements. As you .
For more classes visit
www.snaptutorial.com
Please check all Included Assignment Details below
GSP 215 Week 1 Homework Command Line in Windows and Linux
For more classes visit
www.snaptutorial.com
Please check all Included Assignment Details below
GSP 215 Week 1 Homework Command Line in Windows and Linux
GSP 215 Week 2 iLab Binary Representation of Information
For more course tutorials visit
www.newtonhelp.com
Lab 1 of 7: Getting Started (Your First C++ Programs) Lab Overview - Scenario/Summary
Welcome to Programming with C++. The purpose of this three-part lab is to walk you through the following tutorial to become familiar with the actions of compiling and executing a C++ program.
CIS 170 Imagine Your Future/newtonhelp.com bellflower42
For more course tutorials visit
www.newtonhelp.com
Lab 1 of 7: Getting Started (Your First C++ Programs) Lab Overview - Scenario/Summary
Welcome to Programming with C++. The purpose of this three-part lab is to walk you through the following tutorial to become familiar with the actions of compiling and executing a C++ program.
For more course tutorials visit
www.newtonhelp.com
Lab 1 of 7: Getting Started (Your First C++ Programs) Lab Overview - Scenario/Summary
Welcome to Programming with C++. The purpose of this three-part lab is to walk you through the following tutorial to become familiar with the actions of compiling and executing a C++ program.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
Introduction to Problem Solving and Algorithm Design
Using the above Code of Ethics, Pick at least 2 of the 8 principles and describe what these principles mean to you. In your write-up, summarize the principles you selected in your own words and provide at least one example of an activity or action you could take that would support each principle and one example of an activity or action that you believe would violate each principle. Be sure your document is well-written with minimal grammatical and spelling issues.
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docxmelbruce90096
Week 2 iLab
TCO 2 — Given a simple problem, design a solution algorithm that uses arithmetic expressions and built-in functions.
Scenario
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 (input-process-output (IPO) chart, flowchart, and pseudocode). Display all output using currency formatting.
Advanced (optional): Use a constant for the 7% sales tax.
Rubric
Point distribution for this activity:
iLab Activity
Document
Points possible
Points received
Variable list
10
IPO chart
10
Flowchart
10
Pseudocode/C# code
10
Desk-check
10
Total Points
50
Name:_________________
(1) Variable List With Data Type
List all the variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on.
(2) IPO Model
List the inputs, any processes, calculations, and outputs. Use the same valid variable names you used in Step 1.
Inputs
Process (calculations)
Outputs
(3) Flowchart
Use MS Visio to create a flowchart. Paste the flowchart here, or attach as separate document. Use the same valid variable names you used in Step 1.
(4) Pseudocode or C# Code
Describe your solution using pseudocode or actual C# code. Use the same valid variable names you selected in Step 1.
(5) Desk-Check
Desk-check your solution by selecting appropriate test data.
Test data: List the values for your test data.
Expected output: What is the expected output of your program?
Step
Variables (write variable names in first line below)
Output
Enter step numbers
1
2
3
Week 2 Activity—Game Seating Charges
TCO 2—Given a simple 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 stadium to design an algorithm determining the total seating charges for any game held at the stadium. Lower-level seats cost $25 per seat, mid-level seats cost $15 per seat, and upper-level seats cost $10 per seat. The algorithm should ask the user for the number of seats being purchased in each seating level. Then, the algorithm will determine the total for each level and a grand total for the enti.
FOR MORE CLASSES VISIT
www.tutorialoutlet.com
Lab 3: EasyPHP and MySQL Setup
Due Week 5 and worth 75 points
• Install EasyPHP and MySQL and take a screen shot that shows the MySQL prompt on your screen. (Note: You must include the screen shot which shows that MySQL is installed on your computer as part of your assignment. An installation guide to aid the installation of EasyPHP and MySQL is located here.
• Research the capabilities of MySQL.
ICT104 Programming Assignment Compiled By Divya Lee.docxtarifarmarie
ICT104: Programming Assignment Compiled By: Divya Leekha T1 2019 Page |
1
T12019: ICT104 Program Design and Development
Programming Assignment
Assessment type: Programming Assignment
Purpose: This assessment will allow students to demonstrate their
understanding of Java programming and object oriented concepts, the use
of list classes in collection framework, and the use of graphical features using
swing and applets. This assessment contributes to Learning Outcomes c and
d.
Value: 20%
Due Date: Week 10 Sunday 23:55
Task Details:
Topic: Develop Java application based on the given scenario: individual assignment
Assignment Details:
The context for this assignment (Part 1 and Part 2) is a ‘Milk Consumption App’ for
calculating and displaying milk consumption of a given household. This assignment will test
a student’s knowledge of and skills in writing application software for a particular task,
understanding the business rules of a particular problem, coding these in a computer
program, developing a graphical user interface.
For this assignment, students will use the Java programming language and development will
be on the NetBeans IDE platform.
This assignment consists of 2 stages,
• Part 1: A simple console program (no GUI)
• Part 2: The same but wrapped in a GUI
Milk Consumption App
Preamble: A milk provider business owner has approached you with a request to write a
software application to track the milk usage of their clients.
Following data are gathered for each filling;
a) Amount of milk purchased (x litres) [float]
b) Price of milk (y cents/litre) [integer]
c) Number of days the household could utilize the milk (z days) [float]
ICT104: Programming Assignment Compiled By: Divya Leekha T1 2019 Page |
2
The client requires the application to track the last five such household fillings of milk and
alert if the average cost goes above the threshold as per the following table. (Important:
The value of threshold is as per the last two digits of student ID from the following table.)
Threshold above Last 2 Digits of your Student ID
1) 114.05 cents 00 to 09
2) 114.10 cents 10 to 19
3) 114.15 cents 20 to 29
4) 114.20 cents 30 to 39
5) 114.25 cents 40 to 49
6) 114.30 cents 50 to 59
7) 114.35 cents 60 to 69
8) 114.40 cents 70 to 79
9) 114.45 cents 80 to 89
10) 114.50 cents 90 to 99
A Worked example: Let’s calculate the average milk consumption for a single filling. Using
the notation above;
The average milk consumption (afc1) = x/z (liters per day)
The average cost (ac1) = (x/z)*y (cents per day)
Then for five households;
The overall Average Milk Consumption (afc) = {afc1+ afc2+…+ afc5}/5
The overall Average Cost (ac) = {ac1+ ac2+…+ ac5}/5
ICT104: Programming Assignment Compiled By:.
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxketurahhazelhurst
CASE STUDY
Internet/Excel Exercises, page 434, text
Record your findings in a Word document and submit it online
IBM has substantial operations in many countries, including the United States, Canada, and Germany. Go to finance.yahoo.com/q?s=ibm.
1. Click on Historical Prices. (Or apply this exercise to a different MNC.) Set the date range so that you can obtain quarterly values of the U.S. stock index for the last 20 quarters. Insert the quarterly data on a spreadsheet. Compute the percentage change in IBM’s stock price for each quarter. Next go to finance.yahoo.com/stock-center/ and click (under U.S.) on S&P Composite 1500 Index, which represents the U.S. stock market index, so that you can derive the quarterly percentage change in the U.S. stock index over the last 20 quarters. Then run a regression analysis with IBM’s quarterly return (percentage change in stock price) as the dependent variable and the quarterly percentage change in the U.S. stock market’s value as the independent variable. (Appendix C explains how Excel can be used to run regression analysis.) The slope coefficient serves as an estimate of the sensitivity of IBM’s value to the U.S. market returns. Also, check the fit of the relationship based on the R-squared statistic.
2. Go to finance.yahoo.com/stock-center/ and click (under “Europe”) on DAX, which represents the German stock market index. Repeat the process described in exercise 1 so that you can assess IBM’s sensitivity to the German stock market. Compare the slope coefficient between the two analyses. Is IBM’s value more sensitive to the U.S. market or the German market? Does the U.S. market or the German market explain a higher proportion of the variation in IBM’s returns (check the R-squared statistic)? Offer an explanation of your results.
Lab 5 Database Security
Use the script from week 1 for the week 5 lab.
1. Create four new users
a. The first user will have full rights to the database
b. The second user grant access to the Client’s table and allow them the rights to INSERT data into the clients table
c. The third user grant rights to create user logins and reset passwords
d. The fourth user grant column rights to the Course_Activity table allow access to the Course Code and Grade column. Allow user to UPDATE a maximum of 5 times per hour.
2. Login with each user to demonstrate the rights you have given them
a. User 1 login and create a VIEW for user 2 that just displays the Client table
b. User 2 login and add 3 more clients to the Clients table
c. User 3 login create two new users
d. User 4 login and UPDATE two new entries for Course Code and Grade Column for Client 1 and 2
e. For each user run the Show Privileges command to show correct rights and permissions have been applied
3. Show Log Files: For each user show log files (since we do not have MySQL Enterprise we cannot use the Audit function but as a substitute we can use the built-in log file function)
4. Create a Stored Procedure with User ...
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docxemelyvalg9
Student Lab Activity
A. Lab # CIS CIS170A-A1
B. Lab 5s of 7: Modularization
C. Lab Overview – Scenario / Summary:
TCOs:
TCO: 7
Given a set of program specifications for a simple business problem utilizing a modular design, code and test a program that meets the specifications and employs best programming practices.
TCO: 8
Given a set of program specifications for a simple business problem, code and test a program that implements methods with parameter lists that are passed as supported by the chosen programming language
This lab will familiarize the student with the process of modularizing his or her code.
D. Deliverables:
Step
Deliverable
Points
5
Program Listing, Output, and Project Files
45
The Dropbox deliverables include the following.
1. Include a zipped file with all the files from your Visual Basic project (see directions in Doc Sharing on how to collect and zip files.)
2. Create a single MS Word document and include the following.
· For each lab, copy and paste your code directly into the MS Word file.
· Include screenshot(s) of your test data with test results. Enter enough data to demonstrate that all your code has been tested.
· Include another screenshot of the Visual Basic build output messages. Check your build output to make sure you have a successful build with (0) errors and (0) warnings. NOTE: The build output messages appear at the bottom of your window after you click the Build menu and before you click the Start Without Debugging option. Your build output messages provide a list of compiler warnings or errors and let you know whether your program compiled successfully.
· Include the Word document as part of the zipped project file.
3. Upload each part of the lab into its corresponding weekly Dropbox.
E. Lab Steps:
Preparation:
If you are using the Citrix remote lab, follow the login instructions located in the iLab tab in Course Home.
Locate the Visual Studio 2010 Icon on the desktop. Click to open.
Lab:
Step 1: Create a New Project
Create a new project in VB.NET. Name your project CIS170A_Lab05.
Practically every real-world professional program in existence today uses some type of modular design—this is just the way programs are designed and built. As a result, the primary objective of this lab is for you to understand how modular programs are designed and how data are passed between modules as the program is executing. This may be one of the most important lessons of this course, so it is critical that you focus on the modular design of the program; if you have any questions, post them to the Lab Forum threaded discussion.
In this project, we are going to use the Week 4 Hockey Player Statistics program that you created last week as a starting point and make a few minor changes in the program requirements. What you will do is take the existing project and with only slight modifications to the form design you will modularize the design of the code and then add a few new requirements. As you .
For more classes visit
www.snaptutorial.com
Please check all Included Assignment Details below
GSP 215 Week 1 Homework Command Line in Windows and Linux
For more classes visit
www.snaptutorial.com
Please check all Included Assignment Details below
GSP 215 Week 1 Homework Command Line in Windows and Linux
GSP 215 Week 2 iLab Binary Representation of Information
For more course tutorials visit
www.newtonhelp.com
Lab 1 of 7: Getting Started (Your First C++ Programs) Lab Overview - Scenario/Summary
Welcome to Programming with C++. The purpose of this three-part lab is to walk you through the following tutorial to become familiar with the actions of compiling and executing a C++ program.
CIS 170 Imagine Your Future/newtonhelp.com bellflower42
For more course tutorials visit
www.newtonhelp.com
Lab 1 of 7: Getting Started (Your First C++ Programs) Lab Overview - Scenario/Summary
Welcome to Programming with C++. The purpose of this three-part lab is to walk you through the following tutorial to become familiar with the actions of compiling and executing a C++ program.
For more course tutorials visit
www.newtonhelp.com
Lab 1 of 7: Getting Started (Your First C++ Programs) Lab Overview - Scenario/Summary
Welcome to Programming with C++. The purpose of this three-part lab is to walk you through the following tutorial to become familiar with the actions of compiling and executing a C++ program.
Similar to Cis 115 Education Redefined-snaptutorial.com (20)
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
1. CIS 115 All Exercises Devry University
For more classes visit
www.snaptutorial.com
CIS 115 All Exercises Devry University
*******************************************************
CIS 115 All iLabsDevry University
For more classes visit
www.snaptutorial.com
CIS 115 All iLabsDevry University
*******************************************************
CIS 115 Entire Course
For more classes visit
www.snaptutorial.com
2. CIS 115 Entire Course: Devry University: All iLabs and Exercises
*******************************************************
CIS 115 Final Exam 1
For more classes visit
www.snaptutorial.com
(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)
8. (TCO 2) Using the assignment statement, + sales, which side of the
equal sign is evaluated first? (Points : 4)
9. (TCO 2) What value will be contained in the variable, x, after the
following statement is executed?
* 5 / 10 + 6 (Points : 4)
3. 10. (TCO 2) Review the partial pseudocode below. What is the
correct math expression to complete the algorithm and total sales for
both regions?
Prompt “Enter total sales for region 1: ”
Input region1
Prompt “Enter total sales for region 2: ”
Input region2
*******************************************************
CIS 115 Final Exam 2
For more classes visit
www.snaptutorial.com
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?
8. (Which one of the following is a valid assignment statement in a
program?
9. (Evaluate (2 * 3) ^ 3.
4. 10. (TCO 2) Review the partial pseudocode below. What is the
correct math expression to complete the algorithm and total sales for
both regions?
Prompt “Enter total sales for region 1: “
Input region1
Prompt “Enter total sales for region 2: “
Input region2
Set _____
Display “total sales: “ + total (Points : 4)
11. (TCO 3 & 4) Review the pseudocode below. What will be
displayed when this algorithm executes?
Set
If ((x > = 10) AND (x < 20))="">
Display “the IF path executes”
Else
Display “the ELSE path executes”
EndIf (Points : 4)
12. (TCO 3 & 4) What value gets displayed for the variable X?
Set
Set
Set
If (B > 15) AND (() OR (C <= 15))="">
Set
Else
Set
EndIf
*******************************************************
CIS 115 Final Exam 3 Sets of Answers
For more classes visit
www.snaptutorial.com
5. CIS 115 Final Exam 3 Sets of Answers
*******************************************************
CIS 115 Final Exam 3
For more classes visit
www.snaptutorial.com
. (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
01202009.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)
9. (TCO 2) Evaluate (2 * 3) ^ 3. (Points : 4)
*******************************************************
6. CIS 115 Week 1 Exercise
For more classes visit
www.snaptutorial.com
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
Document:
Points possible:
Points received
Problem #1
6
Problem #2
6
Problem #3
8
Total Points
20
Problem #1:
7. The variable X starts with the value 0.
The variable Y starts with the value 5.
Add 1 to X.
Add 1 to Y.
Add X and Y, and store the result in Y.
Display the value in Y on the screen.
Output #1:
Pseudocode #1:
Problem #2:
The variable J starts with the value 10.
The variable K starts with the value 2.
The variable L starts with the value 4.
Store the value of J times K in J.
Store the value of K times L in L.
Add J and L, and store the result in K.
Display the value in K on the screen.
Output #2:
Pseudocode #2:
Problem #3:
The variable A starts with the value 1.
The variable B starts with the value 10.
The variable C starts with the value 100.
The variable X starts with the value 0.
Store the value of C times 3 in X.
Add the value of B times 6 to the value already in X.
Add the value of A times 5 to the value already in X.
Display the value in X on the screen.
Output #3:
Pseudocode #3:
*******************************************************
CIS 115 Week 1 iLab 1
For more classes visit
8. www.snaptutorial.com
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.
Scenario:
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.
1) Accept the dollar value of each item purchased from the user until
the user is finished.
2) When purchases are complete, enter a sentinel value of -1
(indicating the user has finished).
3) If more the item purchased is 50.00 or more, give your customer a
10% discount on their item purchased.
4) 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.
9. D. Deliverables:
Deliverable
Points
Fireworks IPO Model
10
Fireworks Pseudocode
20
Fireworks Flowchart
20
*******************************************************
CIS 115 Week 2 Exercise
For more classes visit
www.snaptutorial.com
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).
10. Advanced (optional): use a constants for the 7% sales tax.
Rubric:
When completed staple the following documents together neatly in
1,2,3,4 order:
1) This instruction sheet first
2) The IPO Chart, second
3) The Pseudocode, third
4) The Flowchart and output example last.
*******************************************************
CIS 115 Week 3 Exercise
For more classes visit
www.snaptutorial.com
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). Here is a sample of what the program
should do when run: (No overtime example) Enter hourly pay rate:
11. 10.00 Enter hours worked: 35 Enter letter for (M)arried, (S)ingle,
(D)ivorced, (W)idowed: M Gross pay is $350.00 Net pay is $297.50
(Overtime example) Enter hourly pay rate: 10.00 Enter hours worked:
45 Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: S
Regular pay is $400.00 Overtime pay is $75.00 Gross pay is $475.00
Net pay is $370.50 Rubric: When completed staple the following
documents together neatly in 1,2,3,4 order: 1) This instruction sheet
first 2) The IPO Chart, second 3) The Pseudocode, third 4) The
Flowchart and output example last. Point distribution for this
application: Calculate Overtime Pay Document: Points possible:
Points received IPO Chart 5 Pseudocode 5 Flowchart and output 10
Total Points 20 IPO Chart: Input Processing Output Pseudocode:
Begin calculateOvertimePay End Flowchart: Example Output after
execution:
*******************************************************
CIS 115 Week 3 Exercise
For more classes visit
www.snaptutorial.com
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
12. 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). Here is a sample of what the program
should do when run: (No overtime example) Enter hourly pay rate:
10.00 Enter hours worked: 35 Enter letter for (M)arried, (S)ingle,
(D)ivorced, (W)idowed: M Gross pay is $350.00 Net pay is $297.50
(Overtime example) Enter hourly pay rate: 10.00 Enter hours worked:
45 Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: S
Regular pay is $400.00 Overtime pay is $75.00 Gross pay is $475.00
Net pay is $370.50 Rubric: When completed staple the following
documents together neatly in 1,2,3,4 order: 1) This instruction sheet
first 2) The IPO Chart, second 3) The Pseudocode, third 4) The
Flowchart and output example last. Point distribution for this
application: Calculate Overtime Pay Document: Points possible:
Points received IPO Chart 5 Pseudocode 5 Flowchart and output 10
Total Points 20 IPO Chart: Input Processing Output Pseudocode:
Begin calculateOvertimePay End Flowchart: Example Output after
execution:
*******************************************************
CIS 115 Week 3 Lab Decision Calendar
For more classes visit
www.snaptutorial.com
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
13. 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
For more classes visit
www.snaptutorial.com
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="" kg="" $3.50="" per="" kg="">
2.5 to 5 kg $2.85 per kg
14. > 5kg $2.45 per kg
Make sure that the weight entered is a positive number, otherwise
your program should display an error message and end. Test your
algorithm with the following THREE sets of data:
Test case 1: package weight of 2 kg
Test case 2: package weight of 5 kg
Test case 3: package weight of 6 kg
Rubric:
When completed staple the following documents together neatly in
1,2,3,4 order:
1) This instruction sheet first
2) The IPO Chart, second
3) The Pseudocode, third
4) The Flowchart and output example last.
Point distribution for this application:
Parcel Charges
Document:
Points possible:
Points received
IPO Chart
5
Pseudocode
5
Flowchart and output
10
Total Points
20
IPO Chart:
Input
Processing
Output
Pseudocode:
Begin parcelCharges
End
Flowchart:
Example Output after execution:
15. *******************************************************
CIS 115 Week 4 Lab Grade Calendar
For more classes visit
www.snaptutorial.com
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:
Score Percent Range
Grade
90-100
A
80-89
B
70-79
C
60-69
D
0-59
F
16. The program will then display the student’s first name, last name,
number of points, calculated percentage, and the final grade.
The program shall have an initial prompt informing the user of the
program's purpose, and a program termination message.
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 5 Exercise
For more classes visit
www.snaptutorial.com
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.
Rubric:
When completed staple the following documents together neatly in
1,2,3,4 order:
1) This instruction sheet first
2) The IPO Chart, second
3) The Pseudocode, third
17. 4) The Flowchart and output example last.
*******************************************************
CIS 115 Week 5 Lab Fireworks Stand Checkout
For more classes visit
www.snaptutorial.com
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.
Deliverables Firework Stand Checkout IPO Model Firework Stand
Checkout Pseudocode Firework Stand Checkout Flowchart Firework
Stand Checkout Output Sample
*******************************************************
CIS 115 Week 6 Exercise
For more classes visit
18. www.snaptutorial.com
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.
Rubric:
When completed staple the following documents together neatly in
1,2,3,4 order:
1) This instruction sheet first
2) The IPO Chart, second
3) The Pseudocode, third
4) The Flowchart and output example last.
*******************************************************
CIS 115 Week 6 Lab Fireworks Stand Checkout
For more classes visit
www.snaptutorial.com
19. 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.
Deliverables Firework Stand Checkout IPO Model Firework Stand
Checkout Pseudocode Firework Stand Checkout Flowchart Firework
Stand Checkout Output Sample
*******************************************************
CIS 115 Week 7 Exercise
For more classes visit
www.snaptutorial.com
20. 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.
Rubric:
When completed staple the following documents together neatly in
1,2,3,4 order:
1) This instruction sheet first
2) The IPO Chart, second
3) The Pseudocode, third
4) The Flowchart and output example last.
*******************************************************
CIS 115 Week 7 Lab Fireworks Stand Checkout
For more classes visit
www.snaptutorial.com
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
21. 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.
*******************************************************