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

  Programming problem

Programming Problem can be solved by a program that performs three basic tasks-Input Data, Process Data, and Output Results.

  Scripting language programming in perl

course Scripting Language Programming,  Assignment   -  Perl,  ? Your coding style should conform to general Perl coding conventions. Your scripts should be clean, neat, and well-formatted (e.g. indention). Identifiers should also be properly name..

  Program-customer-s names phone numbers in alphabetical order

Load file into parallel arrays and display list of customers' names and phone numbers in alphabetical order.

  Program a maze-type game using assembly language

Project requires you to program a maze-type game using Assembly Language, it is not acceptable to use any other programming language for this project

  Write a vhdl code for soda vending machine

Write a VHDL code that implements the above soda machine. You have to turn in the following: A state diagram showing the implementation of your design. Clearly show all the states and the conditions on which transitions occur.

  Technical project: sample website project

Technical Project: Sample Website Project , This assignment consists of three (3) sections: a narrative, a storyboard, and a business Website. You must submit all three (3) sections for the completion of this assignment.

  Writing program of long term parking

Write an enitre program about the long term parking, and calculate the parking total fare.

  Recursive method to search a string for a byrd

Write a recursive method that searches a string for a Byrd. A Byrd has the following properties. Its first character is an 'A'. If it is a two character Byrd then its second and last character is an 'H'.

  Program to print total balances forward and total withdrawal

At the end of report, print total balances forward, total deposits, total interest earned, total withdrawals and total final account balances.

  Questions on programing problem with the process of analysis

Questions on Programing Problem with the process of analysis and reflection that went on as you developed the project.

  Statement to read variables of type double

Suppose two variables p1 and p2 of type POINT, with two fields, x and y, both of type double, have been declared. Write a statement that reads values for p1 and p2 in that order.

  Creating printstream object using dos

Create a PrintStream object using dos and assign the resulting reference to ps, a PrintStream variable that has already been declared.

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