Wage Commission Application Development Project - RQF (L4)
VerifiedAdded on 2025/05/03
|8
|1532
|201
AI Summary
Desklib provides solved assignments and past papers to help students succeed.

Programming – RQF (L4)
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Table of Contents
Introduction......................................................................................................................................2
LO1..................................................................................................................................................3
P1.................................................................................................................................................3
M2................................................................................................................................................4
LO2..................................................................................................................................................5
P2.................................................................................................................................................5
M2................................................................................................................................................6
Introduction......................................................................................................................................2
LO1..................................................................................................................................................3
P1.................................................................................................................................................3
M2................................................................................................................................................4
LO2..................................................................................................................................................5
P2.................................................................................................................................................5
M2................................................................................................................................................6

Introduction
The project which was assigned to me was to develop a wage commission application. This
report will underline the basic concepts of programming in python. In this report, we will
understand how to write a code in python using the PEP-8 style guide. Using the details and
criteria’s given in the cast study the application should be developed in python language. The
case study is based on a retailer who wants to reward his staff by giving them incentives based
on the amount of sales done per month. The data provided in the case study is the basic salary
and criteria’s for the incentives. The report will discuss the various programming paradigms, the
importance of an IDE in the development process and how an algorithm plays the most
important role in developing an application.
The project which was assigned to me was to develop a wage commission application. This
report will underline the basic concepts of programming in python. In this report, we will
understand how to write a code in python using the PEP-8 style guide. Using the details and
criteria’s given in the cast study the application should be developed in python language. The
case study is based on a retailer who wants to reward his staff by giving them incentives based
on the amount of sales done per month. The data provided in the case study is the basic salary
and criteria’s for the incentives. The report will discuss the various programming paradigms, the
importance of an IDE in the development process and how an algorithm plays the most
important role in developing an application.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

LO1
P1:
A step by step method which logically solves any problem is called an Algorithm. An algorithm
is used to process any data which is desired by the user and then evaluate it to solve the problem.
An algorithm is the engine of the program without which a program cannot run. In several fields
like programming, mathematics, day-to-day activities, an algorithm is used. Insertion, Selection
or Sorting are some ways in which algorithms are used. An algorithm is made by the user who
wants to address any particular problem. For example, take a multiplication program.
A user wants to multiply two numbers and then display the result on the screen. An algorithm
works step by step like:
1. Prompt the user and let him enter the first number.
2. Prompt the user and let him enter the second number.
3. Use the ‘*’ operator to multiply the two numbers.
4. Display the result on the screen using ‘print’.
To create an algorithm you need to first identify the problem. One should read the description
and detect the defects. In the second step, you should identify the start and the end to help
resolve the issue. You need to collect all the information and derive an appropriate solution to
the problem keeping in mind what data values will change and when. In the next step, you need
to discover what is needed to write the algorithm. The data obtained will be executed step-by-
step as per the algorithm which will give the correct output. After the writing and testing of the
algorithm, the final stage comes in place. In the final stage, you need to check if the algorithms
give the appropriate solution to the problem. After confirmation, you need to review the
algorithm and see if there exists a possibility by which you can optimize the code more to a
better runtime.
P1:
A step by step method which logically solves any problem is called an Algorithm. An algorithm
is used to process any data which is desired by the user and then evaluate it to solve the problem.
An algorithm is the engine of the program without which a program cannot run. In several fields
like programming, mathematics, day-to-day activities, an algorithm is used. Insertion, Selection
or Sorting are some ways in which algorithms are used. An algorithm is made by the user who
wants to address any particular problem. For example, take a multiplication program.
A user wants to multiply two numbers and then display the result on the screen. An algorithm
works step by step like:
1. Prompt the user and let him enter the first number.
2. Prompt the user and let him enter the second number.
3. Use the ‘*’ operator to multiply the two numbers.
4. Display the result on the screen using ‘print’.
To create an algorithm you need to first identify the problem. One should read the description
and detect the defects. In the second step, you should identify the start and the end to help
resolve the issue. You need to collect all the information and derive an appropriate solution to
the problem keeping in mind what data values will change and when. In the next step, you need
to discover what is needed to write the algorithm. The data obtained will be executed step-by-
step as per the algorithm which will give the correct output. After the writing and testing of the
algorithm, the final stage comes in place. In the final stage, you need to check if the algorithms
give the appropriate solution to the problem. After confirmation, you need to review the
algorithm and see if there exists a possibility by which you can optimize the code more to a
better runtime.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

