答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
一个文法G是四元组,分别是:非终结符,终结符,开始符号,以及。
①
句子
②
句型
③
单词
④
产生式
参考答案:
复制
纠错
相关题目
【简答题】
非终结符有[填空1]。
查看完整题目与答案
【单选题】
B是单个的非终结符号,a是单个的终结符号。)
①
Aα
②
Aa或AaB
③
αβ
④
αAβαγβ
查看完整题目与答案
【单选题】
若a为终结符,则A→α·aβ是项目。
①
归约
②
移进
③
接收
④
待约
查看完整题目与答案
【简答题】
文法G1(S),它的产生式为:S→a|∧|(T),T→T,S|S。①消去G1的左递归。②写出非终结符的FIRST集与FOLLOW集。③构造它的分析表
查看完整题目与答案
【简答题】
终结符有[填空1],它们由词法分析器提供。
查看完整题目与答案
【单选题】
设G是一个给定的文法,S是文法的开始符号,如果Sx(其中x∈V*),则称x是文法G的一个____。
①
候选式
②
句型
③
产生式
④
单词
查看完整题目与答案
【判断题】
算符优先文法允许任意两个产生式具有相同的右部。
①
正确
②
错误
查看完整题目与答案
【单选题】
以下哪一个符号是象征符
①
乌云前的雷雨
②
闪烁的交通信号灯
③
求爱的玫瑰花
④
阿拉伯数字
查看完整题目与答案
【单选题】
给定文法G【A】:AbA|cc,下面的符号串中,为该文法句子的是。
①
bbbcc
②
bcbc
③
bcbcc
④
bccbcc
查看完整题目与答案
【判断题】
一个句型中出现某一个产生式的右部,则此右部一定是此句型的句柄。
①
正确
②
错误
查看完整题目与答案
随机题目
【单选题】
She was wondering whether he has been writing anything new ____
①
late
②
later
③
latter
④
lately
查看完整题目与答案
【单选题】
-Let me introduce myself, I’m Albert. - ____.
①
Pleased to meet you.
②
I’m very pleased.
③
Its my pleasure.
④
What a pleasure.
查看完整题目与答案
【单选题】
I think we’d better ____ , otherwise we will be late for class.
①
to hurry up
②
hurrying up
③
hurried up
④
hurry up
查看完整题目与答案
【单选题】
The shy girl felt ____ and uncomfortable when she could not answer her teacher’s questions.
①
awkward
②
amazed
③
curious
④
amused
查看完整题目与答案
【单选题】
Show me your ____ hand. Can you move it like that?
①
another
②
the other
③
other
④
the others
查看完整题目与答案
【单选题】
The time will surely come ____ ordinary people could operate computers as well.
①
when
②
till
③
while
④
as
查看完整题目与答案
【单选题】
Nothing must be allowed to ____ with our plans for the weekend.
①
influence
②
affect
③
break
④
interfere
查看完整题目与答案
【单选题】
Sometimes people just say eight-fifteen____ a quarter past eight.
①
out of
②
ahead of
③
because of
④
instead of
查看完整题目与答案
【单选题】
Water, when boiled, will____ steam.
①
give away
②
give up
③
give off
④
give out
查看完整题目与答案
【单选题】
Be quiet! Its rude to ____ people when they are speaking.
①
interfere
②
introduce
③
interrupt
④
prevent
查看完整题目与答案