DAT 210 Academic Adviser

Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

DAT 210 All Assignments

For more course tutorials visit

www.tutorialrank.com

DAT 210 Week 1 Create an Algorithm Using Pseudocode

DAT 210 Week 2 Using Loops in Python

DAT 210 Week 3 Control Structures

DAT 210 Week 4 Write a Ruby Program


DAT 210 Week 4 Write a Ruby Program (new)

DAT 210 Week 5 Functional Programming

.....................................................................................................................
.........................................

DAT 210 All DQs


For more course tutorials visit

www.tutorialrank.com

DAT 210 Week 1 Discussion Programming Logic and Data

DAT 210 Week 2 Discussion Sequential Processing with Python


DAT 210 Week 3 Discussion Java Comparison to Other Programming
Languages

DAT 210 Week 4 Discussion How Can Rails Help Ruby

DAT 210 Week 5 Discussion Functional Programming

.....................................................................................................................
.........................................

DAT 210 Week 2 Using Loops in Python


For more course tutorials visit

www.tutorialrank.com

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.

Create a program in Python that meets the following requirements:

• Creates a list of 10 integers

• Replaces the last entry in the list with one input by the user

• Performs one of the following scenarios (you will be assigned


one in class in week 1):

• Scenario 1: Calculate and print the sum of the list items

• Scenario 2: Find and print the minimum item in the list

• Scenario 3: Find an item matching the one input by the user or


print not found
• Include a program header with your name, date, assigned
scenario #, and program purpose.

• You may use JDoodle, another online code editor, or your


desktop install of Python.

Provide the actual code as a Python script (".py") and also take a
screenshot of the output, then paste the screenshot(s) into a Microsoft®
Word document. Your submission should then include two items: the
script and the Word document. Include your name and week # in both
file names.

Review Chapters 6 and 11 of Python for Everyone if you have additional


questions on creating a program in Python.

Submit your document.

Submissions that duplicate the submission of another student


(comments, formatting, variable names, coding standards, formulas, etc.)
are not eligible for credit.

.....................................................................................................................
.........................................
DAT 210 Week 1 Discussion Programming Logic and
Data
For more course tutorials visit

www.tutorialrank.com

Respond to the following in a minimum of 175 words:

A co-worker interested in learning more about programming has asked


some questions that lead to a discussion about programming logic and
data.

Answer the following questions:

What are the differences between an algorithm, pseudocode, and data


flow diagram?

What parts of the computer can store user data?


When designing a program, is it necessary to develop a pseudocode and
algorithm?

What are the four basic concepts of object-oriented programming?


What are some of the main advantages and disadvantages of object-
oriented programming?

.....................................................................................................................
.........................................

DAT 210 Week 2 Discussion Sequential Processing with


Python
For more course tutorials visit

www.tutorialrank.com

Respond to the following in a minimum of 175 words:

One of the most important concepts of programming is handling input


and output. The following activity will allow you to get familiar with
this concept, specifically when using Python.
Write a function to add two values and display the results.

Discuss the steps in your thought process as you created the code, any
issues you encountered, and how you resolved those issues.

.....................................................................................................................
.........................................

DAT 210 Week 2 Using Loops in Python


For more course tutorials visit

www.tutorialrank.com

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.

Create a program in Python that meets the following requirements:


• Creates a list of 10 integers

• Replaces the last entry in the list with one input by the user

• Performs one of the following scenarios (you will be assigned


one in class in week 1):

• Scenario 1: Calculate and print the sum of the list items

• Scenario 2: Find and print the minimum item in the list

• Scenario 3: Find an item matching the one input by the user or


print not found

• Include a program header with your name, date, assigned


scenario #, and program purpose.

• You may use JDoodle, another online code editor, or your


desktop install of Python.
Provide the actual code as a Python script (".py") and also take a
screenshot of the output, then paste the screenshot(s) into a Microsoft®
Word document. Your submission should then include two items: the
script and the Word document. Include your name and week # in both
file names.

Review Chapters 6 and 11 of Python for Everyone if you have additional


questions on creating a program in Python.

Submit your document.

Submissions that duplicate the submission of another student


(comments, formatting, variable names, coding standards, formulas, etc.)
are not eligible for credit.

.....................................................................................................................
.........................................

DAT 210 Week 3 Control Structures


For more course tutorials visit

www.tutorialrank.com

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 3 Discussion Java Comparison to Other


Programming Languages
For more course tutorials visit

www.tutorialrank.com

Respond to the following in a minimum of 175 words:

Discuss the following:

Differences, advantages, and disadvantages of Java® compared to


another language of your choice (e.g., C++, Python, Ruby)

Database connectivity and file handling in Java® and in your other


chosen language
.....................................................................................................................
.........................................

DAT 210 Week 4 Discussion How Can Rails Help Ruby?


For more course tutorials visit

www.tutorialrank.com

Respond to the following in a minimum of 175 words:


Rails is a software library that extends the Ruby programming language.
Rails is also a framework for building websites establishing conventions
for easier collaboration and maintenance. It was created to help design
dynamic websites with a database backend.

Discuss how Rails has helped Ruby developers build large scalable
websites faster.
.....................................................................................................................
.........................................

DAT 210 Week 4 Write a Ruby Program (new)


For more course tutorials visit

www.tutorialrank.com

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 format file.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, assignment 1, 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 4 Write a Ruby Program


For more course tutorials visit

www.tutorialrank.com

DAT 210 Week 4 Process Files using Ruby


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 which can be run by typing ruby widgets.rb. The
program name must contain your name and week. Example:
bobroberts_wk4.rb.

In your Ruby environment, the program must read an input file


formatted in CSV format. The file name should contain your name and
week #. Example: alicegarcia_wk4.csv. Each record contains data about
a student and their corresponding grades.

The data will look similar to the following:

Student Name, assignment 1, assignment 2, assignment 3, assignment 4

Use the following data according to your assigned scenario from week 1

Scenario 1

John Adams, 90, 91, 99, 96


Paul Newman, 90, 92, 93, 88

Mary Smith, 95, 96, 74

Scenario 2

Robert Adams, 85, 91, 99, 66

Paul Wilson, 77, 92, 93, 88

Alice Smith, 65, 96, 74

Scenario 3

Jack Jones, 90, 91, 88, 96

Mary Newman, 90, 99, 93, 88

Jessica McDermott, 85, 96, 84


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

Include a program header with your name, date, week # and program
purpose.

Compress your files into a ZIP folder with your name and week # in the
file name. Do not compress into any format other than .zip.

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

Submit the ZIP file. Please submit your own work. Submissions that
duplicate the submission of another student (comments, formatting,
variable names, coding standards, formulas, etc.) are not eligible for
credit.

.....................................................................................................................
.........................................

DAT 210 Week 5 Discussion Functional Programming


For more course tutorials visit

www.tutorialrank.com

Respond to the following in a minimum of 175 words:

Research the following:

The definition of def

The purpose of “def someFunction(x,y):” within a program

Discuss the following questions:

What are the main benefits of functional programming?

Why do functions play a useful role in creating programs?


Provide examples of why you would use a function in a program and
how a function might be applied within a program.

.....................................................................................................................
.........................................

DAT 210 Week 5 Functional Programming


For more course tutorials visit

www.tutorialrank.com

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.

You might also like