Go Back   StudyChaCha 2024 2025 > StudyChaCha Discussion Forum > General Topics

  #1  
Old January 24th, 2017, 09:31 AM
Unregistered
Guest
 
Default CSL201 Iit Delhi

Hii sir, I wants to get the Assignment for the Data Structure Programming CSL201 of the IIT Delhi Will you Please provide It ?
Reply With Quote
Other Discussions related to this topic
Thread
Delhi Tourism And Transportation Development Corporation Limited New Delhi
Delhi Technological University Shahbad Daulatpur Bawana Road Delhi 42
Delhi School Of Management Delhi Technological University Placements
Indian Institute Of Mass Communication Jawaharlal Nehru University New Delhi Delhi
IIIT Delhi Indraprastha Institute Of Information Technology Delhi Engineering Entranc
Delhi Institute of Advanced Studies DIAS Delhi NCR India
Central Institute Of Plastics Engineering & Technology - Delhi Delhi
Details of differences between Delhi College of Engineering and Delhi Technical Unive
Delhi Institute of Technology Affiliated To University of Delhi
Delhi Public School East Of Kailash New Delhi
Delhi School Of Management Delhi Technological University
Global School of Management Science - New Delhi Delhi
Delhi Institute Of Pharmaceutical Sciences And Research (DIPSAR ) New Delhi
Eastern Institute for Integrated Learning In Management (EIILM) Delhi/Ncr Delhi
Faculty Of Medical Sciences, University Of Delhi, Vp Chest Institute Building, Delhi
Delhi School Of Professional Studies And Research, Delhi
Amritsar College Of Engineering & Technology , Delhi, Delhi
Delhi Kannada Senior Secondary School Lodhi Estate New Delhi
Global Institute of Construction Management And Research, Delhi, Delhi
Cradle of Management Institute, Delhi, Delhi, India






  #2  
Old January 24th, 2017, 10:35 AM
Super Moderator
 
Join Date: May 2011
Default Re: CSL201 Iit Delhi

The Indian Institute of Technology Delhi is a public research university located in Delhi, India. It was declared to be Institute of National Importance by Government of India under Institutes of Technology Act.

As you Asking for the Assignment for the Data Structure Programming CSL201 of the IIT Delhi is given below


, if A is ready to buy 1 unit of stock X at price p, while B is prepared to sell X at q, q <= p, both orders can be satisfied while the exchange earns Rs. "p-q".

The requests are given to you in an input file. The log of transactions is your output. The file formats are specified below (%x is the format, the string in parenthesis is a pointer to its explanation for it).

%d(T0) %s(Name) %d(Texp) %s (Type) %d(Qty) %s(Stock) %d(Price) %b(Partial)

The input file contains any number of requests, one per line. %d is an integer, %b is a boolean (taking values T and F) and %s is a string delimited by white space. The field names are explained below:

T0: The time at which the order is placed. The time is in seconds from the beginning of the simulation. Assume orders are sorted by T0 in the file.
Name: Name of the person placing the order
Texp: The number of seconds that the order remains valid.
Type: Can be buy or sell (case insensitive).
Qty: The number of stocks to sell or purchase.
Stock: The name of the stock for sell or purchase
Price: The per unit price bid.

Partial: Is partial order acceptable. If the value is F, the entire Qty stocks must be sold or bought. Otherwise, partial order satisfaction is acceptable. For implementation purposes, a non-partial order must be satisfied in a single transaction. (The order it matches may or may not be partial, but if it is not: both must fully satisfy each other.)

Your program must handle the errors in input file format as exception. These must be caught and reported.
Your program will consist of three threads: Order Generation Thread, Exchange thread and Cleanup thread.

The responsibility of the Order thread is to read the order file and push the order into a queue of orders at the designated time

. If it reads an order after it has expired, it discards that order and does not insert it into the queue.


For More information you may Contact to the IIT Delhi the contact details Are given below

Contact details
IIT Delhi
Address: Hauz Khas, New Delhi, Delhi 110016
Phone: 011 2659 7135
__________________
Answered By StudyChaCha Member
Reply With Quote
Reply




All times are GMT +6. The time now is 02:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2

1 2 3 4 5 6 7 8