More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
post
page
Python IDE Dashboard

Rent-A-Bike – Entity Relationship Diagram (ERD)

rent-a-bikeRent-a-Bike is a company offering a bike rental service in the London area.​ They would like a new IT system to replace their existing booking system.​ You have been asked to investigate their requirements in order to design the Entity Relationship Diagram (ERD) for this system.

For more information about relational databases and Entity Relationship Diagrams, visit the following pages:


The requirements of Rent-A-Bike are as follows:

  • The new system will need to store information about the customers, the bikes, the bookings and the payments made by customers.​
  • In most cases, a customer will book a single bike at a time, however Rent-a-Bike also allows for group bookings. This means that a customer can rent several bikes as part of a single booking,
  • Each booking can be paid in either one or several payments/instalments.

Use our online ERD tool to design the Entity Relationship Diagram for this bike rental company. Note that you have not been given any information about the pieces of information to store about the customers, bikes, bookings or payments so you will have to decide of the most relevant fields to include on your ERD.

Design Your ERD Online

Extension Task

Rent-A-Bike is considering opening new branches to cover all the main UK cities including, but not limited to, Manchester, Leeds, Edinburgh, Glasgow, Cardiff, Belfast, Bristol, Birmingham and Cambridge.

They would like their IT system to store information of each one of their branches/rental shops. Each bike will be allocated to a shop/branch.

The system should also store information about all the employees working at a specific branch. When a booking is made, it will be assigned to an employee who will be in charge of preparing and collecting the bikes and chasing payments from customers.

Your task is to update your ERD to take into consideration these new customer requirements.

bicycle

unlock-access

Solution...

The solution for this challenge is available to full members!
Find out how to become a member:
➤ Members' Area
Tagged with: , , ,

Driving School – Entity Relationship Diagram (ERD)

learn-2-driveLearn2Drive is a driving school that consists of 5 driving instructors. They would like a new IT system that will be used to store information about their instructors, learners, lessons and vehicles used by the instructors.

When creating such a database driven system, one of the key tasks is to identify what data will need to be stored in the database to then design an ERD: Entity Relationship Diagram.

To do so, a business analyst will first collect lots of information about how the business works and about their requirements. This information will be used to:

  1. Identify the main entities for which the system will store data,
  2. For each entity, identify the pieces of data (fields) that will need to be stored on the system,
  3. Identify whether there are relationships between the different entities,
  4. Use primary keys, foreign keys and link tables when necessary to implement these relationships.

You can find out more about these key relational database concepts on this page.

road-signs-banner

Scenario

Here is the main information that should help you design the first draft of the ERD for the Learn2Drive new IT system:

  • L2D is a driving school consisting of 5 instructors. Each instructor gives driving lessons in their own car which is insured by the school.
  • Students can book lessons with any of the 5 instructors.
  • Most students will need around 30 lessons before passing their driving license.

Use our online ERD tool to design the Entity Relationship Diagram for this driving school. Note that you have not been given any information about the pieces of information to store about learners, instructors, cars and lessons so you will have to decide of the most relevant fields to include on your ERD.

Design Your ERD Online

Solution

You can view/edit our ERD for this scenario:
View Solution!

Extension Task

The driving school would like to use their system to record the attendance of learners to theory lessons. These theory lessons will take place every Monday and Wednesday at the driving school’s main office which can accommodate up to 20 students per lesson. Each lesson will be delivered to the group of students by one instructor.

Your task is to update your ERD to take into consideration these new requirements.

unlock-access

Solution...

The solution for this challenge is available to full members!
Find out how to become a member:
➤ Members' Area
Tagged with: , ,

07/02/22 Computing Challenge

As this post was published on the 7th of February 2022 (07/02/22), we would like to use a Python algorithm to solve the following arithmetic puzzle:

07-02-22-arithmetic-puzzleWrite an arithmetic expression using the number 2 exactly 7 times, using any of the following arithmetic operators: +, -, *, /, ^.

Your arithmetic expression will need to give a result of 22.

7th February 2022

Note that, for this challenge, we will not be using brackets: we will complete the operations from left to right without considering the rules of operator precedence.
So for instance:

  • Without operator precedence: 2 + 2 + 2 * 2 = 4 + 2 * 2 = 6 * 2 = 12
  • Whereas, when applying the rules of operator precedence: 2 + 2 + 2 * 2 = 2 + 2 + 4 = 4 + 4 = 8

Solution

Check the code below that uses the random library to try a range of arithmetic expressions until a solution is found…

Your task…

Write a different algorithm that does not rely on using the random library but instead tries every possible expression and outputs all the possible solutions!

In total, there should be 56 = 15,625 possible expressions to check!

unlock-access

Solution...

The solution for this challenge is available to full members!
Find out how to become a member:
➤ Members' Area

Exam Grade Boundaries Calculator

Here is a tool for teachers and students to help them automatically calculate exam grade boundaries for any exam paper. This tool can be used when the total number of marks a paper is based on is different from the official exam paper for which the grade boundaries have been defined.
Exam Grade Boundaires CalculatorOpen in New Window

Computer Networks – Noughts & Crosses

Test your knowledge of essential Computer Networks concepts by playing a game of noughts and crosses against the computer…

First you, may want to find out more about the purpose of some key network components using the following slideshow…

Need help? Check this blog post about network design to learn more about computer networks.

Take the Quiz! (open full screen)


Tagged with:

CSS Noughts & Crosses

Test your knowledge of essential CSS properties by playing a game of noughts and crosses against the computer…

Take the Quiz! (open full screen)


Tagged with:

Computer Network Acronyms – Quiz

Are you confident with your knowledge of key computer networks terminology? Check if you know what these acronyms stand for!
network-design-virtual-private-network-vpn

unlock-access

Solution...

The solution for this challenge is available to full members!
Find out how to become a member:
➤ Members' Area

Network Design Quiz

Before completing this quiz about key network design concepts including network hardware, network topology and types and characteristics of computer networks, you may want to read through the following blog post about network design.

Take the Quiz! (open full screen)


Check that your understanding of essential network design concepts by completing this quiz:

Tagged with:

Computer Hardware Acronyms Galore!

computer-hardware-desktopAre you confident with your knowledge of key computer hardware terminology? Check if you know what these acronyms stand for!

unlock-access

Solution...

The solution for this challenge is available to full members!
Find out how to become a member:
➤ Members' Area
Tagged with: ,

Using Karnaugh Maps

Karnaugh maps are a tool used to simplify complex Boolean expressions. To do so you will need to be able to

  1. Complete a Karnaugh Map for a given Boolean Expression or a given Truth Table.
  2. Identify the main blocks of 1, 2, 4, 8 or 16 consecutive 1s.
  3. Use these blocks to write down the Simplified Boolean Expression for your Karnaugh Map.

The following slideshow gives examples of how blocks can be identified on different Karnaugh Maps:

Your Task


Use a Karnaugh Map with 4 inputs to simplify each of the following Boolean expressions:
Click on the Boolean Expressions below to open our online Karnaugh Map tool


kmap-boolean-expression-1


kmap-boolean-expression-2


kmap-boolean-expression-3


unlock-access

Solution...

The solution for this challenge is available to full members!
Find out how to become a member:
➤ Members' Area