I have a project for foundations of computer science (C++). The following is the
ID: 3704955 • Letter: I
Question
I have a project for foundations of computer science (C++). The following is the proposal: for the team proposal:
"We will develop a code that will help communities by collecting data from the environment, weather and users. This will help us make street lights smarter by knowing times, days and instances when the lights should be on or off, ect"
Please make a list of function specifications on ways that a project code can be based off the proposal. I don't know where to start. Please list as many as possible (min 10-15). Thank you for your help.
Explanation / Answer
A Lot of If-else blocks would be required to implement the functions.
Basically here we are required to make a smart street lamp that automatically turns on or off based on the scenarios like date, time, etc
this can be done through coding by checking various function blocks.
these function blocks consists of conditions that determine whether the light should be on or off,
lets start with the few conditions
these are few of the conditions on which the smart street light will decide whether it needs to be on or off.
the values in the variables can be obtained in the code through internet( values such as temperature, sunlight, rain etc)
although values such as sunlight, rain, temperature can be incorporated using additional hardware but that would make the system more complex.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.