Practical connection Assignment

  

Executive Program Practical Connection Assignment

At UC, it is a priority that students are provided with strong educational programs and courses that allow them to be servant-leaders in their disciplines and communities, linking research with practice and knowledge with ethical decision-making. This assignment is a written assignment where students will demonstrate how this course research has connected and been put into practice within their own career.

Assignment:
Provide a reflection of at least 500 words of how the knowledge, skills, or theories of this course have been applied, or could be applied, in a practical manner to your current work environment. If you are not currently working, share times when you have observed these theories and knowledge being applied to an employment opportunity in your field of study. 

Requirements:

Provide a 500 word minimum reflection.

Use of proper APA formatting and citations. If supporting evidence from outside resources is used those must be properly cited. 

Share a personal connection that identifies specific knowledge and theories from this course. 

Demonstrate a connection to your current work environment. If you are not employed, demonstrate a connection to your desired work environment. 

You should NOT provide an overview of the assignments given in the course. Rather, reflect and write about how the knowledge and skills obtained through meeting course objectives were applied or could be applied in the workplace. 

Java Kiosk Change Calculator

Java  Kiosk Change Calculator

A retail store is building a kiosk to enter sales and handle transactions. When

people use cash to pay for an item, the kiosk needs to tell the cashier how much

change should be given back to the customer.

You are developing a simple calculator

that will compute the right amount and most efficient denominations of change for a specific purchase.

COSC1415/COSC1436

  

COSC1415/COSC1436

Lab – Chapter 5A

Objective: To learn how to use looping structures, especially while loops, in a program

At the end of this lab you should know how to:

1. incorporate while loops in a program.

2. use selection, repetition, files and value-returning functions in a program.

Remember to put a line in each program that identifies you as the programmer.

Lab 5A1:  Write a program that reads the radius of a circle from a file (circles.txt). The program should use value-returning functions to calculate the area and circumference. Declare  π (pi) as a constant that equals 3.1416. The program should use a priming read and a while loop that terminates when there is no more data in the file. The output should be sent to a file and include a title and be displayed (with one decimal place) similar to what you see below. Don’t forget to put the statement in your program.

Radius Area Circumference

5.6  98.5  35.2

123.5  47877.7   775.7

Save a copy of the program and the output file.

Lab 5A2:  Write a program that reads test scores (four scores for each student) from a file (tests.txt). The program should use value-returning functions to determine the test average. (The test average is the average of the three highest test scores.). The program should use priming read and a while loop that terminates when there is no more data in the file. The program should output the four test scores rounded to one decimal place and the average rounded to two decimal places to a file. The labeled output should look similar to what you see below: Don’t forget to put the statement in your program.

Test 1 Test 2 Test 3 Test 4 Average

 75.0  85.0   95.0  65.0   85.00

 87.5  91.5  66.5  78.5  85.83

Save a copy of the program and the output file.

When you have completed the entire lab, you should e-mail the assignment to me. The subject line should be – C++ CHAP5A LAB

The following five files should be attached to the e-mail

This assignment with your name

Program for Lab5A1 and its output file

Program for Lab5A2 and its output file

Research paper

M6A1 – Research Project Final Paper

The research project is a research-based paper on a current topic in the area of Cyberlaw. You MUST prepare  your paper on the topic that you chose in Module 1.You will develop your research project in stages throughout the course, including selecting a topic, submitting an abstract for instructor review and feedback (this was completed in Module 1), and submitting -your final project (paper) for evaluation here.You must support your materials by using at least five (5) appropriate, properly cited sources in APA Style in addition to your course textbook.You must write your paper on the topic that you chose in Module 1.

  1. Trademarks in E-Commerce
  2. Copyright Law in the Digital Age
  3. Cybercrimes
  4. Tort Law in Cyberspace

Your project paper will comprise 2000-2500 words, or 7 to 10 pages double spaced (not including title and reference pages). Your project paper must be formatted according to APA guidelines, double spaced, Times New Roman, 12-font, with one-inch margins.

Complete a read me of what each class does in this assignment. (DUE SEPT 12TH 2022!!!!) TODAY

 

import java.util.ArrayList;

