Find Jobs
Hire Freelancers

binary dump

$30-5000 USD

Terminado
Publicado hace más de 22 años

$30-5000 USD

Pagado a la entrega
The basic idea is to create a function that will do a binary dump of an integer. The exact nature of the output is not specified so you can place the digits consecutively, or with space separators. In addition to doing the dump, you must write two methods for finding the value of the i'th bit of an integer. Here are the methods you need, but you can vary the names: int findBit(int i,index j) /* this method outputs the value of the j'th bit of integer value i, where j is between 0 and 31, and where the zero bit is the rightmost bit (least significant); the function can optionally return a boolean value; you must use shifts to implement this function */ int findBit2(int i,index j) /* same as findBit, but you must use a mask to find the bit, and one of the bit operations &, |, ^ */ void bdump(int i) /* binary dump of integer i ; use one of the methods above to do the dump */ You can place hard coded tests in your main method, or obtain data interactively. Randomly generated integers do not lend themselves to easy human verification that your dump is correct. So your tests should include values that are easily checked. For example an integer initialized with a hex specified constant is easy to check. ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
ID del proyecto: 2827806

Información sobre el proyecto

11 propuestas
Proyecto remoto
Activo hace 23 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
See private message.
$5 USD en 14 días
5,0 (10 comentarios)
2,6
2,6
11 freelancers están ofertando un promedio de $26 USD por este trabajo
Avatar del usuario
See private message.
$17 USD en 14 días
5,0 (109 comentarios)
7,1
7,1
Avatar del usuario
See private message.
$8,50 USD en 14 días
5,0 (80 comentarios)
5,2
5,2
Avatar del usuario
See private message.
$17 USD en 14 días
4,9 (40 comentarios)
4,8
4,8
Avatar del usuario
See private message.
$68 USD en 14 días
4,6 (60 comentarios)
4,5
4,5
Avatar del usuario
See private message.
$25,50 USD en 14 días
4,8 (35 comentarios)
3,8
3,8
Avatar del usuario
See private message.
$17 USD en 14 días
4,9 (3 comentarios)
2,2
2,2
Avatar del usuario
See private message.
$21,25 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$8,50 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$42,50 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$51 USD en 14 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
5
Miembro desde ene 1, 2003

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.