Find Jobs
Hire Freelancers

Java Homework Problems

$30-250 USD

Ditutup
Disiarkan sekitar 7 tahun yang lalu

$30-250 USD

Dibayar semasa penghantaran
I have two small Java homework problems that I need someone to help me with. These will not take long and the assignment is well defined. Once the job has been accepted, I will send you my attempt at the first one. I have finished the second one, but I need someone to check over it and add two methods. 1) Symbol Balancing: Implement a class called SymbolBalance.java. It should take a the name of a java file as a command line argument. Read in the file and check to make sure that all { }'s, ( )'s, [ ]'s, " "'s, and /* */'s are properly balanced. Make sure to ignore characters within literal strings and comment blocks. You do not have to deal with single line comments (those that start with a //). There are a number of error cases: The file ends with one or more opening symbols missing their corresponding closing symbols. There is a closing symbol without an opening symbol. There is a mismatch between closing and opening symbols (for example: { [ } ] ). Your program should output whether or not the symbols are all appropriately balanced. If they are not, indicate which error condition occurred and what symbol type caused the problem. You will need to write your own stack class for this. It should be generic (in this particular case you will be pushing Character objects on it, but it should be capable of handling any object reference). Call your stack class: MyStack.java. You may use [login to view URL] as an instance variable in your MyStack class, but in the implementation of your stack methods, you are only allowed to use its basic list operations, not the stack operations themselves (that is, do not use LinkedList's native push and pop methods). Here is an example. You are given a java file with with the following contents: public class Test { public static final void main(String[ ) args) { [login to view URL]("Hello."); } } You would then run your program: java SymbolBalance [login to view URL] and the output should be something like: Unbalanced! Symbol ) is mismatched. Please be sure to include a test java file with your submission, call it [login to view URL] that illustrates one of the error conditions. To help you with testing, we've written a number of test input files that you can use with your program in the file: [login to view URL] in a new window. 2) Two Stack Queue : Build a queue out of two completely separate stacks, S1 and S2. Enqueue operations happen by pushing the data on to stack 1. Dequeue operations are completed with a pop from stack 2. Obviously you will have to find some way to get the input stack information over to the output stack. Your job is to figure out how and when to do that, using only push and pop operations. Write a class TwoStackQueue that provides the Queue ADT (as specified in the [login to view URL] the documentView in a new window interface) using two stacks. Your class should explicitly implement the interface provided above. Since the interface is generic, your class should be as well. Provide all methods specified in the interface. Your class should not use any additional memory to store the data in the queue except for the two stacks. Use your stack implementation from programming problem 1. Write a tester class with a main method to demonstrate that your TwoStackQueue works correctly (by enqueueing a number of objects and then dequeueing and printing them in the correct order). Call your tester class Program2.java. You can find a sample tester class in the file [login to view URL] the documentView in a new window. It is similar to the one that we will use to grade your submission. Your tester should try different examples, than the ones from this sample. In a file called [login to view URL], discuss the big-O running time of the enqueue and dequeue operation for your queue implementation. [login to view URL] file: Points for including the proper README.txt.
ID Projek: 13173136

Tentang projek

