Simulate the transmission of information by manually typing

Assignment Help Computer Engineering
Reference no: EM132197924

Write a Computer Labs program to store the list of user IDs for each computer station using a linked list!!!!!

Problem Description:

You run four computer labs. Each lab contains computer stations that are numbered as shown in the table below:

Lab Number

Computer station Numbers

1

1-5

2

1-6

3

1-4

4

1-3

Each user has a unique five-digit ID number. Whenever a user logs on, the

User's ID, lab number, and the computer station number are transmitted to your system. For example, if user 56283 logs onto station 2 in lab 3, then your system receives (56283, 2, 3) as input data. Similarly, when a user logs off a station, then your system receives the lab number and computer station number.

Write a computer program that could be used to track, by lab, which user is logged onto which computer. For example, if user 56283 is logged into station 2 in lab 3 and user 67315 is logged into station 1 of lab 4 then your system might display the following:

Lab number             Computer Stations Numbers

1                                  1: empty    2: empty    3: empty:    4: empty:    5: empty

2                                  1: empty    2: empty    3: empty:    4: empty:    5: empty   6: empty

3                                  1: empty    2: 56283    3: empty:    4: empty

4                                  1: 67315    2: empty    3: empty

Create a menu allows the administrator to simulate the transmission of information by manually typing in the login or log off data.

Whenever someone logs in or out, the display should be updated. Also write a search option so that the administration can type in a user ID and the system will output what lab and station number that user is logged into, or "None" if the user ID is not logged into any computer station.

The node for the lists should contain the station number and user ID of the person logged in on that station. If nobody is logged on to a computer station, then no entry should exist in the linked list for that computer station.

The node for the lists should refer to the node that is the head of the list. You program should simulate the elimination process by deleting the node that correspond to the suitor that is eliminated for each step in the process.

Reference no: EM132197924

Questions Cloud

Write a console program with static method that takes values : Write a console program with static method inc() that takes value of type int and returns that value increased by one.
Federal reserve-congress : Do you believe that the Federal Reserve should be controlled by Congress? Please Explain.
Define equilibrium effects of given in the dmp model : Suppose that the government decides to give a subsidy s to firm that hires a new worker. What are the equilibrium effects of this in the DMP model?
What will be the balance in the account : You are investing AU10771 today in bank account which offers a fixed interest rate of 1.06%/quarter.
Simulate the transmission of information by manually typing : Create a menu allows the administrator to simulate the transmission of information by manually typing in the login or log off data.
What was the afroeurasian trade network : What was the Afroeurasian trade network? Use specific examples of who was involved, what they traded. Explain the deterioration of the Afroeurasian trade.
Understanding of communication and leadership in business : Define and describe what you thought was worthy of your understanding of communication and leadership in the business.
Describe the effect on gdp-unemployment : Describe the effect on GDP, unemployment, and inflation of each of the following: (a) war, (b) elimination of environmental regulations, and (c) cuts in welfare
Accurate measure of the standard of living : Is gross domestic product an accurate measure of the standard of living? Why or why not?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd