Royan Abdul Kadir Khanafi_16560012_uts_tk_5a.docx

  • Uploaded by: irchasarr
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Royan Abdul Kadir Khanafi_16560012_uts_tk_5a.docx as PDF for free.

More details

  • Words: 119
  • Pages: 6
UTS

DISUSUN OLEH : NPM

: 16560012

Nama

: Royan Abdul Kadir Khanafi

Fakultas

: Teknik Informatika 5A

Mata Kuliah

: Teknik Kompilasi

UNIVERSITAS TAMA JAGAKARSA

SOAL

JAWAB 1. A) Brute Force

String = (b+b*b) S→ (E) (E+T) (T+T*V) (V+V*b) (b+b*b)

B) Recrusive Descent

String = (b+b*b) S→ (E) (E+T) (T+T*V) (V+V*b) (b+b*b) C) SPG Sentensial dan Relasi (←b→+←b→*←b→) (←V→+←V→*↔V→) (←T→+←T↔*↔V→) (←E↔+↔T→) (←E→)

Handel b V T,T*V E+T E

Ruas kiri Produksi V T E,T E S

2. A) Brute Force

String = bbababb S→ bAb bbAAb bbaBaBb bbababb B) Recrusive Descent

C) SPG Sentensial dan Relasi B←b←a←b←a←b→b b←b←a←b←a↔B→b b←b←a←b→A→b b←b←a↔B→A→b b←b↔A↔A→b b↔A↔b

Handel b aB b aB bAA bAb

Ruas kiri Produksi B A B A A S

Related Documents

Abdul
November 2019 56
Cv -royan Amir.docx
December 2019 8
Abdul Rehman
November 2019 35
Abdul Kalam
June 2020 22
Abdul Haq
November 2019 37

More Documents from ""

Surat Lamaran Cuplis.docx
December 2019 20
Kuisoner.docx
December 2019 23
Proposal Magang.docx
December 2019 26
Prof.docx
December 2019 28