0% found this document useful (0 votes)
12 views

Assignment Break New

This document outlines the activities and tasks for a programming assignment on algorithms. It includes developing algorithms to calculate the Fibonacci series and factorials, writing the code in Python and evaluating efficiency using Big O notation. It also involves explaining programming paradigms like procedural, object-oriented, and event-driven and providing code examples. Further, it covers designing a database for a employee management system, building a GUI for it using Visual Studio IDE, debugging the application, and following coding standards.

Uploaded by

SL fb pranks
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Assignment Break New

This document outlines the activities and tasks for a programming assignment on algorithms. It includes developing algorithms to calculate the Fibonacci series and factorials, writing the code in Python and evaluating efficiency using Big O notation. It also involves explaining programming paradigms like procedural, object-oriented, and event-driven and providing code examples. Further, it covers designing a database for a employee management system, building a GUI for it using Visual Studio IDE, debugging the application, and following coding standards.

Uploaded by

SL fb pranks
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Programming

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

B. Factorial of a non-negative integer, is multiplication of all integers smaller than or equal to


n. For example, factorial of 6 is 6*5*4*3*2*1 which is 720.
n! = n * (n - 1) * …….. 1

Define what an algorithm is and outline the characteristics of a good algorithm.

• 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.

• Describe the steps of programming process.

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.

• Give screen shots of the python code and output


• Define big O how to evaluate efficiency
• Give the screen shots of the python codes and the outputs
• Evaluate efficiencies
(You have to do research on this )

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.

• Define programming paradigm


• Explain the characteristics of given three paradigm
• Show their relationships

• 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

• Evaluate the code examples given above


• You have to show the feature of the paradigm which you have discussed in 2.1
how you used in the code that feature.
• Eg: in OOP features like class, object, message passing are some features
Show how you used these in your codes .
For example, If you have given two examples for OOP in python and c# you can show
in both how these features are implemented.
Activity 3

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.

• Analyze the features of IDE


• Explain how these features helped to develop your application
• Evaluate if no IDE how it will be affected for the development

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.

Explain what is debugging


• Describe the Features of visual studio debugger and how you used these features to
debug you application.
(screen shots of how you debug your code with different features should be
provided)

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.

• Explain what is coding standards.


• Show with screen shots what are the coding standards you have used
• Critically evaluate how coding standards are useful as a team and as a individual

 Make sure proper referencing is used


 Give the Gantt chart
 Do necessary formatting

You might also like