Programming Homework Help

Programming Homework Help. Prairie View A & M University Information Communication in the Digital Age Lab Report

 

Assignment Title: Laboratory Project 5 –

Creating a Simple Website Using Notepad & HTML Project Description:

This project requires you to create your personal website applying the knowledge you have acquired in class. You will use normal Notepad as a text editor ( or Notepad++) to create the web pages. The website will have a start (home) page. Create a new folder in C: directory and name it as your name.html ◆ Save the file as about.html in the created directory c:your name.html ◆ Test / View / Edit using your browser ◆ It will also have the following pages as links on the home (start) page. } A link to the PVAMU Website. Clicking the link must open the University website. } A link to your favorite educational site (only one site). The project is due on Tuesday, April 27, 2021. You must submit it electronically through CANVAS.

Programming Homework Help

Programming Homework Help

Programming Homework Help. Alabama Aviation College Write a Program Code Java Programming Task

 

Question 1-3

Que1.

Implement a Stack

Instructions

note: work should be done in eclipse for all the questions( please download eclipse). send to me zipped if possible

For this assignment, you will implement a Stack data structure. A stack can be implemented in several different ways. It is not inherently a node-based data structure, but you could implement it using nodes if you like.

The most important thing to remember with stacks is the way they push, pop, and peek data.

  • push() : adds an element to the top/front of the stack
  • pop() : removes the first element from the stack, and returns it.
  • peek() : returns the first element from the stack without removing it.

Your stack should be able to support all of these functions. For example, you might have something like the following:

public class Stack {
    private Node top;

    public void push(Node newNode) {
        // your implementation here
    }
    public Node pop() {
        // your implementation here
    }
    public Node peek() {
        // your implementation here
    }
}
 
 Ques 2. Instructions

For this task, you will have to implement a Linked List, which is a node-based data structure. This will be easier than it seems. Recall that a node-based data structure is simply a collection of "node" objects. Each node object contains a reference to one or more other nodes, and a bit of data. Thus, your node might look like this:
public class Node {
    Node next;
    Integer data;
}
Of course, if you wanted to use generics, you could create a generic Node class which used the generic type for the "data" variable too.
A LinkedList Class might then look like this:
public class LinkedList { 
    Node head;
    
    // utility methods
}A node for a Linked List might be improved by having an "add()" method with special behavior: when invoked, the "add()" method will traverse the linked list to add a given node to the end of the list.
algorithm add is:
    input: Node newNode -> The new node to add
    
    let "currentNode" = head;
    while current.next != null
        current = current.next

    current.next = newNode
 
 Ques 3
Introduction
In the JavaScript module, you designed a website that would let users convert between one type of unit and another. Now you're going to do the same thing, but in a Java application that runs in the console.
 
Instructions
In Eclipse, create a new Java Project named "UnitConverter"
In the UnitConverter project, create a package named "main"
Inside the main package, create a class named Converter, which has a main(String[]) method.
Inside this main(String[]) method, your code should follow this pattern:
Create an int variable named menuSelection
Inside a while loop, with the condition menuSelection != /*last menu option */Using System.out.println(), print a menu with numbered options. For example:Please select an option:
1. Cups to Teaspoons
2. Miles to Kilometers
3. US Gallons to Imperial Gallons
4. Quit
Use a Scanner object to collect the user's menuSelection
switch on the selection to collect the user's quanity of the first unit, convert to the second unit, and print the output.

note: if the below is difficult to work on then it okay. but make sure the above runs well. 
that's basically it! But from here, there are a lot of improvements you could make...
Break the input collection to a seaprate methodprivate static double collectQuantity(String unit1, String unit2) { ... }

Break each unit conversion to a separate methodpublic double convertCelsiusToFarenheit(double qty) { ... }

Instead of the user selecting their conversion directly from the first menu, have two layers of menus:Volume conversionsTeaspoons to Tablespoons
Teaspoons to Cups
...

Distance conversionsFeet to Meters
Miles to Kilometers
...

...
Quit

Programming Homework Help

Programming Homework Help

Programming Homework Help. AIU ONLINE Parallel Int Arrays in Main Discussion

 

Develop a C# console application that implements two parallel int arrays in Main, one called apartment and the other called rent. Each array will hold 5 integer values. Use an initializer to fill the apartment array with the values {123, 204, 601, 609, 612}. Use an initializer to fill the rent array with the values {500, 750, 495, 800, 940}.

Create two static methods, one called getRent and one called printit. When the getRent method is called from Main you should pass the apartment array by reference, the rent array by reference and the apartment number console entry.

In the getRent method you should use a for loop to match apartment number passed to the method and match it to the apartment numbers in the apartment array that was passed to the getRent. When a match is found in the apartment number array call the printit method from the getRent method and pass by value the apartment number and the matching rent value from the rent array to the printit method.

In the printit method print the apartment number and the rent for that apartment to the console as shown in the output example below. When you print the output, instead of using a string concatenation (Console.WriteLine(“Rent for apartment # ” + choice + ” is $” + rent);) use a StringBuilder object. The string parts of the message (“Rent for apartment #” and ” is $”) should be declared as separate strings. Using the StringBuilder object methods, you will append the two strings and two integer values together and write the final appended output to the console. The appends and output should all be done in the print method.

Enter the apartment number 601
Rent for apartment # 601 is $495
Press any key to continue . . .

Programming Homework Help

Programming Homework Help

Programming Homework Help. CS 5565 Optimal Level of Tree Complexity Lab Report

 

Hi Team, I am sharing the documents with questions assignment and textbook. Please refer the textbook for detailed questions. and provide me a word document with results by attaching source code and execution output screenshots with detailed explanation. Please let me know if you have any questions.

Programming Homework Help

Programming Homework Help

Programming Homework Help. CS 310 Grossmont College Data Structures Java Code Project

 

An IT company is organizing a hackathon event.Each employee in the engineeringgroup is encouraged to partner with another employee within the same organization to form a team of two to participate in the hackathon event. However, the two employees wanting to form a team need to go through the managers between them to get approvals. You would write a class specified in the Part Abelow to help facilitate the hackathon team forming process.

Programming Homework Help