Skip to content

Commit 4dfd04e

Browse files
authored
Merge branch 'mouredev:main' into main
2 parents fb3b307 + e73250c commit 4dfd04e

File tree

429 files changed

+51899
-1787
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

429 files changed

+51899
-1787
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*.xml
44
*.iml
55
*.json
6+
*.csv
67
!stats.json
78
.DS_Store
89
.idea/

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
2828
## Corrección y próximo ejercicio
2929

30-
> #### Lunes 9 de septiembre de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31-
> #### Consulta el **[horario](https://discord.gg/7A9NDvrb?event=1277739431696138385)** por país y crea un **[recordatorio](https://discord.gg/7A9NDvrb?event=1277739431696138385)**
30+
> #### Lunes 16 de septiembre de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31+
> #### Consulta el **[horario](https://discord.gg/8cxgGTxm?event=1280229634524450877)** por país y crea un **[recordatorio](https://discord.gg/8cxgGTxm?event=1280229634524450877)**
3232
3333
## Roadmap
3434

@@ -70,7 +70,9 @@
7070
|33|[RESCATANDO A MICKEY](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/ejercicio.md)|[📝](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/python/mouredev.py)|[▶️](https://youtu.be/Bo9Cp3N68C0)|[👥](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/)
7171
|34|[ÁRBOL GENEALÓGICO DE LA CASA DEL DRAGÓN](./Roadmap/34%20-%20ÁRBOL%20GENEALÓGICO%20LA%20CASA%20DEL%20DRAGÓN/ejercicio.md)|[📝](./Roadmap/34%20-%20ÁRBOL%20GENEALÓGICO%20LA%20CASA%20DEL%20DRAGÓN/python/mouredev.py)|[▶️](https://youtu.be/GAHBOAzgE2w)|[👥](./Roadmap/34%20-%20ÁRBOL%20GENEALÓGICO%20LA%20CASA%20DEL%20DRAGÓN/)
7272
|35|[REPARTIENDO LOS ANILLOS DE PODER](./Roadmap/35%20-%20REPARTIENDO%20LOS%20ANILLOS%20DE%20PODER/ejercicio.md)|[📝](./Roadmap/35%20-%20REPARTIENDO%20LOS%20ANILLOS%20DE%20PODER/python/mouredev.py)|[▶️](https://youtu.be/10i2dnaMLj8)|[👥](./Roadmap/35%20-%20REPARTIENDO%20LOS%20ANILLOS%20DE%20PODER/)
73-
|36|[EL SOMBRERO SELECCIONADOR](./Roadmap/36%20-%20EL%20SOMBRERO%20SELECCIONADOR/ejercicio.md)|[🗓️ 09/09/24](https://discord.gg/7A9NDvrb?event=1277739431696138385)||[👥](./Roadmap/36%20-%20EL%20SOMBRERO%20SELECCIONADOR/)
73+
|36|[EL SOMBRERO SELECCIONADOR](./Roadmap/36%20-%20EL%20SOMBRERO%20SELECCIONADOR/ejercicio.md)|[📝](./Roadmap/36%20-%20EL%20SOMBRERO%20SELECCIONADOR/python/mouredev.py)|[▶️](https://youtu.be/_UjOD587elY)|[👥](./Roadmap/36%20-%20EL%20SOMBRERO%20SELECCIONADOR/)
74+
|37|[OASIS VS LINKIN PARK](./Roadmap/37%20-%20OASIS%20VS%20LINKIN%20PARK/ejercicio.md)|[📝](./Roadmap/37%20-%20OASIS%20VS%20LINKIN%20PARK/python/mouredev.py)|[▶️](https://youtu.be/q-zBKriHupY)|[👥](./Roadmap/37%20-%20OASIS%20VS%20LINKIN%20PARK/)
75+
|38|[MOUREDEV PRO](./Roadmap/38%20-%20MOUREDEV%20PRO/ejercicio.md)|[🗓️ 23/09/24](https://discord.gg/xeebRweK?event=1283082037917519985)||[👥](./Roadmap/38%20-%20MOUREDEV%20PRO/)
7476

7577
## Cursos en YouTube
7678

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace PracticasLogicaProgramacion
8+
{
9+
internal class Program
10+
{
11+
static void Main(string[] args)
12+
{
13+
//EJERCICIOS
14+
//1. Crea un comentario en el código y coloca la URL del
15+
//sitio web oficial del lenguaje de programación que has seleccionado.
16+
17+
https://learn.microsoft.com/en-us/dotnet/csharp/
18+
19+
//2. Representa las diferentes sintaxis que existen de crear comentarios
20+
//en el lenguaje (en una línea, varias...).
21+
22+
//Este se utiliza para escribir comentarios de una sola linea.
23+
/*
24+
este se utiliza para escribir comentarios de varias lineas.
25+
*/
26+
27+
//3. Crea una variable (y una constante si el lenguaje lo soporta).
28+
29+
private int num;
30+
private const int numConst;
31+
32+
//4. Crea variables representando todos los tipos de datos primitivos
33+
//del lenguaje (cadenas de texto, enteros, booleanos...).
34+
35+
//1. Enteros
36+
private int num1; //numeros enteros de 32 bits.
37+
private long num2; //numeros enteros de 64 bits.
38+
private short num3; //numeros enteros de 16 bits.
39+
private byte num4; //numeros enteros sin signo de 8 bits.
40+
private sbyte num5; //numeros enteros con signo de 8 bits.
41+
private uint num6; //numeros enteros sin signo de 32 bits,
42+
private ulong num7; //numeros enteros sin signo de 64 bits.
43+
private ushort num8; //numeros enteros sin signo de 16 bits.
44+
45+
//2. Float
46+
private float num9; //Números de punto flotante de precisión simple (32 bits).
47+
private double num10; //Números de punto flotante de doble precisión (64 bits).
48+
49+
//3. Decimal
50+
private decimal num11; //Números decimales de alta precisión, generalmente usados para cálculos financieros (128 bits).
51+
52+
//4. Booleanos
53+
bool jump; // Representa valores booleanos (true o false).
54+
55+
//5. Caracteres
56+
private char Caracter; //Representa un carácter Unicode UTF-16 (16 bits).
57+
58+
//6. Cadenas
59+
private string name; //Secuencia de caracteres Unicode.
60+
61+
//5. Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
62+
EJERCICIO ejercicio = new EJERCICIO();
63+
ejercicio.saludo();
64+
65+
}
66+
public class EJERCICIOS
67+
{
68+
public void Saludo()
69+
{
70+
Console.WriteLines("¡Hola, [C#]!")
71+
}
72+
73+
}
74+
}
75+
}
76+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
3+
// WEBSITE> https://isocpp.org/
4+
5+
// Code comments can be made by different ways :
6+
7+
// Line Comment
8+
9+
/*
10+
Block
11+
Comment
12+
*/
13+
#include <iostream>
14+
15+
void varConstVar() {
16+
int var = 1;
17+
const int constVar = 2;
18+
}
19+
20+
void primitiveData() {
21+
int a = 0;
22+
float b = 1.5;
23+
double float c = 2.5;
24+
char d = 'a';
25+
bool e = true;
26+
wchar_t f = L'C';
27+
}
28+
29+
int main() {
30+
std::cout << "¡Hola, [C++]!" << std::endl;
31+
return 0;
32+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#include <iostream>
2+
using namespace std;
3+
4+
// la web oficial es: https://isocpp.org/
5+
6+
/* otra forma de
7+
comentar */
8+
9+
//comentario de una linea
10+
11+
12+
int vida = 52;
13+
string perros = "doce";
14+
double flotante = 22;
15+
char letra = 'N';
16+
bool falsito = false;
17+
string lenguaje = "C++";
18+
19+
20+
int numeroBalas = 25, armorTotal = 78, hpLeft = 62;
21+
const int miConstante = 12;
22+
23+
24+
25+
26+
int main()
27+
{
28+
cout << "esto anda de 10" << ", Test si funciona" << endl;
29+
cout << "La vida int es: " << vida << endl;
30+
cout << "El string total de perros es: " << perros << endl;
31+
cout << "el numero float es: " << flotante << endl;
32+
cout << "La letra es: " << letra << endl;
33+
cout << "El booleano es: " << falsito << endl;
34+
cout << "Lo siguiente suma los valores de: numerosBalas, armorTotal y hpLeft \nestadisticas de un juego por ejemplo." << endl;
35+
cout << "La suma de los ints es: " << numeroBalas + armorTotal + hpLeft << endl;
36+
cout << "mi constante es:" << miConstante << endl;
37+
cout << "Hola, mi lenguaje es: " << lenguaje << ", y estoy encantado de ir aprendiendo." << endl;
38+
return 0;
39+
40+
}
41+
42+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
https://www.cprogramming.com
2+
3+
Types of comments
4+
// // = // comment //
5+
/* */ = /* comment */
6+
7+
// constant value = const + type of variable + name of variable //
8+
const int n = 5;
9+
10+
//Data types //
11+
char character = 'a'; // Single character, 1 byte //
12+
int integer = 9; // Signed integer in base 10, 4 bytes//
13+
float decimal = 1.5; // Floating point number with six digits of precision, 4 bytes //
14+
double decimalDouble = -2456.4452; // Hold about 15 to 16 digits after and before any given decimal point, 8 bytes //
15+
long longinteger = 132344546L; // Signed long integer, 4 bytes //
16+
short shortinteger = 128; // Short signed integer, 2 bytes //
17+
unsigned unsignedinteger = 50; // Unsigned integer in base 10, 4 bytes //
18+
unsigned long unsignedlonginteger = 451345245UL; // Unsigned long long integer, 8 bytes //
19+
unsigned short unsignedshortinteger = 256; // Short unsigned integer, 2 bytes //
20+
21+
#include <stdio.h> // header function
22+
23+
int main() // main function
24+
{ // indicates the beginning and end of functions and other code blocks //
25+
char l_name = 'C'; // create a variable named l_name and assign it the character C //
26+
27+
printf("!Hola %c!\n", l_name); // print the string !Hola + variable l_name// // %c indicates that the funtion is printing a character// // \n print another line//
28+
29+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#include <stdio.h>
2+
3+
4+
// https://www.w3schools.com/c/index.php
5+
// Comentario de una sola línea
6+
/*
7+
Comentario
8+
de varias
9+
líneas
10+
*/
11+
12+
int age = 28;
13+
const char letter = 'D';
14+
15+
int main() {
16+
printf("¡Hola, C!\n");
17+
return 0;
18+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
//Reto #00 SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO;
2+
3+
4+
public class Ainoaran {
5+
6+
public static void main(String[] args) {
7+
8+
//URL Sitio oficial JAVA: https://docs.oracle.com/javase/8/docs/api/
9+
10+
/*Comentarios:
11+
- Los comentarios de una sola línea se realizan utilizando "//"
12+
- Los comentarios en varias líneas se inicializan con "/*" y se finaliza con '* /'
13+
*/
14+
15+
//VARIABLES:
16+
17+
String variable = "Es una variable";
18+
final String constante = "Es una constante";
19+
20+
//DATOS PRIMITIVOS:
21+
22+
// Byte: Ocupa 8 bits (1 byte). Valores de -128 a 127 (inclusive).
23+
byte age = 25;
24+
25+
// Short: Ocupa 16 bits (2 bytes). Valores de -32,768 a 32,767 (inclusive).
26+
short year = 2024;
27+
28+
// int: Numero entero. Ocupa 32 bits (4 bytes). Valores de -2,147,483,648 a 2,147,483,647 (inclusive).
29+
int population = 8200000 ;
30+
31+
// long: Número entero largo. Ocupa 64 bits (8 bytes). Valores de -9,223,372,036,854,775,808 a 9,223,372,036,854,775,807 (inclusive).
32+
long distance= 1000000000L;
33+
34+
// float: Número de punto flotante de precisión simple. Ocupa 32 bits (4 bytes).
35+
float height = 1.75f;
36+
37+
// double: Número de punto flotante de doble precisión. Ocupa 64 bits (8 bytes).
38+
double decimal = 6371.0;
39+
40+
// char: Un solo carácter Unicode. Ocupa 16 bits (2 bytes).
41+
char character = 'A';
42+
43+
// boolean: Valor booleano, true o false. Ocupa 1 bit.
44+
boolean isAdult = true;
45+
46+
// Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
47+
48+
System.out.println("¡Hola, Java!");
49+
}
50+
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
package org.roadmap.java;
2+
3+
public class Password1989 {
4+
5+
public static void main(String[] args) {
6+
/*
7+
* ¿Preparad@ para aprender o repasar el lenguaje de programación que tú quieras?
8+
* - Recuerda que todas las instrucciones de participación están en el
9+
* repositorio de GitHub.
10+
*
11+
* Lo primero... ¿Ya has elegido un lenguaje?
12+
* - No todos son iguales, pero sus fundamentos suelen ser comunes.
13+
* - Este primer reto te servirá para familiarizarte con la forma de participar
14+
* enviando tus propias soluciones.
15+
*
16+
* EJERCICIO:
17+
* - Crea un comentario en el código y coloca la URL del sitio web oficial del
18+
* lenguaje de programación que has seleccionado.
19+
* - Representa las diferentes sintaxis que existen de crear comentarios
20+
* en el lenguaje (en una línea, varias...).
21+
* - Crea una variable (y una constante si el lenguaje lo soporta).
22+
* - Crea variables representando todos los tipos de datos primitivos
23+
* del lenguaje (cadenas de texto, enteros, booleanos...).
24+
* - Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
25+
*
26+
* ¿Fácil? No te preocupes, recuerda que esta es una ruta de estudio y
27+
* debemos comenzar por el principio.
28+
*/
29+
30+
/* URL del sitio web oficial de JAVA:
31+
* https://www.java.com/es/
32+
*/
33+
34+
/*
35+
* Comentario de varias lineas
36+
*/
37+
38+
//Comentario de una linea
39+
40+
/*
41+
* Ejercicio crea una variable:
42+
*/
43+
String variableJava = "Java";
44+
45+
/*
46+
* Ejercicio crea una constante:
47+
*/
48+
49+
final String constanteJava = "Java";
50+
51+
/*
52+
* Datos primitivos en JAVA:
53+
* El lenguaje Java da de base una serie de tipos de datos primitivos.
54+
*
55+
* byte: Representa un tipo de dato de 8 bits con signo. De tal manera que puede almacenar los valores numéricos de -128 a 127 (ambos inclusive)
56+
* short: Representa un tipo de dato de 16 bits con signo. De esta manera almacena valores numéricos de -32.768 a 32.767.
57+
* int: Es un tipo de dato de 32 bits con signo para almacenar valores numéricos. Cuyo valor mínimo es -231 y el valor máximo 231-1.
58+
* long: Es un tipo de dato de 64 bits con signo que almacena valores numéricos entre -2 elevado 63 a 2 elevado a 63-1
59+
* float: Es un tipo dato para almacenar números en coma flotante con precisión simple de 32 bits.
60+
* double: Es un tipo de dato para almacenar números en coma flotante con doble precisión de 64 bits.
61+
* char: Es un tipo de datos que representa a un carácter Unicode sencillo de 16 bits.
62+
* boolean: Sirve para definir tipos de datos booleanos. Es decir, aquellos que tienen un valor de true o false. Ocupa 1 bit de información.
63+
*
64+
* Primitivos
65+
* Lista de tipos de datos primitivos en JAVA
66+
* Tipo Tamaño Valor mínimo Valor máximo
67+
* byte 8 bits -128 127
68+
* short 16 bits -32768 32767
69+
* int 32 bits -2147483648 2147483647
70+
* long 64 bits -9223372036854775808 9223372036854775807
71+
* float 32 bits -3.402823e38 3.402823e38
72+
* double 64 bits -1.79769313486232e308 1.79769313486232e308
73+
* char 16 bits u000 ufff
74+
*/
75+
byte b = -128;
76+
short s = -32768;
77+
int i = -2147483648;
78+
long l = -9223372036854775808l;
79+
float f = -3.402823e38f;
80+
double d = -1.79769313486232e307d;
81+
char c;
82+
boolean bl = true;
83+
84+
//Facil: System.out.println("¡Hola, " + variableJava + "!");
85+
System.out.println(String.format("¡Hola, %s!", variableJava));
86+
87+
/*
88+
* El título de la Pull Request también debe seguir este formato: "#[número] - [lenguaje_utilizado]".
89+
* En el ejemplo anterior sería "#00 - Python".
90+
*
91+
* En mi caso seria: "#00 - Java"
92+
*/
93+
94+
}
95+
96+
}

0 commit comments

Comments
 (0)