• 1500+ Experts
  • A+ Grade
  • Free Turnitin Report

B8IT153: Demonstrate Knowledge Of Core Programming Concepts: Programming for Data Analytics, NUI, Ireland

University National University of Ireland (NUI)
Subject B8IT153: Programming for Data Analytics

Learning Outcomes to be assessed

  1. Demonstrate knowledge of core programming concepts.
  2. Construct the core syntax and semantics of a programming language.
  3. Identify and apply object-oriented core principles to typical data analytics problems.

CA guideline :

 Details of assignment. 

  • consider a file product.txt containing – product name file
  • consider a file quantity.txt containing – product quantity
  • consider a file purchase_prices.txt containing – product purchase price
  • consider a file sales_prices.txt containing – product sales price

Create these three files, quantity.txt, sale_price.txt, purchase_price, and product.txt

  1. Request input for how many items (N), which is the number of expected rows of data to enter?
  2. Request input for a product, quantity, and price for purchase and sale
  3. supply the value at each input for product name, quantity, and price for sale and purchase and write the inputted values to the respective files line by line using values from the below table.

Are You Searching Answer of this Question? Request Ireland Writers to Write a plagiarism Free Copy for You.

#Data to write to respective files for calculation of profit.

Product Quantity Purchase_price Sale_price
Mattress 220 $23 $27
Bed 54 $344 $424
Pillow 234 $123 $129
Door 44 $1344 $1544
Table 566 $122 $2222
Chairs 13 $1223 $1229

After creating the files:

Read the values entered in the files to calculate profit:

Revenue = Quantity*Sale_price

Cost= quantity*purchase_price

Note if revenue > $60000 then a cashback of $3000 is given so revenue is less $3000

If revenue > $20000 and <= $60000 then cashback of $150 is given and revenue less $150

But If revenue <=20000 then cashback of $0 is given

The calculate the total cost and total revenue (exclude cashback from revenue where applicable)

Profit= total revenue – total cost.

Report the product name, total revenue, total cost, and profit.

Check if final profit> 0 then print a message.

If final profit =0 the print a message

If final profit < 0 the print a message

Get Solution of this Assessment. Hire Experts to solve this assignment for you Before Deadline.

Get Help By Expert

If you are still struggling to perform a programming assignment on  (B8IT153) Programming for Data Analytics then you can seek assistance from Ireland Assignments. Our Galway assignment experts will help you in performing analysis for tracing all external variables.  We also provide other services such as essay writing, academic writing, proofreading, and editing services. Our Professional provides good Quality and Quick services that too at reasonable costs.

Submit Your Assignment Questions & Get Plagiarism Free Answers.

Assignment-Help-Ireland.jpg

Submit Your Assignment