Consider the above diagram figure of the car park the

Assignment Help Application Programming
Reference no: EM13375163

Consider the above diagram, FIGURE, of the car park. The object of this assignment is to write a program to operate the barriers to allow the cars in and out.

399_Write a program to operate the barriers.png

As you can see there is a box in which there are two condition lights for when the car park is Full, and when there are Spaces.

The entrance to the car park is on the left hand side. When a car drives into the car park there is a sensor that detects the car and this should cause the barrier to be opened to allow the car in.

On the right hand side is the exit. When a car leaves the car park it will activate a sensor inside the park to open the exit barrier.

Both the entry and exit barriers will need to be in the Up position long enough to allow the cars to enter or leave the car park. The inputs and outputs are listed as follows:

IP0 = Entry Sensor OP0 = Entry Barrier
IP1 = Exit Sensor OP1 = Exit Barrier
OP2 = Full Light
OP3 = Spaces Light

When writing the program it is necessary to observe the following conditions. When the car park is not full the Spaces light should be ‘ON'. When the car park is full the Full light should be ‘ON'. As a car enters or leaves the car park the entry and exit barriers have to be held in the Up position long enough to allow the cars to pass under the barriers.

When the program is complete and the car park graphic is displayed in Simulation mode the program is operated by pointing at the car and clicking the mouse button. You will see directional pointers left and right so point at and click the direction you wish the car to travel. When you wish a car to leave the car park point at the one you wish to leave the park and click. You should explain the operation of the program, using the documentation facility.

Reference no: EM13375163

Questions Cloud

Q1 find three positive numbers whose sum is 54 and whose : q1 find three positive numbers whose sum is 54 and whose product is as large as possibleq2 let fx y x2 3y - 3xy and r
Two people are going to share surfing business they : two people are going to share surfing business. they decided to start internet-based business selling surf wear. they
Figure shows the graphics simulation of the drinks : figure shows the graphics simulation of the drinks machine.the list of inputs and outputs is as followsip0 coin slot
Figure shows the graphic simulation of the elevatorthe : figure shows the graphic simulation of the elevator.the object of this assignment is to write a program that will drive
Consider the above diagram figure of the car park the : consider the above diagram figure of the car park. the object of this assignment is to write a program to operate the
In industry plant conditions are monitored and if there are : in industry plant conditions are monitored and if there are problems it is necessary to have some way of indicating
1 design and draw a ladder diagram circuit suitable for a : 1. design and draw a ladder diagram circuit suitable for a plc which will fulfil the following control requirementa
Review this case which deals with public employment and : review this case which deals with public employment and constitutional rights to be free of unreasonable search and
Description bull complete this assignment in groups of 4-5 : description bull complete this assignment in groups of 4-5 students. bull maintain a portfolio of financial issues

Reviews

Write a Review

Application Programming Questions & Answers

  To design a class-based solution to a problem using

to design a class-based solution to a problem using multiple data structures.the problemwrite a program to help an

  The increasing need to travel and lifestyle changes of

the increasing need to travel and lifestyle changes of society has made airlines industry one of the most demanded and

  Problem 1 write a program that will generate an array of 10

problem 1. write a program that will generate an array of 10 random 32-bit integers and that will show on the monitor

  1 consider the following attributed tree grammar for type

1. consider the following attributed tree grammar for type checking a program ast. for simplicity it hard codes

  1 the figure below shows domain classes for ajax a

1. the figure below shows domain classes for ajax a role-playing videogame played in a single region that consists of

  Questiona illustrate how components listed below should be

questiona illustrate how components listed below should be registered in a program-i jbutton ii jcombobox b

  Basic requirementsscreen one has three edittext views and

basic requirementsscreen one has three edittext views and one button.the edittext views allow you to enter a students

  Create a application using the mvc architecture no

create a application using the mvc architecture. no scripting elements are allowed in jsp

  Lexical analyzersymbol table - holds the symbols accepted

lexical analyzersymbol table - holds the symbols accepted by the lexical analyzer or parser.each symbol may be a

  Directionall of them short discussion each of them 200

directionall of them short discussion. each of them 200 words all together around 1200

  Task design and implement 2 projects for the falling

task design and implement 2 projects for the falling letters game using c and windows presentation foundation wpf

  Part a question make a student inheritance hierarchy this

part a question make a student inheritance hierarchy. this must comprise the given requirementsi make the student

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