Pages

Categories

Graph Theory

Graph Theory Published on 24 March, 2014 Graph theory is studying the connections/relation between entities to produce a model. A basic graph contains vertices/nodes and edges that show the relation between them. they can be used to visualise how a network (roads, cables, rooms/doors) is connected. Each graph contains...

Cryptography

Cryptography Published on 22 March, 2014 Cryptography is a technique used to securely communicate a message between two parties without a third party being able to decipher the true message. Definitions:  Alice & Bob – The parties that wishes to send/receive a message securely.  Eve – The...

C++ Obfuscated code

C++ Obfuscated code Published on 11 March, 2014 while on IRC, some one linked this piece of C++ code: Selec All Code: 1 int main()<%<:]{%>();%> It’s a perfectly valid piece of code too! It compiles, and as expected has no output. But how does it work? It was puzzling...

Queue

Queue Published on 10 March, 2014 The queue data structure is a first in, first out type that has two core operations, enqueue, and dequeue. The queue needs to keep track of two pieces of data, the head of the queue, and the tail of the queue. The head...

Hash Table

Hash Table Published on 10 March, 2014 A hash table is a data structure that stores two components in each element, the key, and the value. They can also be referred to as hash maps, dictionaries, or associative arrays. The primary benefit of a hash table is the lookup...

Binary tree

Binary Tree Published on 10 March, 2014 A binary tree is a recursive data structure where data is stored in a node that has a value, and two pointers going left and right which go to another node. They have a similar visual representation of a tree, starting from...

Stack

Stack Published on 10 March, 2014 The stack data structure is a last in first out (LIFO) type that has two core operations, push, and pop. Only access to the top of the stack is available and there is no way to randomly access/modify an element in the middle...

Representing Negative Numbers in Binary

Representing Negative Numbers in Binary Published on 12 December, 2013 Binary is the fundamental number system used on computers, as it provides a way to denote if some thing is “on”, or “off”. Binary can also be referred to as the base two number system, where we humans commonly...

Android Development

Android Development Published on 5 February, 2012 I recently got an ASUS Slider android tablet, it’s essentially a 10.1inch touch screen tablet with a slide out keyboard. This morning I gave a shot at making a small application for it. Setting up the development software was very time consuming,...