Design a menu allow administrator to simulate transmission

Assignment Help Programming Languages
Reference no: EM1369556

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

Create a menu that allow the administrator to simulate the transmission of information by manually typing in the login or logoff data. Whenever someone log 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.

Reference no: EM1369556

Questions Cloud

Computing the equilibrium price : In 2008, box industry was perfectly competitive. The lowest point on long run average cost curve of each of the identical box producers was $4,
Assume that the service rate to a waiting line system : Assume that the service rate to a waiting line system is 10 customers per hour (exponentially distributed). Analyze how the average waiting time is expected to change
Identify jobs - pay-for-knowledge programs : Find at least three jobs for which this basis for pay is inappropriate. Be sure to provide your rationale, given the information
What is likely to occur in this market and why : firms marginal cost curve crosses marginal revenue curve at an output level of 1,000 unit. What is firms current profit. What is likely to occur in this market and why.
Design a menu allow administrator to simulate transmission : Prepare a menu which allow administrator to simulate the transmission of information by manually typing in the login or logoff data. Whenever someone log in or out, the display should be updated.
Discuss contributions of competing and dominant school : Discuss contributions of competing and dominant school of thought to evolution of labour economics; mention paradigm differences and distinctions between old labour economics and new labour economics.
Find a surplus and a shortage of fish : Assume the total demand for fish and the total supply of fish per month in the Kansas City fish market are as follows:
Elucidate a rightward shift of aggregate demand curve : insist that this represents a rightward shift of aggregate demand curve. Who is right. Explain.
Job evaluation process in organizations : How can the external market forces be included in the job evaluation process and does it matter? How do you balance the internal input from employees and managers

Reviews

Write a Review

Programming Languages Questions & Answers

  Program to calculate the electricity bill

Write a program to calculate the electricity bill. The rates of electricity per unit are as follows: If the units consumed are equal or less than 100, then the cost is Rs 8/- per unit.

  Program to read an employee-s number from keyboard

Write a program that reads an employee's number from the keyboard, number of hours worked and an hourly rate of pay.

  Program to display weekly payroll report

Write down a program to display a weekly payroll report.

  Deisgn child class that overrides parent method

Deisgn child class named Box, that contains additional data field named depth and a computeSurfaceArea() method that overrides the parent method appropriately for a three-dimensional box

  Writing script for fahrenheit in celsius temperature

Use functions to write script which enables user to enter either Fahrenheit temperature and display Celsius equivalent or enter Celsius temperature.

  Write unix shell script to check file in current directory

Write Unix shell script (one program) called Project1_lastname (your lastname). This script will do the following tasks: Using "if" statement checks for a file called "student.txt" in current directory.

  Explaining object hierarchy in object-oriented programming

Study the concept of inheritance and the object hierarchy in object-oriented programming, and write a paper comparing these concepts with the concept of inheritence.

  Write program to accept specific team criteria

Here is the initial list of functional requirements: The program should be able to: Accept specific team criteria, Accept specific player criteria,Match players to teams based on criteria specified.

  Write code for invoking method named sendtwo

Write the code for invoking a method named sendTwo. There are two arguments for this method: a double and an int.

  Reservations system to be horizontal or vertical application

Top Sail Realty Situation: Top Sail Realty is one of the largest time-sharing and rental brokers for vacation cottages. Do you consider the reservations system to be a horizontal or a vertical application? Give reasons for your answer.

  Calculate and display total fees and discount

Write a program to select type of student using an option button and capture total credit hours using a text box. Calculate and display total fees, discount (if any) and net total fees (after discount).

  Program to compute person earns in a month

Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day, four pennies the third day.

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