0% found this document useful (0 votes)
13 views

INF P2 - Prak Algoritma

This document discusses the objectives, theory, and practice of algorithms. It aims to help students understand and create algorithms and program flow. Key points covered include the basic steps of algorithms like defining the problem, analyzing solutions, designing algorithms and flowcharts, coding programs, and testing outputs. Students are instructed to create algorithms for calculating circle circumference and determining odd/even numbers, and to define the problems, analyze solutions, design flowcharts, code programs, and submit their work.

Uploaded by

Raditya Ega
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

INF P2 - Prak Algoritma

This document discusses the objectives, theory, and practice of algorithms. It aims to help students understand and create algorithms and program flow. Key points covered include the basic steps of algorithms like defining the problem, analyzing solutions, designing algorithms and flowcharts, coding programs, and testing outputs. Students are instructed to create algorithms for calculating circle circumference and determining odd/even numbers, and to define the problems, analyze solutions, design flowcharts, code programs, and submit their work.

Uploaded by

Raditya Ega
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PRAKTIKUM 2

ALGORITMA

2.1 Tujuan
Setelah mengikuti praktikum mahasiswa diharapkan dapat mengetahui dan memahami algoritma
dan pembuatannya, serta alur pembuatan program.

2.2 Dasar Teori


A. Step By Step Algoritma
Langkah-langkah sistematis dasar dalam menyelesaikan permasalahan pemrograman:
1. Definisi masalah
2. Analisis dan membuat rumusan pemecahan masalah
3. Desain Algoritma dan Representasi
4. Pembuatan program, Uji Coba dan pembuatan dokumentasi
B. Definisi Masalah
a. Masalah harus terdefinisi dengan baik untuk mendapatkan Input dan Output.
b. Contoh : Buatlah sebuah algoritma untuk menampilkan “Selamat Datang di UST”.
C. Analisis Masalah
a. Umumnya dibagi menjadi beberapa bagian kecil dan ringkas.
b. Contoh :
Problem : Menampilkan kalimat “Selamat Datang di UST”
Analsisi Masalah
• Input : Selamat Datang di UST
• Proses : -
• Output : Tampilan “Selamat Datang di UST”
D. Desain Algortima (Flowchart)

Start

Print “Selamat
Datang di UST”

Finish

MODUL PRAKTIKUM DASAR PEMROGRAMAN | Informatika


2.3 Praktikum
1. Buatlah algoritma untuk:
a. Menghitung keliling lingkaran
b. Menentukan bilangan ganjil dan genap
2. Dari masing-masing algoritma buatlah :
a. Definisi masalah
b. Analisis masalah
c. Desain Algoritma (Flowchart)
d. Pembuatan Program :
• Source code program (ex: menggunakan CodeBlocks)
• Tampilkan hasil running/ output program.

2.4 Evaluasi
Dari hasil praktikum 2.3 buatlah dalam bentuk document (Word/PDF) dilengkapi NIM, NAMA,
PRODI/KELAS dan upload document ke link “Evaluasi Praktikum 2” di https://sipedar.ustjogja.ac.id/.

MODUL PRAKTIKUM DASAR PEMROGRAMAN | Informatika

You might also like