sábado, 29 de enero de 2022

PROGRAMA EN JAVA. AGENDA DE CONTACTOS.

 Debe realizar un programa que permita crear una Agenda de Contactos, donde

se pueda almacenar la siguiente información:
El Nombre y Apellidos del Contacto.
Teléfono móvil (con posibilidad de poder ingresar varios)
Teléfono fijo
Dirección de correo electrónico
Tipo de contacto: Familiar, Trabajo, Personal, etc.
Debe realizar un programa que le permita realizar las siguientes acciones:
[1] Insertar nuevo contacto
[2] Buscar contacto
[3] Modificar datos
[4] Eliminar contacto
[5] Listar Contactos
[0] Salir


Si desea adquirir el codigo fuente escribir a:
cgprognet@gmail.com
whatsapp: +51 923132072




domingo, 16 de enero de 2022

PROGRMA EN JAVA. ARCHIVOS.

 ASSESSMENT TASK.

Students are advised to review and adhere to the to the submission requirements document after the assessment  task.

A library has come to you as a developer and outlined that currently they do not have any software to track the different titles they have in stock, users the library and borrowings. They have asked you to develop a system which will allow them do this. The library doesn't have a budget for a database, so your solution must implements a text-file-based system to ensure persistency of the data.

Specific requirements.

The library system must include the following entities:

. Book: to model all data relevant to the books. id, title, author and/or any another piece of information that you consider relevant.

. Reader: To model all data relevant to the users of the library. ID, name, address and/or any other piece of information that you consider relevant.

When the program is executed, it must automatically load onto memory the data that exists on the text file(s) in the form of objects. Book, readers, and any other entity that you include in tour design (e. f., borrowings). You've been provided with a file that contains the current inventory of book of the library system, so you need to adhere to this format. However, you must create your own file structure to store readers and borrowings.

Consider your user to be an employee from library. After all the data has been loaded, the user should be presented with the following options.

. Search for a specific book by title and/or author name.

. List all books by title and/or author name alphabetical order.

. Search for a specific reader by name and/or ID.

. List all readers by alphabetical and/or ID order

. Register that a reader has borrowed a book

. if a book is borrowed and another reader wants to borrow it, allow the user to add that reader to a waiting list (queue)

. Register that a reader has returned a book.

. If a book is returned and has a waiting queue, display to the user the next reader waiting for that book

. For a specific reader, list the books that they have borrowed.

To perform these tasks, you should implement appropriate constructs and data structures. The use of the Java Collections Framework is allowed, except for Queues. Your implementation of any queue structure must be CUSTOM MADE for your application.

You must implement CUSTOM MADE searching and/or sorting algorithms. Even though, the use of built-in java Collections classes is allowed, searching and/or sorting algorithms must be your own.





Para adquirir el codigo fuente escribir a:

cgprognet@gmail.com

Whatsapp: +51 923132072





PROGRAMA EN JAVA CAR RENTAL.

 Assignment Detail

A car rental start-up has come to you as a developer and outlined that currently they do not have any software to track the different cars they have in stock. They have asked you to develop a system which will allow them to do this. They also want to keep track of the customers and staff in the company.
You are also required to generate some fake data to test the functionality of the program.
Specific Requirements
• The system must include the following entities:
o Admin Staff (e.g. Receptionist; IT Nerd)
o Customers
o Cars (e.g. Family, Luxury, Sport)
• When the program is executed, it must dynamically create instances of the classes as follows:
o At least 10 Admin staff or various types (they cannot all be the same type). There must be at least 2 different types of Admin staff.
o At least 30 Customers.
o At least 300 cars. There must be at least 3 different types of car.
• Each staff member must be given (a) a name, (b) a UNIQUE staff number and (c) a salary level.
• Each customer must be given (a) a name, (b) a date of birth (a realistic one!) and (c) a credit card number.
• Each car must have (a) a registration number, (b) a make, (c) a model and (d) a number of seats.
• All the data for each one of the entities generated in a random manner. However, data must be realistic!
• Once all the entities have been created, the system should assign a car to each customer. This means you need some way of knowing which customer has rented each car. Likewise, each rental should have an associated staff member that organised the rental for the customer.
• The system must also assign a task to each member of the Admin staff. These tasks can be invented by you, but there should be several different tasks – e.g. Filing, Making Phone Calls, On Holidays, etc.
• A user should be able to run the application, and be greeted with the following options:
For both Software Development AND Algorithms & Constructs:
o List all staff
o List all customers
o List all cars
o List staff by categories (e.g. list all secretaries)
o List cars by various types (e.g. list all sport cars)
o List all Admin staff performing a certain task
For Algorithms & Constructs ONLY
o Search for a specific member of staff by name
o Search for a specific customer by name
o Search for a specific car by registration number
o Find the car that a specific customer has rented
• In order to perform these tasks, you should implement APPROPRIATE constructs, data structures as well as searching and/or sorting algorithms.
• The use of other structures such as enums, packages, wrappers classes, among others, is also recommended!

