laporan modul 1 objek database€¦ · web viewarjuna wika pratama - 171. 803007. rpl 2 . smk idn...
Post on 20-Sep-2020
6 Views
Preview:
TRANSCRIPT
REPORT WEEK 1ALGOTIHM AND DATABASE
Teacher :
Rizki Syaputra, S.ST
Write by :
Arjuna wika pratama - 171803007
RPL 2
SMK IDN MADINATUL ILMI
REKAYASA PERANGKAT LUNAK (RPL)
T.A 2017 /2018
MODUL
ALGHORITHM
In mathematics and computer science, an algorithm (/ˈælɡərɪðəm/ is a self-contained sequence of actions to be performed. Algorithms can perform calculation, data processing and automated reasoning tasks.An algorithm is an effective method that can be expressed within a finite amount of space and timeand in a well-defined formal language[2] for calculating a function.[ Starting from an initial state and initial input (perhaps empty), the instructions describe a computation that, when executed, proceeds through a finitenumber of well-defined successive states, eventually producing "output"and terminating at a final ending state. The transition from one state to the next is not necessarily deterministic; some algorithms, known as randomized algorithms, incorporate random input.The concept of algorithm has existed for centuries; however, a partial
formalization of what would become the modern algorithm began
with attempts to solve the Entscheidungsproblem (the "decision
problem") posed by David Hilbert in 1928. Subsequent formalizations
were framed as attempts to define "effective calculability" or
"effective method";those formalizations included the Gödel–
Herbrand–Kleene recursive functions of 1930, 1934 and 1935,
Alonzo Church's lambda calculus of 1936, Emil Post's "Formulation
1" of 1936, and Alan Turing's Turing machines of 1936–7 and 1939.
Giving a formal definition of algorithms, corresponding to the
intuitive notion, remains a challenging problem.
1. PURPOSE
Practice about knowing alghorihm
Practice knowing what a flowchart and how use it based
on basic in data base
Practice knowing about create database on terminal in
XAMPP
Practice to work the quiz in last meeting
MODUL I
Flowchart
2. Basic teori
1. Flow
Flow is connector between prosedures and processes
2 .Connector
Connector is symblos out or sign in proseduresses or
processes inside sheet or the same page
3.Offline connector
Offline connector is. symblos out or sign in proseduresses or
processes inside sheet or not same page
Processing symblos:
Symbols that describe or indicate the type of processing operation in a procedure Process
Symbol showing the processing that the computer is doing
Descision
is Symbols for conditions that will generate some possible answers or actions
Prefined process
Symbol u prepares the storage to be used as a processing place in storage
1.
2.
Terminal
Symbol for the beginning or end of a program
Manual input
Symbol to enter data manually online keyboard
Input output symblos:
The symbol used to denote the type of equipment used as the input / output medium
Input – output
A symbol that states the input or output process regardless of the type of equipment
Modul
Database
Data base
1. Online data
2. Offline data
Example online data base ;
My SQL
SQL LITE ( OFFLINE DATA )
Oracle
ORM
Fire base
Data type :
Interger : 0,1,2,3,4,5,6 and so on Float : 2,5 and so on Double : 2,55 and so on Varchar : RIZKI , ARJUNA Char : R,I,Z,K,I
Operator sign :
= : equal != : not equal >= : bigger than
<= : small than % : mod / : divide * : multiply $$ : and ! : or
Bolean:
true : == false : !=
the name of application is XAMPP , you can start all
you must find terminal for ready make database.
you can write like that in your terminal after that you can klik enter in your keyboard
you can write in terminal “show databases;”
create database
example :
use the your name database
create table
desc the data base; for insert your database
select your database
insert multiple data
select coloumn
MODUL
QuizFLOWCHART
Make a flowchart to determine the circumference of the square
Make 3 or more flowchart symbol and the functionPrefined process :Symbol u prepares the storage to be used as a
processing place in storage
3.
4.
Terminal :Symbol for the beginning or end of a program
Manual input : Symbol to enter data manually online keyboard
Make a flowchart about whether a number is an odd or even number.
Create an algorithm to calculate the area of a triangle
Create an algorithm to calculate the area of a triangle
Create an algorithm that asks for input 5 pieces of radius then outputs the area of the circle
1. create a neww database name is lat_mysql2. create a table with a name of the employee who has the following fields:
Kolom / Field
Tipe data
ID int (5) not nullNama varchar(20) not nullAlamat varchar(20) not nullGaji int (10) not null
3. enter following data :
ID Nama Alamat Gaji100 Arif Surabaya 10000101 Andi Jakarta 14000102 Burhan Malang 12000103 Fikri Madiun 15000104 Fariz Malang 17000
105 Sigit Surabaya 20000106 Ifan Kediri 16000107 Hanif Yogyakarta 12000108 Zakiuddin Surabaya 21000
Make a flowchart to determine a student's Pass from his or her average grade. If the student's average score is> 70 then the student is graduated. If the average score is <70 then the student does NOT PASS. Input values of Mathematics, Bahasa Indonesia, English
Create an algorithm that receives incoming distance (s) and velocity (v), then outputs the time (t) required to travelFormula: t = v / s
Create algorithms and programs that include two integer values 10 and 6. Then perform arithmetic operations to two numbers
Create a flowchart to change the temperature in Fahrenheit to a temperature in Celsius with the formula ° C = 5/9 x (° F -32)
top related