
Quiz tentang Context Free Grammar (sesi 7)

Quiz
•
Computers
•
University
•
Hard

linen pastel
FREE Resource
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa definisi formal dari Context Free Grammar (CFG)?
G = (V, T, P, S) dengan aturan produksi P: A → α, di mana A ∈ variabel dan α ∈ (V ∪ T)*
G = (Q, Σ, δ, q0, F)
Hanya produksi yang berbentuk linear diperbolehkan
Sebuah grammar yang tidak memiliki simbol terminal
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jenis automata apa yang dikenal dapat mengenali bahasa yang dihasilkan oleh CFG?
Finite State Automaton
Pushdown Automaton
Turing Machine
Linear Bounded Automaton
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang membedakan CFG dengan Regular Grammar (RG)?
CFG bisa menghasilkan bahasa yang lebih kompleks daripada RG
RG tidak memiliki aturan produksi
CFG hanya untuk bahasa regular
RG dapat menggunakan pushdown automaton
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah yang bukan merupakan komponen dari sebuah CFG?
Set variabel
Set terminal
Set produksi
Set input alphabet khusus
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Simbol mana yang biasanya digunakan sebagai "start symbol" dalam CFG?
Terminal
Variabel awal (sering S)
Semua simbol
Simbol kosong
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu derivasi dalam konteks CFG?
Proses penghapusan simbol dari grammar
Proses penerapan aturan produksi untuk menghasilkan string
Proses parsing string ke grammar
Proses menghilangkan epsilon-productions
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan Left Most Derivation (LMD)?
Derivasi dengan memilih variabel paling kanan terlebih dahulu
Derivasi yang selalu memilih variabel paling kiri terlebih dahulu untuk di-expand
Derivasi yang selalu menghapus simbol terminal
Derivasi yang tidak mengikuti aturan produksi
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Kesegaran sebelum ASAT

Quiz
•
9th Grade - University
27 questions
Quiz Teknologi Informasi

Quiz
•
9th Grade - University
30 questions
CU3 COMPUTER SYSTEM SECURITY CONTROL

Quiz
•
University
30 questions
Quiz Elektronika Telekomunikasi

Quiz
•
University
30 questions
Quiz Teknologi Digital

Quiz
•
7th Grade - University
28 questions
INFO

Quiz
•
12th Grade - University
30 questions
Konsep Sistem Digital

Quiz
•
University
35 questions
Quiz PTS CT & Algoritma Pemrograman

Quiz
•
10th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade