logo

Crowdly

Browser

Додати до Chrome

COMP3000 Programming Languages

Шукаєте відповіді та рішення тестів для COMP3000 Programming Languages ? Перегляньте нашу велику колекцію перевірених відповідей для COMP3000 Programming Languages в ilearn.mq.edu.au.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Terminals are represented with a quoted string in the metasyntax. Which of the concepts we've seen so far represent terminals in our interpreter?

0%
0%
0%
0%
0%
0%
0%
Переглянути це питання

Given the following grammar, which is a string that could be generated?

a -> b | c ;

b -> "matt" d ;

c -> "damian" e ;

d -> "makes me sad" | "broke my skateboard" | "ate my lunch" ;

e -> "is tops" | "is my favourite" ;

0%
0%
0%
100%
0%
Переглянути це питання

Which of the following is a good reason for using the visitor pattern for traversing AST nodes?

0%
0%
0%
0%
Переглянути це питання

When generating the AST classes for our Lox interpreters, what is the purpose of writing a "tool" (e.g., GenerateAst)?

0%
100%
0%
0%
Переглянути це питання

In the following grammar, which symbols are "terminals"

e -> t | f ;

t -> "foo" | "bar" ;

f -> "foo()" | "bar()" ;

0%
0%
0%
0%
Переглянути це питання

Which lox expression corresponds to the following tree? embedded image.

0%
0%
0%
0%
Переглянути це питання

Which of these characteristics would make a language implementation certainly a compiler:

0%
0%
0%
0%
0%
Переглянути це питання
Two of the following phases can't easily co-exist in a single compiler/interpreter. Which two?
0%
0%
100%
0%
100%
Переглянути це питання

Which of the following are optimisations a compiler/interpreter might do?  Note, there could be more than one correct answer.

100%
0%
100%
100%
100%
0%
Переглянути це питання

Which of these characteristics would make a language implementation certainly a compiler

100%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на ilearn.mq.edu.au?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome