Assignment Break New
Assignment Break New
Assignment Breakdown
Activity 1
A. The Fibonacci numbers are the numbers in the following integer sequence.
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ……..
In mathematical terms, the sequence Fn of Fibonacci numbers is defined by the recurrence
relation.
Fn = F n-1 + F n-2
• Define what is algorithm and give a simple example of algorithm with pseudocode
and flow chart
Write the algorithms to display the Fibonacci series and the factorial value for a given
number using Pseudo code.
Give the algorithms for fibbonacci and factorial
Determine the steps involved in the process of writing and executing a program.
Take a sample number and dry run the above two algorithms. Show the outputs at the end
of each iteration and the final output.
Dry run your fibonacci and factorial algorithms and show the table with all columns and
output.
Examine what Big-O notation is and explain its role in evaluating efficiencies of algorithms.
Write the Python program code for the above two algorithms and critically evaluate their
efficiencies using Big-O notation.
Activity 2
Explain what is meant by a Programming Paradigm and the main characteristics of
Procedural, Object oriented and Event-driven paradigms and the relationships among
them. Write small snippets of code as example for the above three programming
paradigms using a suitable programming language(s). you also need to critically evaluate
the code samples that you have given above in relation to their structure and the unique
characteristics.
• Write snippets of code – Small examples of code for that paradigm and output.
• If you can give more than one example for one paradigm you can use more than
one (That is in 2 languages for one paradigm)
• Give the screen shots of code and output
3.1 Write the complete pseudocode for the salary component of the above system
Give the pseudocodes for the functions)
3.2 Implement the above algorithms using visual studio IDE (using C#.net) and design the
suitable database structure for the system, which must be used for implementing the
above functions.
• Give screen shots of the database tables (design view and the data table)
• For all the tables which you have created get the screen shots in design view and the
table with data.
3.3 Analyze the features of an Integrated Development Environment (IDE) and explain how
those features help in application development. Evaluate the use of the Visual Studio IDE for
your application development contrasted with not using an IDE.
Activity 4
4.1 Design and build a small GUI system for the above scenario and it should be a complete functional
system with all the functions which has described in the above scenario with the database structure which
has designed in activity 3.
• Give the screen shots of all the interfaces of your developed system
• Give the main calculation codes below the form
(If you want you can add the screen shots of the other codes in the annexure)
4.2 Examine debugging process and the features available in Visual studio IDE for debugging your code
more easily. Evaluate how you used the debugging process to develop more secure, robust application
with examples.
4.3 Explain and outline the coding standards you have used in your application development. Critically
evaluate why a coding standard is necessary for the team as well as for the individual.