How to login to NOUN Elearn Portal
You can now use you matric number to login as your username and password in a lowercase.
https://elearn.nouedu2.net/login/
Note that you are to change your passw...
CIT 445 – Principles & Techniques of Compilers.
Credit: 3 units
TIME ALLOWED: 2½ Hours
INSTRUCTION: Answer Question 1 and any other FOUR (4)
Questions
1a) Outline three (3) typical questions asked about formalisms. (3mks)
1b) Suppose L1 and L2 are languages over some common alphabet; state two (2) standard operations that can be performed on the languages. (4mks)
1c) Identify three (3) types of Intermediate Representation (3mks)
1d) Why Do We Need Translators? (3mks)
1e) Outline the operations of the shift-reduce parser (4mks)
1f) Define finite automata. (3mks)
1g) Illustrate two properties entailed in using an intermediate language representation. (2mks)
2a) Examine the context-free grammar G with the productions
E →E + E | E * E | ( E ) | id
Generate possible leftmost derivations for id + id * id (10mks)
2b) Mention the two (2) ways of resolving collision ? (2mks)
3a) Consider the context-free grammar G with the productions
E →E + T | T
T →T * F | F
F →(E) | id
Generate the following:
i) Terminal symbols (3mks)
ii) Nonterminal symbols (3mks)
iii) Start symbol. (2mks)
3b) Outline the algorithm for constructing precedence functions (4mks)
4a) List and explain the components of the structure of a compiler(8mks)
4b) Identify the attributes of symbol table (4 mks)
5a) C onstruct the Operator precedence parsing algorithm (7mks)
5b) Explain the need for lexical analyser. (5mks)
6a) Suppose we have a Grammar G:
E →E + T
E →T
T →T * F
T → F
F → (E)
F → a
Find the left parse of the sentence a* (a+a) (9mks)
6b) What is Type-3: Regular Grammars (3mks)
Select NOUN Past Questions & Answers by Faculties
National Open University of Nigeria (NOUN) Faculty of Sciences Past Questions and Answers.
National Open University of Nigeria (NOUN) Faculty of Education Past Questions and Answers.
National Open University of Nigeria (NOUN) Faculty of Arts and Social Sciences Past Questions and Answers.
National Open University of Nigeria (NOUN) Faculty of Law Past Questions and Answers.
National Open University of Nigeria (NOUN) Faculty of Management Sciences Past Questions and Answers.
National Open University of Nigeria (NOUN) Faculty of Health Sciences Past Questions and Answers.
National Open University of Nigeria (NOUN) Faculty of Agricultural Sciences Past Questions and Answers.
Select Project Topics & Materials by Categories
Universities, Polytechnic's and Colleges of Education Accounting Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Biology Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Business Education Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Chemistry Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Computer Science Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Criminology & Security Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Economics Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Education Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education English/Linguistic Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Entrepreneurship Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Environmental Science Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Law Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Marketing Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Physics Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Political Science Project Topics and Materials.
Universities, Polytechnic's and Colleges of Education Public Administration Project Topics and Materials.
You can now use you matric number to login as your username and password in a lowercase.
https://elearn.nouedu2.net/login/
Note that you are to change your passw...
The Flemish Ministry of Education and Training awards scholarships to highly talented international students who want to study a master's programme at a Flemish university, a school of arts or ...
Universities of the Coimbra Group offer short-term visits (generally 1 to maximum 3 months) to young African researchers from higher education institutions from Sub-Saharan Africa. The main aim of ...