[solved] – Question 89160
Exercise 1: By using Stack ADT, write a C++ program that build a stack of photos (from keyboard), each photo has the following information: ID (unique) – Taken year – Category (the category should be one of this: Landscape – People – Animal – Still life).
We want to keep a record of all photos such that the last photo added by the user is accessed first. The program should present a menu to the user to:
Print the information of the last three photos.
Close the program.
Expert Answer
[solved] – Question 89162
You are given the position as Network Administrator at Richfield Graduate Institute of Technology and using Windows server 2012.Explain how you would assign a static IP address to a computer.
Expert Answer
[solved] – Question 89164
RGI corporate office is looking for an option on sharing information to its campuses around South Africa and abroad and they are not sure on which technology to use that is available. With the aid of theory and practical examples advise Richfield on the most up to date and cost effective technology it can use for effective communication.
Expert Answer
[solved] – Question 8918
1- Develop a user- defined function that will return the phasor form of complex vector. In addition, the user-defined function will indicate which quadrant the phasor vector is in.
All inputs to the executive will be via the input function. The executive program will pass the rectangular coordinates of the vector to the user-defined function through the arguments.
Expert Answer
[solved] – Question 89185
how to: In this program, you will create a personal organizer. Using parallel arrays you will store the following information on each event in your organizer:
Month (1 – 12)
Day (1 – 31)
Year
Event name
If the user enters an incorrect month the month should be set to January.
If the user enters an incorrect day then the day should be set to 1.
Write the following methods:
Add an event
Print all events
Print events in a specific month
Your program should follow how the sample run (below) asks for input and how it outputs events.
It should first keep asking for new events to add until the user says NO. Then, it should print all the events entered. Finally, it should ask the user for a specific month that he or she would like to see events from.
Expert Answer
[solved] – Question 892
Project 1: wind-chill temperature
How cold is it outside? The temperature alone is not enough to provide the answer. Other factors including wind speed, relative humidity, and sunshine play important roles in determining coldness outside. In 2001, the National Weather Service implemented the new wind-chill temperature to measure the coldness using temperature and wind speed. The following formula is given as follows
twc = 35.74 + 0.6215ta – 35.75v0.16 + 0.4275tav0.16
where ta is the outside temperature measured in degrees Fahrenheit and v is the speed measured in miles per hour. Twc is the wind-chill temperature. The formula cannot be used for wind speeds below 2 mph or temperatures below -58o F or above 410F.
Analysis:
Describe the problem including input and output in your own words.
Design:
Describe the major steps for solving the problem
Testing:
Describe how you test this program.
Submit the following:
1.Printout of the program.
2.Compile, Run and Submit the live tested data.
Expert Answer
[solved] – Question 89253
In many cases where a DHCP server is not configured a client is given an APIPA address, explain the different reasons why a client machine will be given such an address
Expert Answer
[solved] – Question 8929
I’m needing to make a game for my programming class but my start button wont show up
// TODO: Initialization things here.
}
/**
* This is where things will get drawn to the screen within your applet.
*/
public void paint(Graphics g)
{
// Draw our hello world
Font myFont = new Font(“Ariel”, Font.BOLD, 17);
g.setColor(new Color(236, 236, 236));
g.fillRect(2, 6, 640, 480);
g.setColor(Color.RED);
g.setFont(myFont);
g.drawString(“In a world of good and evil, A hero must rise and save Bleedia”, 25, 25);
g.drawImage(Logo, -9, 50, null);
g.drawImage(Start, -9, 50, null);
setSize(624, 500);
g.drawString(“Build, Destroy, Kill, and Suicide!!!!”, 200, 290);
g.drawString(“E10”, 590, 470);
}
}
The logo is working
I need the start button to work!
Thanks 😀
Expert Answer
[solved] – Question 89379
1.1 Richfield Graduate Institute of Technology needs to interconnect several branch offices across a
metropolitan area. The network engineer is seeking a solution that provides high-speed
converged traffic, including voice, video, and data on the same network infrastructure. The
company also wants easy integration to their existing LAN infrastructure in their office locations.
Which technology should be recommended? (10
Expert Answer
[solved] – Question 8939
Consider a simple polymer, which consists of long chains of simple molecules attached to each other, for example: ..CH[2]-CH[2]-CH[2]-… If the interaction energy between consecutive sections can beignored or is low enough, the chains can be bend around at various places to form various configurations. let us make model of a simple polymer which is restricted to lie within a two-dimensional plane. one can start by fixing the first section to a particular coordinate and then add additional components by use of random walk with the condition that it may not intersect itself. it should be clear that when forming a polymer in this way, it can happen that you end up in a cul-de-sac, i.e. you can not add an additional component to lengthen it further, without intersecting with itself. when this happens the polymer is terminated. a general outline of the algorithm would be as follow: initialize an array that would be keep track of all the positions of the random walker start the random walk at a given coordinate after each move, the array storing the visited positions needs to be updated while it is still possible to add extra components to the polymer repeat the following “(*)” select a new direction randomly check whether the new move is allowed, by looking wether that coordinate has been visited before. if the new move is allowed, take it, and update the array. if the new move is not allowed, return to “(*)”and select a new random number when no more additional components can be added, stop the loop. 1. write a program to simulate the formulation of polymers as outlined above, by use of self-avoiding random walk. let it start at the origin, and let the walker have equal propability to movein any of the four directions: up, down, left or right. 2. repeat the move above lgorithm many times (without ploting ), to obtain a histogram on the polymer lengths that result from this simple model. also calculate the average length of all the polymers.
Expert Answer

