kr0821
BAN USERThe data structures involved should be some kind of circular priority queue, priority being lower floors and upper floors alternatively according to when the elevator is going up or coming down.
The functions would be like :
Start
- manually start the elevator
- allows pressing of button from outside the elevator to make a call
Stop
- manually stop the elevator
while the elevator is in started mode following functions would be applicable
while door is open at some floor
- keep count on the number of people entering and their weights
- if weight rises above the limit - generate an alert and stop until some people get out
- otherwise let people in
- for people inside allow them to enter the floor numbers of where they want to stop
- all these will be stored in the priority queue.
- when no one is coming in for a few minutes close the door and move
the elevator can move either up or down according the value pressed first when the queue was empty
while going up/down
- stop on each floor in the queue which comes in the way to the floor having the highest value/lowest.
- also stop at floors where the button for call has been pressed for going up/down respectively.
- at each stop open the doors and follow the above function
- when the floor with highest/lowest value is reached, check if the list is empty or not.
- if empty close the door and wait for some input at some floor from outside.
other input values can be like
- alarm button for emergencies
- fan on/off etc
1) The app should be able to find the most promising route in case of heavy traffic or any other reason such as construction work going on the usual route.
2) GPS tracking should be effective in bad terrains and during bad whether.
3) The delivery time estimation should be made keeping in mind the traffic in the chosen route and also the whether conditions.
Rephazelwlson80, abc at A9
I am a skilled civil engineer with many years of experience in a variety of engineering aspects. There are a ...
Functionality required for an alarm clock to be useful are :
- kr0821 January 02, 20181) Should display current time when user starts the application and options to add new alarms and view previously set alarms
2) Setting alarm sub functions
- set time (can include military time as well)
- set music to be played when alarm goes (this could be provided a default value + custom music that user might want to add)
- adjust volume settings
- frequency of alarm (daily/weekly/specific days of week)
- snooze options (time interval to snooze for could have default value and should allow changes as well), snooze option should be enabled or disabled by the user itself.
- allow the user to add labels or reminders with alarms
Data Structures:
The time for the alarm should be put in an array and a corresponding count according to the frequency of the alarm should be attached to each alarm. Flag can also be used to differentiate one-time and regular alarms.
For the ease of user, the alarms should be displayed in increasing order of time and date i.e. the alarm that will go next should appear first.
Tests :
- When the user tries to set up more than one alarm for the same time, show a proper message saying add reminders or labels to the previously set alarm.
- The device clock should be synchronized with that of the application.