|
|
Learning Stack: Structured, Object Oriented, Generic and Design Pattern Approach
|
|
|
|
|
نویسنده
|
Farooq Muhammad Shoaib ,Ali Aqsa ,Abid Kamran ,Abid Adnan
|
منبع
|
journal of faculty of engineering and technology - 2014 - دوره : 21 - شماره : 2 - صفحه:191 -203
|
چکیده
|
The concept of a stack, its usage and implementation hold central importance in computer programming courses taught in electrical and computer system engineering programs, as well as in computer science discipline. stack covers all types of computational problem that can be solved with last-in-first-out (lifo) principle. in the presence of a conventional course outlines and literature, there is a strong need to define standard topics and relevant subtopics for teaching stack. in this article, we highlight and address this problem, and as a principal contribution we define a taxonomy of stack from the perspective of its implementation using structured, and object oriented programming paradigms, and have also discussed its implementation using design patterns. to this end, we have used c++ language to present the code for different operations, and have supported the explanation with the help of memory diagrams, complexity issues, and example usage. we have also discussed the formal definition of stack.
|
کلیدواژه
|
stack; data structure; stack design patterns; formal methods
|
آدرس
|
University of Management and Technology, Department of Computer Science, Pakistan. Abdul Wali Khan University, Pakistan, University of Management and Technology, Department of Computer Science, Pakistan, University of the Punjab, College of Engineering and Emerging Sciences, Pakistan, University of Management and Technology, Department of Computer Science, Pakistan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|