Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer this as fast as possible. You will need to write a Function Specification (in C++) that will show how the system will interact

Please answer this as fast as possible.

You will need to write a Function Specification (in C++) that will show how the system will interact with the user and/or external systems (if you decide to use external systems). This include user stories -- modern buzz for Use cases, but it can be more than just user stories.

An example of Function Specification is the following:

image text in transcribedimage text in transcribed

The project is down below:

User will be able to use this code on smart streetlights that gather information from external sensors (not provided). The program will then analyze the information and make appropriate changes to the smart streetlights LED light bulb.

The program will have three settings for the LED:

light on

light off

light dim

These settings will depend on an analyses of the information the streetlight will be able to pick up including: time/date, weather and motion.

The ability of the streetlight to tell time will allow it to efficiently determine the setting necessary for each time period. If the time is from 06:30 - 07:30 the lights will be dim, 07:31 - 19:30 the lights be off, 19:31- 06:29 the lights will be on. These variables will depend on the weather sensors and analyses, which will be relaying data to the street light.

A sensor that can detect the weather will be able to pick up different conditions like if its sunny, overcast and raining, ect. It will be able to detect whether the light levels in each weather period will need the LEDs on, off or dim. It will also keep the information stored and be later used to predict weather patterns.

A motion detector on the smart streetlight will pick up walking pedestrians or moving vehicles that will tell the smart streetlight whether or not the lights should be on. If there is no motion detected within a certain given amount of time, the light will dim. Once in dim mode, the light will not be using up as much energy as before. If there is motion detected, the light, will fully light the area.

As for the power supply for this smart street lamp, a solar powered light post, would be a good option to consider. The battery would be long lasting battery, which wouldn't need to be changed frequently. It would have the capacity to hold enough energy, throughout the day and night, if the weather conditions are poor.

The light unit will be able to self diagnose, if there is an error. In the worst event is that the light does not turn on when there are people walking near it, and there is no other light around. Each unit records the failures that it detects, and sends an error report to technicians, in order to be quickly resolved.

Functional Specifications This project specifies three applications, you must implement the BankAccount Application, and have a choice of implementing the one of the other two applications as a Bonus, Bank Account Specifications (Required) This Application stores every transaction as soon as a transaction happens. Only amount of the transaction is stored, the date of transaction or any other data is not stored by this class When the application starts, it will ask the user about what is the imaximum number of expected transactions. You will assume that the balance is zero when the program first starts. The application will allow the user to make deposits as long as the balance is not above $100,000 FDIC limit. na Functional Specifications This project specifies three applications, you must implement the BankAccount Application, and have a choice of implementing the one of the other two applications as a Bonus, Bank Account Specifications (Required) This Application stores every transaction as soon as a transaction happens. Only amount of the transaction is stored, the date of transaction or any other data is not stored by this class When the application starts, it will ask the user about what is the imaximum number of expected transactions. You will assume that the balance is zero when the program first starts. The application will allow the user to make deposits as long as the balance is not above $100,000 FDIC limit. na

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

Students also viewed these Databases questions

Question

When there was controversy, was it clear who had the final say?

Answered: 1 week ago

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago