Sunday, May 21, 2017

Definition of the concept "Algorithm"


Hello everybody! For this project in informatics we decided to divide the class in four groups: A1, A2, B1 and B2. We are the group B2. Our task was to talk about the algorithms after we watched two videos explaining what they are. We will leave you the links below if you want to check them out. 
Algorithms are a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer, but in real life we use algorithms, for example the way we put our school materials in our backpacks: first folders, then pensil case, if there aren't folders, the pencil first and then close the backpack.
The turing machine uses an algorithm to organize the 0s and 1s and put them in the correct order that is given by the software
The code on the tape of the turing machine, which is made 1s and 0s, are instructions, and these instructions are the base of computation.
IMPORTANT:
Definition of algorithm:
In mathematics, logic, computer science and related disciplines, an algorithm is a prescribed set of well-defined, ordered, and finite rules or instructions that allows one to carry out an activity through successive steps that do not create doubts to whoever is to do such activity. Given an initial state and an input, following the successive steps, a final state is reached and a solution is obtained.
This mindmap could help you understanding the concept




Example of algorithm

Animated visualization of the quicksort algorithm. The horizontal lines are pivot values.
Quicksort (sometimes called partition-exchange sort) is an efficient classification algorithm, which serves as a systematic method for placing the elements of an array in order. Developed by Tony Hoare in 1959 and published in 1961, it is still an algorithm commonly used for classification. When implemented well, it can be around two or three times faster than its main competitors, merge sort and heapsort.


The steps are:

  1. Pick an element, called a pivot, from the array.
  2. Partitioning: reorder the array so that all elements with values less than the pivot come before the pivot, while all elements with values greater than the pivot come after it (equal values can go either way). After this partitioning, the pivot is in its final position. This is called the partition operation.
  3. Recursively apply the above steps to the sub-array of elements with smaller values and separately to the sub-array of elements with greater values.
Quicksort:
We hope you understod how algorithms work!
Till next time
Francesca, Giuliana, Alex and Migue

Wednesday, May 17, 2017

Convergent and Divergent thinking

Convergent and Divergent thinking

Convergent: Is the ability to give the "correct" answer to a question that doesn't require creativity to answer it. It decides what to do. 

Divergent: It is the opposite of ''convergent''. It is a method to generate creative ideas by thinking about other solutions. It explorespossibilities. 

 Resultado de imagen para convergent and divergent thinking

Mind Mapping

Mind Mapping it's a way of taking notes and learning, it is very simple, useful and you don't have to write full sentences or be precised, it is a free way of learning. You just have to be very passionate and creative!

Resultado de imagen para creativity brain

Here is an example that Caro and I created:

Banners for selected concepts

Banners for selected concepts

Hello everybody! How are you doing? Last class we learned how to design banners, and learned a bunch of concepts of computing. Here I leave you the concepts we chose:


V-Neumann Architecture and Turing Machines

V-Neumann Architecture and Turing Machines

V-Neumann Architecture and Turing Machines
Hi! I am Oli and the other day we had to watch three Youtube videos. One of them was about how turing machines work, the other one was about turing machines explained and the last video was about how a CPU works. Now I will show you Turing machines structures as building blocks for the V. Neumann architecture.
Resultado de imagen para Turing machines
The connection between CPU- Ram
The ram contains all the information that process the CPU. The CPU sends an address to the ram, and via the enable cable, it communicates the ram an order to process the address and the ram gives a date to the CPU, and this process repeats itself really fast and really frequently. The CPU makes an input and the ram an output, this output is going to be an input for the CPU.

Control Unit and ALU
The control unit is a component of a computer's central processing unit (CPU) that directs the operation of the processor. It tells the computer's memory, arithmetic/logic unit and input and output devices on how to respond to a program's instructions.It provides timing and control signals to the other units.

Mindomo explaining V-Neumann Architecture and Turing Machines

Saturday, May 6, 2017

V-Neumann Architecture and Turing Machines

V-Neumann Architecture and Turing Machines
Hi! I am Caro and the other day we had to watch three Youtube videos. One of them was about how turing machines work, the other one was about turing machines explained and the last video was about how a CPU works. Now I will show you Turing machines structures as building blocks for the V. Neumann architecture.
Resultado de imagen para Turing machines
The connection between CPU- Ram
The ram contains all the information that process the CPU. The CPU sends an address to the ram, and via the enable cable, it communicates the ram an order to process the address and the ram gives a date to the CPU, and this process repeats itself really fast and really frequently. The CPU makes an input and the ram an output, this output is going to be an input for the CPU.

