+1(316)4441378

+44-141-628-6690

Archive for the ‘Undergraduate’ Category

Python Grade Assignment

Your math teacher has asked you to write a program that grades the multiple-choice questions in a Math exam. The exam has 10 multiple-choice questions. Here are the correct answers:

1. A        6. B       

2.D          7.A       

3. B          8. B     

4.B          9.C       

5.C          10.D     

Your program should store the correct answers shown above in a list. It should ask the student to enter her answers for each of the 10 questions, and the answers should be stored in another list. After the students answers have been entered, the program should display a message indicating whether the student passed or failed the exam. (A student must correctly at least answer 7 of the 10 questions to pass the exam.) It should then

NALYZING THE DATA SET USING DESCRIPTIVE STATISTICS

Now that you have your unique survey data in Excel, you can perform descriptive statistics with the tools we learned at the beginning of the course.

Windows PC users: For installing an Analysis ToolPak add-in, please use your HELP feature in your version of Microsoft Excel.
Mac users: StatPlus: Mac LE is the free equivalent for Apple users, but you must download it from AnalystSoft. Note: Excel 2016 now has an available Toolpak add-in.
Make sure you have watched the Week 7 Project Video. Your instructor walks you through the process.

Assignment Instructions
Complete this assignment on one Excel sheet. Access and review the Analyzing the Data Set Using Descriptive Statistics [XLSX].

Include the following components in your analysis of the data:

Part 1
Analyze the data for questions 1, 2, 3, and 4 (binary questions). Your analysis must have the following elements:

Sample Size.
Sample Proportion of each response.
Bar Chart or Pie Chart.

Java

The ZipCode Class
Attributes
String fiveDigit
String plus4
Constructors
one constructor with no input parameters
since it doesn't receive any input values, you need to use the default values below:
fiveDigit - "00000"
plus4 - "0000"
one constructor with one parameter
one input parameter for fiveDigit
use the default value from the no-parameter constructor to initialize plus4
one constructor with all (two) parameters
one input parameter for each attribute
Methods (same as last lab)
public String toString()
returns this object as a String, i.e., make each attribute a String, concatenate all strings and return as one String.
toString() is a special method, you will learn more about it in the next lessons
it needs to be public
it needs to have @override notation (on the line above the method itself). Netbeans will suggest you do it.
display()
this method gets the "toString()" value (whatever is returned by toString() ) and us

Array Shifter and Array Reversal

Array Shifter and Array Reversal

Write a function that accepts an array of doubles and the arrays size as arguments. The
function should create a new array that is one element larger than the argument array.

The first element of the new array should be set to 0. Element 0 of the argument array should be copied to element 1 of the new array, element 1 of the argument array should be copied to element 2 of the new array, and so forth. The function should return a pointer to the new array.

Write a second function that accepts an array of doubles and the arrays size as arguments. The function should create a new array that contains all of the original array's elements in reverse order.

Last of all, have a main function that demonstrates the correct working of these two functions.

To be submitted:

Flowchart of your program design using draw.io.
C++ source code file (.cpp file) of your program.

Array Shifter and Array Reversal

Array Shifter and Array Reversal

Write a function that accepts an array of doubles and the arrays size as arguments. The
function should create a new array that is one element larger than the argument array.

The first element of the new array should be set to 0. Element 0 of the argument array should be copied to element 1 of the new array, element 1 of the argument array should be copied to element 2 of the new array, and so forth. The function should return a pointer to the new array.

Write a second function that accepts an array of doubles and the arrays size as arguments. The function should create a new array that contains all of the original array's elements in reverse order.

Last of all, have a main function that demonstrates the correct working of these two functions.

To be submitted:

Flowchart of your program design using draw.io.
C++ source code file (.cpp file) of your program.

Rainfall Stats

Write a program that lets the user enter the total rainfall for each of 12 months into an array of doubles. The program should calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest amounts. Also, prompt your user for a file name and have the program save the calculated statistics to the file.

Directions in attachment

ssjassignment3

Programming Assignment 3 Instructions


This week you are going to take your youth camp program further and utilize subs and functions.  The user will enter the values and the program will determine the total cost of the trip based on the entry from the user.  The program will use a function to determine the cost and a sub to clear the data.

    Form Setup
    You must save your project using your initials in the name**  This is required and the project will not be accepted otherwise.
    Design your screen to look like the one below.
    Update the backcolor to the color of your choice.
    Lock all controls.
    Use appropriate naming conventions for controls and variables.
    Txt for textbox
    Lbl for label
    Frm for form
    Chk for checkbox
    Lst fo

info graphic personal management

Using as examples the following ones:
https://infogram.com/sagrada-familia-1hnq41xe9mzk23z
https://infogram.com/alcohol-map-1hnp27x0meyy6gq

And using CANVA as a tool,
Create an infographic explaining the whole content shared during the 'Personal Management' slides attached


Requirements:

Objective is to explain how to plan your work
Infographic must be done with one of the recommended tools during class
Deliverable must be delivered as a PDF

power point presentation about technology

Requirements:

-It must use a slide deck with a template / slide master done by yourself.
-It must have at least 6 slides.
-Topic must be about a technology still to arrive (hyperloop, nuclear fusion, 5G, nanorobotics, self-driving cars, electrical planes... you name it).
-Objective is to explain the technology, its actual status and future expectations.


-Use pictures, gifs, animations... Be creative and original as much as possible.
-Slides must be done with powerpoint and delivered in its format (ppt / pptx).

Java Traversal Game

Traversal is a game with a simple objective: navigate your player safely across the board onto the green target without touching any of the "dangerous" pieces. The game needs to have a text (terminal mode) and a graphics mode using a StdDraw Library which I will send. It needs to be programmed using java and object orientated programming is not allowed. I will send all the specific rules and sample files once I know who I'll be working with furthermore I have a semi working version of the text mode that I attempted myself which I'll send through so you do not have to work from scratch. The code needs to be commented as well. Again I will send all the exact and specific details once I know who I am working with. Thank you :)