تم الحل ✓
categoryعلوم الحاسوب
schoolبكالوريوس
event_available2026-07-15
السؤال
Transcribed Image Text:
start
digit
0-9
0-9
Based on the FA you already designed (above), your next task is to extend it to a
Pushdown Automaton (PDA) which can recognise arithmetic expressions with
brackets. All brackets must be paired up correctly. Multiplication operator can't
be omitted.
Some accepted examples: 1, -2, -(1), (1+2)*(3-7.3), 1/(-3-1), 8*-(3/8), ((1.2))/(2.1)
Some rejected examples: (3)), (2)(3), 4-), (1.)5, ((3)3)
Please use this as a start point
0-9
start
digit
sign
0-9
0-9
decl
0-9
(dec2
0-9
PTO
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.