Generate java code to solve the given problem

Assignment Help JAVA Programming
Reference no: EM132224197

Four Basic Codingame Projects

Preparatory Instructions:

Create a free account on CodinGame

- Note: this site sells data to head-hunters: you may want to use your spam-mail address

When you are logged in, navigate to the Training section, and select the category "Classic Puzzle - Easy" from the drop-down initialized to "All Puzzles" (Note: some of these steps may be unnecessary for new accounts)

Instructions for Problem #1:

- Choose the Onboarding tutorial. The tutorial will lead you through the interface. It will suggest you choose a programming language from a drop-down menu in the top-right frame. Choose Java.

- An initial Details screen will give general information about the scenario. Click the "Solve It" button to open the programming/IDE interface.

- Simple pseudocode beneath the graphical playback window (labeled: "The Goal") will indicate to you how to solve problem #1 -- Onboarding. Most of the Java code is already written for you. You are only shown the Java program's main() method, which is all you should ever need.

- Note that the solutions to all the problems in Codingame consist of simply printing out a string of one (or more) values. It remains to you to simply add some common decision- or programming-structures to generate the correct string-expression to print. You may use the Java Quick Reference (or any other online Java resource you prefer) indicated below to determine how to implement your needed structure(s) in Java.

General Instructions:

Implement the following projects in Java on codingame:
1. Onboarding
2. Power of Thor
3. Temperatures (non-graphical feedback)
4. Mars Lander - Level 1

For each project:
A. Carefully read the instructions provided for the project
B. Generate Java code to solve the given problem
Note: this should involve simply printing a particular string within the provided while-loop!
Note2: I like this quick-reference to find Java formulations of familiar data structures and/or functionality

C. Copy the final code (i.e. that passes 100% of the test-cases) into a Microsoft Word document (no Libre, pls) with your added/changed code bolded.
D. Provide a pseudocode/explanation of the entire solution. Be sure to discuss what the bolded section(s) accomplished

E. In addition, provide an active link (for each of your test-cases!) to the playback-video of your running code (for projects with graphical feedback).

- The semi-triangular, three-node networking icon in the taskbar along the bottom of the graphical viewscreen allows you to extract a permanent web-link to a stored playback of your current code. Clicking it will open a new browser-tab with the permanent weblink in the address-bar.

- You can create active Hyperlinks in your Word doc by attaching the link-address to a word or phrase, much as you would in a webpage

Codingame Projects

Part I

Implement the following projects in Java on codingame.com:

Classic Puzzle -- Medium:
A. Stock Exchange Losses

B. Mars Lander - Level 2
Replay (Success) Case 1
Replay (Success) Case 2
Replay (Success) Case 3
Replay (Success) Case 4
Replay (Success) Case 5

For each project:
1. Carefully read the problem description, and generate Java code to solve it.

2. Copy the entirety of your final code (i.e. that passes all of the test cases) from the CodinGame code-window into a Word doc with your added/changed code bolded.
(That is, I should be able to copy/paste your code into my code-window and run it to replay your results)
Indicate your final percentage-score according to the website. If it is less than 100%, indicate why this might be so.

3. Provide a short but complete pseudocode for each provided solution.

4. (Mars Lander) As in HW1, provide playback-links for each test-case

5. (Mars Lander) Note the table below displaying the NASA Minimum Fuel-Performance Requirements for your Mars Lander code . These show the minimum amount of fuel your lander should have left by the end of each listed test-case. Include 1) a table, and 2) a line-graph of your code's fuel performance compared to the NASA Minimums (as illustrated in the rubric/graph below). (Note: you should get your final fuel-performance data from the output displayed in the playback-links you listed in #4 above) (Note2: the example graph displays four line-series, but yours will only display two: NASA's results, and yours)

Attachment:- Java.zip

Reference no: EM132224197

Questions Cloud

The topic of safety management and communication : Create a 7- to 10-slide presentation on the topic of Safety Management and Communication.
What is the bonds price : The market rate (rd) (YTM) is 6%. What is the bonds Price?
Earnings and dividend forecast : a. How much should Mr. Pitt pay for a share of ABC stock given the above earnings and dividend forecast?
Identifying with personality differences among people : In evaluating personality types and cognitive styles, which types/styles do you consider important for identifying with personality differences among people?
Generate java code to solve the given problem : Implement the projects in Java on codingame - Choose the Onboarding tutorial. The tutorial will lead you through the interface
The background and business drivers of project : Why is it important for everyone involved with a project to have a clear understanding of the background and business drivers of a project?
First endorsed in the work of auguste comte : The technique of reflection was first endorsed in the work of Auguste Comte.
Compare two different advanced registered nurse roles : Compare two different advanced registered nurse roles with regard to ethical guidelines. Are there any differences in the ethical guidelines that govern these
Pros and cons of possessing this self-monitoring personality : Discuss the pros and cons of possessing this self-monitoring personality factor. Identify how the performance of employee can be improved and properly assessed

Reviews

Write a Review

JAVA Programming Questions & Answers

  Explain encapsulation and the benefits of encapsulation

Explain encapsulation - the benefits of encapsulation and why breaking encapsulation is considered a violation of the "prime directive" of OOP.

  Object from question 1 manage its display

Write a Java statement to have the object from question 1 manage its display area by dividing it into 3 rows which have 4 columns each.

  Display the list of returned stores in a scrollable table

Use the BBYOpen API to retrieve a list of stores using the search parameters. Display the list of returned stores in a scrollable table with the closest store at the top and the farthest store at the bottom

  Write a java program that accepts a positive long integer

Write a Java program that accepts a positive long integer between 2 to 15, and then using the number, calculate its factorial (n!). Using do-while statement, make sure it only accepts a valid number (between 2 and 15) - if an invalid number is ent..

  Write a class that implements an ordered list of strings

In this problem you will write a class that implements an ordered list of Strings.

  Create a class person and clerk derived from person

The Person class should have instance variables and Clerk class should have the additional information of a salary and an employmentgrade.

  Find and display the max value and the index of the max

Find and display the max value and the index of this max. Display the Even elements. Sorts and displays the numbers from lowest to highest using Arrays.sort() method from java.util.Arrays class.

  Stock market in java

COMP 2150 - Stock market in Java - A stock market is a platform that has stocks listed on it and investing accounts can use the platform to trade stocks.

  Create an application that uses a priorityqueue

Create an application that uses a PriorityQueue to perform - determine the ordering when implementing the Comparator interface

  Java application that asks a user to enter two integers

Write a Java application that asks a user to enter two integers (A and B) and then display the results of A/B. Catch any division by zero errors and prompt the user to reenter the value of B. Be sure your code compiles and runs as expected. Name your..

  Write a method called sigma

Write a method called sigma that takes an int parameter n and returns the sum of all the integers from 1 to n (inclusive). For example, sigma(4) should return 10.

  Write an algorithm for fining the middle node

Write an algorithm for fining the middle node of a doubly linked list given both the head and the tail of the list.And Write a  recursive  java function that counts the number of nodes in a circularly linked list.

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