How To Do Assignments Fast Cars

List of police cars | Cop career NfS Rivals Guide

Mercedes-Benz C63 Black Series

Sample version of Mercedes C63 Black Series

Requirements of unlocking the group of police cars: these police cars are available from the game beginning.

Mercedes C63 Black Series is much better proposal than Dodge Charger, also available from the very beginning. This police car overcomes its American competitor in two crucial categories: acceleration and control.

Dodge Charger SRT8

Sample version of Dodge Charger SRT8

Requirements of unlocking the group of police cars: these police cars are available from the moment of completing game prologue.

Dodge Charger is much weaker car than Mercedes C63, which is also available from the beginning of the cop career. This car is hard to control and has weak accelerations, so catching racers might cause serious problems.

Aston Martin Vanquish

Sample version of Aston Martina Vanquish

Requirements of unlocking the group of police cars: You have to complete list 1 (Assignment 1).

Aston Martin Vanquish has better acceleration than Mercedes C63 and Dodge Charger although it is not as good in other categories. This car is mainly less durable than both "starting" police cars and that decreases its functionality.

Chevrolet Camaro ZL1

Sample version of Chevrolet Camaro ZL1

Requirements of unlocking the group of police cars: You have to complete list 2 (Assignment 2).

Camaro ZL1 is comparable proposal to its predecessor, Aston Vanquish. American police car is well controlled and slightly better durable than Aston, although it has clearly worse acceleration and this can be a problem in more difficult pursuits.

Marussia B2

Sample version of Marussia B2

Requirements of unlocking the group of police cars: You have to complete list 3 (Assignment 3).

Marussia B2 is not a police car which I could recommend and its serious disadvantage is that as a police car it has very low durability and strength. The only advantage is that Russian police car has slightly better parameters than Camaro ZL1.

Ford Shelby GT500

Sample version of Ford Shelby GT500

Requirements of unlocking the group of police cars: You have to complete list 4 (Assignment 4).

Shelby GT500 is worse than its predecessor in two main categories: acceleration and control. Especially the low value of latter parameter can be problematic, because it is very hard to control this vehicle.

BMW M6 Coupe

Sample version of BMW M6 Coupe

Requirements of unlocking the group of police cars: You have to complete list 5 (Assignment 5).

BMW M6 Coupe is a police car with quite average parameters and that's why it has no definitive advantages. But if you take this car for the next patrol you do not have to worry about its performance.

Porsche 911 Turbo

Sample version of Porsche 911 Turbo

Requirements of unlocking the group of police cars: You have to complete list 6 (Assignment 6).

Porsche 911 Turbo is good mainly in those police activities where you need a car with good performance. But disadvantage of this car is quite low, as for police car, value of durability and strength.

SRT Viper GTS

Sample version of Dodge Viper GTS

Requirements of unlocking the group of police cars: You have to complete list 7 (Assignment 7).

Viper, same as 911 Turbo, is unfortunately not too durable for a police car, so it is not ideal choice for aggressive pursuits. This car is though easy to control and has high top speed, but it has not so good acceleration as Porsche.

Lamborghini Gallardo LP 560-4

Sample version of Lamborghini Gallardo LP 560-4

Requirements of unlocking the group of police cars: You have to complete list 8 (Assignment 8).

Gallardo incomparable better choice than its few predecessors. This vehicle has actually no bigger disadvantages, offering quite good performance and ease of control. Only durability and strength could be a bit better but no worries.

Lexus LFA

Sample version of Lexus LFA

Requirements of unlocking the group of police cars: You have to complete list 9 (Assignment 9).

Lexus LFA is definitely worse car than Lamborghini Gallardo for example, offering worse acceleration and only slightly better control. But the main problem is low durability and strength, which disqualifies this car in more difficult pursuits.

Ferrari 458 Italia

Sample version of Ferrari 458 Italia

Requirements of unlocking the group of police cars: You have to complete list 10 (Assignment 10).

Ferrari 458 Italia is very fast car and it is easy to control it, thanks to that it is ideal in rapid responses. Values of durability and strength are not the highest ones, but there are far better than parameters of the weakest police cars.

Porsche Carrera GT

Sample version of Porsche Carrera GT

Requirements of unlocking the group of police cars: You have to complete list 11 (Assignment 11).

Also this vehicle is good mainly in different types of time trials, offering quite good performance and control. Carrera GT could be however not good for more difficult pursuits due to its not good durability.

McLaren 12C

Sample version of McLaren 12C

Requirements of unlocking the group of police cars: You have to complete list 12 (Assignment 12).

McLaren 12C is a police car which definitely shouldn't be ignored. This car is very fast and easy to control. You do not have to worry that its energy bar gets fast depleted during police pursuits.

Ferrari FF

Sample version of Ferrari FF

