Kata Yesus kepadanya: "Akulah jalan dan kebenaran dan hidup. Tidak ada seorangpun yang datang kepada Bapa, kalau tidak melalui Aku." (Yohanes 14:6)

Kamis Kliwon, 9 September 2010
Home | Kontak Saya | Eureka! | ArenA | Bimbingan Tugas Akhir | Download | Links
Algoritma & Pemrograman 1 | Algoritma & Pemrograman 2 | Struktur Data | Teknik Kompilasi | Kecerdasan Buatan
KDD & Data Mining | Web Mining | E-Business | Systems Analysis and Design
 
 Search Engine
Manfaatkan Google untuk memperoleh sejumlah informasi yang Anda inginkan dalam hansmichael.com.
 
Kutipan
True genius resides in the capacity for evaluation of uncertain, hazardous and conflicting information.

Winston L.S. Churchill
 
Tokoh Hari Ini
David A. Huffman

Dikenal sebagai penemu Huffman Code yang digunakan untuk kompresi data digital pada komputer, facsimile, modem, televisi dan banyak peripheral lainnya. Ia meninggal pada 7 Oktober 1999 dalam usia 74 tahun. Huffman Code disajikannya melalui sebuah paper saat ia kuliah di M.I.T. Ia menerima Golden Jubilee Award untuk inovasi teknologi dari IEEE Information Theory Society pada tahun 1998. Ia juga menerima Medali Richard W. Hamming dari IEEE pada tahun 1999 untuk kontribusinya yang luar biasa di Information Sciences. Pada akhir hidupnya Huffman adalah staf Departemen Computer Science di University of California di Santa Cruz, Amerika Serikat.

 
Berita Terakhir

Buat TTS Cuma Tiga Menit

Deskripsi Tugas VIII NLP

Download File Pelengkap Tugas AI

Tugas V - Tagset dan Grammar Bahasa Indonesia

Proyek II Web Mining - Versi 2.0

Proyek II Web Mining - Versi 1.0

Handout Presentasi Kuliah ARM III: Apriori.

Tugas 8 - Assignment Kuliah DM & KDD

Materi Kuliah Algoritma dan Pemrograman 1

Talita, DocSearch, KoranNorak

Materi UTS Data Mining dan KDD

Materi UTS Alpro1 & Web Mining

20 Points Quiz 1 Alpro 1

File-file Deskripsi Tugas

Penyerahan Laporan Assignment 2 Web Mining

Web Mining

Materi UAS Web Mining Semester Genap 2006/2007

Daftar Metode yang TIDAK DAPAT Dipakai

Download File Kuliah Kecerdasan Buatan

Penambahan Soal Algoritma dan Pemrograman 1

Nilai Kuliah Algoritma dan Pemrograman 1 STTS

Pertama, Situs Tanya Jawab Alkitab

Materi UTS Algoritma 1 dan Data Mining-KDD

Turbo Pascal menjadi Software Antik

Rekayasa Perangkat Lunak

Extended Abstract Tugas Akhir

Life is Beautiful?

Eureka! dan Arena

Konfirmasi Materi Proyek II yang Disetujui

Penanganan Trouble Registrasi dan Upload

Download Materi UAS

Materi UAS Struktur Data Genap 2004/2005

Materi UAS Kecerdasan Buatan Genap 2004/2005

Lebih dari 100 Abstrak Tugas Akhir

Deadline Proyek I dan Tugas III

Komponen Penilaian Tugas Akhir

Materi UTS Kecerdasan Buatan Genap 2004/2005

Materi UTS Struktur Data Genap 2004/2005

Proyek Software Assignment I

Kuliah Pengganti

MKP Bernilai 'D' atau 'E' Tidak Perlu Dibatalkan

Workshop IT for Non-IT Executive PLN Jatim

 
 

Teknik Kompilasi (ID844)

Contoh Soal

1.

Construct a predictive parser table for the grammar:

S -> (L) | a

L -> S L'

L' -> , S L' | l

Hints: S = { ( ) , a } ; N = { S L L' } ; Start symbol = S. For elements sequence in row and column, use sequence above (in the brackets).

2.

Construct the sets of LR(0) items for the grammar:

S -> A S | b

A -> S A | a

Hints: Separate between kernel(s) items and non-kernel items. It's enough. Don't draw the parser table ! S = { a b } ; N = { S A } ; Start symbol = S

3.

LR(0) items for grammar G :

S -> A S | b

A -> S A | a

with augmented production rule S' -> S are:

0 : S'-> . S       4 : A -> a .

    S -> . A S

    S -> . b       5 : A -> S A .

    A -> . S A         S -> A . S

    A -> . a           S -> . A S

                       S -> . b

1 : S'-> S .           A -> . S A

    A -> S . A         A -> . a

    A -> . S A     

    A -> . a       6 : A -> S . A    

    S -> . A S         A -> . S A

    S -> . b           A -> . a

                       S -> . A S

                       S -> . b

2 : S -> A . S

    S -> . A S     7 : S -> A S .

    S -> . b           A -> S . A

    A -> . S A         S -> . A S

    A -> . a           S -> . b

                       A -> . S A

3 : S -> b .           A -> . a

  1. Construct the SLR parse table for grammar G.

  2. Check every possibles of conflict. Is this grammar SLR? Why or why not?

Hints: S = { a b } ; N = { S A } ; Start symbol = S. For elements sequence in column, use sequence above (in the brackets) plus a '$'.

4.

Grammar G :

S -> (L) | a       First(S) = ( a    Follow(S) = , ) $

L -> S L'          First(L) = ( a    Follow(L) = )

L' -> , S L' | l   First(L')= , l    Follow(L')= )

 

Complete the predictive parsing table for grammar G ( for a and $ columns only ) !

Symbol ( ) , a $
S S -> ( L )  error error                          
L L -> S L' error error    
L' error L' -> l L' -> , S L'    

Show the behavior of the parser on the sentences '(a,((a,a),(a,a)))' (complete with every changes on stack table and input pointer) . Draw the parse tree.

 

Home | Kontak Saya | Eureka! | ArenA | Bimbingan Tugas Akhir | Download | Links
Algoritma & Pemrograman 1 | Algoritma & Pemrograman 2 | Struktur Data | Teknik Kompilasi | Kecerdasan Buatan
KDD & Data Mining | Web Mining | E-Business | Systems Analysis and Design

Copyright (C) December 2004, October 2007, www.hansmichael.com