Java | JSP | JSF Answers

Questions: 4 418

Answers by our Experts: 3 943

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Using suitable examples, briefly explain functions of the five components of this
network adapter.

Create a class called Storage that a hardware store might use to the actual storage of the * store. * A storage should include the following information as instance variables: * a map of all the items that the storage has (type HashMap). The key * is item’s description * In addition, provide a method named getItemQuantity(String description) that returns the * item that is being searched if there is any in storage. If the item is found in storage * returns the ItemQuantity otherwise returns null * Provide a method addItemQuantity(Item, Number) that saves input items to the storage. This * method should take as inputs the Item and the quantity of item. It should be a void method and should add the item to storage map 


 Create a class called Item that a hardware store might use to represent a list of items * that a client may need. * A Item should include the following information as instance variables: * a part description (type String), * a part type of item (type String), * a part price (type double), * a part year of production (type int), * a part capacity of the item (type String), * a part processing (type String) * Your class should have a constructor that initializes the instance variables. * Provide a set and a get method for each instance variable. 


Create a class called ItemQuantity to represent a item and the quantity * the quantity is a positive number.


Create a program that takes in two words, check for equality ignoring the cases, if the words are equal the print the word in upper case with an appropriate message however if the words are different then print the two words in lower case with an appropriate message.


Sample run 1: Enter two words separated by spaces: Welcome WELCOME

Output: You have only entered one word: “WELCOME”


Sample run 2: Enter two words separated by spaces: NUST Students

Output: You have entered two words: “nust” and “students” 


Given any whole number from user input, check whether it’s a positive or negative number. If the number is negative then increment it by 3 and multiply the result by 4, however if it’s a positive number then decrement by 4 and multiply it by 3. a) Create a flowchart to be followed to solve the above task b) Create a java program using your flowchart and see samples below

Sample run 1: Enter a whole number: 4

Output: The Number 4 is above zero hence,

Result of the calculations = 0


Sample run 2: Enter a whole number: -5

Output: The Number -5 is below zero hence,

Result of the calculations = -8


write a functoin that given a three digit integer n and an integer 

k return the maximum possible three digit value that can be obtained 

by performing at most k increase by 1 of any digit in n 


Study the adapter structure in the diagram below and then answer the questions that follow. Diagram: Q.3.1 Using suitable examples, briefly explain functions of the five components of this network adapter. (10) Q.3.2 Provide a detailed operation analysis of this network adapter. 


Create a program that takes in two words, check for equality ignoring the cases, if the words are equal the print the word in upper case with an appropriate message however if the words are different then print the two words in lower case with an appropriate message


Q.4.1 Design an implementable routing and bridging solution for the network. Your

solution must address the following design and operation aspect of all routers.

Q.4.1.1 Functionality of the network layer. (5)

Q.4.1.2 Design and implementation of data plane. (5)

Q.4.1.3 Design and implementation of control plane. (5)

Q.4.1.4 Interconnection of networks using bridging systems. (5)

Q.4.2 Draw a detail diagram showing the design and implementation of Q.4.1 above. (15)


LATEST TUTORIALS
APPROVED BY CLIENTS