Entries by Christos Katsoulas

ComputerCraft

What ComputerCraft is about? It is a mod you can download and install Mods (short for modifications) are anything that changes Minecraft’s game content from what it originally was. ComputerCraft adds computers that you can program in Lua Lua is a powerful, efficient, lightweight, embeddable scripting language. “Lua” (pronounced LOO-ah) means “Moon” in Portuguese. As […]

Strings

A string is a set of characters. Letters, numbers or symbols inside quotes form a string. We may use single or double quotes around a string: “Hello world.” ‘Hello world.’ Both of the above values are strings. String is a sequence A string is a sequence of characters. We can access the characters using their index. […]

Variables

In this lesson, we are introduced to the concept of a variable. A variable is a location in a computer’s memory where we can hold information used by our program – just like storing things in a box. Each storage location in memory (i.e. variable) has three features: i. Name The name of a variable […]

Introduction to Python

Download Thonny IDE from: https://thonny.org/ Thonny is an Integrated Development Environment for beginners. Yet it is powerful enough to build robust applications. Input a value Open Thonny and write your first program: name = input (“what is your name?”) print (“Hello”, name) You may use double or single quotation marks (‘ or ”) to print […]

Graphs

A graph is a useful data structure in Computer Science as it consists of a set of nodes connected to each other with vertices. A pair of nodes is an edge (line if the graph is undirected, arrow if the graph is directed).  Christos KatsoulasComputer Science teacher katsoulas.info

How Alan Turing Invented the Computer Age

By Ian Watson. In 1936, whilst studying for his Ph.D. at Princeton University, the English mathematician Alan Turing published a paper, “On Computable Numbers, with an application to the Entscheidungsproblem,” which became the foundation of computer science. In it Turing presented a theoretical machine that could solve any problem that could be described by simple […]

Recursion

Recursion is a method where the solution to a problem depends on solutions to smaller instances of the same problem or, in other words, a programming technique in which a function can call itself to solve a problem.   Christos KatsoulasComputer Science teacher katsoulas.info