+1(316)4441378

+44-141-628-6690

Archive for the ‘Undergraduate’ Category

java data structures

i have an assignment this Tuesday on 6 pm GMT
its is supposed to be done in pairs but I'm a foreigner in the class and don't know anybody that I can work with. please help .
P.S linked lists stacks queues trees
contact me for more info

java : linked lists stacks queues trees

it would take 1 hour does te time work for you
i have an assignment this Tuesday on 6 pm GMT
its is supposed to be done in pairs but I'm a foreigner in the class and don't know anybody that I can work with. please help .
P.S linked lists stacks queues trees
contact me for more info

Restaurant Design

For my University I have to create a restaurant and do all the marketing and everything as if I were to open it.
Therefore, I also had to do sketches of how the place would look from the inside and from the outside.

Its a very small place (has a capacity of around 100 people) because it used to be a night club.
Thats why I decided to do like a open window like you can see in the last pic so that light can come in.

In the picture you can see the tables, the main bar (which I think I did too big); then the leisure area at the right where theres a big projector for men to watch football, a darts and a pool table (or the football thingy) and then of course the bathrooms.

Although I love design and drawing I dont have a clue about the digital side. Therefore, I wanted to know if its possible to turn the first sketch into a professional one done by computer.

Kind regards,
Ines Gonzalez de Lara

C++ coding

in C++
please see the attachments to check the main instruction for this assignment.



some q/a to help it from an instructor

Operator overloading Q/A

Q: This is from the lecture but I don't really understand what's going on here:
Date d4;
//later
d4 = d1;

A: Here we can do direct assignment if we overloaded the assignment operator for the Date

Q: Assignment or copy constructor?

A:

Date d1;

Date d2 = d1;//this is a copy constructor. The same as if I said:

Date d2(d1);

//this is assignment:

Date d1, d2;

////later

d1 = d2;

Q: "But what do I add? Days? Months? Years? There is some ambiguity here. Not to overload. "

Wouldn't it do all of them?

A: If I have:

Date d;

......

d = d + 5;
Is it clear what do I add to that date d?

Q: Why is that istream and ostream?

A: in one case you enable the direct input to the Date, in other

Fix two specific methods in this assignment

Basically, this was done by another expert who took on way too many assignments and decided to return null on a couple of functions, effectively allowing the program to compile but not actually doing anything; thus, I ended up failing a lot of test cases.

The two functions I need fixed are public E element() and public E peek() in PriorityTree.java

I am also attaching the log text file for the test cases that were failed. Just focus on the assertion errors for element() and peek(), I'm only allowed to fix those particular methods because they're responsible for so many of the test cases.

Reference the txt file; I'm attaching all the classes (there are 3) for your reference but mainly you'll be working with PriorityTree

You're just rewriting two functions within a class so please don't charge too much

Experiment 10: Standing Waves and the Speed of Sound in Air

Experiment 10: Standing Waves and the Speed of Sound in Air


Object: To measure the speed of sound waves propagating in air using a resonance tube and compare the measured speed with the predicted value given by treating the air as an ideal gas.


Introduction: When a surface [ like the end of a tuning fork, or the speaker(s) in your smartphone, or your vocal cords] is vibrating , the air around it is set into vibration producing a sound wave . If the air is constrained to vibrate in a long narrow region, for example the air in a tube, Fig. 1, we have a one-dimensional wave. If we limit our analysis to sinusoidal vibrations (Harmonic Oscillator!!) then the displacement from equilibrium position, s1, at time t for the air particles having position x can be given by:

            s1  = A sin (kx    t)                ( 1 )

where  A  represents the

Create a program in C showing the time difference between accessing data in a sequential file and accessing data in a random-access file

Create a program in C showing the time difference between accessing data in a sequential file and accessing data in a random-access file.
1) Use the information of minutiae (with random data) (source code and explanation in the details file).
2) Create millions of records.
3) Compute execution time using the proper instructions in C.
Create a report showing the time difference of writing millions of records, reading all the records, and accessing to 10,000 random records.

JavaScript lab

Write JavaScript Programs to do the following:(jsps2)

(1) Create a change-counting game that gets the user to enter the number of coins required to make exactly one dollar. The program should prompt the user to enter the number of pennies, nickels, dimes, and quarters. If the total value of the coins entered is equal to one dollar, the program should congratulate the user for winning the game. Otherwise, the program should display a message indicating whether the amount entered was more than or less than one dollar.

(2) A software company sells a package that retails for $100. Quantity discounts are given according to the following table:

Quantity Discount
1019    10%
2049    20%
5099    30%
100+      40%
Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount.<

JavaScript Lab

Write JavaScript Programs to do the following:(jsps2)

(1) Create a change-counting game that gets the user to enter the number of coins required to make exactly one dollar. The program should prompt the user to enter the number of pennies, nickels, dimes, and quarters. If the total value of the coins entered is equal to one dollar, the program should congratulate the user for winning the game. Otherwise, the program should display a message indicating whether the amount entered was more than or less than one dollar.

(2) A software company sells a package that retails for $100. Quantity discounts are given according to the following table:

Quantity Discount
1019    10% 
2049    20%
5099    30%
100+      40%
Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after t

Rocket_S2020_E50

Your program will request the user for the output file name. The results should be
outputted into a data file in the form of properly organized tables. The output data file will
have appropriate titles, headings, etc. You will then need to plot the results showing the
displacement and velocity of the rocket over time. You may use excel to obtain graphs.
Your report (and program) should contain the following:
1. The list of functions available in your program.
2. All the required input quantities.
3. The prompts used to acquire input.
4. The actual C++ program listing and sample output.
5. Plots of the displacements and velocities.
6. Table(s) summarizing the output data. Note that you should only print a small
portion of your output data since there will be too many values. You can do
this by printing every nth, e.g. 50th or 100th data calculated per function. Do
not print too many pages of output data, i.e. enough to be able to have
decent gra