String Operations

Requirements: Linux Distribution python3 A Shell Interface My Setup: Debian GNU/Linux python3 BASH Strings are extremely flexible in python. They are the default data type for character strings. Since there is no character type, a character is represented as a string with the length of one. Along with that, you can assign strings with either […]

Modules

Requirements: Linux Distribution python3 A Shell Interface My Setup: Debian GNU/Linux and Arch Linux python3 BASH During multiple examples , I have shown an import keyword that imports a module into the code. Modules are separate files that have their own functions in them. There may come a time where you may want or need […]

Functions

Requirements: Linux Distribution python3 A Shell Interface My Setup: Debian GNU/Linux python3 BASH A function is a block of code which only runs when it is called. Functions are written when you have multiple instructions that you may want to commonly call. Rather then writing the instructions over and over, you can create a function […]

Loops

Requirements: Linux Distribution python3 A Shell Interface My Setup: Debian GNU/Linux python3 BASH Sometimes you need to repeat a couple functions or statements multiple times.For this, you would use a looping mechanism. There are two mechanisms that pythonprovides: for – loop used when the amount of times you need to repeat a block of code […]

Conditionals

Requirements:Linux Distributionpython3A Shell Interface My Setup:Debian GNU/Linux for some examples, ArchLinux for others.python3BASH Normally within a program, when you want to do something if a condition is met, you would use conditional statements. There are a couple conditional statements that python supports. This includes : if – “If this statement is true, do this” elif […]

Variables And Datatypes

Requirements:1. Linux Distribution2. python33. A Shell Interface My Setup:1. Debian GNU/Linux2. python33. BASH Despite the fact that python is a dynamically typed, variables still have a type to them. Variables are locations in memory which you may store values to be used within your program. The fundamental data types consist of : None – object […]

Introduction To Python

Requirements:Linux Distributionpython3A Shell Interface My Setup:Debian GNU/Linuxpython3BASH Python is a general-purpose programming language created by Guido Van Rossum. It is an interpreted language. This means that when you run a python program, it is run through an interpreter, which will parse the program on a line by line basis, rather then a compiled programs, which […]

Variables

Requirements:Linux DistributionJava Development Kit (JDK)Java Runtime Environment (JRE)A Shell Interface My Setup:Debian GNU/LinuxjavacBASH Variables are pieces of memory which can hold a value. They are used todescribe changing values of a program. Primitive Types In Java: boolean – a variable which represents either the value trueor false. One bit. char – a variable which represents […]

Introduction To Java

Requirements:Linux DistributionJava Development Kit (JDK)Java Runtime Environment (JRE)A Shell Interface My Setup:Debian GNU/LinuxjavacBASH The Java programming language was developed by Sun Microsystems Inc in 1991. It later bought by Oracle Corporation. It was developed by James Gosling and Patrick Naughton. It is a class-based object oriented programming language which runs on top of a virtual […]

Linked Lists in C

Linked lists are a linear collection of elements whose order order is not given by their physical placement in memory. Instead, each element contains a member variable which is a pointer to the next element. For example: In this section, i will be going over algorithms to help manipulate these data structures, as well as […]