Está en la página 1de 13

Programación de

Computadores Avanzada

Clases
Identificando Clases de Objetos

Autor
Namuel Solórzano Peralta
Ing. de Sistemas
En las siguientes diapositivas encontrarás varios
conjuntos de objetos usted debe proceder a obtener
la clase UML que lo representa.
Objetos Clase UML

Libro

Attributes

Private String generoliterario;


Private String autorlibro;
Privtae int numerodehojas;

Operation
Public libro()
Public void leer()
Public void abrirlibro()
Public void cerrarlibro()
Public void analizar()

Tomado de :http://www.google.com.co/ (Google Imagenes)


Objetos Clase UML

Memoria Ram

Attributes

Private String marca;


Private String forma;
Private String tamaño;
Private String color;
Privtae int cantidaddeespacio;
Operation
Public memoria ram()
Public void almacenardatos()
Public void ejecutar()

Tomado de :http://www.google.com.co/ (Google Imagenes)


Objetos Clase UML

procesador

Attributes

Private String marca;


Private String calidad;
Private String tamaño;
Private String color;
Privtae int precio;
Operation
Public procesador()
Public void procesardatos()
Public void darinstrucciones()

Tomado de :http://www.google.com.co/ (Google Imagenes)


Objetos Clase UML

Personas
attributes
Private String nombre;
Private String apellido;
Private String genero;
Private int edad;
Private int altura;

Operation
Public persona()
Public void hablar()
Public void comer()
Public void caminar()
Public void correr()

Tomado de :http://www.google.com.co/ (Google Imagenes)


LOS OBJETOS SON PRODUCTORES DE DATOS.

LOS DATOS SON IMPORTANTES GESTIONARLOS

LOS SISTEMAS DE INFORMACIÓN SU MISIÓN PRINCIPAL ES


GESTIONAR LOS DATOS, ELLO ES: CAPTURAR, PROCESAR Y
ALMACENAR Y DISEMINAR DE DATOS

EL SOFTWARE ES UN ELEMENTO FUNDAMENTAL DENTRO DE LOS


SISTEMAS DE INFORMACIÓN

EL SOFTWARE DEBE POSEER INSTRUCCIONES QUE PERMITAN CREAR


LAS CONDICIONES PARA CAPTURAR, PROCESAR Y ALMACENAR Y
DISEMINAR DATOS

LA POO ES UN PARADIGMA QUE PERMITE GESTIONAR DATOS


MEDIANTE EL CONCEPTO DE CLASES Y OBJETOS

LAS CLASES SE DISEÑAN DE ACUERDO AL CONTEXTO DONDE


ACTUEN LOS OBJETOS
Objetos Clase UML

Estudiantes

Attributes

Private String nombre;


Private String apellido;
Private String edad;
Private String carrera;
Private String color;
Privtae int numerodesemestres;
Operation

Public estudiantes()
Public void estudiar()
Public void hacerproyectos()
Public void aprender()
Estudiantes de una IE Public void escribir()

Tomado de :http://www.google.com.co/ (Google Imagenes)


Objetos Clase UML

Empleados

Attributes

Private String nombre;


Private String edad;
Private String profecion;
Private String color;
Privtae int horastrabajas;
Private doublé salariominimo;
Operation
Public empleados()
Public void trabaja()
Public void obedece()

Empleados de una empresa

Tomado de :http://www.google.com.co/ (Google Imagenes)


Objetos Clase UML

Docentes

Attributes

Private String nombre;


Private String genero;
Private String edad;
Private String materia;
Privtae int cantidaddeclases;
Operation
Public docente ()
Public void enseña()
Public void corrige()
Public void califica()

Docentes de una IE

Tomado de :http://www.google.com.co/ (Google Imagenes)


Objetos Clase UML

Policias

Attributes

Private String nombre;


Private String edad;
Private String rango;
Private String placa;
Privtae int cantidaddeesperiencia;
Operation
Public policias()
Public void protejer()
Public void patruyarlascalles()
Public void capturar()
Public void disparar()

Policías de una brigada

Tomado de :http://www.google.com.co/ (Google Imagenes)


Objetos Clase UML

Medicos

Attributes

Private String nombre;


Private String turnos;
Private int horasestras;

Operation
Public medicos()
Public void ayudar()
Public void examinar()

Médicos de un hospital

Tomado de :http://www.google.com.co/ (Google Imagenes)


FIN

También podría gustarte