+1(316)4441378

+44-141-628-6690

Archive for the ‘Computer science and IT assignments’ Category

Weighted Directed Graphs C++

Your task is to implement a directed_graph class, where each node/edge has a weight.  (Please use adjacency matrix)

The class should offer a reasonably effective suite of operations. Some (but not all) of basic operations are:

Adding and removing nodes and edges (with weights);

Depth-first and breadth-first traversals;

Computing a tree rooted by the given vertex (the tree may not contain all vertices of the graph);

Pre-order, in-order, and post-order traversals of the tree;

Python Project – Turtle Graphics

Hey! I need to create a Python project with Turtle Graphics. Here are the instructions from my teacher: The word project represents a unique product. The students would, with the use of the Turtle Graphics, for a project task create games (criss cross, memory, chess...). If you decide to do a drawing, it should be a complex one (one student made a drawing of a flag and a coat of arms), and also it would be good that there is a interaction and, depending on what the user of the program inputs, an assignment is done. While creating a project task you should also create documentation that includes the description of the program and commands that you use. My advice is that you write the documentation parallel with the program (write a part of the program that does a part of the project task and then decribe it). It would also be good to include some of the curriculum that we did in school: files, dictionaries, sets. Of course, the focus is on Turtle Graphics.

C# Project

Project :
Your project must:
Have Graphical user interface.
Demonstrate your understanding of classs, objects and other C# features.

Topics (LOs):
1. Implement software designs in an object-oriented programming language
2. Analyse relationship between algorithms and programming, and determine their efficiency
3. Implement most commonly used abstract data types and data structures used in software development
4. Apply prototyping techniques
5. Apply effective problem-solving strategies to foster programming skills.

Select ONE of the following:
A simple management system such as:
School Management System.
Flight Reservation System.
Appointment Booking System.
Inventory Management System.
Supply Chain Management System


Indicative Marking Schedule:
Problem decomposition and design of classes, thereby code (OO) : 15 marks
Use of C# features taught in this course : 25 marks
GUI (Graphical user Interface) : 35

Banking system

Multiple Credit Card Management Application (MCCMA) is an application system that is made
with the intent to help multiple credit card owners manage and keep track of their respective credit
card spending. The main goal of this application is to serve as a financial-aid mobile application
for users who hold multiple credit cards. The scope of the application as specified by the client
and project owner is that the project will deliver an application that allows user to manage their
financial accounts, record their day-to-day spending transaction activities and able to make
suggestion/recommendation to user for which credit card to use when making transactions. This
application allow user to add credit card entries manually by inputting basic information of each
card into the application which will record information present on the card such as credit card
number, expiry date, credit card type, associated bank and any card-related details. Users are
expecte

Java

Only the value of the card counts (7 <8 <9 <10 <Jack <Queen <King <Ace), the color (clubs, spades, hearts, diamonds) is not relevant. The deck of cards is shuffled and the cards are distributed alternately to the players. Each player now has her own pile face down in front of her.
In each round, both players take the top card and place it face up in front of them. If the value of the card is the same, both players take the next card from their own face down pile, turn it over and place it on their face up pile. This is repeated until the two cards face up have a different value. (This is usually the case with the first pair of cards.) Then the player who had the card with the higher value takes the other player's face-up pile, places it on top of her face-up pile, turns the pack over and shoves it under her face-down pile, see Figure 1. Then the next round begins.
As soon as one player has no cards face down during the draw or at the end of a round, the other

High Level Assembly (HLA)

PROGRAM 10: Angle Conversion
Believed to have originated in France, a gradian is a unit of measure of an angle that is equivalent to 1/400th of a turn or 9/10th of a degree.  The formula for this conversion solving for Gradian is:

    Gradian = 400 * turn                    or            Gradian = 1.111 * degree

Prompt the user for a value and displays the Gradian value you calculate, if the original value was a degree or a turn.  A sample program dialogue is shown below.

What's your number: 10.0
Assuming you entered a turn amount, here's your Gradian: 4000.000
Assuming you entered a degree amount, here's your Gradian: 11.110

What's your number: 15.12
Assuming you entered a turn amount, here's your Gradian: 6048.000
Assuming you entered a degree amount, here's your Gradian: 16.798

PROGRAM 11: Quadratic Equation
Write an HLA Assembly l

MVC

One class, one file. Don't create multiple classes in the same .java file
Don't use static variables and methods
Encapsulation: make sure you protect your class variables and provide access to them through get and set methods
all the classes are required to have a constructor that receives all the attributes as parameters and update the attributes accordingly
Follow Horstmann's Java Language Coding Guidelines
Organized in packages (MVC - Model - View Controller)

The Netbeans Project
You are required to use this NetBeans starter project.

This assignment focus on using the MVC architecture. The main components are the three packages, Model, View and Controller. From the lesson you know that

Functionality
The main objective is to make View display the information about the 5 Person objects. These 5 objects are created in Model in the method loadData( ). Controller will retrieve the data from Model using the method getData(int n) and pass it to Vie

R Homework



The vector `problem.1.data` contains numeric data.

Construct a stipchart of the values in `problem.1.data`. Do you see any evidence of any outliers?

**Solution**



Repair this outlier.

* First, report the location of the outlier.

* Next, convert the value to `NA`.

* Finally, display the value of the vector at this location, and show that it has the value `NA`.

**Solution**




Construct a stripchart of the repaired version of `problem.1.data`. Do you see any indication of a -9 being used to represent a missing value?

**Solution**


It's not best practice to represent a missing value using the value -9, so we need to repair this.

* First, report the location of the element with -9.

* Next, convert the value to `NA`.

* Finally, display the value of the vector at this location, and show that it has the value `NA`.

**Solution**





Construct a stripch

R Programing Homework

Construct a stipchart of the values in `problem.1.data`. Do you see any evidence of any outliers?
Repair this outlier.
    First, report the location of the outlier.
    Next, convert the value to `NA`.
    Finally, display the value of the vector at this location, and show that it has the value `NA`.
Construct a stripchart of the repaired version of `problem.1.data`. Do you see any indication of a -9 being used to represent a missing value?
Directly display all the levels of this factor variable.

Objects and Classes

Use Netbeans
One class, one file. Don't create multiple classes in the same .java file
Don't use static variables and methods
Encapsulation: make sure you protect your class variables and provide access to them through get and set methods
all the classes are required to have a constructor that receives all the attributes as parameters and updates the attributes accordingly
all the classes are required to have an "empty" constructor that receives no parameters but updates all the attributes as needed
Follow Horstmann's Java Language Coding Guidelines
Organized in packages (MVC - Model - View Controller)

Create a NetBeans project with
<default package>
App.java
Person.java
Functionality
The application App creates 5 Person objects
using the data below
name=Marcus Allen, weight=200, hometown=Upper Marlboro, Md., highSchool=Dr. Henry A. Wise, Jr.
name=Kyle Alston, weight=180, hometown=Robbinsville, N.J., highSchool=Robbinsville
n