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...
COURSE CODE: CIT445
COURSE TITLE: Principles and Techniques of Compilers
TIME ALLOWED: 3 Hours
INSTRUCTIONS: Answer question 1 and any four (4) questions
1.With the aid of illustrative diagram describe the phases of a compiler 14marks
b. Consider the grammar G below:
G: E→E +T/T
T→ T* F/F
F→(E) / i
Generate the non-left recursive version of the grammar 5marks
c. Explain what is meant by the term Viable Prefix? 3marks
2. What are the benefits of LR parsing? 4marks
b. List the commn techniques for building tables for an “LR” parser stating the characteristic of each? 6marks
c. Consider the grammar,
G: E → E + T│ T
T → T * F │F
F → (E) │ i
What is the augemented grammar for this grammar 2marks
3. Briefly describe the operation performed by the shift-reduce parser 6marks
b. State three of the uses of formal languages 3marks
c. Why do we need a translator 3 marks
4. What is a translator? 2marks
b. Consider the grammar,
G: S→ a│ aS │ bS
Find the LR (0) items for this grammar 10marks
5. Enumerate the functions performed by the lexical analyser 4marks
b. Enumerate any three of the errors which can be detected during lexical analysis 6marks
6. Define formal language? 3marks
b. Find FOLLOW of all the nonterminal symbols in the non-left recursive version of the grammar 9marks.
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 ...