Categorias: Todos - algorithms - instructions - logic - programming

por Gonzalo Guerrero 3 anos atrás

210

Introduction to programming

Learning to program involves understanding how to solve problems using a methodical approach based on algorithms. A programming language consists of a set of character symbols and rules designed to create instructions that communicate with a computer.

Introduction to programming

Introduction to programming

To name your story, you have to think about the overall message and what you want your audience to understand from the story. Also, make it relevant and easy to remember.

Building a program

The ending of a story is essential. We all know that if the ending is weak, what happened before loses its importance. So make it unpredictable, but fair. A resolved ending answers all the questions and ties up any loose threads from the plot.

Design the program in the form of a flow diagram or pseudocode

This is the moment when the main character surpasses the last obstacle and finally faces their greatest challenge.
The climax usually follows one of these patterns:


Type in your answer.

This is done because it enables to translate the program into another programming language if necessary

Programming language

A story is nothing more than a character overcoming a series of difficulties to reach the desired goal. Obstacles usually create suspense and conflict. In overcoming obstacles, there is growth: weak becomes strong; hatred turns into love; sadness into happiness; wrong into right; lies into truth; or evil becomes good.

See a few examples below:

It has a set of instructions in order to reach a solution
Logic
Text manipulation
Calculation
Input and output
Data storage
Allows to communicate with the computer
Set of character symbols and rules written in a certain way

Programs

The middle of the story is where you add layers of complications that will lead to the end. Reveal more about the character's journey. Did their personality go through changes? How did they overcome the challenges? And as you build up the story’s central conflict, make it more personal to that character. Also, from the middle act, you have to lead into the final act.

In order to program you must know the functions that a computer can perform
Series of oprations to reach a result

Your character(s) need(s) motivation in order to solve the challenge(s).

They are the solutions created with a computer

Each story has a main character and that character usually needs to solve a problem or challenge. The character's challenge is the one that creates tension throughout the story.

Algorithms

They can be expresed in
Pseudocodes
Flowcharts
Allows to solve a problem
Finite set of steps
Each step is called a sentence or instruction

Solution to problems

In the beginning of the story (or the exposition), you will need to introduce the setting and characters. You might also want to introduce the main conflict. This part of the story is important because it gives the reader necessary background information and maybe even a first insight into a character’s personality.

Metholgy based on algorithms, in order to solve problems

Characters are essential to a good story. Usually, the protagonist(s) is/are the most affected by the plot. Introduce a character by focusing on their actions, interests, and occupation, as the physical appearance doesn't make a difference in most cases.