Conceptual Programming: Conceptual Programming: Learn Programming the old way!
()
About this ebook
Related to Conceptual Programming
Related ebooks
Design of a Programmer Rating: 4 out of 5 stars4/5Mastering C: A Comprehensive Guide to Proficiency in The C Programming Language Rating: 0 out of 5 stars0 ratingsC Programming Wizardry: From Zero to Hero in 10 Days: Programming Prodigy: From Novice to Virtuoso in 10 Days Rating: 0 out of 5 stars0 ratingsC Clearly - Programming With C In Linux and On Raspberry Pi Rating: 0 out of 5 stars0 ratingsCode Beneath the Surface: Mastering Assembly Programming Rating: 0 out of 5 stars0 ratingsComputer Data Rating: 0 out of 5 stars0 ratingsEnergy Made Easy: Helping Citizens Become Energy-Literate Rating: 0 out of 5 stars0 ratingsA Guide To All Programming and Coding Languages Rating: 0 out of 5 stars0 ratingsRacket Unleashed: Building Powerful Programs with Functional and Language-Oriented Programming Rating: 0 out of 5 stars0 ratingsJava Design Patterns for Automation and Performance Rating: 4 out of 5 stars4/5Job Ready Java Rating: 0 out of 5 stars0 ratingsAnatomy of an Excuse: flash fiction and short film adaptation Rating: 0 out of 5 stars0 ratingsRust Mini Reference: A Hitchhiker's Guide to the Modern Programming Languages, #5 Rating: 0 out of 5 stars0 ratingsMastering CUDA C++ Programming: A Comprehensive Guidebook Rating: 0 out of 5 stars0 ratingsData Structure in Python: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsScratch 1.4: Beginner's Guide Rating: 0 out of 5 stars0 ratingsBeginning Unix Rating: 3 out of 5 stars3/5Coding for Kids: An Adventure into the World of Programming Rating: 0 out of 5 stars0 ratingsProgramming Language Concepts: Improving your Software Development Skills Rating: 0 out of 5 stars0 ratingsThe Math(s) Fix: An Education Blueprint for the AI Age Rating: 0 out of 5 stars0 ratingsLogic Programming: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsTerrestrial Architecture Rating: 0 out of 5 stars0 ratingsMastering Python Programming: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsPython Rating: 0 out of 5 stars0 ratingsJulia for Data Science Rating: 0 out of 5 stars0 ratingsMastering Ada Programming: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsCUDA Programming with Python: From Basics to Expert Proficiency Rating: 1 out of 5 stars1/5MySQL 8 Cookbook: Ready solutions to achieve highest levels of enterprise database scalability, security, reliability, and uptime Rating: 0 out of 5 stars0 ratingsLearn to Code with C: Program with the world's most popular language on your Raspberry Pi Rating: 5 out of 5 stars5/5
Programming For You
Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Python Data Structures and Algorithms Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5PYTHON PROGRAMMING Rating: 4 out of 5 stars4/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5Python 3 Object Oriented Programming Rating: 4 out of 5 stars4/5Python for Data Science For Dummies Rating: 0 out of 5 stars0 ratingsJavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5Microsoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsExcel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsCoding All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsLearn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 5 out of 5 stars5/5Beginning Programming with Python For Dummies Rating: 3 out of 5 stars3/5
Reviews for Conceptual Programming
0 ratings0 reviews
Book preview
Conceptual Programming - Avishek Sharma
CONTENTS
1. What is Programming.
2. Understanding computers.
3. Dealing with Math.
4. Algorithms.
5. Flowcharts.
6. Handling Instructions.
7. Combining Algorithms and Flowcharts.
8. Designing Programs.
9. Dealing with complexities.
10. Pseudo Code.
1. What is Programming?
If we look at the word, it means to Program something. Something can be taken as computers. In relation to computers, a program means a set of instructions. Instructions mean providing guidance to do a job. And a job can be related to a task. Like picking up a book or adding two numbers.
When we program computers we write instructions. But as usual, a computer only understands binary which is either 0 or 1. So when ordering a computer to do a task, how does it understand the order? And how does it even do it by 0’s and 1’s?
The answer lies in the Programming Technique. When we program computers, we define a set of instructions. These instructions have different values that can be used to order a computer to do a task. Like addition or other arithmetic (since it won't be able to pick up a book by itself unless provided such hardware). A computer will then do only that task for which it is instructed. Nothing else.
For example, we order a computer to do an addition of 2 and 3. But a computer only understands binary. So we decode 2 and 3 into binary, we get 10 and 11. A computer is made up of various hardware but here we only need the CPU or the Central Processing Unit. It has Accumulator (place for work in the CPU), ALU(for arithmetic purposes), various buses(to carry data), Registers(to hold data), RAM(for writing and reading data). We won’t be needing ROM as we already have data as 10 and 11.
So, we have to add these two numbers. First, we got to store these. But exactly in what? The memory of course. But to keep things simple for you to understand, let us store these two numbers in the Registers. A CPU has lot of registers, let us take two of them and call them R1 and R2. We store 10 in R1 and 11 in R2.
But wait? We just can’t do that, we have to physically mention the numbers for insertion. So here we use an instruction named MOV. It’s short for MOVE. We can use it to move values to Registers. Like,
MOV R1,2
MOV R2,3.
These are actually called Assembly Language instructions, the lowest level language that a CPU directly understands.
We have 2 and 3 loaded into Registers of the CPU. Now we can simply add them. We will have to use another instruction named ADD. It’s short for ADDITION. It works like,
ADD R1,R2
And it’s done. We successfully added two numbers using CPU language.
We can also output the result into an OUTPUT PORT (like a digital display) like a PORT A with a port address. Let us say we stored the result in R3. We just write,
OUT R3,A.
That’s all. The CPU will output the result from the R3 to there.
You can call this a type of providing instructions to the CPU to do a task. Or Programming. This is the simplest task possible. You can learn enormous tasks and provide order to the CPU to multiply numbers, read them a million times, edit images, hack servers and fly rockets to mars. That’s mostly being done.
But evolution happened and we came across different programming languages. Like C, at low level, C++ at low and high level, Java at high level. We have even designed a simple human level language called Python (an intense high level language) with simplest readable code.
So, what