- Summary of Andela's Homestudy Curriculum module 1 to 3
- Sample code of exercises using python
Computer science is the study of problems, problem-solving, and the solutions that come out of the problem-solving process. Given a problem, a computer scientist’s goal is to develop an algorithm, a stepby-step list of instructions for solving any instance of the problem that might arise. Algorithms are finiteprocesses that if followed will solve the problem. Algorithms are solutions.
Programming is the process of taking an algorithm and encoding it into a notation, a programming language, so that it can be executed by a computer. Although many programming languages and many different types of computers exist, the important first step is the need to have the solution. Without an algorithm there can be no program.
- algorithm
- loops
- variable
- function
- conditional
- strings
- if statement
- list
- for and in
- Range
- while loop
- classes
- object
- instances
- Encapsulation of Data
- Inheritance
- constructors
- Linked List
- Tree
- Graph
- Stack, Queue etc.
Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data.
Data Structure is a way of collecting and organising data in such a way that we can perform operations on these data in an effective way. Data Structures is about rendering data elements in terms of some relationship, for better organization and storage.
As we discussed above, anything that can store data can be called as a data strucure, hence Integer, Float, Boolean, Char etc, all are data structures. They are known as Primitive Data Structures. Then we also have some complex Data Structures, which are used to store large and connected data. Some example of Abstract Data Structure are: