Academic Writing Experts For Your Research Projects

Order custom papers, masters thesis and dissertation in 3 guided steps; human written!

Posted: March 3rd, 2020

Basic Java Coding essay

ISM3230 In-class lab Module 3 – Working with Strings and String Methods Spring 2021

TASK

Who Writes College Essays, Research Papers, and Dissertations For Students?

We handpick every writer with care, ensuring they bring the perfect mix of academic qualifications and writing skills for top-notch results in essays, research papers, and dissertation help. Each one has a university degree, more than a third with Masters certification; they’ve tackled tough tests and training to excel in thesis writing and research paper assignments at any time. They’ll team up with you diligently, keeping things easy and stress-free as they relate to being immediate students. That’s what makes us the best assignment help website for "help me write my essay, research paper, or dissertation" for college coursework. Trust our team—professional research essay writers and editors—to deliver your dissertation or thesis writing within your grading criteria and deadline.

You are working for a farm corporation that serves as a major supplier of lettuce to the US and

international markets. The corporation owns a large number of fields spread across a large number of

farm locations in the lettuce-growing region.

You are helping to build a system tracking the origin of lettuce back to the field where it was grown

Do You Offer Thesis Writing and Dissertation Help In Any Citation Style?

No matter what citation style you need for your research paper or dissertation, our skilled writers have you covered! We provide thesis writing and dissertation help in formats like APA, AMA, MLA, Turabian, Harvard, IEEE, and more. We’re dedicated to customizing your order to the exact guidelines of your chosen style, ensuring it fits your unique academic needs—whether it’s a dissertation, research paper, or essay for a specific course. We’ve got the flexibility to make it work for you!

across the many farm locations and fields where the corporation grows lettuce. This system will not only

help with planning and forecasting, but will also allow for tracking food-borne illness for public health

Can I Change Instructions for Dissertation Help or Thesis Writing After Ordering?

You can absolutely reach out to your academic writer using our simple, user-friendly chat feature. It’s there so you can add details, clarify instructions, or tweak adjustments for editing your research paper or dissertation according to your grading rubric—even after you’ve submitted "help me with thesis writing or dissertation help" and they’ve started working on your project.

purposes. Your task involves transforming data about each head of lettuce into an intermediary code

that is later sent into a bar code generator, to be included on the packaging. The inputs to your program

will eventually be supplied by other systems, but for testing purposes you will let the user enter the data

from the keyboard.

There are three input strings. These strings come in formats produced by other systems; these formats

cannot be changed. The input strings and their formats are as follows:

• The variety of lettuce. This could be any word or sequence of words. Variety names are

guaranteed to be at least 4 letters long. Variety examples are: “romaine”, “RUBY Loose Leaf”,

“Cimmaron”, “BIBB”, “Tom Thumb”, etc.

• The location ID within the corporation. This ID consists of a number that represents the farm ID,

followed by the word “id” in any case, followed by a number that represents the field ID. For

example, “54id4”, “9083ID451”, “8Id30” are three examples of location IDs.

• The harvest date of the lettuce. This comes in a format of day/month, where day is a number

between 0 and 31 and month is a full name of the month in any capitalization (February, July,

etc.) Examples of production dates are: “1/February”, “15/MARCH”, “31/december”. The two

parts of the date string are separated by a ‘/’ character. There are no spaces allowed in the

production date string. Note that the day may be one or two characters long and the month can

have any capitalization.

The output of the program is a string code that can later be used to generate a bar code for the

packaging. It consists of some parts of each of the inputs. The code has the following format:

VVV-Mm-fieldID-farmID

• VVV holds the first three letters of the variety in uppercase

• Mm encodes the first and last letters of the month, with the first letter in uppercase and the last

letter in lowercase

• fieldID that is the second set of digits in the location ID

• farmID that is the first set of digits in the location ID

• all subparts of the code are separated with a hyphen (minus sign) "-"

As input, let the user enter strings for the variety, location ID, and harvest date, assuming the formatting

described above.

As output, print the formatted barcode sequence.

1. Create a new NetBeans project called yourname_Lab3.

2. Prompt user to enter the variety. Use Scanner's method nextLine() to read the variety into a

String variable. You must read the variety into one variable even if it contains multiple words.

o Do not use next() method.