public class Checkout{

private ArrayList checkoutList;

Checkout(){

checkoutList= new ArrayList();

}

public int numberOfItems(){

return checkoutList.size();

}

public int totalCost(){

int sum=0;

for (Item i : checkoutList){

sum+=i.getCost();

}

return sum;

}

public int totalTax(){

return (int) java.lang.Math.round(GroceryStore.TAX_RATE*totalCost()/100.0);

}

public void clear(){

checkoutList.clear();

}

public void enterItem(Item i){

checkoutList.add(i);

}

public String toString(){

;

System.out.println(“t”+GroceryStore.STORE_NAME);

System.out.println(“nt——————-“);

for (Item i : checkoutList){

System.out.println(i.toString());

}

System.out.println(“nTax “+GroceryStore.cents2dollarsAndCents(totalTax()));

System.out.println(“nTotal Cost “+GroceryStore.cents2dollarsAndCents(totalCost()+totalTax()));

return “”;

}

}

// Test Check out

 

public class TestCheckout {

public static void main(String[] args) {

 Checkout checkout = new Checkout();

 checkout.enterItem(new Rice(“Basmati Rice”, 2.25, 399));

 checkout.enterItem(new Baguette(“Wheat Baguette”, 105));

 checkout.enterItem(new FlavoredBaguette(“White Baguette”, 145, “Chocolate”, 50));

 checkout.enterItem(new Egg(“Grade A Organic Eggs”, 4, 399));

 System.out.println(“nNumber of items: ” + checkout.numberOfItems() + “n”);

 System.out.println(“nTotal cost: ” + checkout.totalCost() + “n”);

 System.out.println(“nTotal tax: ” + checkout.totalTax() + “n”);

 System.out.println(“nCost + Tax: ” + (checkout.totalCost() + checkout.totalTax()) + “n”);

 System.out.println(checkout);

 checkout.clear();

 checkout.enterItem(new Baguette(“Organic Baguette”, 145));

 checkout.enterItem(new FlavoredBaguette(“Wheat Baguette”, 105, “Caramel”, 50));

 checkout.enterItem(new Rice(“Indian Brown Rice”, 1.33, 89));

 checkout.enterItem(new Egg(“Grade B Egg”, 4, 399));

 checkout.enterItem(new Rice(“Arabic White Rice”, 1.5, 209));

 checkout.enterItem(new Rice(“Spanish Yellow Rice”, 3.0, 109));

 System.out.println(“nNumber of items: ” + checkout.numberOfItems() + “n”);

 System.out.println(“nTotal cost: ” + checkout.totalCost() + “n”);

 System.out.println(“nTotal tax: ” + checkout.totalTax() + “n”);

 System.out.println(“nCost + Tax: ” + (checkout.totalCost() + checkout.totalTax()) + “n”);

 System.out.println(checkout);

}

//Baguette 

public class Baguette extends Item {

private double cost;

public Baguette(String name, double cost) {

super(name);

this.cost = cost;

}

@Override

public int getCost()

{

return (int)Math.ceil(cost);

}

@Override

public String toString() {

return name+” @” + GroceryStore.cents2dollarsAndCents(getCost());

}

}

 

public class Rice extends Item {

double weight;

double price;

public Rice(String name, double weight, double price) {

 super(name);

 this.weight = weight;

 this.price = price;

}

@Override

public int getCost() {

 return (int) Math.ceil(weight * price);

}

@Override

public String toString() {

 return “rice” + weight + “lbs @” + GroceryStore.cents2dollarsAndCents(getCost());

}

}

Data mining

· What were the traditional methods of data collection in the transit system

· Why are the traditional methods insufficient in satisfying the requirement of data collection

· Give a synopsis of the case study and your thoughts regarding the requirements of the optimization and performance measurement requirements and the impact to expensive and labor-intensive nature.

Programming

 Follow the instructions for starting C++ and viewing the Intermediate25.cpp file(SEE ATTACHED) Code the program so that it asks the user for a percentage amount by which each price should be increased. The program should increase each price in the array by that amount. For example, when the user enters the number 15, the program should increase each element’s value by 15%. After increasing each price, the program should display the contents of the array. Save and then run the program. Test the program by increasing each price by 5%. 

SAVE AS increase.cpp