Find Jobs
Hire Freelancers

Algorithm for repetition and random sorting

$30-5000 USD

Cancelado
Publicado hace más de 14 años

$30-5000 USD

Pagado a la entrega
I am writing software which is basically a form of test. That's not important, but right now I have an algorithm that sorts the last 5 questions into a random order and then begins with question one. It then repeats. The only problems I have with this code are the questions may receive duplicate answers. As in, the user has a few choices which are selected randomly and my current code only tests to see if the random selection equals the answer, and changes it so that only one of them is the right answer. The wrong answers themselves may duplicate. I know this is a basic if/then and can easily do it, but I've shoved in enough other logic to have messy code and I could use some help cleaning up the algorithm altogether. I want a fresh mind to accomplish this task so I can see a more systematic way of accomplishing my goal. Aside from one other error, which I know how to fix, I'm going to post my code so you can see what I'm doing. It's PureBasic, which is not hard to read. It declares variables like this VariableName.I (where I is the type of variable). I'm programming the GUI, logic otherwise, and pretty much making it, but I'm by myself and could use someone's viewpoint on it. ## Deliverables I've figured out that I should not combine the array used for selection and randomizing with the array used to hold the data. This has caused me plenty of errors already and when I rewrite that part, I can refresh my algorithm on the choice-creation side and literally flush its buffers to prevent mix-ups (another bug it has). So after I do that I may be fine, but I'd be hoping for the best outcome so I might still need someone to write a fresh algorithm. I used to be more into math/coding and tutorials so the tough algorithms were easy, but now I sloppily make them and step through them like I'm new slowly working out all the kinks. Just not as logical as I used to be. Oh yeah, the main function of this program is to quiz the user on a few questions then repeat those 5 times while rearranging the order. Then they move on to the next set. It has more complex functions too but if this is logically cleaned up then the next should be easy to code and I'll handle that. I'm NOT going to ask for someone to do the whole thing for me, yet anyway. I'm tired of seeing posts like that, so I'm just asking for this part for assistance. People are too lazy! Note that this request is asking for your ability to think logically more than anything else. I don't care how many basic systems you've finished or what portfolio you have, as long as you can design. That means if you have an unfinished, or tons of unfinished programs, that prove you can think complex, I'll count that. But if you can just explain that you know english, math, and enough to at least create this clean, that'll be good too. Like I said, you will get my code that does this already, but with bugs. No, you won't get the program, just the algorithm. Thank you. also, bid for approximately one or two hours, but if you understand this already then it'll probably take way less than that. It took me 2 hours to figure out how to make this algorithm is why I'm saying that. Think of it as a "gateway" and each gateway opens when the first 5 things have been seen a few times. That's what made it easy on my brain. Stephen
ID del proyecto: 2977960

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 14 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
6 freelancers están ofertando un promedio de $34 USD por este trabajo
Avatar del usuario
See private message.
$59,50 USD en 10 días
4,9 (37 comentarios)
5,6
5,6
Avatar del usuario
See private message.
$85 USD en 10 días
5,0 (7 comentarios)
3,3
3,3
Avatar del usuario
See private message.
$12,75 USD en 10 días
3,2 (5 comentarios)
3,4
3,4
Avatar del usuario
See private message.
$17 USD en 10 días
5,0 (1 comentario)
0,9
0,9
Avatar del usuario
See private message.
$17 USD en 10 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$11,05 USD en 10 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Everett, United States
5,0
14
Forma de pago verificada
Miembro desde jul 18, 2006

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.