3. Prompt user to enter the location ID. Use Scanner’s method nextLine() to read the whole

location code string into a single String variable.

o Do not simplify this lab by taking separate user inputs for farmID and fieldID.

4. Prompt user to enter harvest date. Use Scanner's method nextLine() to read the whole date

string into a single String variable.

o Do not simplify this lab by taking separate user inputs for date and month.

5. Checkpoint 1: Print out all the user input variables. Make sure that you have 3 variables that

hold the data, and that they are appropriately named. They are all String types. For example:

6. Create the pieces of the bar code by extracting various elements of data from the inputs and

storing them in appropriately-typed variables. Store individual pieces in separate variables with

names indicating what data they hold.

o A summary of helpful string manipulation methods is provided below. Your task is to

figure out how to use those methods to achieve the goal set out in this lab.

o HINT: you may need to use a combination of methods to find and extract each of the

barcode data elements required in this lab.

7. Checkpoints: You should work on each part separately and print out the part of the code to the

screen. You may find it useful to print out even subparts of the individual code parts. For

example, when finding the first and last letters of the month, one approach is to extract the

whole month into a separate variable. Printing the position of the slash and then printing the

month string would be a good idea to check that it is correctly extracted:

Another example is the variety code. Print it out when you obtain the 3 letters and again when

you convert them to uppercase:

8. Finally, concatenate together all pieces to form the final code, and store the final barcode in one

string variable.

9. Print the code to the screen.

10. Make sure that your prompts and output follow the examples in the sample output, including

wording, spacing, and punctuation.

11. When your code is working, upload your .java file to the Lab 3 dropbox.

String manipulation methods

Method Return Type

Description

concat(String str) String Concatenates the specified string to the end of this string.

indexOf(String str) int Returns the index within this string of the first occurrence of the specified substring.

indexOf(String str, int fromIndex) int Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.

lastIndexOf(String str) int Returns the index within this string of the last occurrence of the specified substring.

length() int Returns the length of this string.

substring(int beginIndex) String Returns a new string that is a substring of this string. The substring begins with the character at the specified index and extends to the end of this string.

substring(int beginIndex, int endIndex) String Returns a new string that is a substring of this string. The substring begins at the specified beginIndex and extends to the character at index endIndex - 1.

toUpperCase() String Converts all of the characters in this String to upper case.

toLowerCase() String Converts all of the characters in this String to lower case.

SAMPLE OUTPUT

Tags: write essay online, thesis writers, term paper, professional paper writing help service, pay to write essay, help with class

Why choose Homework Ace Tutors

You Want Quality and That’s What We Deliver

Top Academic Writers

We’ve put together our writing team with care, choosing talented writers who shine in their fields. Each one goes through a tough selection process, where we look for folks with deep expertise in specific subjects and a solid history of academic writing. They bring their own mix of know-how and flair to the table, making sure our content hits the mark—packed with info, easy to read, and perfect for college students like you.

College Prices

We don’t do AI-written essays or copycat work—everything’s original. Competitive pricing is a big deal for us; we keep costs fair while delivering top-notch quality. Our writers are some of the best out there, and we charge rates that stack up well against other services. This means you get stellar content without draining your wallet. Our pricing is straightforward and honest, built to give you real value for your money. That’s why students turn to us for high-quality writing services that won’t break the bank.

100% Plagiarism-Free

Academic integrity is at the heart of what we do. Every paper starts from scratch, with original research and writing tailored just for you. We write 100% authentic—no plagiarism research essays. Our strict quality control process includes scanning every draft with top tools like SafeAssign and Turnitin, so you get a similarity score and proof of originality. We’re obsessive about proper citation and referencing too, crediting every source to keep things legit. It’s all about giving you peace of mind with content that meets the highest standards.

How it works

When you decide to place an order with Dissertation Writer, here is what happens:

Complete the Order Form

You will complete our order form, filling in all of the fields and giving us as much detail as possible.

Assignment of Writer

We analyze your order and match it with a writer who has the unique qualifications to complete it, and he begins from scratch.

Order in Production and Delivered

You and your writer communicate directly during the process, and, once you receive the final draft, you either approve it or ask for revisions.

Giving us Feedback (and other options)

We want to know how your experience went and the marking criteria grade you scored. You can leave a review recommending a writer for your class and course mates.