Find Jobs
Hire Freelancers

Javascript

$10-30 USD

Cancelado
Publicado há quase 9 anos

$10-30 USD

Pago na entrega
Assignment 1. In Javascript we are going to create a Class called Chain. If you need a little primer on creating objects and classes in Javascript see [login to view URL] - if you know your object oriented code this will be relatively straightforward. Your Chain will be made up of Links. Each link will have an id, a value (String) and a pointer to the next link ( NextLink ) - which is simply a pointer to the id of the next link in the Chain. Please note that this is a very inefficient representation of the Chain. Here is a simple Javascript code definition of a Link for you to use. [login to view URL] You will make a Chain consisting of 5 links. You will also create a print function for the chain that will print the links in link order. You may need to create some functions to support this functionality. Assignment 2. Implement a Stack computer in Javascript (you will turn in a link to your program in JSFiddle). This is a simple computer that keeps a stack, when a number is entered it goes onto the top of the stack. When an operation is entered, the previous 2 numbers are operated on by the operation. For example 2 [enter] 2 5 [enter] 5 2 * [enter] * 5 2 -> collapses to 10 would leave at 10 at the top of the stack. The program should use a simple input box, either a text field or prompt and display the contents of the Stack. Question: What kind of structure and algorithm is needed to make a game like this? Assignment 3 You are going to create a List. You will then fill it with numbers consecutively numbered from 2 to n where n is entered by the user. Create a second List - this one should be a Queue - it is empty. Once you have the first List filled we are going to use a technique called Sieve of Eratosthenes which uses first queue to fill the second queue. You will need to look at the algorithm for this [login to view URL] Here is the simple method to do this - L1 is the first list, Q1 is the Queue. 1. Go to 1st element in L1 (which will be 2). 2. Because it exists - Push this into Q1 and remove it from L1 3. Iterate through each element of L1 and if the value is divisible by 2 remove it. 4. When done go back to the beginning of the list (the value will be 3 the second time around) 5. Print Iteration 1, Value of L1 (all elements) and Q1 (all elements) 6. Repeat steps 2-5 with this new element - repeat until L1 is empty. Sample output with input 10 Iteration 0: L1 = 2 3 4 5 6 7 8 9 10, Q1 = , Iteration 1: L1 = 3 5 7 9, Q1 = 2 Iteration 2: L1 = 5 7, Q1 = 2 3 Iteration 3: L1 = 7, Q1 = 2 3 5 Iteration 4: L1 = , Q1 = 2 3 5 7
ID do Projeto: 8026190

Sobre o projeto

8 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
8 freelancers estão ofertando em média $30 USD for esse trabalho
Avatar do Usuário
I have 3 years experience in web programming I can provide you the solution inbox me for more details.
$30 USD em 5 dias
5,0 (104 avaliações)
6,2
6,2
Avatar do Usuário
A proposal has not yet been provided
$30 USD em 1 dia
5,0 (10 avaliações)
5,0
5,0
Avatar do Usuário
Hello, I would like to help you with this Javascript project :) Please let me know if you want to work together! :)
$25 USD em 1 dia
5,0 (56 avaliações)
4,7
4,7
Avatar do Usuário
hii, hiring us will give you the following benefits.. - 365 days of support - 24 X 7 availabilty - professionally quaalified team - guaranteed satisfaction - ontime and within budget project completion - free support and maintenance assistance depending on the project - affordable milestone payment system - anytime changes are welcome during development or coding please check the links to see our works We are a registered partnership based web development company in kochi with professionally qualified team of developers, designers, programmers with 9 years of experience. we offer post implementation support and bug fixes free for six months ensuring quality and excellence to the products we develop. guaranteed satisfaction is another major highlight. we work on a milestone basis to ensure client satisfaction. we also ensure money back guarantee for failure of project delivery. we excel in technologies like php, php5, html, html5, seo, codeigniter, mysql,ajax, jquery, javascript, wordpress and so on... to know more about us visit our portfolio Give us the project and we can convert your needs to reality within no time.
$66 USD em 1 dia
5,0 (30 avaliações)
4,6
4,6
Avatar do Usuário
Hi, I'm expert in JAVASCRIPT and I can help you to do this task. Please contact me via private message box. Thank you so much
$22 USD em 1 dia
5,0 (10 avaliações)
4,0
4,0
Avatar do Usuário
Dear,Sir. I've read your job description and understood your requirements. As I am a HTML5/CSS3,PHP,javascript and jQuery expert, I am very interested in your project. I've many experiences and strong skills for 7 years. If you award me, I am able to start the project right now and will devote my full time for you. And also, I will provide good result full matched with your requirements. Looking forward to hearing from you soon. Best regards Zhang
$15 USD em 1 dia
5,0 (6 avaliações)
3,0
3,0

Sobre o cliente

Bandeira do(a) UNITED STATES
port orange, United States
5,0
21
Método de pagamento verificado
Membro desde jul. 2, 2015

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.