M2:
The steps taken from initial to execution are mentioned below:
1. We have prompted the user to input the number of monthly sales done by the employee and
after the user inputs the data, the data is stored in a variable for further use.
2. In the next step, we have initialized another variable in which we have converted the annual
salary of the employee to monthly salary for calculating the salary with incentives based on the
number of sales in that particular month.
3. To calculate the salary per month based on the number of sales done by the employee, we
declare a function using def keyword with a parameter. After the initialization of the function,
we define the function. In the definition of the function, we use if, elif and else conditional
statements to calculate the salary of the employee. In these statements, we have given the
conditions which were provided in the case study. These conditional statements help in
calculating the number of incentives with respect to the number of sales done by the employee
and add it to the basic salary and give the final salary of the month.
4. We have also provided a privilege to the user to input exit and quit the program. But till the
user enters exit we need to run the program on a loop. For the same to occur we use while
keyword to make the program run again and again until user inputs exit.
5. When the user inputs a valid number then the try block will run and execute the print
function in which the function is called with the input number being the parameter which will
calculate the salary of the employee and display it on the screen.
6. But If any the user enters anything which is not valid like an integer to any other string
except exit, then the program will display an error message.
The steps taken from initial to execution are mentioned below:
1. We have prompted the user to input the number of monthly sales done by the employee and
after the user inputs the data, the data is stored in a variable for further use.
2. In the next step, we have initialized another variable in which we have converted the annual
salary of the employee to monthly salary for calculating the salary with incentives based on the
number of sales in that particular month.
3. To calculate the salary per month based on the number of sales done by the employee, we
declare a function using def keyword with a parameter. After the initialization of the function,
we define the function. In the definition of the function, we use if, elif and else conditional
statements to calculate the salary of the employee. In these statements, we have given the
conditions which were provided in the case study. These conditional statements help in
calculating the number of incentives with respect to the number of sales done by the employee
and add it to the basic salary and give the final salary of the month.
4. We have also provided a privilege to the user to input exit and quit the program. But till the
user enters exit we need to run the program on a loop. For the same to occur we use while
keyword to make the program run again and again until user inputs exit.
5. When the user inputs a valid number then the try block will run and execute the print
function in which the function is called with the input number being the parameter which will
calculate the salary of the employee and display it on the screen.
6. But If any the user enters anything which is not valid like an integer to any other string
except exit, then the program will display an error message.

LO2
P2:
Procedural programming is one of the programming paradigms. It is developed on the basis of
prioritizing the procedures. Any program which is written using procedural programming
consists of numerous procedures in which every command demands the system to execute the
command. This paradigm is mainly used in wide-scale projects. This paradigm mainly focuses
on functions and not the data. The movement of data from function to function is not interrupted.
The programs are divided into subprograms which makes the execution simple and easy. The
approach followed by the paradigm is the top-down approach. The character user interface is
used for programming. Example of languages: C++, C, PHP, etc.
Object-oriented programming is a better approach as it focuses more on the object. It is the
programming paradigm which is object-oriented. The basis of this paradigm is to combine data
and function under one unit which is called an object. The instances of classes are known as the
object. Object-oriented programming main focus in on the objects. It works on a bottom-up
approach. The data is more secure and the code can be used again. Example of languages: Java,
Ruby, C++, Python, C, etc. The characteristics of this paradigm are as follows:
1. Encapsulation: This feature ties the data with the operations in one unit. This provides more
security to the data from outside.
2. Inheritance: Inheritance is a very unique ability which gives the capability of a class to
derive subclasses which are called derived classes. The main class is called the base class.
3. Abstraction: This feature hides the background data and shows only the important and
meaningful data to the user.
4. Polymorphism: An object can have more than one form. This ability is called polymorphism.
This feature helps in defining the methods with the same name but possessing functionalities
depending upon the function.
Event-driven programming is known as one of the most popular paradigms in the industry. This
paradigm uses events to create an application. The main idea is to generate a response to every
P2:
Procedural programming is one of the programming paradigms. It is developed on the basis of
prioritizing the procedures. Any program which is written using procedural programming
consists of numerous procedures in which every command demands the system to execute the
command. This paradigm is mainly used in wide-scale projects. This paradigm mainly focuses
on functions and not the data. The movement of data from function to function is not interrupted.
The programs are divided into subprograms which makes the execution simple and easy. The
approach followed by the paradigm is the top-down approach. The character user interface is
used for programming. Example of languages: C++, C, PHP, etc.
Object-oriented programming is a better approach as it focuses more on the object. It is the
programming paradigm which is object-oriented. The basis of this paradigm is to combine data
and function under one unit which is called an object. The instances of classes are known as the
object. Object-oriented programming main focus in on the objects. It works on a bottom-up
approach. The data is more secure and the code can be used again. Example of languages: Java,
Ruby, C++, Python, C, etc. The characteristics of this paradigm are as follows:
1. Encapsulation: This feature ties the data with the operations in one unit. This provides more
security to the data from outside.
2. Inheritance: Inheritance is a very unique ability which gives the capability of a class to
derive subclasses which are called derived classes. The main class is called the base class.
3. Abstraction: This feature hides the background data and shows only the important and
meaningful data to the user.
4. Polymorphism: An object can have more than one form. This ability is called polymorphism.
This feature helps in defining the methods with the same name but possessing functionalities
depending upon the function.
Event-driven programming is known as one of the most popular paradigms in the industry. This
paradigm uses events to create an application. The main idea is to generate a response to every
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

