Langsung ke konten utama

Postingan

Sorting & Searching

Sorting & Searching SUB TOPICS : Bubble Sort Selection Sort Insertion Sort Quick Sort Merge Sort Linear Search Binary Search Interpolation Search Sorting •        Sorting needs to speed up searching operation in a list. •        Sorting type: –       Ascending –       Descending Sorting algorithm: 1. Internal sorting     All data to be sorted are loaded to RAM 2. External sorting     Sorting process using secondary storage •        Simple: –                       Bubble sort –                       Selection sort –          ...
Postingan terbaru

File Processing

FILE PROCESSING SUB TOPICS : Files and Streams File Definition Open File Close File Input File Output File Files and Streams Streams Definition •       To keep key in data from keyboard need to be saved at secondary storage device as a data file. •       Stream is a sequence of character. All input and output data is a stream. C sees file as a stream. •        When a C program run, there are three (3) standard streams activated: 1. Standard Input Stream     Controlling input stream from keyboard 2. Standard Output Stream     Controlling output stream to the monitor 3. Standard Error Stream     Controlling the error messaging •        Each stream associated with a file. File Definition •        File is a collection of record •    ...

Cloud Computing Services

Cloud Computing Services What is Cloud? Cloud refers to a network or internet, which is present at certain place which is accessible from any location over public network or private network Cloud Computing refers to manage, configuring, and accessing the applications online. It offer online data storage, compute, network infrastructure and application which delivered as a network services. Cloud computing tends to separate infrastructure with business, whereas terms "infrastructure" refer to hardware, networking, and software which managed as one entity. And terms "Business" refers to procedural workflow, strategic enforcement, etc Deployment Examples Social networking : Facebook, Instagram, LinkedIn, etc. Data sharing / collaboration : Email, Dropbox, etc. Education : Quipper, Smart Campus, E-Learning, E-Library, etc. Business : Office application : Online shop portal, Google doc, Personal / Corporate                  ...

Function and Recursion

FUNCTION AND RECURSION SUB TOPICS : Modular Programming Function Identifier Scooping Passing Parameter Recursion Definition Recursive Function Iterative vs Recursive Pointer Definition •        Program is divided into modules •        Module in C programming language is implemented using function •        Function is formed through grouping some statements to do a particular job •        Module is needed when a certain block of statement frequently used by other distinct code in a program •        Also called Sub-Program   •        Advantages of using Modules: 1.     Top-down design with sub goal, huge program divided into smaller modules 2.     Can be done by more than one developer/ programmer 3.     Easier to debug, a...