Si desea adquirir el codigo fuente escribir a:
cgprognet@gmail.com
whatsapp: +51 923132072



martes, 2 de noviembre de 2021

PROGRAMA EN JAVA - OPERACIONE CON MATRICES.

Escribir un programa que permita llenar con enteros dos matrices de tamaño ingresado por el usuario y que realice las siguientes operaciones:

-Sumar

-Multiplicar

-Comparar

-Encontrar la traspuesta

Si desea adquirir el codigo fuente escribir a:
cgprognet@gmail.com
cgcg2006@gmail.com


miércoles, 6 de octubre de 2021

PROGRAMA EN JAVA Y ORACLE. "BookStore SAC", es una librería que se dedica a la venta de libros, revistas y separatas.

 La empresa "BookStore SAC", es una librería que se dedica a la venta de libros, revistas y separatas.

Se necesita una aplicación de escritorio para llevar el control de las ventas, las reglas de negocio son

las siguientes:

1. Cada venta es de una sola publicación, pero puede ser de varias unidades. Por ejemplo, un

cliente podría estar comprando 5 ejemplares del libro de código LIB00008.

2. Todas las publicaciones tienen un precio de lista.

3. La librería ofrece descuentos en función de la cantidad de ejemplares que el cliente compra,

El gerente de ventas de BookStore SAC ha especificado de los siguientes requerimientos que deben

ser implementados:

1. VENTAS: Permitir registrar las ventas, es importante que la aplicación calcule el descuento de

manera automática y actualice el stock.

2. REGISTRAR NUEVA PUBLICACIONES: Permite registrar nuevas publicaciones, es importe que

la aplicación genere el código de manera correcta, por ejemplo, si es un nuevo libro, el código

tiene el siguiente formato: LIB#####.

3. CONSULTA: Permite consultar las ventas de un tipo de publicación.









Si desea adquirir el codigo fuente y el script e la base de datso en Oracle escribir a:
            cgprognet@gmail.com




martes, 17 de agosto de 2021

PROGRAMA EN JAVA CONTAR VOCALES, LETRAS Y DIGITOS.

 Ingresar una cadena de caracteres y en pantalla mostrar:

  • Cuantas vocales mayusculas A, E, I, O y U tiene la cadena.
  • Cuantas vocales minusculas a, e, i, o y u tiene la cadena.
  • Cuantas letras mayuculas A, B, C, D, E, F,...X, Y y Z tiene la cadena.
  • Cuantas letras minusculas a, b, c, d, e, f,...x, y y x tiene la cadena.
  • Cuantosldigitos 0, 1, 2, 3,....y 9 tiene la cadena.
Solicitar codigo fuente a:
cgprognet@gmail.com
cgcg2006@gmail.com

jueves, 3 de junio de 2021

Mantenimiento de Empleados - Mysql.

 Mantenimiento de Empleados - Mysql.

CREATE TABLE `empleado` (
`ced_emp` varchar(10) COLLATE utf8_spanish2_ci NOT NULL,
`nom_emp` varchar(35) COLLATE utf8_spanish2_ci NOT NULL,
`ape_emp` varchar(35) COLLATE utf8_spanish2_ci NOT NULL,
`cel_emp` varchar(12) COLLATE utf8_spanish2_ci NOT NULL,
`email_emp` varchar(70) COLLATE utf8_spanish2_ci NOT NULL,
`dire_emp` varchar(250) COLLATE utf8_spanish2_ci NOT NULL,
`fec_ing` varchar(10) COLLATE utf8_spanish2_ci NOT NULL,
`cargo` varchar(20) COLLATE utf8_spanish2_ci NOT NULL,
`sueldo` decimal(10,2) NOT NULL,
`foto` blob NOT NULL,
`ruta` varchar(100) COLLATE utf8_spanish2_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;
ALTER TABLE `empleado`
ADD PRIMARY KEY (`ced_emp`);



Si desea adquirir el codigo fuente y el script de la base de datos escribir a:
cgprognet@gmail.com
cgcg2006@gmail.com