Questions listed in this document are considered as what might be on the final exam. By no means does it cover all possible topics for CISC121. You are responsible to study course materials according to the course syllabus and course notes . Final exam questions may cover topics not covered by this document. Some of the questions are taken from previous exams.
Some questions are new.
It should return false otherwise. In other words, if you push a series of objects into a stack, the same series of objects will be poped out in the exact reverse order . Using this property of a stack, write a JAVA method that reverse the elements in a linked-list into the exact reverse order. Write a Java method that accepts a two-dimensional array of integers as a parameter and determines whether or not that array is a magic square. If the array is a magic square, output its constant.