More results...

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

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

Computer Science Wordle!

Have a go at guessing the hidden computer science keywords…

5 Letters 6 Letters


Tagged with:

Office Network Design Task

office-networkA small IT company would like your help to improve the performance of their network.

They have a range of network components, all connected using ethernet cables but are not too sure how all the equipment are connected together. Before upgrading their network, they would like you to draw a diagram representing their network topology.

Luckily, all the ethernet ports on all the equipment used in the office have been clearly labelled, so these labels should help you draw an accurate design/topology of this network.

To draw the network design, you will need to use our network design tool:
Design Your Own Network Online

Here is all the information you will need to design this network.

Floor PlanMain SwitchRouterFirewallWAPHub
The network consists of:

  • 8 Desktop computers spread across two rooms,
  • 2 inkjet printers,
  • A server rack with a file server, an e-mail server, a web-server and a backup server,
  • A main switch (in the server room),
  • A hub (in the extension room),
  • A router,
  • A firewall,
  • A Wireless Access Point (in the main office area).

The employees of the office can also connect their smartphones and laptops wirelessly.

Here is the floor plan of the office:
office-floor-plan

Here is a picture of the main switch, located in the server room. The labels on this switch should help you design the network topology. (Click on the picture to zoom in).
Office-Network-main-switch
Here is a picture of the router, located in the server room. The labels on this router should help you design the network topology. (Click on the picture to zoom in).
Office-Network-ADSL-Router
Here is a picture of the firewall, located in the server room. The labels on this firewall should help you design the network topology. (Click on the picture to zoom in).
Office-Network-Firewall
Here is a picture of the Wireless Access Point (WAP), located in the main office. The label on this WAP should help you design the network topology. (Click on the picture to zoom in).
Office-Network-wireless-access-point
Here is a picture of the network hub, located in the extension room. The labels on this hub should help you design the network topology. (Click on the picture to zoom in).
Office-Network-hub

Improving the Network Performance


The employees find that the network performance is not great especially when:

  • Accessing the Internet
  • Connecting their laptops and smartphones wirelessly in the extension room.

To improve the performance of this network, the office have contacted their Internet Service Provider and upgraded their Internet Connection to a higher bandwidth.

They were also told that, installing a cache server could improve the performance of the network when employees access the Internet.

Finally, they found out that the network Wi-Fi signal in the extension room was fairly weak due to the distance to the Wireless Access Point and the presence of partition walls between the extension room and the main office area where the WAP is located. They were advised to install an extra Wireless Access Point in the extension room.

Could you upgrade your network diagram by adding:

  • A cache server, connected to the main switch,
  • An extra Wireless Access Point (WAP), connected to the main switch.
unlock-access

Solution...

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