Functions are core part of programming in procedure-oriented programming (POP). Most of the times, we have to sort out the problem statement we get to solve. Now in such cases, following a modular approach for solving the problem in POPs is always preferable. This presentation discuss the topic of functions with an example.
Thanks for watching the presentation
ABSTRACT:-
This report has been given by the author to convey information about different sections and departments of CHAMPION’S CARS, BHILWARA. Different specifications, prospective and processing in each section while repairing cars, is being discussed in the most convenient manner for the readers. We have tried to enhance history, literature, survey and importance of the manufacturing process. Also schematic figures are shown in each section to discover a better understanding. Proper statistics and parameters of all the major equipment are also presented to make a better analysis of the project in comparison to other major CAR SHOWROOMS and also briefly learn about the car parts and their working with major equipment that are useful.
ABSTRACT:-
This report has been given by the author to convey information about different sections and departments of CHAMPION’S CARS, BHILWARA. Different specifications, prospective and processing in each section while repairing cars, is being discussed in the most convenient manner for the readers. We have tried to enhance history, literature, survey and importance of the manufacturing process. Also schematic figures are shown in each section to discover a better understanding. Proper statistics and parameters of all the major equipment are also presented to make a better analysis of the project in comparison to other major CAR SHOWROOMS and also briefly learn about the car parts and their working with major equipment that are useful.
WhoCanFixMyCar.com - tips from our top performersAlex Rose
Top performing garages on WhoCanFixMyCar.com are winning £10k a month of incremental business, and significantly building their base of local customers. Many are taking on additional staff to cope with the demand.
Do you want to follow in their footsteps? Then read on.
So. Yes. I am aware that this is done not up to my current standards but this was for a business subject I did back in high school. I can't believe almost five years have passed now...I can see growth :)
Singer Company Limited born in 1811 in USA.
It was started its business by sewing machine.
Singer Company Limited started its business in 1905.
The main products of Singer Company Limited are electronics products, like Sewing Machine, AC, Television, Motorbike, Fridge, etc.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
WhoCanFixMyCar.com - tips from our top performersAlex Rose
Top performing garages on WhoCanFixMyCar.com are winning £10k a month of incremental business, and significantly building their base of local customers. Many are taking on additional staff to cope with the demand.
Do you want to follow in their footsteps? Then read on.
So. Yes. I am aware that this is done not up to my current standards but this was for a business subject I did back in high school. I can't believe almost five years have passed now...I can see growth :)
Singer Company Limited born in 1811 in USA.
It was started its business by sewing machine.
Singer Company Limited started its business in 1905.
The main products of Singer Company Limited are electronics products, like Sewing Machine, AC, Television, Motorbike, Fridge, etc.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Functions in Programming with example
1. Functions
Programming concept | Example oriented explanation
Prerequisites: Basic knowledge of C, C++ or any programming language
2. Mr. Ajay and his business problem
Mr. Ajay, a brand-new
entrepreneur own a car-
rental business
He is the only person who manage
his business.
He is like a MAIN() FUNCTION of a
C or C++ program. Every task that
happens in his business is done by
him. Currently, nobody is helping
him to work.
After some weeks, Mr. Ajay is facing
traumatic situations. He is not able
to do all the tasks at a time as a
single human and now there are
some errors occurring because of
him.
He has been recommended by a
business consultant TO DIVIDE HIS
WHOLE TASK IN SMALL SET OF
SUBTASK, hire an employee that
can do it better, and assign him that
task.
3. Mr. Ajay divided his business tasks
Now, Mr. Ajay got
the point of
business and he
divided his work in
following way
RENT RECORD KEEPING
1. Get the details of car which
was ordered for rent
2. Enter and save details of car
and details of tenant in Excel
sheet
3. Complete the payment
4. Print the payment
5. Give a copy of receipt to
mechanic
6. Report it to manager
MECHANIC
1. Receive the car details from
record keeping
2. Pick up the car from car park
3. Drive the car to the tenant's
house
4. Give the copy of receipt to
tenant
5. Return to the work back
CAR CLEANER
1. Check the dirty cars in car park
2. Collect the required tools from
cleaning wardrobe
3. Clean dirty cards thoroughly
4. Put the tools back to their place
PAYROLL MANAGER
1. Check the current month
2. Pick up each employee
from the list
3. For each employee,
calculate their monthly
payment amount
4. Send the amount to the
specified employee's bank
account
5. Keep record of payment
6. Return payment reports to
manager
MANAGER MR. AJAY HIMSELF
1. While the working hours are on:
2. Collect car rent details
3. Save it in excel sheet
4. Ask the car cleaner to clean cars
if more than 10 cars are dirty
5. If this is month end, ask payroll
manager for payment reports
6. At end of the day, calculate the
business profit
7. Save those details
8. Exit from office
4. Mr. Ajay is free from traumatic situations
Now, the Mr. Ajay is free from trauma
of work because he must only keep
track of specific tasks and all other
tasks are divided into subtasks and
assigned to each employee.
Now, Mr. Ajay's business is touching the heights
because he learnt great management skills, but he
didn't know it was like
USING FUNCTIONS IN PROGRAMMING.
Did you find anything regarding the types of functions? Let’s see a summary
In his business, every FUNCTION (employee)
works when HE CALLS THE FUNCTIONS to do
that work.
5. How were the idea of functions used?
THE RECORD KEEPING
is like Function with parameter and
return value as he accept an order
from tenant and returns the receipt to
the mechanic to send the car to
tenant's house.
Types of functions
A function refers to dividing a large task into pieces of code. A function take parameters and can return values optionally.
THE MECHANIC
is like Function with parameter and
no return value because he accepts
the receipt from record keeping but
doesn't return anything to record
keeping; only drop the car to target
tenant.
Function with parameter,
and return value
Function with parameter,
but no return value
Function with no
parameter, but return
value
Function with no
parameter, no return
value
CAR CLEANER
is like Function with no parameter, no
return value as once he is called to clean
cars, he automatically does his work and
no need to tell or return anything to his
caller
THE PAYROLL MANAGER
is like Function with no parameter
but return value as he only was called
to get reports of payment. Rest of
payment task he does on himself and
returns the payment reports to the
manager Mr. Ajay.
MR. AJAY THE MANAGER is like still a MAIN FUNCTION as he keeps track of people of his business for a day. He also check for certain
conditions like necessity for cleaning car and completing payment every month.
HENCE, THIS IS WHAT A FUNCTION IS AND ITS TYPES IN PROGRAMMING
Editor's Notes
Mr. Ajay owns a car rental business. He is the only person who manage his business. He is like a main() function of a C or C++ program. Every task that happens in his business is done by him.
After some weeks, Mr. Ajay is facing traumatic situations. He is not able to do all the tasks at a time as a single human and now there are some errors occuring becuase of him. As a result, he is facing loss in his own performance and in business revenue.
He has been recommended by a business consultant to divide his whole task in small set of subtask, hire a employee that can do it better, and assign him that task.
Now, Mr. Ajay got the point of business and he divided his work in following way:
Rent record keeping (Function with parameter, and return value)
- Get the details of car which was ordered for rent
- Enter the details of car and details of tenant in Excel sheet
- Save the sheet
- Ask cashier to complete the payment
- Print the receipt including car details and tenant details
- Give a copy of receipt to mechanic to drop that car to the house of tenant
- Report it to manager
Mechanic (Function with parameter, no return value)
- Receive the car details from record keeping
- Pick up the car from car park
- Drive the car to the tenant's house
- Give the copy of reciept to tenant
- Return to the work back
Car cleaner (Function with no parameter, no return value)
- Check the dirty cars in car park
- Collect the required tools from cleaning wardrobe
- Clean dirty cards thoroughly
- Put the tools back to their place
Manager Mr. Ajay himself
- While the working hours are on:
- Collect car rent details
- Save it in excel sheet
- Ask the car cleaner to clean cars if more than 10 cars are dirty
- If this is month end, ask payroll manager for payment reports
- At end of the day, calculate the business profit
- Save those details
- Exit from office
Payroll manager (Function with no parameter, but return value)
- Check the current month
- Pick up each employee from the list
- For each employee, calculate their monthly payment amount
- Send the amount to the specified employee's bank account
- Keep record of payment
- Return payment reports to manager
Now, the Mr. Ajay is free from trauma of work because he has to only keep track of specific tasks and all other tasks are divided into subtasks and assigned to each employee.
Now, Mr. Ajay's business is touching the heights because he learnt great management skills but he didn't knew it was similar to using functions in programming.
The record keeping is like Function with parameter and return value as he accept an order from tenant and returns the reciept to the mechanic to send the car to tenant's house.
The Mechanic is like Function with parameter and no return value because he accepts the reciept from record keeping but doesn't return anything to record keeping; only drop the car to target tenant.
Car cleaner is like Function with no parameter, no return value as once he is called to clean cars, he automatically does his work and no need to tell or return anything to his caller
The Payroll manager is like Function with no parameter but return value as he only was called to get reports of payment. Rest of payment task he does on himself and returns the payment reports to the manager Mr. Ajay.
Mr. Ajay is like still a main function as he keeps track of people of his business for a day. He also check for certain conditions like necessity for cleaning car and completing payment every day.