SlideShare una empresa de Scribd logo
1 de 7
Diseño de Base de Datos
                                      Examen Diagnostico

      Num. Ctrl. 08520522 Alumno:Enrique Rosario Sotelo

      Elabore el Diseño de Base de Datos en: el Modelos Entidad – Relación, y el Modelo
      Relacional de los siguientes problemas:

      1. Existe una línea de autobús que desea registrar la venta de boletos realizados en sus
      viajes, debe tomarse en cuenta la siguiente información: nombre, dirección, teléfono, tipo
      autobús,numero autobús, capacidad de pasajeros, hora de salida, ruta (ciudades a visitar),
      choferes, pasajero, autobús, Cd. origen, Cd. destino, asiento, fecha y hora de salida. Por
      cuestiones deoperación un asiento se puede vender en más de una ocasión en un viaje
      siempre y cuando noexista traslape en el viaje.

      MODELO ENTIDAD-RELACION;



Hora_Entrada           ID
                                  Tipo_Autobus                                 ID            NOMBRE



                      AUTOBUS                        MANEJA                         CHOFER

Hora_salida
                                  Capacidad
                     Numero

                                                                                RECIBE


          Telefono

Nombre                                                              Fecha                    Cd_Origen

                                                        Asiento
           PASAJER                                                          BOLETO
                                    COMPRA                                                     Cd_Destino
              O

                                                        Nombre
     ID                                                                                      Hora_Salida
                Dirección
                                                                     ID        Tipo          dada
2. En una Institución Educativa es necesario realizar el control del kárdex, a través
del registro de calificaciones que los alumnos obtienen en cada materia, en las
diferentes carreras queimparta la Institución. De la misma forma se requiere que
se registre la carga académica (materias) que se asigna a los profesores. Todo lo
anterior debe registrarse por periodo escolar(semestre).

Modelo Relacional:
MODELO ENTIDAD-RELACION




3. Se requiere del registro de inventario (stock), compras (entradas) y ventas (salidas) de
productos en un almacén. Requiriéndose como datos de la venta: la factura, el cliente,
así como los productos registrados en cada operación ya sea con factura o si ella. De la
misma forma respecto a las compras es necesario incluir a los proveedores y los
productosregistrados en cada factura de compra. El inventario de productos se obtendrá
de la cantidad de compras menos la cantidad de ventas de cada producto registrado en el
almacén.

MODELO RELACIONAL:
MODELO ENTIDAD-RELACION
4. En el Centro de Información de una Institución Educativa es necesario llevar el registro del
préstamo del material ya sea: libros, revistas, tesis, CD/DVD, etc. Dichos préstamos se
pueden realizar de forma interna o externa; en la primera se requiere solo los datos del
alumno o profesor que realizo la consulta interna, mientras que en la segunda se requiere
además de la fecha de devolución de materia, estableciéndose además un maximo de 3
ejemplares para su préstamo.


MODELO RELACIONAL
MODELO ENTIDAD-RELACION

Más contenido relacionado

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Examen diagnostico de diseño de bd

  • 1. Diseño de Base de Datos Examen Diagnostico Num. Ctrl. 08520522 Alumno:Enrique Rosario Sotelo Elabore el Diseño de Base de Datos en: el Modelos Entidad – Relación, y el Modelo Relacional de los siguientes problemas: 1. Existe una línea de autobús que desea registrar la venta de boletos realizados en sus viajes, debe tomarse en cuenta la siguiente información: nombre, dirección, teléfono, tipo autobús,numero autobús, capacidad de pasajeros, hora de salida, ruta (ciudades a visitar), choferes, pasajero, autobús, Cd. origen, Cd. destino, asiento, fecha y hora de salida. Por cuestiones deoperación un asiento se puede vender en más de una ocasión en un viaje siempre y cuando noexista traslape en el viaje. MODELO ENTIDAD-RELACION; Hora_Entrada ID Tipo_Autobus ID NOMBRE AUTOBUS MANEJA CHOFER Hora_salida Capacidad Numero RECIBE Telefono Nombre Fecha Cd_Origen Asiento PASAJER BOLETO COMPRA Cd_Destino O Nombre ID Hora_Salida Dirección ID Tipo dada
  • 2.
  • 3. 2. En una Institución Educativa es necesario realizar el control del kárdex, a través del registro de calificaciones que los alumnos obtienen en cada materia, en las diferentes carreras queimparta la Institución. De la misma forma se requiere que se registre la carga académica (materias) que se asigna a los profesores. Todo lo anterior debe registrarse por periodo escolar(semestre). Modelo Relacional:
  • 4. MODELO ENTIDAD-RELACION 3. Se requiere del registro de inventario (stock), compras (entradas) y ventas (salidas) de productos en un almacén. Requiriéndose como datos de la venta: la factura, el cliente, así como los productos registrados en cada operación ya sea con factura o si ella. De la misma forma respecto a las compras es necesario incluir a los proveedores y los productosregistrados en cada factura de compra. El inventario de productos se obtendrá de la cantidad de compras menos la cantidad de ventas de cada producto registrado en el almacén. MODELO RELACIONAL:
  • 6. 4. En el Centro de Información de una Institución Educativa es necesario llevar el registro del préstamo del material ya sea: libros, revistas, tesis, CD/DVD, etc. Dichos préstamos se pueden realizar de forma interna o externa; en la primera se requiere solo los datos del alumno o profesor que realizo la consulta interna, mientras que en la segunda se requiere además de la fecha de devolución de materia, estableciéndose además un maximo de 3 ejemplares para su préstamo. MODELO RELACIONAL