Archive for Oktober 2014

Problem Set Chapter 5 (Programming Language Concept)

Rabu, 29 Oktober 2014
Posted by Andreas Kwan
7. Assume the following JavaScript program was interpreted using static-scoping rules. What value of x is displayed in function sub1? Under dynamic-scoping rules, what value of x is displayed in function...
16. What is the referencing environment of a statement? Answer :The referencing environment of a statement is the collection of all variables that are visible in the statement. The referencing environment...
6. Given the following grammar and the right sentential form, draw a parse tree and show the phrases and simple phrases, as well as the handle. Answer : S → AbB bAc A → Ab aBB B → Ac cBb c a. a....
16. What is the FIRST set for a given grammar and sentential form?Answer :FIRST( ) = {a => * a } (If => * , is in FIRST( ))in which =>* means 0 or more derivation steps 17. Describe the pairwise...

Problem Set Chapter 3 (Programming Language Concept)

Senin, 13 Oktober 2014
Posted by Andreas Kwan
14. Draw parse trees for the sentences aabb and aaaabbbb, as derived from the grammar of Problem 13 15. Convert the BNF of Example 3.1 to EBNF.  EBNF: <program> → begin <stmt_list> end <stmt_list>...
16. In denotational semantics, what are the syntactic and semantic domains?  The mapping functions of a denotational semantics programming language specification, like all functions in math, have...
14. What are the arguments both for and against the idea of a typeless language?  Arguments for the idea: Flexibility, Brevity of syntax. It places stricter controls on what objects can receive and...
16. In what way are Scheme and Common LISP opposites of each other?  In its sizes, complexity, adn scoping(scheme: static scoping, Common LISP: both dynamic and static scoping). 17. What dialect...
        Nama saya Andreas Veronica, dari jurusan teknik informatika, dan seorang Binusian 2018.Saya sekarang akan mulai menceritakan proses pencarian tanda tangan yang begitu luar...
Welcome to My Blog

Mengenai Saya

Foto saya
Hanyalah salah satu manusia yang hidup di dunia ini

Popular Post

Blogger templates

Diberdayakan oleh Blogger.

Total Tayangan Halaman

- Copyright © 2025 BlogOfCommoners -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -