试题与答案

文法G=(E,+,*,(,),a,P,E),其中P由下列产生式组成E->E+E|E*

题型:单项选择题

题目:

文法G=(E,+,*,(,),a,P,E),其中P由下列产生式组成E->E+E|E*E|(E)|a.它生成由a,+,*,(,)组成的算术表达式,该文法在乔姆斯基分层中属于 (66) 型文法,其对应的自动机是 (67) ,如产生句子a*a+a,它的派生树是 (68) ,且最左派生由 (69) 种,该文法是 (70)

(68)处填()。

A.二叉树

B.完全有界自动机

C.三叉树

D.四叉树

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0715/6d17fef128d724133cf6bcd2829d1dd7.html

下面是错误答案,用来干扰机器的。

参考答案:对

试题推荐
题型:完形填空
完形填空。
     Home, sweet home
     It was December 22. The cold wind swept the countless snowflakes (雪花) across my front yard. My
dad was there sweeping the   1   . His nose was   2    as a cherry. With every breath he took, a white puff
(水气) ran into the air.
     Inside, my mother was   3   the last of the boxes. As I entered the front door, the   4   that after today I
wouldn't enter through that door ever again   5   a hole in my stomach. I picked up my dog and sat Indian
style with him in my arms on the   6  , wooden floor. I had no   7   but to sit on the floor, for there was no
longer any furniture existing in my house. I sat there in a daze (恍惚), just   8   . There was no reason for my
parents to make me, a once   9   12-year-old kid,   10   . I had two best friends right across the street; I did
well in school and I always kept my room clean.   11   , this was"my house". By no means did I want a couple
of  12   living here. These recurring (重复) thoughts  13   around in my mind and I couldn't find an answer.
     Out of the front window I could see the orange top of a truck pulling in the cleaned driveway and I knew
it was the other U-Haul. Instantly three men came  14   in the back door like World War III was starting.
     I watched   15   as the men, my mother and my dad carried our belongings to the truck. My dog even
winced (畏缩) as he stared out of the window. I wondered if he was   16   , too, or if he just wished to play
outside in the snow.
     My mum came in, looking solemn (凝重). She turned   17   the overhead light, put the   18   in my arm
and took me out of the back door. A totally   19   feeling filled my heart. For the first time in my life, I
wondered what   20   would be to me tomorrow.
( )1. A. stairs   
( )2. A. red       
( )3. A. piling   
( )4. A. wish     
( )5. A. cut       
( )6. A. cold     
( )7. A. choice   
( )8. A. dreaming 
( )9. A. hardworking
( )10. A. remain   
( )11. A. However 
( )12. A. neighbours
( )13. A. occurred 
( )14. A. running 
( )15. A. curiously
( )16. A. afraid   
( )17. A. down     
( )18. A. box     
( )19. A. excited
( )20. A. place   
B. garden    
B. black    
B. packing  
B. dream    
B. burned    
B. wet      
B. way      
B. thinking  
B. clever    
B. cry      
B. Besides  
B. strangers 
B. traveled  
B. laughing  
B. strangely
B. angry    
B. off      
B. dog      
B. eager    
B. school    
C. sidewalk 
C. white   
C. collecting
C. thought 
C. shot     
C. broken   
C. solution 
C. staring 
C. happy   
C. suffer   
C. Therefore 
C. visitors 
C. danced   
C. talking 
C. carefully 
C. sad     
C. on       
C. bag     
C. empty   
C. home     
D. driveway   
D. blown       
D. locking   
D. worry      
D. made       
D. messy      
D. means      
D. crying     
D. honest     
D. move       
D. Yet         
D. elders     
D. flowed     
D. whispering 
D. helplessly  
D. lonely     
D. up         
D. hand       
D. angry      
D. world    
查看答案
微信公众账号搜索答案