More results...

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

TCP/IP Protocols and Packet Switching

The TCP/IP protocols are a suite of protocols used to support different types of communication between devices over an IP network such as the Internet. These protocols resulted from research and development conducted by the US Defense Advanced Research Projects

MI6: Mission Alpha

This is a confidential mission with the highest level of priority. The MI6 needs your skill to complete a very confidential mission: Mission Code: Alpha-01 Mission Priority: Critical Mission Context: The MI6 network has been hacked! As a result, all

Dice Score Frequency Analysis

In this challenge we will use a Python algorithm to perform a frequency analysis of the score obtained when throwing a set of two dice. Frequency analysis using 1 dice Let’s consider a single 6-sided dice. When using single dice,

Random Odd and Even Numbers

In this challenge we will focus on using the random library to generate random numbers in Python. The randint() function is used to generate a random integer (whole number) within a given range. import random number = randint(1,100) The above

Multi-threading in Python

In this blog post we will investigate how to implement concurrent processing in a Python program to allow multiple processes to be executed concurrently. To do so will create and run multiple threads in our program and will need to

The Legend of Pachacuti’s Golden Shield

A few weeks ago, a group of British trekkers stumbled upon the remains of what is believed to be an undiscovered Inca temple in the middle of the Peruvian rainforest. One of their most unexplained discoveries is a collection of

The School Lockers Puzzle

On the first day of school, the principal of Locker High school decides to conduct an experiment. The school has exactly 1,000 students and 1,000 lockers all lined up alongside the main corridor of the school. The principal asks the

2D Dice Grid Scoring Algorithm

This challenge is based on a 4×4 grid of dice (16 dice in total). Each game starts by shaking the grid to generate a new grid of 16 values. All dice are 6-sided dice, generating random values between 1 and

Diagonal Difference Calculator

Let’s consider a square matrix of n x n. (n columns and n rows). The diagonal difference of a square matrix is the absolute difference between the sums of its diagonal. Let’s look at an example based on the following

Wind Speed Conversions and the Beaufort Scale

Before going to sea, any sailor should check the marine weather forecast to check on different aspects of the weather including the direction and strength of the wind (wind speed). The wind speed can be measured using different units such