Requirements of unlocking the group of police cars: You have to complete list 13 (Assignment 13).

Main advantages of Ferrari FF are very high parameters of durability and strength, which overcome most of competitor cars. In summary this is ideal vehicle for winning pursuits because in addition its performance is also good.

Lamborghini Murcielago LP 670-4

Sample version of Lamborghini Murcielago LP 670-4

Requirements of unlocking the group of police cars: You have to complete list 14 (Assignment 14).

Murcielago is very good controlled police car and you'll appreciate it especially in those events when you have many curves. Performance and durability are also better than average level, so this model has no bigger disadvantages.

Lamborghini Aventador LP 700-4

Sample version of Lamborghini Aventador LP 700-4

Requirements of unlocking the group of police cars: You have to complete list 15 (Assignment 15).

Aventador in my opinion is the best police car available in the game and that is because its overall performance. This model is mainly very durable, which can help you eliminate racers more effectively. In addition it is easy to control this car and it has perfect acceleration, so it will be also good in time trial for example.

Aston Martin One-77

Sample version of Aston Martina One-77

Requirements of unlocking the group of police cars: You have to complete list 16 (Assignment 16).

The main disadvantage of Aston Martin One-77 is that it is harder to control it than other police cars from the end part of the cop career mode. If it is not big problem for you, you'll surely use its high strength and durability, as well as its quite good performance.

McLaren F1 LM

Sample version of McLaren F1 LM

Requirements of unlocking the group of police cars: You have to complete list 17 (Assignment 17).

McLaren F1 LM is quite weak proposal. Its parameters as for one of last police cars available to unlock are not so good and despite the fact that it is controlled easy, the final picture is ruined by very low values of durability and strength, lowering its usability.

Bugatti Veyron Super Sport

Sample version of Bugatti Veyron Super Sport

Requirements of unlocking the group of police cars: You have to complete list 18 (Assignment 18).

Bugatti Veyron is surprisingly good police car. Its main advantage are very good performance (especially top speed) but it is also easily controlled and quite durable for so fast car.

Koenigsegg Agera R

Sample version of Koenigsegg Agera R

Requirements of unlocking the group of police cars: You have to complete list 19 (Assignment 19).

Koenigsegg Agera R is more a car to break speed records than useful police car. The main factor disqualifying this vehicle is its poor "military abilities" (durability and strength). In addition Agera is not very easy to control.

Hennessey Venom GT

Sample version of Hennessey Venom GT

Requirements of unlocking the group of police cars: You have to complete list 20 (Assignment 20).

In case of Venom GT we have the similar situation as with previously described Agera. This car is extremely fast but its practical usage is limited. Main disadvantages are control and not good durability and strength.

Additional police car: Bentley Continental GT V8

Requirements of unlocking the group of police cars: This police car can be unlocked only thanks to OverWatch application which is a part of web service http://www.needforspeednetwork.com. More detail about this website can be found in chapter Interact with other players.

Solution for Assignment 2

First let’s start off with the solution for assignment 2 before we jump into our next assignment.

Click Here to download the source files for assignment 2’s solution

For your viewing pleasure, here’s the video walk-through for assignment 2 as well:

Requirements for Java Practice Assignment 3

In this weeks Java practice assignment, your job is to implement the simulation of an assembly line that will build Cars. Each Car is made up of several components: tires, seats, engine and frame. Each of these components takes a different amount of time to build on their own. Here’s the breakdown on the simulated time each component takes to construct:

  • Tire – 2 seconds
  • Seats – 3 seconds
  • Engine – 7 seconds
  • Frame – 5 seconds

With these times, you must implement the code that will simulate the construction of each of these components individually, then once all the necessary components are built you must put them together to make a car. To build a car, you’ll need 4 tires, 5 seats, 1 engine and 1 frame. Here’s the catch, the assembly line can only and should only be capable of building 3 Components at any given time. You’ll need to implement this in your code.

Once you’ve completed the assignment and all unit tests are passing, try and fiddle with the order of which the Components are assembled on the line. Is there a particular order that provides the fastest building time for a Car?

Download

Click here to view the source files on GitHub

And as always, here’s the GitHub Clone URI:

Remember

This assignment deals with multithreading and the singleton design pattern. Be sure to read up on these two articles before you try to complete the assignment:

Multithreading
Singleton Design Pattern

If you encounter strange issues, just think in terms of the fact that you have multiple threads running at the SAME TIME doing their thing. Most problems can be solved by realizing this, and understanding exactly what’s going on in the code. I would recommend the use of plenty of statements to be used as logging so you can get a picture of what exactly is happening at any given moment.

Hint: if you are struggling to make the very last unit test pass, do some research on the synchronized keyword.

Best of luck and if you are really really stuck, just post a comment below. Also, if you see a question from another reader, and you know the answer, feel free to jump in and contribute 🙂

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *