Skip to main content

NumPy Array Sorting

In this tutorial you will learn: What is array sorting? Sorting 1D and 2D arrays Sorting 3D arrays Array Sorting Array sorting is carried out to arrange the elements of the array in an ordered sequence. Array sorting may be carried out alphabetically or numerically. Array sorting facilitates and speeds up the binary array search. In NumPy array sorting is carried out using sort() function. The

Random Name Generator Using JavaScript

In this code we will tackle about Random Name Generator using JavaScript. The program will generate a random character from two array objects. The trick of this code is to use Math() in order to randomize the array position. To learn more about this, just follow the steps below. Getting started: First you have to download bootstrap framework, this is the link for the bootstrap that I used for the

NumPy Search Sort

In this tutorial you will learn: NumPy searchsorted function() How to use NumPy searchsorted? Python syntax NumPy searchsorted() function NumPy searchsorted() function works well for the sorted arrays as this algorithm specifies the index into which the number should be inserted inorder to maintain a sequence and search order of the array. The seachsorted() alogirthm performs a binary search as it

Get Time Difference Between Two Date Using PHP

In this tutorial we will create a Get Time Difference Between Two Date using PHP. The code will automatically calculate the time between the two given date. This is a user-friendly kind of program feel free to modify it. To learn more about this tutorial, just follow the step below. Getting Started: First you have to download & install XAMPP or any local server that run PHP scripts. Here's the

TicTacToe Game in Python GUI

About the Project The TicTacToe GUI game starts with a GUI board. First, the player has to click on any box to start the game. It contains the Minimax algorithm, which is a decision rule used for a two-player game. You can also see the score of the players at the bottom of the board. A simple 2D GUI is provided for comfortable gameplay. The gameplay design is so simple that users won’t find it

NumPy Where Function

In this tutorial you will learn: What is array search? NumPy where() function Python Syntax Array Search Array search is carried out to check whether a specific element (alphabet / word / number) exist in an array or not. Generally all the searching algorithms return index of the number being searched and procedure involves iterating through each element of the array. There are two methods in

Flappy Bird Game Using Pygame

Flappy Bird Game with Source Code is a Python program that is a single-player arcade game that is similar to the ones from Android and IOS system. This program was developed using Python language. The program is very simple, the player can control the bird by clicking the screen with left click in order to move the bird upward. The player must survive until the end to get higher score than anyone

NumPy Array Split

In this tutorial you will learn: What is Array split? Array Spliting using array_split() function Array splitting using split() function Array split using hsplit(), vsplit() and dsplit() functions Array Split Array splitting is the process opposite to the array joining. In array splitting the given array is distributed into number of predetermined sub arrays, these sub-arrays can be further used

Student Result Management System

Student Result Management System with Source Code is a PHP project that can manage the student remarks digitally. The program was made by the use of these languages: PHP, MySQLi and Javascript. The system is easy to manage, the admin is the only one authorize to manage all the information within the system, The admin can add new student, create class, add subjects, and generate student result. The

Simple File Management System

Simple File Management System with Source Code is a C++ program that can dynamically manipulate a file inside a folder. This application was developed with the use of C++ language. The system is very straightforward, the user must enter a certain key in order to access all the functions within the system. The use can create new file, display the list of file, estimate the actual file size, and