Welcome!



I'm Alexander Rahardjo. Here is some tutorials with its algorithms and source codes for solving some programming problem with some programming languages. Check this out and enjoy to learn programming with this site. For question you can ask by the "Visitors" box..Thanks






[Misc] Scratch

(Jul 15, 2008)


Scratch is a new programming language that makes it easy to create your own interactive stories, animations, games, music, and art -- and share your creations on the web.

Scratch is designed to help young people (ages 8 and up) develop 21st century learning skills. As they create Scratch projects, young people learn important mathematical and computational ideas, while also gaining a deeper understanding of the process of design.

Scratch is developed by the Lifelong Kindergarten group at the MIT Media Lab, in collaboration with the UCLA Graduate School of Education and Information Studies, with financial support from the National Science Foundation, Intel Foundation, and MIT Media Lab research consortia.

Scratch is available free of charge, go to Download.
Currently available for Mac OSX and Windows ( system requirements)

To find more about the ideas underlying Scratch, visit our page for Educators.

To learn how to use Scratch, go to Support.

To read research papers on Scratch, see Research .

To find out who is working on Scratch, see the Credits.

To read what people are saying about Scratch, see Quotes.

To hear the latest Scratch news stories, visit News.

adopted form: http://scratch.mit.edu


[ Read More ]

Posted in Label: , , 0 komentar Diposting oleh Alexander Rahardjo  

There is a program for Fibonacci Number normal and abnormal


/*Fibonacci Number
author http://www.programming-codes.co.cc*/

import java.util.*;
class Fibonacci{
public static void main(String args[]){
int a,b,c,input;
Scanner read = new Scanner(System.in);
a=0;
b=1;
c=1;
System.out.print(" *Program Fibonacci Normal dan Tak Normal*\n\n");
System.out.print("Masukkan banyaknya deret fibonacci= ");
input = read.nextInt();
System.out.print("Deret Fibonacci Normal= ");
for(int i=1;i<=input;i++){
System.out.print(c+" ");
c = a+b;
a = b;
b = c;
}
a=0;
b=1;
c=1;
System.out.print("\nDeret Fibonacci Tak Normal= ");
for(int i=1;i<=input;i++){
if (i % 2 == 0)
{
c=c*(-1);
}
else
{
c=c*1;
}
System.out.print(c+" ");
c = a+b;
a = b;
b = c;
}
System.out.println();
}
}



Download the code here


[ Read More ]

Posted in Label: , , 0 komentar Diposting oleh Alexander Rahardjo  

There is a program for Fibonacci Number normal and abnormal


#include "stdio.h"
#include "conio.h"

int main(void)
{
int a,b,c,i,input;
a=0;
b=1;
c=1;
printf("Masukkan banyaknya deret fibonacci= ");
scanf("%d",&input);
printf("Deret Fibonacci= ");
for (i=1;i<=input;i++)
{
printf("%d ",c);
c=a+b;
a=b;
b=c;
}
getch();
return (0);
}




Download the code here


[ Read More ]

Posted in Label: , , 0 komentar Diposting oleh Alexander Rahardjo  

In mathematics, the Fibonacci numbers are a sequence of numbers named after Leonardo of Pisa, known as Fibonacci. Fibonacci's 1202 book Liber Abaci introduced the sequence to Western European mathematics, although the sequence had been previously described in Indian mathematics.[2][3]

The first number of the sequence is 0, the second number is 1, and each subsequent number is equal to the sum of the previous two numbers of the sequence itself. In mathematical terms, it is defined by the following recurrence relation:

1. \\ \end{cases} " src="http://upload.wikimedia.org/math/7/6/f/76f99713cf111eb035d908228c351710.png">

That is, after two starting values, each number is the sum of the two preceding numbers. The first Fibonacci numbers (sequence A000045 in OEIS), also denoted as Fn, for n = 0, 1, 2, … ,20 are:[4][5]

F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F17 F18 F19 F20
0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765





Every 3rd number of the sequence is even and more generally, every kth number of the sequence is a multiple of Fk.

The sequence extended to negative index n satisfies Fn = Fn−1 + Fn−2 for all integers n, and F−n = (−1)n+1Fn:

.., −8, 5, −3, 2, −1, 1, followed by the sequence above.


[ Read More ]

Posted in Label: 0 komentar Diposting oleh Alexander Rahardjo  

[Java] Hello World

(Jul 10, 2008)

Here is a code of Java language for our beginning>>



Download the code here


[ Read More ]

Posted in Label: , , 0 komentar Diposting oleh Alexander Rahardjo  

Here is a code of C language for our beginning>>



Download the code here


[ Read More ]

Posted in Label: , , 0 komentar Diposting oleh Alexander Rahardjo  

A compiler is a computer program that transforms human readable source code of another computer program into the machine readable code that a CPU can execute.


The act of transforming source code into machine code is called "compilation". This is the opposite to the process of interpretation.

Example of the compiler is Java, C and soon

-C-

What is C programming language?

DEFINITION- C is an imperative (procedural) systems implementation language. Its design goals were for it to be compiled using a relatively straightforward compiler, p

rovide low-level access to memory, provide language constructs that map efficiently to machine instructions, and require minimal run-time support. C was therefore useful for many applications that had formerly been coded in assembly language.

Despite its low-level capabilities, the language was designed to encourage machine-independent programming. A standards-compliant and portably written C program can be compiled for a very wide variety of computer platforms and operating systems with minimal change to its source code. The language has become available on a very wide range of platforms, from embedded microcontrollers to supercomputers.

-Java-

What is Java programming language?

DEFINITION - Java is a programming language originally developed by Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives

much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture.

The original and reference implementation Java compilers, virtual machines, and class libraries were developed by Sun from 1995. As of May 2007, in compliance with the specifications of the Java Community Process, Sun made available most of their Java technologies as free software under the GNU General Public License. Others have also developed alternative implementations of these Sun technologies, such as the GNU Compiler for Java and GNU Classpath.




[ Read More ]

Posted in Label: 0 komentar Diposting oleh Alexander Rahardjo  

What is Source Code? Before we learn it, we should know well about it, here is the definiton of source code



DEFINITION - Source code and object code refer to the "before" and "after" versions of a computer program that is compiled (see compiler) before it is ready to run in a computer. The source code consists of the programming statements that are created by a programmer with a text editor or a visual programming tool and then saved in a file. For example, a programmer using the C language types in a desired sequence of C language statements using a text editor and then saves them as a named file. This file is said to contain the source code. It is now ready to be compiled with a C compiler and the resulting output, the compiled file, is often referred to as object code. The object code file contains a sequence of instructions that the processor can understand but that is difficult for a human to read or modify. For this reason and because even debugged programs often need some later enhancement, the source code is the most permanent form of the program.

When you purchase or receive operating system or application software, it is usually in the form of compiled object code and the source code is not included. Proprietary software vendors usually don't want you to try to improve their code since this may created additional service costs for them. Lately, there is a movement to develop software (Linux is an example) that is open to further improvement and here the source code is provided.

In large program development environments, there are often management systems that help programmers separate and keep track of different states and levels of code files. For script (noncompiled or interpreted) program languages, such as JavaScript, the terms source code and object code do not apply since there is only one form of the code.


[ Read More ]

Posted in Label: 0 komentar Diposting oleh Alexander Rahardjo  

 



Copyright 2005-2007. Hello Wiki designed by Fen, Blogger Templates by Blogcrowds
Last Edited by PhOeNiXxX ™
.