Category: Computer science and IT assignments

C++ data structure and algorithms

Objectives
    Develop C++ programming abilities using object-oriented design, dynamic memory allocation, array manipulation, iterators, and exceptions.
    Understand graphs and the adjacency list representation of a graph; implement the adjacency list representation.
    Understand the concepts and implemtation of dyanically-resized arrays.

Student Form

Windows Application Form in Visual Studio C#

Contains 3 parallel arrays for 3 students
Labels for student 1, student 2, student 3
Name, Age, and GPA should have three text boxes underneath each one

I need it to be coded to where you can input data for three students and it will save into a text file. There needs to be a Save button so it can save to the text file and two text boxes to the right of it to display the average age and average GPA.

Enhanced Entity Relationship(EER)

Helllo, again im sorry the assignment noticed is very short :/ how every i need this completed by the deadline please look over and help it will take roughly 20minutes of your time i would do it i just don’t know how 🙁

basically your going to take the lab 3 and update some of the parts lab 4 is asking for

Travel Agency Java

Please use Eclipse, and also please use the included check style file included it is called CSCI1620-Checkstyle_Rules.  As far as I know everything needed is in the zip file.  There are 17 days to do this so please understand that my bid is as high as I can go.

C Programming

It’s a very easy assignment hence the price. Hardly 1 hour. I just don’t have the time.
I need all the functions, a .h file, a makefile and a read me.
It has to be plagiarism-free.
Please do not use any high-end programming code because this is a first-year undergraduate assignment.
The function mentioned in the instructions is as follows:
double rand_double(double a, double b)
{
double rtrn;
int c=0;
rtrn = ((double)rand()/(double)RAND_MAX) * (b-a)+a;
c++;
return rtrn;
}

C Programming

It’s a very easy assignment hence the price. Hardly 1 hour. I just don’t have the time.
I need all the functions, a .h file, a makefile and a read me.
It has to be plagiarism-free.
Please do not use any high-end programming code because this is a first-year undergraduate assignment.
The function mentioned in the instructions is as follows:
double rand_double(double a, double b)
{
double rtrn;
int c=0;
rtrn = ((double)rand()/(double)RAND_MAX) * (b-a)+a;
c++;
return rtrn;
}

Written Assignment 5

Your e-commerce business is growing fast. You currently have the Standard Edition of Oracle 11gR2 on your server. Your server is having trouble with servicing more than five customers at a time. Write a recommendation letter describing a solution to this problem. Using the configuration shown in Table 4-2 (page 67) to calculate the increase in the licensing cost your solution would entail. If you change the hardware, you need to include hardware costs as well. You might find the following updated Oracle web sites to be of use:
http://www.oracle.com/us/corporate/pricing/technology-price-list-070617.pdf (Links to an external site.)

http://www.oracle.com/us/corporate/contracts/processor-core-factor-table-070634.pdf (Links to an external site.)

Start with Table 4-2 and submit your modified MS Excel document with the file name M5assignment.xls.

fitness tracker

Topics Covered
Objects
Classes
Methods and properties
Method overloading and overriding
Unit testing
Description
We are going to build the first stage of what will become the final project. The idea is to create a fitness tracker application that allows the user to track and view their fitness activities. For this first stage, we are going to build and test some basic classes that we will need in the next steps of this project.
Create an Eclipse project named FitnessTracker. For example, abc123_FitnessTracker.
1. Implement the following classes as represented in the class diagrams. Methods and constructors are explained below.
You will define 4 types of activities: Run, Bike, Swim and the fourth activity is of your choice. Note that the getter/setter methods for all properties are not included in the UML diagram.
 
  2. Override each of the toString() methods to format and output each type of activity. You should print out each property of the object.
Suppose that you have a running activity in the gym. You may create an instance of Run class and print out the running activity details in the terminal window. Here is one possible sample output from the toString() method of the Run class. Please note that the output format of your toString() method may not be the same as the sample, but you should print out each property of the object.
INFSCI 0017: Project 1 Description(Fitness Tracker) Page 2

3. Create an ActiveDay class that summarizes the activities for a given day. It should contain one object of each of the previously defined activities.
Note that the getter/setter methods for all properties are not included in the UML diagram. Also, only one constructor method is included here and you can add different constructors as illustrated.
Note: The integer variable dayOfYear is the numeric representation of the day of the year, starting with January 1 as 1 and December 31 as 365 (assuming it is not a leap year).
Methods in the class ActiveDay:
inttotalCaloriesBurned():sumsthecaloriesforeachactivitytheuser
performed during the day.
inttotalIntensityMinutes():sumstheminutesexercisingforeach
activity of the day.
StringdailySummary():concatenatesthedescriptionofeachactivity
performed during the day. Remember that a day does not have to contain every activity, so if a particular activity is null, then you should not output anything.
Suppose that a user has a Run a nd Bike activity on the 20th day. Here is a sample output of each function above:

Output of dailySummary()
Note that your summary format is not required as same as above. You can design by yourself, but all the properties of a class should be displayed.
Output of totalIntensityMinutes()
Output of totalCaloriesBurned()

There are at least 8 different constructors in the class ActiveDay setting different parts of an active day. All parts that are not passed in the constructor should be set to null. For example, in the constructor ActiveDay(int day, Run run) the other fields are set to null:
Bike bike = null; Swim swim = null; Other other = null;
ActiveDay(dayOfYear: int, run: Run, bike: Bike, swim: Swim, other: Other)
– Represents a day where the user ran, biked, swam and completed your self-defined activity.

ActiveDay(dayOfYear: int, run: Run, bike: Bike, swim: Swim)
– Represents a day where the user ran, biked and swam.
ActiveDay(dayOfYear: int, run: Run, bike: Bike)
– Represents a day where the user ran and biked.
ActiveDay(dayOfYear: int, run: Run)
– Represents a day where the user ran.
ActiveDay(dayOfYear: int, bike: Bike)
– Represents a day where the user biked.
ActiveDay(dayOfYear: int, swim: Swim)
– Represents a day where the user swam.
ActiveDay(dayOfYear: int, other: Other)

– Represents a day where the user performed your self-defined activity.
4. Add getters and setters for all properties in all classes. Getters and setters are not included in the diagram, as they are assumed.
5. Create a class ActiveDayTest which uses Junit to test your functionality. You should include a method that tests each of the methods – totalCaloriesBurned(), totalIntensityMinutes() and dailySummary().

Hint: use the assertEquals() method to test the output of each method.
6. Add comments. Add a comment just above each class definition (top of the file, but after imports and package lines) including your name, Pitt ID and a brief description of each class. Look at this example showing the JavaDoc format:
/**
* Defines a running activity * Author: Jane Doe jan123
*
*/

Making Tic Tac Toe using C programming language. It is not allowed to use indexing to access the array that represents the tic-tac-toe board. Instead, you are required to use address arithmetic and dereferencing to access it

programming in C. Tic-Tac-Toe is a game where two players alternate putting their mark (either X or O) on a game board until one player wins or there are no spaces available to mark (see Tic-Tac-Toe Wikipedia (Links to an external site.)). In a typical game of tic-tac-toe, the game board is a 3×3 grid and the winner is the first to get 3 of their marks “in a row” either horizontally, vertically, or diagonally. For this assignment, you’ll be completing the program n_in_a_row.c, which processes a file containing the current game state, represented as a 2D grid of Xs and Os. Your task is to verify if the current state of the game board is valid or not.

The game board size will be generalized to use a grid of n rows and n columns. This will require you to work with a dynamically allocated 2D array (heap allocation). The first value in the input file will be the value of n, the board size. Note the total number of Xs plus Os on the board will be in the range of 0 to n*n.

A key objective of this assignment is for you to practice using pointers. To achieve this, you are not allowed to use indexing to access the array that represents the tic-tac-toe board. Instead, you are required to use address arithmetic and dereferencing to access it. Submitting a solution using only indexing to access the tic-tac-toe board will result in a 50% reduction of your score. You may use indexing to access any other arrays that might be used by your program.

You’re welcome to develop the solution in phases. You could first code a solution that uses indexing. Once you have that solution working, you can replace indexing with pointer arithmetic before final testing and submission. If you do this approach, make sure to replace all accesses to your board to use address arithmetic and dereferencing to avoid a penalty.

You’re strongly encouraged to use incremental development to code your solution rather than coding the entire solution followed by debugging that entire code. Incremental development adds code in small increments. After each increment is added, you test it to work as desired before adding the next increment of code. Bugs in your code are easier to find since they’re more likely to be in the new code increment rather than the code you’ve already tested.

Perimeter of rectangle

Make an algorithm
Given a set of points in plane, determine a rectangle with the smallest possible perimeter which contains all the points. The rectangle is not necessarily aligned with x or y axis.
For example:
a={(0, 0), (2, 1), (1, 2), (3, 3)}.
The smallest perimeter of rectangle is 8*sqrt{2}