Write a simple program that schedules classes

Assignment Help Computer Engineering
Reference no: EM132213844

Question :

Write a simple program that schedules classes into available classrooms in C++.

Let's start with the simple case. Your program should read (from standard input using redirected file I/O) an input file in the following format.

Classes
1030 435
1040 345
2100 97
2110 159

Rooms
B185 130
B192 48
B142 48
B140 48

More specifically, you'll read a list of class numbers, followed by the number of students expected to sign up for the course AND a list of rooms, followed by the number of students we can include in that room.

Your output should be in a form that it easy to read. For example you might list the days of the week and times of day in a table with the class and room number listed for each class.

Reference no: EM132213844

Questions Cloud

Write a simple program to do matrix computations : Write a simple program to do matrix computations. It should commence by inputting two 2 times 2 matrices, then which operation to perform.
Exclusive choice between options : Typically grouped together and implies to the user a mutually exclusive choice between options
Write a shell script that reads a directory name : Write a shell script that reads a directory name and displays all the Cpp files in this directory.
Physical address translation of the logical address : Write the physical address translation of the logical address 0001010010111010 under the following hypothetical memory management scheme:
Write a simple program that schedules classes : Write a simple program that schedules classes into available classrooms in C++.
Determining the square root of a number via recursion : Determining the Square Root of a Number Via Recursion For this programming project you will develop an recursive function to ?nd the square root of a number.
Display a palindrome forward then backward : Write a very simple program that uses two for loops and ONLY pointers and pointer arithmetic.
In which program do you feel you are strongest : In which program do you feel you are strongest? What do you think you could do to bolster your strength in the other programs?
Compute the probability that in a group of n people : Write simulation program to compute the probability that in a group of N people, at least two share a common birthday.

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