Find Jobs
Hire Freelancers

Hash table with collision resolution program -2

$10-30 USD

Terminado
Publicado hace más de 7 años

$10-30 USD

Pagado a la entrega
Build a hash table using chaining as the collision resolution technique. Insertions into the hash table will correspond to declarations of variables and values in a program, searches will be requests for the value of a variable. Some variables will be local and have a narrow scope while some variables will be global. The program will take input from a file, another program written in the omnipotent programming language BORG (Bionicly Omnipotent Resistance Grinders) and generate output from this program. The BORG language has the following commands (keywords): START-FINISH blocks. Indicating different scopes. COM - Single line comments: Text should be ignored if on the same line VAR varName – Variable Declaration, adds “varName” to the hash table. variable = expression – Assignment statements, ie GEORGE = 122. Find GEORGE in the hash table and assign 122 to it. ++ - increment operator, syntax: VARIABLE ++ -- - decrement operator, syntax: VARIABLE -- expressions, expressions are limited to unary and binary arithmetic, or variable names supported operators: + - / * % ^ (plus, minus, divide, multiple, modulo, exponent) PRINT – syntax PRINT expression. If the expression is a variable, and this variable is not in scope, then an error message indicating unknown variable x at line number y. The value printed if there is a variable in scope should be the variable with the closest scope. Errors – other than the print statements, our interpreter will not be responsible for detecting errors, syntax errors should be disregarded if encountered, assume that the source file is correct. Our hash function: sum the ordinal values of the characters of the variable multiplied by their position in the string (1-indexing), then taking the modulo by TABLESIZE. ie. The variable ABC = (65 * 1 + 66 * 2 + 67 * 3) % TABLESIZE All tokens are separated by one space or a new line. More info if you message me
ID del proyecto: 12271961

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 7 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
Adjudicado a:
Avatar del usuario
Hello Sir/Mam NovaSofts Inc. is the leading IT Company of Islamabad Pakistan. We have 9+ years of experience and strong knowledge about programming languages Java C++ C C# Android So you don't worry about third party client. We are very much experienced and assure you that we’ll provide quality work. The project bid is negotiable and P.M for sample work. Thanks
$30 USD en 1 día
4,8 (153 comentarios)
6,9
6,9
3 freelancers están ofertando un promedio de $60 USD por este trabajo
Avatar del usuario
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$100 USD en 1 día
4,9 (126 comentarios)
6,9
6,9
Avatar del usuario
Hello, my name is Kostas and I am an expert c/c++ developer with an extensive knowledge of algorithms and data structures. Please send me a message to discuss the details. Thank you in advance, Kostas.
$50 USD en 2 días
5,0 (25 comentarios)
4,3
4,3

Sobre este cliente

Bandera de UNITED STATES
Bakersfield, United States
5,0
2
Forma de pago verificada
Miembro desde dic 3, 2016

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.