aa

martes, 29 de septiembre de 2015

PROGRAMACION METODO FIFO JAVA



FUNDAMENTOS Y BENEFICIOS DE FIFO
FIFO es un acrónimo que significa "primero en entrar, primero en salir". Con este método de valuación de inventario, la empresa cuenta el valor de inventario recibido en primer lugar cuando se hacen las ventas. Una de las razones más comunes que una sociedad decide usar FIFO es porque es una forma más natural en línea recta, ya que cuentas tu primer inventario como en los primeros artículos vendidos. Esto lo hace especialmente útil cuando el seguimiento de los artículos del inventario es simple.

MÉTODO FIFO O PEPS EN LA VALORACIÓN DEL INVENTARIO
Por ejemplo
Si tengo 3 compras: 01 de enero, 3 de enero, 6 de enero, y el 8 de enero realizo un venta, las mercaderías que primero debo sacar de mi inventario serán aquellas que ingresaron el 01 de enero, y si me faltan completar, saco las del 3 de enero, y si aún me faltan, saco las del 6 de enero.





 
  FIFO   

El siguiente ejemplo es ingresar datos de personas y libros que se han leído, la función de fifo es organizar la información en el orden de llegada.


Package control;

import entity.entidad;

 // @author ASUS X450C
public class CONTROL {
 // se declara un arreglo que almacena los TAD
    entidad[] arreglo;
    int cont;
    //método constructor
    public CONTROL() {
   //se dimensiona el arreglo
        this.arreglo = new entidad[10];
        for (int i = 0; i < arreglo.length; i++) {
            this.arreglo[i] = new entidad();

        }
    }

    public boolean fifo(String nombre, String autor, String leyo, String fecha) {
        if (cont < arreglo.length) {
               /* el contador denominado cont es quien lleva la cuenta del número
            de datos que se han registrado dentro del arreglo, esto evitará
            tener que realizar recorridos hasta el final del arreglo cada vez
            que se desee insertar un nuevo dato en el arreglo.
           
            se insertan los valores directamente en las posiciones y se invocan
            a los métodos que permiten el registro de los datos dentro del TAD
            por medio del operador "punto"
            */
            this.arreglo[cont].setNombre(nombre);
            this.arreglo[cont].setAutor(autor);
            this.arreglo[cont].setLeyo(leyo);
            this.arreglo[cont].setFecha(fecha);
                        // al registrar cada valor se incrementa el contador
            cont++;
            return true;
        } else {
            return false;
        }

    }

    public String showAll() {
        String cad = "";
        for (int i = 0; i < cont; i++) {
            cad = cad + "EL LIBRO "+this.arreglo[i].getNombre() + " FUE ESCRITO POR " + this.arreglo[i].getAutor() + " Y LO LEYÓ " + this.arreglo[i].getLeyo() + " EN EL AÑO " + this.arreglo[i].getFecha();
            cad = cad + "\n";
        }

        return cad;

    }

}      






                                                                                                                                                    DESCARGAR PROYECTO COMPLETO DE FIFO EN JAVA NETBEANS







PERSONALIZATION PLATFORM OF THE SUPPORTED EVALUATION IN ARTIFICIAL INTELLIGENCE


This project seeks to develop a learning assessment platform that seeks to reduce the levels of anxiety and fear of students, through the personalization of the evaluation. In this way it seeks to increase and maintain the confidence of the student [3].

Some existing platforms focus on ensuring adaptive educational content, but for the most part they have not addressed the adaptability to the requirements of students regarding the personalized evaluation. This personalization can contribute to diminish the fears of the students and contribute to the teaching processes.

The personalization will be based on artificial intelligence mechanisms that allow predicting the level of knowledge of each student and based on it is adapted to their ability to learn and feedback. The platform will be designed to adapt to the requirements of low connectivity in the department of Cauca.

https://www.youtube.com/watch?v=oWoFRhuJFy4







2 comentarios: