David Prieto

@dprieto

Architect and other stuff.

Joined on Feb 3, 2020

  • What is Object Oriented Programming The idea of making programs using objects. Is a paradigm of using objects to divide big projects of code. The opposite would be the paradigm of functional programming (there are other paradigms also). Functional programming divides the code into different functions. What is an object? An object is a block of code that includes
     Like 1 Bookmark
  • Open Source A program that is open source is a program (or software in general) that allows users to access its source code, not only the final binary code. It's like having the recipee. There is a subset of open source programs that are "FOSS" Free Open Source Software Why open source They allow contributions from external partners. They allow audits of the code so if there is a bug somebody else can spot it. Transparency
     Like 1 Bookmark
  • // TO-DO This will is about UML diagrams (discussed in other hackmds) and also aggregation and inheritance.
     Like  Bookmark
  • This is a documentation about how to make a sensor work using microbit and doing an easy task with it (like showing the information or switching the led screen). Also the idiea is work with the Kitronic Robotics board shield. Materials needed Microbit Kitronik Compact All-in-one Robotics Board for bbc microbit Analog resistance type soil moisteure sensor dfrobot SEN0114 Preparation
     Like  Bookmark
  • Arrays in Java work similar as we have discussed in pseudocode. They are linear, they have indexes, they cannot change in size. int[] numbers = {3, 45, 522, 1, 1, 9}; The length or size of the array is the number of elements, in the case of numbers is 6. The index of 3 is 0. The value of numbers[2] is 522. The maximum index is always equal to [nameOfThArray].length -1. In this case is 5, whose value is 9.
     Like  Bookmark
  • In this note I will use pokemon as example to do many posible practical questions that can be asked in a Computer Science Option D. The scenario will be described little by little adding more complexity. Description of the scenario We're going to have the following classes Pokemon Pikachu Charmander Squirtle Bulbasaur
     Like  Bookmark
  • :::info This is a part of preparation for Paper 2 in IB Computer Science diploma. The lessons are Start point with Java The concept of Object in OOP The POJO (Plain Old Java Object) and their common methods Relationship between objects and UML diagrams :::
     Like  Bookmark
  • :::info This is a part of preparation for Paper 2 in IB Computer Science diploma. The lessons are Start point with Java The concept of Object in OOP The POJO (Plain Old Java Object) and their common methods Relationship between objects and UML diagrams :::
     Like  Bookmark
  • :::info This is a part of preparation for Paper 2 in IB Computer Science diploma. The lessons are Start point with Java The concept of Object in OOP The POJO (Plain Old Java Object) and their common methods Relationship between objects and UML diagrams :::
     Like  Bookmark
  • Here you will find the links to the public notes that I have done for the different subjects I have teached divided by subjects. General guidance Note taking (thinking of IB students) Programs to take notes for IB Computer Science (IB Diploma Program) General guide (of my class) Starting point in Computer Science
     Like  Bookmark
  • :::success This is part of a series of notes on the Internal Assessment on the Diploma Program of IB. You can check the index with all the others and the rest of teaching material here ::: This criterion is 12 marks out of 34 so is the biggest one. It's holistic. This means that even if we have a document that will be criterion C, this criterion will be assessted with the project in general.
     Like  Bookmark
  • :::success This is part of a series of notes on the Internal Assessment on the Diploma Program of IB. You can check the index with all the others and the rest of teaching material here ::: Criterion E is evaluation of what you have already done once the development has arrived to a stop. In consist in 3 parts. The first is a review to what extend you have met your Success Criteria from criterion A. My best advice is to copy the test plan, add one more column for pass/no pass and run the test plan.
     Like  Bookmark
  • Sin título Collections in IB book are explained a little bit messy. You can go from page 256 onwards. Collections in PSEUDOCODE are an abstract of other "iterables" from other programming languages Other iterables like lists, linkedlists, Calendars, Queues, Stacks, Binary trees. :::info For example in Java these are the UML diagram of collections. You can never have an instance of a collection but you can have an instance of an ArrayList that is an AbstractList, that is a List and an Abstract Collection and is a Collection and all of them are Iterables
     Like  Bookmark
  • Loop through an 2D array. We have to use a nested loop. That is a loop inside a loop. Example Exam scores: If we have a 2dArray SCORES[6][5] it means that we have 6 rows and 5 columns. So the total number of elements will be 30. Usually in this cases the rows are the students and the columns the scores. So we have 6 students with 5 scores each. Output all the scores from the students. We have another array with names[6] where the name of the student is. (This is similar to page 7 in advance book)
     Like 1 Bookmark
  • Esto es una entrega realizada en Marzo de 2025 como parte de un Complemento Formativo. El planteamiento es hacer un esbozo de artículo científico. Este documento es un traspaso del trabajo hecho en Obsidian a un formato web para facilitar su lectura. Búsqueda de revista Seleccionar 3 revistas donde les gustaría publicar un artículo derivado de vuestras tesis. Hacer la búsqueda en WoS, Scopus o gestores de búsquedas de editoriales. Aquí están las que he revisado con detalles incluidos. 1) Science of the Total Environment :::spoiler imagen Editorial: [[Elsevier]]
     Like  Bookmark
  • In the previous lesson Starting with Arduino. Installing and first blink we made a blink. Now we can do a more complex program. First code The first code is after the blink. We need to consider that we have a dot and a dash. And they have durations that depend on each other. The idea is that we're going to blink in morse code. For this I need to understand the proportions of the morse code. We can find it in wikipedia. imagen
     Like  Bookmark
  • This comes from the context of Note taking (thinking of IB students) where I wrote differen types of notes to take. Here I'm going to explain different tools for having your notes. This is not just for Computer Science but in general and also even if I think for IB students this can be use for whoever. Handwriting Handwriting is still nice. Takes out easily distractions (no notification possible) and having the physical completion is nice (is difficult to state that you have long notes in digital but very easy with physical notebooks). Also for math/science you don't need complicated systems to write equations properly. I personally still use this for my language studies and conferences. Also for meetings. Some of my students still like the good ol' notebook and they like it.
     Like  Bookmark
  • Hi there, I'm David and I want to present you some hints of taking notes and applications to take notes. Why taking notes? Because it helps to learn. When we write things down our brain needs to pass from the ethereal thinking to a some concrete version of "writing" (or drawing). If you're learning (in general) or you're aiming specifically for doing any kind of assessment or exam, taking notes is going to improve your knowledge. Types of notes When you take notes (specially for classes such IB) there are 3 types of notes (The naming is mine).
     Like  Bookmark
  • Tengo un teléfono inalámbrico Motorola C1001LB+ cuya botonera estaba empezando a dejar de funcionar correctamente. Es decir, pulsaba los botones y no marcaba bien. La solución que se me ha ocurrido y ha funcionado ha sido desmontar, revisar y volver a colocar. Ha funcionado bastante bien. imagen el teléfono Desmontaje Material necesario: Un destornillador de estrella fino y uno plano para hacer palanca. Algo de fuerza Partimos retirando la tapa de atrás y un par de tornillos pequeños que tiene en la parte de atrás
     Like  Bookmark
  • In the topic 5 of IB we have already covered 2 dimensional arrays and Recursion. We have left to cover other abstract data structures like stacks, queues, linked lists and Binary trees. These Abstract Data Structures (ADS) are ways to store data. We have already in SL covered collections and 1 dimensional arrays. Why does this matter? This matters because we want to acces the data or modify as fast as possible. In order to understand this we need to review what is Big O Notation that we have already covered. :::warning Remember collections that we have these methods
     Like  Bookmark