Designing menu for administrator to simulate transmissions

Assignment Help Programming Languages
Reference no: EM1346001

Q1) You run four computer labs. Each lab contains computer stations that are numbered as 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 the user 49193 logs onto station 2 in lab 3, then your system receives (49193, 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 users 49193 is logged into station 2 in lab 3 and user 99577 is logged into station 1 of lab 4 then your system might display the following.

Lab Number Computer Stations
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:49193 3:empty 4:empty
4 1:99577 2:empty 3:empty

Design a menu which permits administrator to simulate transmissions of information by manually typing in login or logoff data. Whenever someone logs in or out, the display should be updated. Also write a search option so that the administrator 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.

You should use a fixed array of length 4 for the labs. Each array entry points to a dynamic array that stores the user login information for each respective computer station.

Reference no: EM1346001

Questions Cloud

Explain how do you believe mediated communication : Explain how do you believe mediated communication has improved organizational communication? How has it hurt organizational communication?
Create journal entries to record transactions : A corporation's only treasury stock transactions for current year follow; 1,000 shares of its common stock were purchased on June 1st for $40,000 $40 each share.
Describe the long-run effects of patent expiration : Describe the long-run effects of patent expiration on prices, output and profit in a monopolistic industry.
Planning for risk management : Organization must balance performance aims & associated risks. By having a plan, Organization can be better prepared for dealing with risks when they occur.
Designing menu for administrator to simulate transmissions : Design a menu which permits administrator to simulate transmissions of information by manually typing in login or logoff data.
What happen if the plane now turns and heads for home : A crate of mass 10.3 kg is pulled up a rough incline with an initial speed of 1.51m/s. The pulling force is 97N parallel to the incline, which makes an angle of 20.3 ° with horizontal. The coefficient of kinetic friction is 0.400, and the crate is..
Compute the certainty equivalent of his bet. : Compute the certainty equivalent of his bet. Calculate the Arrow-Pratt measure of absolute and relative risk aversion.
Find the value of preferred stock : XYZ Company issued common stock that had a required rate of return of 12 percent, the stocks beta is 1.75, next dividend is expected to be dollar 2.50 & the risk free rate of return is 5 percent.
What is the work completed on the man : what advantage might there be in using two identical capacitors in parallel connected in series with another parallelpair, rather than using a single capacitor.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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