Practice Recursion
Questions: 1.- What is a recursion? 2.- In this code: function factorial (n is a non-negative integer) if n is 0 then return 1 [by the...
Queue exercises
Questions 1.- Mention two elements in life where queues are used. 2.- How is queue organized in inputs and outputs? FIFO, or FILO (First...
Exercises (Practice) for stack
Questions: 1.- Which of the options below, are stacks? Pile of boxes Music Reproduction (playlist) The sheets in a printer Waiting for...


Computer Graphics Exercises (For Practice)
Your aswers to the questions must be at least approximated to real answers. Questions: 1.- Draw a sphere of large 20 and make it rotate...


A graphic Recursion
Here we have a recursive tree made by Daniel Shiffman, that changes its brenchs depending on the mouse position: The different designs...


Recursion
Recursion Defined What is recursion? Sometimes a problem is too difficult or too complex to solve because it is too big. If the problem...
A linear queue.
This is also a queue, but its principal array works in a linear way. Each time an element is dequeued, the elements will move one to the...
A graphic Queue
My nyan queue. This queue works in a circular form. Where each time you queue or dequeue and element, the line (or queue) will follow. In...
A graphic Stack
How does this looks like: import remixlab.bias.event.*; import remixlab.bias.event.shortcut.*; import remixlab.bias.agent.profile.*;...
What is a queue?
A queue: Plan B of queue: (information gotten from http://interactivepython.org/) What Is a Queue? A queue is an ordered collection of...