earticle

논문검색

Proposing a New Hybrid Controlled Loop

초록

영어

Counter controlled and condition controlled are main categories of iterative statements, with “for”, “while” and “do while” loops dominating the field. While there are clear distinctions between them, it is not uncommon for a programmer to practically convert a condition controlled loop to do counter controlled task or vice versa. For instance, there is a “while loop” that will be iterated a number of times or a “for loop” with an additional condition next to the counter checker. This paper proposes a new loop that will be both counter and condition controlled. The loop will include an in-built predefined counter and it will be able to iterate a user defined number of time, prior to checking the user defined condition. A detailed explanation and a C++ implementation of the proposed loop are included in this paper.

목차

Abstract
 1. Introduction
 2. Iteration Statements in Programming Languages
 3. The Proposed Loop
 4. Implementation
 5. Discussion
 6. Conclusions and Future Work
 References

저자정보

  • George Tsaramirsis Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah, Saudi Arabia
  • Salam Al-jammoor Computer science department, School of basic education, Suleimania University, Suleimania, Kurdistan, Iraq
  • Seyed M. Buhari Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah, Saudi Arabia

참고문헌

자료제공 : 네이버학술정보

    함께 이용한 논문

      ※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.

      0개의 논문이 장바구니에 담겼습니다.