Find Jobs
Hire Freelancers

Write some software -- 3

$10-30 USD

Slutfört
Publicerad ungefär sex år sedan

$10-30 USD

Betalning vid leverans
I need you to develop some software for me. I would like this software to be developed using Java. Design/coding with Java ### Coding problem: Traffic Signals Write a program that controls the traffic signals for a four-way intersection. Initially, we consider traffic flowing in straight lines only, no turns. The four directions are S(outhbound) and N(orthbound) on Snell Rd; and W(estbound) and E(astbound) on Weaver Rd. The traffic lights should obey the following rules: 1. Cars arrive in each direction on both roads (Snell and Weaver) at the rate of 1 car per second. That is, 4 cars approach the intersection each second. 2. Only one road (Snell or Weaver) can have a "green" light at one time. 3. It is acceptable for both roads to have the "red" light at the same time. Of course, traffic backs up on both roads if this happens. 4. Start by turning on the traffic on Snell Rd "green" in both directions for 3 seconds; then turn it "red" for one second; then turn Weaver "green" for 3 seconds; and then red for one second. 5. When the light turns from red to green at any intersection, it takes the first car 2 seconds to start moving and cross the intersection. Subsequent cars take 1 second each. 6. At the instant the light turns from "green" to "red", a car may not start moving to cross the intersection; whether that car just arrived at the intersection or was waiting at that intersection. 7. The output should be the number of cars that are waiting at the intersection in each direction at each second, for the first 20 seconds. Do not make the program wait 20 seconds to produce the output: this is only a simulation, so print the output when it's ready. 8. Expected output ``` 0: N = 0; S = 0; E = 0; W = 0 1: N = 0; S = 0; E = 1; W = 1 2: N = 0; S = 0; E = 2; W = 2 3: N = 0; S = 0; E = 3; W = 3 4: N = 1; S = 1; E = 4; W = 4 5: N = 2; S = 2; E = 5; W = 5 6: N = 3; S = 3; E = 5; W = 5 7: N = 4; S = 4; E = 5; W = 5 8: N = 5; S = 5; E = 6; W = 6
Project ID: 16118638

Om projektet

4 anbud
Distansprojekt
Senaste aktivitet sex år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
1 day delivery. pay after satisfied delivery. . .
$30 USD Om 1 dag
5,0 (2 omdömen)
2,0
2,0
4 frilansar lägger i genomsnitt anbud på $79 USD för detta uppdrag
Använd avatar
4.5 years of strong experience in analysis, design, development and implementation of enterprose solution using the technologies Java, J2EE, Spring and Hibernate. Good Experience in internet technologies like JSF/Prime-faces/Rich-faces, Web Service (Restful Service) and Angular. Experience in working with Databases like Oracle, and MySQL and proficiency in writing SQL queries. Experience in application servers like Apache Tomcat and Glassfish Application Server. Good understanding of various source management tools like GIT and SVN. Having working knowledge of project build tool Maven. Skills with knowledge of agile approach, daily scrum and other process. Experience in using GUI/IDE tools like Eclipse, STS, NetBeans and Jira. Adept in end-to-end development of software products from requirement analysis to system study, coding, documentation and implementation. Excellent communication, interpersonal and analytical skills and a highly motivated team player with the ability to work independently. Ability to learn and adapt quickly to the emerging new technologies and paradigms. TECHNICAL SKILLS Languages: Java, Java Script, JSP, SQL, HTML, XML. Frameworks: Spring, Hibernate, JSF, J2EE, JQuery.
$39 USD Om 1 dag
5,0 (1 omdöme)
0,8
0,8

Om kunden

Flagga för UNITED STATES
Encinitas, United States
5,0
1
Verifierad betalningsmetod
Medlem sedan jan. 20, 2018

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.