Thursday, August 24, 2017

Farras Daily Task

REPORT WEEK 1
ALGORITHM, FLOWCHART, &DATABASE



By : Farras Abiyyu Handoko
Programer Teacher : Mr. Rizki Syahputra

1.  ALGORITHM
Algorithm is Step by step to make something. For Example:

HOW TO MAKE MILK?
We need:
-       Milk powder
-       Water
-       Spoon
-       Cup
How to make?
Enter the milk powder, pour water, stir until smooth, ready to serve milk

2.  FLOWCHART
  Maybe, it just mind map of the coding. Cause I don’t know, for what flowchart is?, I have been taught some shape by my teacher. I will give you some shape that’s I have been taught.


  For example I will give to you in fourth point (FLOWCHART TASK).
3.  DATABASE A structured set of data held in a computer, especially one that is accessible in various ways.

Formally, a "database" refers to a set of related data and the way it is organized. Access to this data is usually provided by a "database management system" (DBMS) consisting of an integrated set of computer software that allows users to interact with one or more

Data Type:
·      Interger => 0,1,2,3,4,5,….
·      Float     =>2,5 ; 3,6 ; …
·      Double  =>2,44 ;5,987 ; 3,2908 ; …
·      Varchar =>uvuvwevwevwe, onyet, wengevwe, …
·      Char     =>A, I, R, …

Opereator Sign:
  •              =      :Equal
  •          ‘=     :Not Equal
  •           >=    :Bigger Than
  •             <=    :Smaller Than
  •            %     :Mod
  •           /       :Divide
  •           *      :Multiply
  •          AND: ($$)
  •         OR   : (!)  

 For example:



4.  FLOWCHART TASK
  When Tuesday I get some task, the task is flowchart task. I was told to make a task like how to find the triangle’s wide , 
  
Or how to find the circle's wide.


5.  TASKS TUESDAY
  When Tuesday I was told to answer some question like What is the algorithm?, How many types of shapes in the flowchart? Specify and function!, and manymore. Haha very delight to me, but it sucks if we are wrong of answering it.
6.  TASKS WEDNESDAY
  When Wednesday we was told to answer the question too because almost everyday we was told to answer the question or Present the previous assignment.
 
  When Tuesday our task is like create an algorithm that receives inputs of two intergers, Then show examples of the use of relational and logical operators, Create an algorithm that receives incoming distance (s) and velocity (v), then outputs the time (t) required to travel!
(Formula: t = v / s), from all of our tasks.

 The most valuable task is database like:
1. Create a new database with the name lat_mysql
2. Create a table with "employee name" that has the                            following fields:



Field
Data Type
ID
int (5) not null
Name
varchar(20) not null
Address
varchar(20) not null
Salary
int (10) not null


   Because we create a database with a terminal like :
Here maybe you can see I use Bahasa in my database, here is translate
Nama: Name
Alamat:Address
Gaji: Salary