Find Jobs
Hire Freelancers

True/False Questions

$15-20 USD

Cerrado
Publicado hace más de 20 años

$15-20 USD

Pagado a la entrega
1. What would happen if you called "InsertItem"defined for a list that already contains two elements whose keys are "EQUAL" to the key of to-be-inserted item? Is the comment // Cannot happen because item is not in list correct? 2. The sorted list ADT is to be extended with a Boolean member function, IsThere, which takes as a parameter an item of type ItemType and determines whether there is an element with this key in the list. a. Write the specification for this function. b. Write the prototype for this function. c. Write the function definition using the binary search algorithm. d. Describe this function in terms of Big-O notation. 3. True/False. If false, justify. a. Searching sorted and unsorted lists is equally computationally expensive. In both cases, computational complexity is 2^n, Where N is the size of the first element of the list. b. The order of inserting an element into its place in an unsorted list implemented in an array is O(logN). 4. True/False. If false, justify. a. There is a major problem with the classes "UnsortedType" and "SortedType" in that the user may accidently overwrite "length", the length of the list, thus changing arbitrarily the list processed. b. Due to the associated computational expense, the overloading of "InsertItem" goes against the goal of creating an ADT. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform WindowsXP, Windows 2000, Windows 98, and Windows 95
ID del proyecto: 2981676

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 21 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
7 freelancers están ofertando un promedio de $12 USD por este trabajo
Avatar del usuario
See private message.
$6,80 USD en 1 día
4,9 (22 comentarios)
4,8
4,8
Avatar del usuario
See private message.
$12,75 USD en 1 día
4,9 (93 comentarios)
4,3
4,3
Avatar del usuario
See private message.
$17 USD en 1 día
4,9 (36 comentarios)
3,8
3,8
Avatar del usuario
See private message.
$12,75 USD en 1 día
3,9 (21 comentarios)
3,9
3,9
Avatar del usuario
See private message.
$12,75 USD en 1 día
4,7 (13 comentarios)
3,1
3,1
Avatar del usuario
See private message.
$8,50 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$10,20 USD en 1 día
0,0 (1 comentario)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
3
Miembro desde nov 29, 2002

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.