+ 2

# What does Main Algorithm means?

What does Main Algorithm means? Is it the main method in a program?

17 Answers

+ 2

I think, you can use a brief description in Design algorithm like tools to use, abstract steps, input, output tests..
And in main algorithm : you can describe detail description about the task.. which may include, starting points, variable, constant declarations, main calculations with input and convertions calculations like from feets to inches.. like these.
It just need to include detail task steps to implement code... in some more detail than algorithm design..
edit:
Evy this better suites I guess,
design algorithm:
1) define variable
2) define constants
3) define algorithm
4) define flowchart
what do you have here in this?
so actual algorithm then can be defined in main algorithm..
Hope it helps..

+ 2

Direction: Create a flowchart, algorithm and running program.
Convert Length
Write a program that takes as input given lengths expressed in feet and inches. The program should then convert and output the lengths in centimeter. Assume that the lengths given in feet and inches are integers.
Input: Length in feet and inches
Output: Equivalent length in centimeters
Problem Analysis and Algorithm Design
The lengths are given in feet and inches, and you need to find the equivalent length in centimeters. One inch is equal to 2.54 centimeters. The first thing the program needs to do is convert the length given in feet and inches to all inches. To convert the length from feet and inches to inches, you multiply the number of feet by 12 (1 foot is equal to 12 inches), and add your answer to the given inches. Then you can use the conversion formula, 1 inch = 2.54 centimeters, to find the equivalent length in centimeters.
Design an algorithm
1.)
2.)
3.)
4.)
Variables
Named Constants
Main Algorithm
1.)
2.)
3.)
4.)
5.)
6.)
7.)
8.)
9.)
Flowchart
Complete Program (Always apply the Java coding guidelines)

+ 1

Where do you seen it?
Can you add details? I think it is just a phrase used in description..
https://en.m.wikipedia.org/wiki/Algorithm

+ 1

It is in the activity of mine given by the instructor, she asked for main algorithm in the activity... just Main Algorithm

+ 1

I already have answers to the rest, except for the Main Algorithm

+ 1

thank you!!!

+ 1

Jayakrishna🇮🇳 in actual, you mean the code?

+ 1

Design an algorithm
1.) Get the length express in feet and inches.
2.) Convert the length into total inches
3.) Convert total inches into centimetre.
4.) Output Centimeter.
*I've search this on google

+ 1

Algorithm is a abstract steps- ideas, helps to implement code. Evy
So there I mean, actual algorithm means the main algorithm you used (as flow of steps) to implement code.
Code is that you can add in "Complete Program " as you mentioned at last..

+ 1

yesss I will, thank you so much🤗🤗

+ 1

How are you

+ 1

How to learn coding

+ 1

Well this not be the better answer yet: its the part of code loaded into memory that in its time loads all called methods variables, etc for the cpu and gpu making the logical, aritmetic and grafic operations requerid by the program

+ 1

❖ Is a step by step procedure to solve a particular function
❖ Is set of instruction written to carry out certain tasks .

0

In design algorithm, you can write steps about specific to this total task, or directions : create flowchart, create steps, create program... Like this..
In main algorithm: write the main goal of the task steps.. I think, better add the steps you got from search here, add more detailly..
There is no exact solution to implement algorithms. It just our own ways to solve problems so it may vary from person to person so write your own observations.. and ask your teacher if anything wrong.. So that you can understand what your teacher idea also..
you're welcome.

0

You're welcome..

0

You can cantre