Find Jobs
Hire Freelancers

Javascript

$10-30 USD

Cancelado
Publicado hace casi 9 años

$10-30 USD

Pagado a la 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 del proyecto: 8026190

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
8 freelancers están ofertando un promedio de $30 USD por este trabajo
Avatar del usuario
I have 3 years experience in web programming I can provide you the solution inbox me for more details.
$30 USD en 5 días
5,0 (104 comentarios)
6,2
6,2
Avatar del usuario
A proposal has not yet been provided
$30 USD en 1 día
5,0 (10 comentarios)
5,0
5,0
Avatar del usuario
Hello, I would like to help you with this Javascript project :) Please let me know if you want to work together! :)
$25 USD en 1 día
5,0 (56 comentarios)
4,7
4,7
Avatar del usuario
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 en 1 día
5,0 (30 comentarios)
4,6
4,6
Avatar del usuario
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 en 1 día
5,0 (10 comentarios)
4,0
4,0
Avatar del usuario
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 en 1 día
5,0 (6 comentarios)
3,0
3,0

Sobre este cliente

Bandera de UNITED STATES
port orange, United States
5,0
21
Forma de pago verificada
Miembro desde jul 2, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos 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)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.