Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

25 total results found

What is programming?

Programming Introduction

Programming is providing the necessary instructions to a machine or device so that it can work automatically. In every program there are a series of elements that will always be present: Input: data or information that must be provided to the machine so th...

Flowcharts

Programming Introduction

An algorithm is a sequence of steps that must be performed to solve a problem. A flowchart is a way to represent a process or algorithm in a visual, structured and organized way. It is a very useful tool to organize and structure a programming task before jum...

Output

Programming Basic elements in programming

Normally we program because we want to obtain a result. This result is what we usually call OUTPUT of the program, although everything that the program shows to the user receives the same name. When you are taking your first steps in programming, you usually ...

Input

Programming Basic elements in programming

A program like the example of the Hello World  is not typical in programming. Increasingly, we seek to create programs that carry out actions that are not merely pre-programmed and automated, but rather react based on parameters provided by the user. All data ...

Storage

Programming Basic elements in programming

In order to operate with the data, we must previously reserve memory spaces in which to store it. These are what we call data storage structures. These structures must be defined by: Identifier: name that we give to the data during the program to refer to ...

Processing

Programming Basic elements in programming

Types of operations The operations to be performed with the data can be: Arithmetic: classic operations of addition, subtraction, multiplication and division or maths operations. Logics: comparisons, negation, AND, OR. Concatenation: union of several e...

Comments

Programming Basic elements in programming

A comment in programming is text in our source code that the compiler ignores. And if it is ignored, why do we put it on? Usually to give us internal explanations of what the function of each part of the program is. They are also very useful for temporarily ...

Scratch

Programming First steps with Scratch

Scratch is both a programming language with a simple interface that allows young people to create digital stories, games and animations using block programming, and it is also the largest programming community for boys and girls in the world. Scratch is desi...

Interface

Programming First steps with Scratch

Scratch home screen We will use the  Offline version of Scratch 3.0 called Scratux, but the interface is similar in other versions. Menu bar: at the top left, where we can choose the language, save or load our projects or access various tutorials. Cod...

Blocks

Programming Starting to use Scratch

We are going to make our first program in Scratch: Click on the Code tab, in the Events menu Drag the "When green flag clicked" block: 3. Click on Motion now.  4.  Drag the block "move 10 steps" to the right area and place it by dragging it just ...

Sprites, costumes and stages

Programming Starting to use Scratch

Activity: Sprites A new project in Scratch always comes with a sprite: it's a Cat. You can change the name of the sprite by clicking on the box Sprite Add a new sprite from the Sprites library, specifically the "Dog1" sprite. It is in the Animals categor...

Programs and motion

Programming Starting to use Scratch

Activity: Add a new program Let's add that when you press the "a" key, the sprite rotates 90 degrees: We will have to use an Events block, specifically the "when space key pressed" block. I put space in italics because we can change it. By clicking on "spa...

Sound, Music and Pen

Programming Starting to use Scratch

Sound Sound blocks are used to play sounds at some point in our program. Each sprite comes with a default sound. But we  can record or add sounds that we already have on our computer: Music In addition to sound blocks, Scratch also has a set of blocks to ...

Control: conditions

Programming Starting to use Scratch

Conditions are a type of blocks that evaluate something, and if it is true, then the blocks nested inside it are executed. They are available in the Control menu. Add these blocks and test them by clicking on the flag. The green blocks are in the operators me...

Control: loops

Programming Starting to use Scratch

Practical case: To better understand what repetitions are, make a program that draws two dashed lines. Solution: You can duplicate the blocks (right click - duplicate) so you don't have to build the same thing twice. What if you had to paint many lin...

Messages

Programming Starting to use Scratch

We can communicate two programs either within the same sprite or between different sprites or with the stage by sending messages. A message can be sent from a program from one sprite to another, to perform some action on it. These blocks are located in "Events...

Variables

Programming Starting to use Scratch

We can understand variables as a "name" that contains a "value." We can assign a value to the variable. And we can recover the value of the variable. When you make a new variable, these variable control blocks appear in "Variables".   Practical case: Make...

Your first game

Programming Starting to use Scratch

Practical case: Let's create our first game! With all this we can create a simple game. At the beginning of the game, just the cat appears on a Stage of your choice, asks your name, greets you and invites you to play. Next the dog appears. We will move t...

What is electronics?

Electronics and control Electronics

In an electrical circuit the current flows through the conductors and components naturally, having the current a value that depends on the components connected in the circuit. In an electronic circuit, a control is exercised over the flow of the electric ...

Electronic components

Electronics and control Electronics

Electronic components can be classified in: Active components: usually can inject power into a circuit. They are made of semiconductors. E.g: Diodes, transistors. Passive components: cannot introduce net energy into the circuit. E.g: Resistors, capacitors ...