46 cadangan
Projek jarak jauh
Aktif 7 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
46 pekerja bebas membida secara purata $117 USD untuk pekerjaan ini
Avatar Pengguna
Hello. I am Smile Song, developer in China. I'm interesting your project very well I'm a Good C, C++, Video Streaming, OpenCV, Math, java, c#, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks.
$412 USD dalam 7 hari
4.9 (513 ulasan)
8.7
8.7
Avatar Pengguna
Hi there, I went through the requirements and I would like to do this project if given the opportunity. Im very much familiar with the Queue and Stack data structure and I have previously built it before. Let me know if you are interested. Thanks.
$40 USD dalam 1 hari
4.9 (1074 ulasan)
7.6
7.6
Avatar Pengguna
Java EXPERT here. VERY EASY for me. Contact me ASAP with more details. I can do this. Thanks, Junaid
$155 USD dalam 3 hari
5.0 (123 ulasan)
7.2
7.2
Avatar Pengguna
Hello I am Java expert and interested in this project. I have reviewed the problem desctiption and confident to handle it perfectly. I have a lot of experience in helping in students with assignments, so I will keep codes well documented and simple. Please communicate to discuss further. Regards Anshu
$35 USD dalam 1 hari
4.7 (406 ulasan)
7.4
7.4
Avatar Pengguna
I love this kind of Java assignments. Can certainly complete within very short time like 12-24 hours. Huge experience. Can provide best service surely.
$40 USD dalam 3 hari
4.9 (227 ulasan)
6.6
6.6
Avatar Pengguna
Hi there, I'm a senior software developer who have over 300 completed projects with 100% positive reviews and my account also is qualified by this site as a Preferred-freelancer. My portfolio: https://www.freelancer.com/u/DucNA.html Could you please share me more details? Then I will check and let you know my estimation (time and effort) for this project. Thanks & best regards, Duc Nguyen
$36 USD dalam 0 hari
4.9 (271 ulasan)
6.6
6.6
Avatar Pengguna
Hello My name is Ahmed, i'm a top rated freelancer. i worked over 300 projects and over 500 hours doing java projects. plus i passed freelancer java v3 exam with score 3.75 plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 3+ years experience. small overview of feedback on my profile "you want to get your projects completed with quality? Hire Ahmed. Highly recommended." "Thoroughly satisfied with Ahmed, and would recommend him to anyone looking for an excellent java developer!" "Highly recommended. Very smart and well experience" looking forward to work with you Regards
$30 USD dalam 1 hari
4.9 (400 ulasan)
6.6
6.6
Avatar Pengguna
Hello. How are you. I have read and understood the project. I have strong knowledge in Data structures and Algorithms. And I'm expert in Java ,C/C++, Python ,PHP etc. I'm interested this project. So, firstly I want to discuss with you about this project. Then I'll be happy. I wait for your good reply. Thanks.
$180 USD dalam 2 hari
4.9 (130 ulasan)
6.3
6.3
Avatar Pengguna
Hi I am really interested in your project. I have full experience of java programming. I could fix the problems you have now. I could satisfy you. Everything will be done well if you work with me. Thank you
$155 USD dalam 0 hari
5.0 (27 ulasan)
5.5
5.5
Avatar Pengguna
A proposal has not yet been provided
$111 USD dalam 0 hari
4.9 (83 ulasan)
5.4
5.4
Avatar Pengguna
Expert in automation and delivering custom software willing to discuss further details about the project
$111 USD dalam 3 hari
4.9 (22 ulasan)
5.5
5.5
Avatar Pengguna
Hi, I have a very strong experience with Java. I can help you complete this project. It is my pleasure to help you. Thank you very much.
$244 USD dalam 3 hari
5.0 (15 ulasan)
4.5
4.5
Avatar Pengguna
ZERO ERROR GUARANTEED!! Please read my 160+ reviews. Hi, I can do this for you quickly and with great quality for cheap...Based in Nepal we provide quality work, and 100% satisfaction guarantee..We are not satisfied with the work until you are. Please read some of my customer reviews then contact me immediately. Thanks.
$150 USD dalam 2 hari
5.0 (2 ulasan)
4.2
4.2
Avatar Pengguna
I am a Java developer and I can help you with your task. Please discuss in detail.
$77 USD dalam 3 hari
5.0 (5 ulasan)
4.0
4.0
Avatar Pengguna
Hello! I read your description and it seems that your problems are not very difficult to solve, the second one seems typical project about Data Structures. I am new programmer here, check my profile for my reviews ( I have not any Java till now, but I can program data structures well enough in Java, so no worry)
$55 USD dalam 2 hari
4.8 (13 ulasan)
3.8
3.8
Avatar Pengguna
Hello Sir, I am a professional java developer with more than 7 years of expertise in Java development. I can do this task with minimal cost and minimal time. I have just completed one similar exercise of enque and deque. Eagerly awaiting your response. Thanks, Meenakshi
$111 USD dalam 1 hari
4.9 (11 ulasan)
3.8
3.8
Avatar Pengguna
I have 19 years teaching Java, Data Stuctures, and other topics. I have a Ph.D. and master's degree in Computer Science.
$166 USD dalam 3 hari
5.0 (3 ulasan)
3.3
3.3
Avatar Pengguna
What are the 2 methods you need to add? Did you complete the tests too? I need to know about your progress before accepting the job.
$55 USD dalam 3 hari
5.0 (4 ulasan)
3.0
3.0
Avatar Pengguna
Hi, I'am currently work in a Java projects (for my company), but i do some extra hours : 2-3 hours on working days and 8-16 on weekends. I’am a Senior Developer and i have a good experience doing a projects with Java. If you are interested you can talk with mi on the chat and we can reach an agreement. Sincerely
$70 USD dalam 2 hari
5.0 (4 ulasan)
2.9
2.9
Avatar Pengguna
I am ready to work on your task as per the requirement , please message me , i am available 24/7 for customer support Thank you
$155 USD dalam 3 hari
4.2 (8 ulasan)
2.4
2.4

Tentang klien

Bendera UNITED STATES
New York, United States
5.0
3
Kaedah pembayaran disahkan
Ahli sejak Feb 21, 2017

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.