IT3030 - Programming Applications and Frameworks
IT3030 - Programming Applications and Frameworks
==ffi==
iEi.EITl
Final Examination
Year 3, Semester I (2022)
Duration: 2 Hours
June, 2022
Instructions to Candidates:
I This paper contains 4 pages excluding the cover page.
I This paper contains 4 questions. Answer all the questions.
I Total marks forthepaperis 100.
I Write answers in the booklet given, start new answer from a new page and make sure to
properly indicate the question number (e.g. 1.a),1.b), etc. . .).
I Answer for any single sub question cannot go beyond a single page.
I Answer in point form (take the marks allocation into consideration).
I Electronic devices capable of storing and retrieving text, including calculators and mobile
phones are not allowed.
o.og,8\
Question 1 (24 marks)
a) Differentiate the programming paradigms and types of computer languages discussing their key
features (provide at least 6 paradigms and types of language). (12 marks)
b) Discuss the importance of the code quality (discuss at least 3 aspects), indicating different
techniques (indicate at least 3 techniques) to maintain the code quality and their impact on the
quality. (12 marks)
a) Value the distributed systems over standa]one systems explaining their pros (discuss at least
3 aspects) and explain the architectural elements of the distributed systems. (12 marks)
b) Evaluate 2-tier architecture discussing its advantages and disadvantages (discuss at least 3
advantages and 3 disadvantages). (12 marks)
//
/ Question 3 (26 marks)
01098
ElectroGrid power supply company uses a web service to implement endpoints for
following features/tasks. State any assumptions or/and any specific cases/instructions you
make.
I. Meter readers use a mobile app to enter the monthly meter reading of houses. (9 marks)
11. Admins can update the monthly readings upon meter readers' requests. (9 marks)
Ill. Admins can remove the contact number of a meter reader and enter a new number. (8 marks)
Assumptions: The user is already logged in and visited the page with the above feature.
Resource: House
I. Sketch a Gul of the view indicating all the required elements in the form and the area
to display the consumption. (5 marks)
11. Implement an algorithm to validate the form on button click. You may use flowchart,
pseudocode or even JS. If you use JS, the code does not need to be 100% correct. Make
sure the algorithm is clear and contains all the necessary steps. State assumptions if
any. (6 marks)
Page 3 of 4
olog;8\\
Ill. Implement an algorithm to send asynchronous request to the service to get the consumption
details of given month. You may use flowchart, pseudocode or even JS. If you use JS, the
code does not need to be 100% correct. Indicate all the data/parameters. Make sure the
algorithm is clear and contains all the necessary steps. State assumptions if any. (5 marks)
IV. Implement an algorithm to capture the response, process data, and show the output on the
GUI. You may use flowchart, pseudocode or even JS. If you use JS, the code does not need
to be I 00% correct. Indicate all the data/parameters. Make sure the algorithm is clear and
contains all the necessary steps. State assumptions jf any. (10 marks)
Page 4 of 4