DAT/210 Data Programming Languages

Donny Job
4 min readAug 15, 2019

DAT/210
Data Programming Languages

The Latest Version A+ Study Guide

**********************************************

DAT 210 Entire Course Link

https://uopcourses.com/category/dat-210/

**********************************************

DAT 210 Week 1 Create an Algorithm Using Pseudocode

You work in the IT group of a department store and the latest analytics shows there is a bug that allows customers to go over their credit limit. The company’s president has asked you to develop a new algorithm to solve this problem.

Create your algorithm using pseudocode that determines if a department store customer has exceeded their credit limit. Be sure you gather the following inputs from the user:

· Account number

· Balance of the account

· Total cost of all the products the customer is looking to purchase

· Allowed credit limit

After you gather the inputs, make sure your algorithm calculates if the user can purchase the products and provides a message to the user indicating if the purchase is approved or declined.

Document your answers in a Microsoft® Word document.

Review “Understanding Object-Oriented Programming” with Jungwoo Ryoo from Lynda.com® for additional guidance.

Submit your document.

DAT 210 Week 2 Using Loops in Python

You recently graduated college and you are applying for a programming job that requires the understanding of loops in Python. The manager you are interviewing with has asked you to take an assessment to prove your programming knowledge. Below are the requirements for the programming skills test.

In Python, create a program that meets the following requirements:

· Take two integers from the user.

· Save the lower number as x.

· Save the largest integer as y.

· Write a loop that counts from x to y by twos.

· Print out the values of that loop using the Print function in Python.

· Write another loop that adds x and y, and saves the value as Z.

· Print out the values of Z using the Print function in Python.

Provide the code and take a screenshot of the output, then paste the screenshot(s) into a Microsoft® Word document.

Review Chapters 6 and 11 of Python for Everyone if you have additional questions on creating a program in Python.

Submit your document.

DAT 210 Week 3 Control Structures

You work for a software company has just created a new incentive for salespeople to earn a commission on each sale. The current program only allows for a fixed salary. The Chief Information Officer (CIO) has asked you to create a new program that allows the functionality for a fixed salary and commission.

Write a Java® application, using NetBeans IDE, that calculates the total annual compensation of a salesperson.

Consider the following:

· A salesperson will earn a fixed salary of $30,000.

· A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the salesperson’s annual sales. The current commission is 7% of total sales.

· The total annual compensation is the fixed salary plus the commission earned.

The Java® application should meet the following technical requirements:

· The application should have at least one class, in addition to the application’s controlling class. (A controlling class is where the main function resides).

· A file needs to be created to contain the output.

· There should be proper documentation in the source code.

· The application should ask the user to enter annual sales, and it should display the total annual compensation.

Compile your Java® application files into a ZIP folder.

Review the Lynda.com® videos from this week if you have additional questions on creating a program in Java®.

Submit the ZIP file.

DAT 210 Week 4 Write a Ruby Program

The college IT department manager no longer wants to use spreadsheets to calculate grades. The manager has asked you to create a program that will input the teachers’ files and output the students’ grades.

Write a Ruby program named formatfile.rb, which can be run by typing ruby widgets.rb.

In your Ruby environment, the program must read an input file formatted in CSV format, named input.csv. Each record contains data about a student and their corresponding grades.

The data will look similar to the following:

Student Name, assignment1, assignment 2, assignment 3, assignment 4

John Adams, 90, 91, 99, 98

Paul Newman, 90, 92, 93, 94

Mary Smith, 95, 96, 99

Be careful to follow the output format exactly, including spacing. The output of your program must look like the following:

Student Assignment Average

John Adams 94.5

Compress your files into a ZIP folder.

Review the readings for this week from Ruby on Rails Tutorial if you have additional questions on deploying Ruby applications.

Submit the ZIP file.

DAT 210 Week 5 Functional Programming

Your software company was invited to provide a proposal for a company in Australia. You currently have the cost in US dollars and need to convert the prices to the Australian dollar.

Write a 2-part program using Ruby, Java®, or Python.

Part 1: Write a function to gather the following costs from the user:

· Travel Cost: $9,800

· Hotel Cost: $3,500

· Rental Car Cost: $1,600

· Labor Cost: $15,500

Part 2: Write a function to convert the costs from United States dollar (USD) to Australian dollar (AUD). Note: Look up the current USD to AUD exchange rate to use in your function.

Test the program 3 times by providing different costs in USD.

Provide the code and take a screenshot of the output, then paste the screenshot(s) into a Microsoft® Word document.

Write a half-page response in the same Microsoft® Word document to address the following:

· Provide a manual for the user explaining how to use the program.

· Explain what type of user input validations you should have. What happens if the user enters a negative number? What happens if the user puts a $ in the input?

Review the readings for this week from Ruby on Rails Tutorial or the Pluralsight videos if you have additional questions on deploying Ruby applications.

Submit your document.

--

--