Write the code for the following methods:
Selection sort is to repetitively pick up the smallest element and put it into the right position:
Find the smallest element, and put it to the first position.
Find the next smallest element, and put it to the second position.
Repeat until all elements are in the right positions.
Insertion sort maintains a sorted sub-array, and repetitively inserts new elements into it. The process is as following:
Take the first element as a sorted sub-array.
Insert the second element into the sorted sub-array (shift elements if needed).
Insert the third element into the sorted sub-array.
Repeat until all elements are inserted.
Bubble sort repetitively compares adjacent pairs of elements and swaps if necessary.
Scan the array, swapping adjacent pair of elements if they are not in relative order. This bubbles up the largest element to the end.
Scan the array again, bubbling up the second largest element.
Vodafone has contracted you to interconnect four (4) campuses (Main, City, Kumasi and Ho
Campuses) for the University of Ghana Legon. Apart from the main campus, the other
campuses have isolated locations:
City Campus Locations: Adabraka and North Ridge.
Kumasi Locations: Adum and Asokwa
Ho Locations: Amedzofe, Tsibu and Kpenoe.
The senior network operations manager of University of Ghana has also approached you to
assist them fix some LAN connectivity and security issues.
Vodafone requires you to implement a BGP for the four campuses. Such that, there would be
an improvement in security, bandwidth and utilization defense against link failures between
their campuses.
Use a console cable to connect to the various devices.
You are required to secure all the Routers and allow remote log on (5 persons) to them
for management. Encrypt all clear text passwords. [Note: All passwords used in
network should be cisco] [20 Marks]
Examiner: Mr. Julius
Programming Assignment
A financial investment company has hired two new employees, one to handle customers with small accounts (from $0-$50,000) and one to handle big accounts ($1,000,000 and above). You are tasked with creating a software program that reads the main customer file and creates two additional files: one for the new employee with the small accounts and one for the new hire with the big accounts.
Your goal is to create a flowchart and a pseudocode for the above scenario. Review the Grading Rubric to review how your project will be graded.
Please make sure to use the following instructions:
The customer file name is RioSavings.dat.
The customer file should consist of three fields: customer ID, customer name, account size.
The two other files will have your first name for the small account (for example John.dat, and your last name for the big account (for example Smith.dat). Make sure to use
For this assessment, you will apply the algorithms and data structure, in this course to solve a real programming problem. You will implement an algorithm to route delivery trucks that will allow you to meet all delivery deadlines while traveling the least number of miles. You will also describe and justify the decisions you made while creating this program.
Short Assignments 1:
Create a Windows application for purchasing floor covering. Allow the length and width (feet and inches) of a room to be entered. Be sure to include program statements that will keep your program from crashing if they enter nonnumeric characters for the room dimensions. Using the tab control, provide selections such as Hardwood, Carpet, and Laminate. On each tab allow the user to select a type and price. Have a control that displays different types along with the prices of floor covering. Include, for example, options like Oak, Maple, Walnut, and Cherry Hardwood floors with prices such as $34.95 per square yard for Oak and $41.95 per square yard for Cherry. After the users enter their room dimensions and select the floor covering and price, display the total cost to cover the room. Include an option to clear selections. Place both the type of floor covering and the price in a single control, such as a ComboBox, and use string manipulation techniques to strip
Before attempting this project, be sure you have completed all of the reading assignments, hands-on labs, discussions, and assignments to date.
Design a Java class named Guitar that contains:
A private int data field named numStrings that defines the number of strings on the guitar. The default value should be 6.
A private double data field named guitarLength that defines the length of the guitar in inches. The default value should be 28.2
A private String data field named guitarManufacturer that defines the manufacturer of the guitar. The default value should be Gibson.
A private Color data field named guitarColor that defines the color of the guitar. The default value should be Color.Red.
A no argument constructor that creates a Guitar using the default number of strings, length, manufacturer and color.
A constructor that creates a Guitar using a specified number of strings, length, manufacturer and color.
Getter methods for all data fields.
A playG
Provide Java code for a simple class of your choice. Be sure to include at least one constructor, two methods and two fields. The fields should be private.
Create a test class to constuct and call the methods of your class.
Describe your class and demonstrate your code functions properly.
Respond to other student postings by testing their Unique classes.
Your web site must include the following:
Headings and paragraphs
Page structure elements
A background image
A color scheme of no more than 4 colors
Four images with citations near the image
An external style sheet
Responsive web design of at least a mobile and a desktop view
A form
A table
A list
A JavaScript external file with at least one statement and/or function
Navigation menu
One of the pages must be a policy page that displays the site purpose statement and an accessibility statement.
If using a CSS class or id selector, add a comment explaining why it was chosen over an HTML element selector.
For your At-Home Final Exam Project, you will design a web site with a minimum of four pages that will demonstrate the skills learned
Assessment Instructions
In this assessment you will complete a program to demonstrate the learning competency skills for your selected language path.
Using the language C#, please complete the following assessment:
In this hypothetical scenario, you will create a program that will allow a student to register for certification classes in HVAC. The school offers a $150 discount if the student signs up for twenty or more unit-hours. Students may also pay the tuition costs over a twelve-month period.
Assessment Requirements
Your program should declare variables using the appropriate data types to store the following string values.
Name: John Smith
Address: 101 N. Main Street
City: AnyTown
State: TX
Units Taken: 19
For the price per unit, declare a constant numeric variable to contain the decimal value 100.50.
For the twenty unit-hour discount, declare a constant numeric variable to contain the whole nu
Please see the final exam pdf attachment for assignment instructions. Basically needing existing html code located in the index.zip (see index.html) reformatted per the instructions.
The Class Projects Finished.zip contains the files of completed projects that need to be hyperlinked in the new FinalExam.html
The portions of the pdf instructions indicating uploading to github can be ignored, since that is tied to my account I'll have to do that.
Thank you,