Control Unit and ALU
The control unit is a component of a computer's central processing unit (CPU) that directs the operation of the processor. It tells the computer's memory, arithmetic/logic unit and input and output devices on how to respond to a program's instructions.It provides timing and control signals to the other units.

Mindomo explaining V-Neumann Architecture and Turing Machines


Wednesday, May 3, 2017

TURING MACHINE AND CPU



So about a week ago i watched 2 youtube videos explaining how a cpu works (in this article and the video aswell is going to talk about the v.neumann architecture) and a turing machine so our teacher told us to do a mind map explaining both of these topics. The mind map will be in this post so look forward to that.
Another thing this post is about is things the turing machine and the v.neumann cpu have in common if you are interested i am going to link the youtube videos so look at the bottom of the post to see them because i think to fully understand this post to watch both videos.



One of the things the two have in common and in my opinion the most important is that they both work with strings of ones and zeros so they do the same  thing on a very basic level another big thing is that at least the v.neumann structure only can view and transform one string at at time.


LINKS OF THE VIDEOS:
https://www.youtube.com/watch?v=cNN_tTXABUA
https://www.youtube.com/watch?v=dNRDvLACg5Q

Turing machines structures in a V. Neumann architecture


Hello, nice to see you again in this blog… In this post I will explain you which is the difference between Turing machine and V. Neumann architecture and try to find Turing machines structures in the V. Neumann architecture. I saw three videos, one is a explanation about how a Turing machine works and the second one is about the CPU and the last one is "How Turing machines work". I will summarize it  and try to explain it for you in the easiest way. For that purpose I will make a mindmap with Mindomo (look my post about C&D thinking and mind mapping to learn about Mindomo) to make it easier to understand. Furthermore I will add all videos at the end of the post. Let's begin.



Make your own mind maps with Mindomo.


Now we are going to look at some components of the V. Neumann architecture. You will recognize that some are Turing machines, for example the ALU or the Control Unit.
Summarizing, the ALU has an input, then he reads, follow instructions and write the output, this is what characterizes a Turing machine.

Videos:



I hope this information is useful fpr you,
if you have any doubt don´t forget to ask in a comment.

V-Neumann architecture and Turing Machines




The other day, I saw two videos. One was about How a CPU works and the other one was about How Turing machines work . In general, I liked the videos, although they were difficult to understand in some parts. But on the other side, they were both very informative and interesting. I made a mindmap, explaining the most important concepts of the V-Neumann architecture and turing machines. I used a programm called Mindomo, that helps you to elaborate virtual or digital mindmaps. Besides, I will also answer this question: Can you find a couple of turing-machine-like structures in a V-Neumann (CPU) architecture? Let's start.
















Now, in answer to this question: Can you find a couple of turing-machine-like structures in a V-Neumann (CPU) architecture? 
Both, the Turing machine and the V-Neumann architecture recieve and send data using outputs and inputs. The V-Neumann arch. uses the idea of the turing machine to sole problems.  The turing machine uses inputs and outputs.







V Neumann architecture and Turing

Hello guys! How are you doing?
Today I am going to introduce you to a very interesting topic. Which is the,

 and the.
                          Who was the inventor from the Turing machine? 

 The famous mathematician, Alan Mathison Turing was born on 23 June 1912, in London.  In his seminal 1936 paper, he proved that there cannot exist any universal algorithmic method of determining truth in mathematics, and that mathematics will always contain undecidable propositions. That paper also introduced the "Turing machine". His papers on the subject are widely acknowledged as the foundation of research in artificial intelligence.
This is Alan Turing. 






Who was the inventor of the V Neumann architecture?

John von Neumann  (December 28, 1903 – February 8, 1957) was a Hungarian-American mathematician, physicist, inventor, computer scientist, and polymath. He made major contributions to a number of fields, including mathematics, economics, physics and computing.  
All modern computers are "Von Neumann machines" in that they have a single central combined program and data store: "memory." John Von Neumann was the one who suggested that computers do not need separate storage for data and instructions, and thereby changed Computer Architecture from that point on.
                                                      John Von Neumann.





