Wednesday 22 January 2014
Burung
Burung-burung membutuhkan tempat untuk makan (pangan), tempat untuk bermain, dan tempat untuk berlindung (papan).
Burung menyukai biji-bijian dan bunga yang bisa diserap madunya atau sebagai makananya. Berikut kompilasinya.
Pohon yang bisa memikat burung-burung untuk hinggap:
1. Sawo kecik,
2. Salam
3. Sarikaya
4. Nangka
5. Rambutan
6. Talok
7. Jambu ari
8. Jamblang
9. Durian
10. Jambu air
11. Belimbing
12. Kemang.
Tanaman hias yang disukai oleh burung:
1. Dadap merah
2. Bunga kupu-kupu
3. Sikat botol
4. Kamboja
5. Bambu kuning
6. Kenanga
7. Nusa indah
8. Palem merah
9. Asoka.
Pohon-pohon penyedia material sarang
1. Pohon aren
2. Cemara
Burung menyukai biji-bijian dan bunga yang bisa diserap madunya atau sebagai makananya. Berikut kompilasinya.
Pohon yang bisa memikat burung-burung untuk hinggap:
1. Sawo kecik,
2. Salam
3. Sarikaya
4. Nangka
5. Rambutan
6. Talok
7. Jambu ari
8. Jamblang
9. Durian
10. Jambu air
11. Belimbing
12. Kemang.
Tanaman hias yang disukai oleh burung:
1. Dadap merah
2. Bunga kupu-kupu
3. Sikat botol
4. Kamboja
5. Bambu kuning
6. Kenanga
7. Nusa indah
8. Palem merah
9. Asoka.
Pohon-pohon penyedia material sarang
1. Pohon aren
2. Cemara
Sunday 19 January 2014
Translator(compiler) vs interpreter
Interpreter
- Does what the program says to do
Compilers
- Convert from high-level, human readable language into a lower-level language (sometimes as low as native machine code)
CPU
- the fundamental operation of a CPU is to execute a sequence of stored instructions called a program. The program are kept in some kind of computer memory.
- CPU hanya mengerti bahasa biner (bahasa mesin). Jadi program perlu dikonversi ke bahasa mesin. Siapa yang mengkonversikan program itu ke bahasa biner?
- four steps: fetch, decode, execute, and writeback
: fetch: take the program from memory
- Does what the program says to do
Compilers
- Convert from high-level, human readable language into a lower-level language (sometimes as low as native machine code)
CPU
- the fundamental operation of a CPU is to execute a sequence of stored instructions called a program. The program are kept in some kind of computer memory.
- CPU hanya mengerti bahasa biner (bahasa mesin). Jadi program perlu dikonversi ke bahasa mesin. Siapa yang mengkonversikan program itu ke bahasa biner?
- four steps: fetch, decode, execute, and writeback
: fetch: take the program from memory
Chapter 9 Subroutine
Chapter 10 Array
Chapter 8 Turtle Graphics
- Moving and drawing
- Drawing square
- Changing color
GraphicsWindow.Show()
Setting up graphics window
Graphicswindow.backgroundcolor = "SteelBlue"
Graphicswindow.Title = "My Graphic Window"
GraphicsWindow.Width = 320
GraphicsWindow.Height = 200
GraphicsWindow.show()
We can draw line, shapes, text and picture.
Drawing lines
Example drawing line:
GraphicsWindow.DrawLine(0,0,10,10)
Drawing shapes:
Shapes = rectangle, ellipse, triangle
Example drawing rectangle:
GraphicsWindow.DrawRectangle(100,100,10,10)
Example drawing ellipse
GraphicsWindow.DrawEllipse(10,10,100,100)
Example drawing triangle
GraphicsWindow.drawtriangle(200,200,300,300,400,400)
Change shapes line color:
graphicswindow.
Filling shapes
Shapes = rectangle, ellipse, triangle
Example filling rectangle shapes:
GraphicsWindow.fillrectangle(
Example filling ellipse shapes:
GraphicsWindow.fillellipse(
Example filling triangle ellipse
Change shapes brush color
GraphicsWindow.Brushcolor = "Green"
Usage:
GraphicsWindow.Drawline(starting x coordinates, starting y coordinate, ending x coordinate, ending y coordinate)
Example:
- Changing pen color
GraphicsWindow.pencolor = "Green"
or
GraphicsWindow.pencolor = #FF0000
- Changing pen thickness
GraphicsWindow.PenWidth = 10
- Drawing and filling shapes
Draw operations, and
Filling operations
Draw operations: draw the outline of the shape using a pen
Filling opearations: paint the shape using brush
Chapter 5 Loops
there are usually several ways of doing the same thing.
1. For.. Endfor
For loops run for a pre-defined number of times.
For i = 0 to 4
textwindow.writeline(i)
endfor
for i = 0 to 4 step 2
textwindow.writeline(i)
endfor
2. While loop
While loop runs until a given condition achieved / true.
Chapter 4 Conditions and branching
If(condition) then ... endif
If(condition) then ... endif
Chapter 3
Chapter 2 Understanding Our First Program
Chapter 1
Chapter 10 Array
Chapter 8 Turtle Graphics
- Moving and drawing
- Drawing square
- Changing color
Chapter 6 Beginning graphics
Showing graphicsWindowGraphicsWindow.Show()
Setting up graphics window
Graphicswindow.backgroundcolor = "SteelBlue"
Graphicswindow.Title = "My Graphic Window"
GraphicsWindow.Width = 320
GraphicsWindow.Height = 200
GraphicsWindow.show()
We can draw line, shapes, text and picture.
Drawing lines
Example drawing line:
GraphicsWindow.DrawLine(0,0,10,10)
Drawing shapes:
Shapes = rectangle, ellipse, triangle
Example drawing rectangle:
GraphicsWindow.DrawRectangle(100,100,10,10)
Example drawing ellipse
GraphicsWindow.DrawEllipse(10,10,100,100)
Example drawing triangle
GraphicsWindow.drawtriangle(200,200,300,300,400,400)
Change shapes line color:
graphicswindow.
Filling shapes
Shapes = rectangle, ellipse, triangle
Example filling rectangle shapes:
GraphicsWindow.fillrectangle(
Example filling ellipse shapes:
GraphicsWindow.fillellipse(
Example filling triangle ellipse
Change shapes brush color
GraphicsWindow.Brushcolor = "Green"
Usage:
GraphicsWindow.Drawline(starting x coordinates, starting y coordinate, ending x coordinate, ending y coordinate)
Example:
- Changing pen color
GraphicsWindow.pencolor = "Green"
or
GraphicsWindow.pencolor = #FF0000
- Changing pen thickness
GraphicsWindow.PenWidth = 10
- Drawing and filling shapes
Draw operations, and
Filling operations
Draw operations: draw the outline of the shape using a pen
Filling opearations: paint the shape using brush
Chapter 5 Loops
there are usually several ways of doing the same thing.
1. For.. Endfor
For loops run for a pre-defined number of times.
For i = 0 to 4
textwindow.writeline(i)
endfor
for i = 0 to 4 step 2
textwindow.writeline(i)
endfor
2. While loop
While loop runs until a given condition achieved / true.
Chapter 4 Conditions and branching
If(condition) then ... endif
If(condition) then ... endif
Chapter 3
Chapter 2 Understanding Our First Program
Chapter 1
Saturday 18 January 2014
Subscribe to:
Posts (Atom)