event. The response can be any line or block of code executed when the event occurs. An event
can be anything. It can be an entry, an input or a click, etc.
This type of programming is interactive and tempts the developer to work more and more by
using a GUI (Graphical User Interface). When an event occurs, the event handler is called. The
event handler then calls the function associated with the event. Some code can even run
automatically on a specific interval of time. This feature is called a time driven feature. This type
of programming is service oriented and it is simple and easy to develop. Example of Languages:
Visual Basic, JavaScript, etc.
can be anything. It can be an entry, an input or a click, etc.
This type of programming is interactive and tempts the developer to work more and more by
using a GUI (Graphical User Interface). When an event occurs, the event handler is called. The
event handler then calls the function associated with the event. Some code can even run
automatically on a specific interval of time. This feature is called a time driven feature. This type
of programming is service oriented and it is simple and easy to develop. Example of Languages:
Visual Basic, JavaScript, etc.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

M2:
IDE refers to the Integrated Development Environment. This is a centralized software which
consists of many tools which help the developer to create and develop code very easily. An IDE
implements on processes like code creation, testing, etc. almost all the IDEs have an inbuilt code
editor which makes it simple for a developer to write code in only one platform which reduces
the complex nature as the developer doesn’t need to find files again and again, the developer can
see all the files in the IDE project library only. Almost all IDEs support cross-platform
capabilities but some are based on a particular language only, like PyCharm for Python. The
basic tools the developer has access to in an IDE are:
1. Compiler-
This is the most important feature as it detects if the files have an error or not. It helps in
transforming the language code into the one machine can understand like binary code.
2. Code/Text Editor
This feature is very common in IDEs. It provides a platform for writing the source code to the
developer.
3. Automation tools
These tools take care of the common activities that help the developer to build the code easily.
4. Debugger
This tool helps to detect the bugs in the application. It is used in the testing process. This process
plays the most important role in the development phase.
An IDE improves the productivity and creativity of the developer. It produces more urge and
passion in the developer to develop the code. IDE keeps you updated was it updates on a regular
basis. Apart from setting up more than one development environment, it is easy for the developer
to use an IDE which has everything pre-installed.
IDE refers to the Integrated Development Environment. This is a centralized software which
consists of many tools which help the developer to create and develop code very easily. An IDE
implements on processes like code creation, testing, etc. almost all the IDEs have an inbuilt code
editor which makes it simple for a developer to write code in only one platform which reduces
the complex nature as the developer doesn’t need to find files again and again, the developer can
see all the files in the IDE project library only. Almost all IDEs support cross-platform
capabilities but some are based on a particular language only, like PyCharm for Python. The
basic tools the developer has access to in an IDE are:
1. Compiler-
This is the most important feature as it detects if the files have an error or not. It helps in
transforming the language code into the one machine can understand like binary code.
2. Code/Text Editor
This feature is very common in IDEs. It provides a platform for writing the source code to the
developer.
3. Automation tools
These tools take care of the common activities that help the developer to build the code easily.
4. Debugger
This tool helps to detect the bugs in the application. It is used in the testing process. This process
plays the most important role in the development phase.
An IDE improves the productivity and creativity of the developer. It produces more urge and
passion in the developer to develop the code. IDE keeps you updated was it updates on a regular
basis. Apart from setting up more than one development environment, it is easy for the developer
to use an IDE which has everything pre-installed.
1 out of 8
Related Documents
Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.




