Challenge 26 – Physics 101
Challenge #26 involved implementing a function that computes distance traveled given a constant velocity and travel time.
This coding challenge can be solved by using one or more of the following equations.
Create a function that takes velocity and time as in input and computes and returns total distance traveled by an object of any size. At least one of the above Basic Equations is applicable.
The winning function will calculate the correct and most accurate answer in the least amount of code based on the following assumptions:
- Units in feet and seconds
- Assume standard pressure and temperature
- Assume Flat Earth
- No outside forces acting on object
- Time Input Range (0.0 – 120.0 seconds)
- Velocity input (0.0 – 1000 feet per second)
Any programming language may be used.
Many thanks to Matthew Kent for coming up with the correct response.
The following is the correct response:
Winners (out of approximately 5 respondents)
Thanks to everybody for your responses to SCS Coding Challenge #26!!!
Most all respondents came up with good approaches.
|Name||Prize Winner||Good Answer|
What is NoSQL?
NoSQL encompasses a wide variety of different database technologies that were developed in response to the demands presented in building modern applications:
Developers are working with applications that create massive volumes of new, rapidly changing data types — structured, semi-structured, unstructured and polymorphic data.
A NoSQL (originally referring to “non SQL”, “non relational” or “not only SQL”) database provides a mechanism for storage and retrieval of data which is modeled in means other than the tabular relations used in relational databases. Such databases have existed since the late 1960s, but did not obtain the “NoSQL” moniker until a surge of popularity in the early twenty-first century, triggered by the needs of Web 2.0 companies such as Facebook, Google, and Amazon.com.
NoSQL databases are increasingly used in big data and real-time web applications.
NoSQL systems are also sometimes called “Not only SQL” to emphasize that they may support SQL-like query languages.
Coding Challenge #27
Please stay tuned, SCS Coding Challenge #27 will be published this week. Details will follow. The winner will be awarded based upon the best approach.