What does Main Algorithm means? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What does Main Algorithm means?

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

7th Apr 2022, 4:57 PM
Eyy
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..
7th Apr 2022, 5:25 PM
Jayakrishna 🇮🇳
+ 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)
7th Apr 2022, 5:12 PM
Eyy
+ 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
7th Apr 2022, 5:09 PM
Jayakrishna 🇮🇳
+ 1
It is in the activity of mine given by the instructor, she asked for main algorithm in the activity... just Main Algorithm
7th Apr 2022, 5:11 PM
Eyy
+ 1
I already have answers to the rest, except for the Main Algorithm
7th Apr 2022, 5:13 PM
Eyy
+ 1
thank you!!!
7th Apr 2022, 5:29 PM
Eyy
+ 1
Jayakrishna🇮🇳 in actual, you mean the code?
7th Apr 2022, 5:34 PM
Eyy
+ 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
7th Apr 2022, 5:34 PM
Eyy
+ 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..
7th Apr 2022, 5:38 PM
Jayakrishna 🇮🇳
+ 1
yesss I will, thank you so much🤗🤗
7th Apr 2022, 5:53 PM
Eyy
+ 1
How are you
8th Apr 2022, 10:41 PM
Ismail ibrahim Musa
+ 1
How to learn coding
9th Apr 2022, 7:32 AM
Deepak Chaurasiya
+ 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
9th Apr 2022, 9:03 AM
Norberto Costa
Norberto Costa - avatar
+ 1
❖ Is a step by step procedure to solve a particular function ❖ Is set of instruction written to carry out certain tasks .
9th Apr 2022, 11:25 AM
Abdirahim Mahdi Abdilahi Awed
Abdirahim Mahdi Abdilahi Awed - avatar
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.
7th Apr 2022, 5:49 PM
Jayakrishna 🇮🇳
0
You're welcome..
7th Apr 2022, 5:56 PM
Jayakrishna 🇮🇳
0
You can cantre
8th Apr 2022, 4:02 PM
‎وحید آدینه وند‎
‎وحید آدینه وند‎ - avatar