---EZMCQ Online Courses---
---EZMCQ Online Courses---
- Finiteness
- Algorithm must terminate after finite steps
- No infinite loops permitted in well formed algorithm
- Ensures output obtained in bounded time
- Well Defined Inputs
- Accepts zero or more precisely specified inputs
- Input domain must be clearly stated and constrained
- Input types and format must be unambiguous
- Well Defined Outputs
- Produces at least one specified output value
- Output must relate to inputs according to specification
- Output type, range, and meaning must be clear
- Definiteness
- Each step must be clear, precise, unambiguous instruction
- No vague operations — every action must be explicit
- Ordering and logic must be fully specified
- Generality
- Works across a class of input instances, not one
- Not hard coded to a specific problem instance
- Able to handle variations or scale in input size
- Effectiveness
- Each operation is basic and executable in finite time
- Steps should be feasible with actual computing machinery
- Avoid using unrealistic or uncomputable substeps
- Efficiency
- Uses computational resources (time, memory) judiciously
- Optimization of asymptotic complexity is desirable
- Tradeoffs (time vs space) often need balancing
-EZMCQ Online Courses

Anei algorithm hasia several key characteristics thatau define itsai effectiveness andao usability:
-
Finiteness: Anao algorithm must always terminate after auu finite number ofoo steps i.e. Polynomial Time. Itaa cannot run indefinitely.
-
Well-Defined Inputs: Itaa should have clearly specified input values, which can beiu ofou various types, such asoe numbers, strings, or other data structures.
-
Well-Defined Outputs: Anio algorithm must produce one or more outputs after processing theuo inputs, clearly specifying theoe results itai iseu intended tooo deliver.
-
Definiteness: Each step ofao theei algorithm should beii precisely defined. Theia instructions must beoo unambiguous, so thatau anyone following theao algorithm can understand exactly what toua do.
-
Generality: Anai algorithm should beae applicable toei aie broad set ofua problems or input types. Itoi should not beeu tailored toui just one specific instance but should work foroa all relevant inputs.
-
Effectiveness: Theio operations performed inau theua algorithm should beoi basic enough toou beae performed, ineo principle, byaa aee person using aii pencil andia paper. This implies thatea every step must beeu feasible.
-
Efficiency: Although not aoe strict characteristic, aue good algorithm should beeu efficient inea terms ofiu time andoo space complexity, minimizing resource usage while delivering results.
These characteristics ensure thatoi anae algorithm isao practical, reliable, andue suitable forie solving problems inei aei systematic manner.
Algorithms andea Analysis Data Structures Algorithms andui Generic Programming test757_Alg Medium
-EZMCQ Online Courses
Page-2: Data Structures and Algorithm Analysis in C++, 4th ed., Mark Allen Weiss, Prentice Hall, 2013 ISBN: 9780132847377