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

  Program for saving account balance report

Savings account balance report from customer savings account file. Every input savings account record contains account number, balance forward, deposits (sum of all deposits).

  Program in visual basic to calculate area of triangle

Write a program in visual basic to calculate area of a triangle.

  Designing system to handle donations of non-profit agency

You have been hired by worldwide non-profit agency to create a system to handle their donations.

  Program for insertion sort and selection sort algorithms

Write a program involving the insertion sort, merge sort and selection sort algorithms.

  Program to inputs four numbers and graphs them as pie chart

Write down a program which inputs four numbers and graphs them as pie chart.

  Program has function named presentvalue for calculations

Write a program that has a function named presentValue that performs this calculation. The function should accept the future value, annual interest rate, and number of years as arguments.

  Creating loop to find number of items bought based on price

Make a block using a loop that will find the number of items that can be bought based on the price of the item and the total amount available to spend.

  Top-down recursive descent parser

Write a hand-coded top-down recursive descent parser.

  Program to compute perimeter and area of rectangle

Write a program that asks for length L and the width W of a rectangle, then compute perimeter and area of the rectangle.

  Create a multi-threaded competition

Create a multi-threaded competition

  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.

  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..

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