So that you get to know a little bit more what this whole thing is about, I cretaed a MindMap (I already made a post about MindMaps and the best Apps I recommend you to use) with the most important concepts from their inventions. 
Click here to access to the MindMap






This is an easy representation of how the Turing Machine works.







With the image down below, I want to show you the way that Von Neumann`s machine work. 




But, what are the similarities between both creations?

Both have the same essential building blocks, but organize it in a different way. They use the same algorithm (zeros and ones) in a coded form, and have inputs and outputs


I hope you liked this post and were able to learn some new things! 


Turing-machine-like structures in a V Neumann architecture

Today we saw a video about how a V. Neumann CPU architecture works, and I found it really simple, once I've seen the video twice, with all the images that are provide in there you will catch the idea really fast.
Now I`m gonna talk about structures of a turing machine, that you will be able to find on a CPU-RAM. 


We found many turing machine structures in this kind of architecture (a V. Neumann CPU architecture), for example: the connection between CPU- Ram, this connection is really simple.

The ram contains all the information that process the CPU. The CPU sends an address to the ram, and via the enable cable, it tells the ram to process the address and the ram gives a date to the CPU, and this process repeats itself really fast and really frequently. We can see that the CPU makes an input and the ram an output, this output is going to be an input for the CPU.

Picture from the vid. "How a CPU Works" from "In One Lesson"



Another example is inside the CPU, precisely the control unit and ALU. Typically, the ALU has direct input and output access to the processor controller, main memory (RAM), and input/output devices. Inputs and outputs flow along an electronic path that is called a bus. The input consists of an machine instruction word that contains an operation code, one or more operands, and sometimes a format code.
The operation code tells the ALU what operation to perform and the operands are used in the operation. (For example, two operands might be added together or compared logically.) The format may be combined with the op code and tells, for example, whether this is a fixed-point or a floating-point instruction.
The output consists of a result that is placed in a storage register and settings that indicate whether the operation was performed successfully. (If not a status will be sorted in the machine status word)



pic. from the website pitt.edu




pic. from the website pitt.edu

I've made a Mindmap to explain the Turing machines and the V Neumann architecture.



Here is the link to the video that explains how a CPU works  Click here.



Turing machine-like structures in a V Neumann architecture

Today we saw a video about how a v. Neumann CPU architecture works, it's pretty easy once you have seen how it works. We found many turing machine structures in this kind of architecture, for example: the connection between CPU- Ram, it’s really simple, so ram contains all the information that process the CPU. The CPU sends an address to the ram, and via the enable cable, it tells the ram to process the address and the ram gives a date to the CPU, and this process repeats itself really fast and really frequently. We can see that the CPU makes an input and the ram an output
Captura.PNG
Another example is inside the CPU, precisely the control unit and ALU. Typically, the ALU has direct input and output access to the processor controller, main memory (random access memory or RAM in a personal computer), and input/output devices. Inputs and outputs flow along an electronic path that is called a bus. The input consists of an instruction word (sometimes called a machine instruction word) that contains an operation code (sometimes called an "op code"), one or more operands, and sometimes a format code. The operation code tells the ALU what operation to perform and the operands are used in the operation. (For example, two operands might be added together or compared logically.) The format may be combined with the op code and tells, for example, whether this is a fixed-point or a floating-point instruction. The output consists of a result that is placed in a storage register and settings that indicate whether the operation was performed successfully. (If it isn't, some sort of status will be stored in a permanent place that is sometimes called the machine status word.)

Can you find a couple of Turing-machine-like structures in a V Neumann architecture?



  Recently, I've seen a video on the funtioning of Turing machines and how a CPU works. I can say that the three videos were very interesting and that is why I search if there were structures of the Turing machines that function as building blocks for V. Neumann's structure. Below I will leave a link to the three videos so you can see them if you are interested. After viewing the two videos, I created a mindmap with a page named mindomo explaining the concepts of the Turing machines and the V. Neumann architecture that I will show you down. Finally I will answer a quick question; Can you find a couple of Turing-machine-like strucures in a V. Neumann architecture?
   
 







Make your own mind maps with Mindomo.

Similarities

 

Resultado de imagen para binary code

  • Both uses codes with 1 and 0, and recive and send information
  • The turing machin creates an output and an input, and the V Neumann makes it with the ALU.





Also the V. Neumann structure uses the Turing machine to solve and asnwers problems