# Blue Pearl Learn > Free, practical computer and programming courses from Blue Pearl Computer Education, Madurai, Tamil Nadu. Every lesson is available in English and in Tamil + English (explanations in Tamil, technical terms kept in English). Short lessons, worked examples with real output, a quick check and practice exercises in each. - Free to read, no sign-up needed; a free account saves progress. - Tamil versions of every page are under /ta/, e.g. https://learn.bluepearl.co.in/ta - Not sure where to start? Three questions recommend a path: https://learn.bluepearl.co.in/find-my-path ## C Programming The language most other languages borrowed from. Learn C and the rest come easier. Course page: https://learn.bluepearl.co.in/courses/c-programming ### C Foundations - [What is C, and why learn it?](https://learn.bluepearl.co.in/courses/c-programming/what-is-c): A language from 1972 that still runs your phone, your car, and the internet. Here is why it is worth your time. - [Install a C compiler and run a program](https://learn.bluepearl.co.in/courses/c-programming/c-install-compiler): Where to download it officially, how to install it on Windows, Mac or Linux, and how to compile and run. - [Your first C program](https://learn.bluepearl.co.in/courses/c-programming/your-first-c-program): Write it, compile it, run it — and understand every line of it. - [Variables and types](https://learn.bluepearl.co.in/courses/c-programming/variables-and-types): Boxes that hold values — and why C insists on knowing what kind of value goes in each one. - [Data type sizes and ranges](https://learn.bluepearl.co.in/courses/c-programming/c-data-type-ranges): short, int, long, long long and unsigned: how big each is, the largest value it can hold, and what happens past it. - [Reading input with scanf](https://learn.bluepearl.co.in/courses/c-programming/reading-input): Make the program ask, and respond to what it is told. - [Operators and arithmetic](https://learn.bluepearl.co.in/courses/c-programming/operators): Doing sums — and the integer division trap that catches everyone once. ### Control Flow - [Making decisions with if](https://learn.bluepearl.co.in/courses/c-programming/if-and-else): Run some code only when a condition holds — and the one-character typo that breaks it. - [else if and the ternary operator](https://learn.bluepearl.co.in/courses/c-programming/c-else-if-ternary): Choosing between many ranges with an else-if ladder, and picking a value in one line with ?:. - [switch, and why break matters](https://learn.bluepearl.co.in/courses/c-programming/switch-statements): A cleaner way to pick between many fixed choices — with one famous trap. - [Loops: while, do-while, and for](https://learn.bluepearl.co.in/courses/c-programming/loops): Three ways to repeat work, and how to choose between them. - [Nested loops and patterns](https://learn.bluepearl.co.in/courses/c-programming/c-nested-loops-patterns): A loop inside a loop — tables, grids and the star and number patterns every C course asks for. - [break, continue and goto](https://learn.bluepearl.co.in/courses/c-programming/c-break-continue-goto): Leaving a loop early, skipping one turn, and the one place goto is still acceptable. ### Functions and Arrays - [Writing your own functions](https://learn.bluepearl.co.in/courses/c-programming/writing-functions): Give a piece of work a name, and stop repeating yourself. - [The four types of functions](https://learn.bluepearl.co.in/courses/c-programming/c-function-types): Whether a function takes arguments, and whether it returns a value — the four combinations and when to use each. - [Pass by value and pass by reference](https://learn.bluepearl.co.in/courses/c-programming/c-pass-by-value-reference): Why a function gets a copy of your variable, and how passing its address lets it change the original. - [Recursion](https://learn.bluepearl.co.in/courses/c-programming/c-recursion): A function that calls itself on a smaller problem — the base case that stops it, and the stack that holds each call. - [Arrays: many values, one name](https://learn.bluepearl.co.in/courses/c-programming/arrays): Hold a hundred numbers without declaring a hundred variables — and stay inside the bounds. - [Array positions: insert, delete and search](https://learn.bluepearl.co.in/courses/c-programming/c-array-positions): Working with index positions: putting a value in the middle, removing one, and finding where a value is. - [Two-dimensional arrays](https://learn.bluepearl.co.in/courses/c-programming/c-two-dimensional-arrays): Tables of values in rows and columns: declaring, filling, totalling and transposing them. - [Multi-dimensional arrays: sorting and searching](https://learn.bluepearl.co.in/courses/c-programming/c-multidimensional-sort-search): Three and more dimensions, finding a value in a table, and sorting rows or the whole table. ### Pointers - [What a pointer actually is](https://learn.bluepearl.co.in/courses/c-programming/what-is-a-pointer): Not magic, not hard — just a variable holding an address. Start here and the rest follows. - [Changing a caller's variable](https://learn.bluepearl.co.in/courses/c-programming/pointers-and-functions): The first thing pointers actually buy you — functions that can change what you gave them. - [Pointers and arrays](https://learn.bluepearl.co.in/courses/c-programming/pointers-and-arrays): Why an array turns into a pointer the moment you pass it anywhere. ### Strings, Structs and Files - [Working with strings](https://learn.bluepearl.co.in/courses/c-programming/working-with-strings): C has no string type. Here is what it has instead, and how to use it without getting hurt. - [Writing your own string functions: reverse, length, palindrome](https://learn.bluepearl.co.in/courses/c-programming/c-string-functions-own): How the library functions work inside — by writing length, reverse and palindrome checks yourself. - [Structs: grouping related data](https://learn.bluepearl.co.in/courses/c-programming/structs): Stop passing six separate variables around. Give the group a name. - [Array of structures](https://learn.bluepearl.co.in/courses/c-programming/c-array-of-structures): A whole class of student records in one array: storing, printing, averaging, finding the topper and sorting. - [Unions](https://learn.bluepearl.co.in/courses/c-programming/c-unions): A type whose members share one piece of memory — how it differs from a struct, and when it is useful. - [Reading and writing files](https://learn.bluepearl.co.in/courses/c-programming/reading-and-writing-files): Make your data survive after the program exits. ### Dynamic Memory - [malloc and free](https://learn.bluepearl.co.in/courses/c-programming/malloc-and-free): Ask for memory when you need it, and hand it back when you are done. - [The four memory mistakes](https://learn.bluepearl.co.in/courses/c-programming/memory-mistakes): Leaks, double frees, use-after-free, and off-by-one — what they look like and how to avoid them. ## Foundations Where to start if you are new to computers. Course page: https://learn.bluepearl.co.in/courses/foundations ### Computer Basics - [What a computer actually does](https://learn.bluepearl.co.in/courses/foundations/what-a-computer-does): Every computer, from a phone to a server, repeats the same four steps. Once you see them, the rest stops being mysterious. - [Files and folders](https://learn.bluepearl.co.in/courses/foundations/files-and-folders): Where your work actually lives, why a path is just an address, and how to stop losing things. - [Staying safe online](https://learn.bluepearl.co.in/courses/foundations/staying-safe-online): Passwords, scam messages, and public Wi-Fi — the small number of habits that prevent most real problems. ### The Internet - [What happens when you open a website](https://learn.bluepearl.co.in/courses/foundations/how-the-internet-works): You type an address and a page appears. Here is the journey in between. - [Judging what you find online](https://learn.bluepearl.co.in/courses/foundations/judging-what-you-find): Anyone can publish anything. A few questions separate what is worth trusting from what is not. ## Python Readable, practical and everywhere: a good first language, and a lasting one. From your first line of code to classes, files and decorators. Course page: https://learn.bluepearl.co.in/courses/python ### Getting Started - [What is Python, and why learn it?](https://learn.bluepearl.co.in/courses/python/what-is-python): Python is a programming language that is free and easy to read. See what people build with it and how it runs your code. - [Your first Python program](https://learn.bluepearl.co.in/courses/python/python-first-program): Write one line of Python, run it, and see the result on the screen. This is how every Python learner starts. - [When Python complains: reading error messages](https://learn.bluepearl.co.in/courses/python/python-reading-errors): An error message is Python telling you what went wrong. Learn to read the last line and fix the mistake. - [Comments in Python](https://learn.bluepearl.co.in/courses/python/python-comments): A comment is a note for people. Python ignores it. Learn to write notes and to switch a line off. - [Why Python, and setting it up](https://learn.bluepearl.co.in/courses/python/python-setup): Where Python came from, what it is used for, installing it, choosing an editor, and its reserved words. - [Input and output](https://learn.bluepearl.co.in/courses/python/python-input-output): Asking the user a question, and printing the answer exactly the way you want. ### Variables - [What is a variable?](https://learn.bluepearl.co.in/courses/python/what-is-a-variable): A variable is a name that holds a value. You will make one, print it, and see how Python keeps it. - [Data types in Python](https://learn.bluepearl.co.in/courses/python/data-types-in-python): Every value in Python has a type: whole number, decimal number or text. Learn to see the type of a value with type(). - [Naming variables](https://learn.bluepearl.co.in/courses/python/naming-variables): Python has simple rules for variable names. Learn the rules and how to choose a good name. - [Changing the value of a variable](https://learn.bluepearl.co.in/courses/python/reassigning-variables): A variable can get a new value at any time. Learn to change it and see what happens to the old value. - [Multiple Assignment](https://learn.bluepearl.co.in/courses/python/multiple-assignment): Python can assign several variables in a single line, which makes swapping values easy. ### Numbers, Strings and Operators - [Numbers and arithmetic](https://learn.bluepearl.co.in/courses/python/python-numbers): Whole numbers, decimals, the seven arithmetic operators, and converting between types. - [Comparison and logical operators](https://learn.bluepearl.co.in/courses/python/python-operators): Asking questions of values: bigger, equal, inside, the same object — and combining the answers. - [True, False and None](https://learn.bluepearl.co.in/courses/python/python-booleans): What Python treats as true, what it treats as false, and the value that means nothing. - [Strings: working with text](https://learn.bluepearl.co.in/courses/python/python-strings): Quotes, special characters, picking out letters and slices — and why a string never changes. - [String methods](https://learn.bluepearl.co.in/courses/python/python-string-methods): Cleaning, changing, splitting and searching text with the tools built into every string. - [Formatting output with f-strings](https://learn.bluepearl.co.in/courses/python/python-string-formatting): Putting values inside text, and controlling decimals, commas, widths and alignment. ### Control Flow - [Making decisions with if](https://learn.bluepearl.co.in/courses/python/python-if-else): Run code only when a condition holds — and why Python cares about spaces. - [Loops: for and while](https://learn.bluepearl.co.in/courses/python/python-loops): Repeat work without repeating yourself — and why a Python for loop is not a C one. - [Lists and dictionaries](https://learn.bluepearl.co.in/courses/python/python-lists): The two collections you will use for almost everything. - [break, continue, pass and loop else](https://learn.bluepearl.co.in/courses/python/python-break-continue): Leaving a loop early, skipping a turn, doing nothing on purpose, and knowing a search failed. - [match: choosing between many cases](https://learn.bluepearl.co.in/courses/python/python-match): A cleaner alternative to long if-elif chains, which can also look inside values. ### Collections - [Working with lists](https://learn.bluepearl.co.in/courses/python/python-list-methods): Adding, removing, sorting and copying — the list methods you will use constantly. - [Tuples](https://learn.bluepearl.co.in/courses/python/python-tuples): Fixed groups of values, unpacking them into names, and when to choose a tuple over a list. - [Sets](https://learn.bluepearl.co.in/courses/python/python-sets): Collections with no duplicates and no order — and fast answers to "is this in here?". - [Working with dictionaries](https://learn.bluepearl.co.in/courses/python/python-dictionaries): Changing entries, looping over keys and values, counting, and dictionaries inside dictionaries. - [Comprehensions](https://learn.bluepearl.co.in/courses/python/python-comprehensions): Building a new list, set or dictionary from another in a single readable line. ### Functions - [Defining functions](https://learn.bluepearl.co.in/courses/python/python-functions): Giving a piece of work a name, handing it values, and getting a result back. - [Function arguments](https://learn.bluepearl.co.in/courses/python/python-function-arguments): Default values, arguments by name, and functions that accept any number of values. - [Scope: where a name lives](https://learn.bluepearl.co.in/courses/python/python-scope): Why a variable inside a function is not the one outside, and what global really does. - [Lambda, map and filter](https://learn.bluepearl.co.in/courses/python/python-lambda): Tiny unnamed functions, and passing a function to another function. - [Recursion](https://learn.bluepearl.co.in/courses/python/python-recursion): A function that calls itself — how it stops, and when it is the natural answer. ### Errors and Files - [Handling errors with try and except](https://learn.bluepearl.co.in/courses/python/python-exceptions): Catching an error so the program can recover instead of crashing. - [Raising your own errors](https://learn.bluepearl.co.in/courses/python/python-raise): Refusing bad input loudly, and defining an error type of your own. - [Writing files](https://learn.bluepearl.co.in/courses/python/python-writing-files): Saving text to a file so it outlives the program, and the with statement that closes it for you. - [Reading files](https://learn.bluepearl.co.in/courses/python/python-reading-files): Reading a whole file, going through it line by line, and coping when it is not there. - [CSV and binary files](https://learn.bluepearl.co.in/courses/python/python-csv-binary-files): Reading and writing spreadsheet-style data safely, and files that hold bytes rather than text. ### Modules and the Standard Library - [Modules and import](https://learn.bluepearl.co.in/courses/python/python-modules): Using code from another file — Python's own or yours — and the __name__ check. - [Packages and __init__.py](https://learn.bluepearl.co.in/courses/python/python-packages): Grouping related modules into a folder you can import from. - [math and random](https://learn.bluepearl.co.in/courses/python/python-math-random): Built-in number helpers, the math module, and choosing things at random. - [Dates and times](https://learn.bluepearl.co.in/courses/python/python-datetime): Making dates, formatting them for people, reading them from text, and date arithmetic. - [Saving data as JSON](https://learn.bluepearl.co.in/courses/python/python-json): Turning dictionaries and lists into text you can store, and reading them back. - [Regular expressions](https://learn.bluepearl.co.in/courses/python/python-regex): Finding and checking patterns in text — phone numbers, pin codes, emails. ### Classes and Objects - [Classes and objects](https://learn.bluepearl.co.in/courses/python/python-classes): Designing your own type: a class is the plan, and each object is one thing built from it. - [Methods and attributes](https://learn.bluepearl.co.in/courses/python/python-methods-attributes): Methods that change an object, values shared by every object, and class and static methods. - [Inheritance](https://learn.bluepearl.co.in/courses/python/python-inheritance): Building a new class on an existing one, and extending what it does with super(). - [Polymorphism](https://learn.bluepearl.co.in/courses/python/python-polymorphism): One call, many kinds of object — and why Python cares what an object can do, not what it is. - [Abstraction and abstract classes](https://learn.bluepearl.co.in/courses/python/python-abstraction): Describing what every kind of object must do, while leaving how it does it to each one. - [Encapsulation and properties](https://learn.bluepearl.co.in/courses/python/python-encapsulation): Marking what is internal, and guarding attributes with properties. - [Special methods](https://learn.bluepearl.co.in/courses/python/python-special-methods): Teaching your objects to print nicely, compare, add and work with len() and in. ### Advanced Python - [Iterators, zip and enumerate](https://learn.bluepearl.co.in/courses/python/python-iterators): What a for loop really does, walking two lists together, and making your own objects loopable. - [Generators](https://learn.bluepearl.co.in/courses/python/python-generators): Producing values one at a time with yield — for huge or endless sequences. - [Closures](https://learn.bluepearl.co.in/courses/python/python-closures): Functions that remember values from where they were created. - [Decorators](https://learn.bluepearl.co.in/courses/python/python-decorators): Wrapping a function to add behaviour around it, without changing its code. - [functools and introspection](https://learn.bluepearl.co.in/courses/python/python-functools-introspection): reduce, partial and caching — and asking Python about its own objects. ## About - Blue Pearl Computer Education: https://bluepearl.co.in - Classroom: 2nd Floor, Muthoot Finance Upstairs, Jayam Theatre Bus Stop, Palanganatham Roundana, Madurai, Tamil Nadu 625003 - Phone: 086086 87877 · Email: contact@bluepearl.co.in · Mon–Fri 9 am–9 pm, Sat 9 am–7 pm - Profile: https://bluepearl.co.in - Profile: https://www.youtube.com/c/BluePearlComputerEducation - Profile: https://in.linkedin.com/company/bluepearl-computer-education - Profile: https://www.facebook.com/bluepearl.co.in - Profile: https://www.instagram.com/bluepearl_coding/