Conceptual Programming: Conceptual Programming: Learn Programming the old way!
()
About this ebook
Related to Conceptual Programming
Related ebooks
Understanding Python: Beginner's Guide to Programming Rating: 0 out of 5 stars0 ratingsEssential Algorithms: A Practical Approach to Computer Algorithms Rating: 5 out of 5 stars5/5Learn R By Coding Rating: 0 out of 5 stars0 ratingsData Science Programming In Python Rating: 0 out of 5 stars0 ratingsMachine Learning: Hands-On for Developers and Technical Professionals Rating: 0 out of 5 stars0 ratingsMachine Learning in Python: Hands on Machine Learning with Python Tools, Concepts and Techniques Rating: 5 out of 5 stars5/5Algorithm Challenges: The Dojo Collection Rating: 0 out of 5 stars0 ratingsComputer Programming and Computer Systems Rating: 0 out of 5 stars0 ratingsLearn Multithreading with Modern C++ Rating: 0 out of 5 stars0 ratingsHandbook of Advanced Mathematics Rating: 0 out of 5 stars0 ratingsCombinatorial Algorithms: For Computers and Calculators Rating: 4 out of 5 stars4/5Julia as a Second Language Rating: 0 out of 5 stars0 ratingsLearning Rust Rating: 0 out of 5 stars0 ratingsSimultaneous multithreading A Complete Guide Rating: 0 out of 5 stars0 ratingsPYTHON DATA SCIENCE: A Practical Guide to Mastering Python for Data Science and Artificial Intelligence (2023 Beginner Crash Course) Rating: 0 out of 5 stars0 ratingsLearning Apache Mahout Classification Rating: 0 out of 5 stars0 ratingsPractical C++ Backend Programming Rating: 0 out of 5 stars0 ratingsLearn Python Programming the Easy and Fun Way Rating: 1 out of 5 stars1/5Pragmatic Machine Learning with Python: Learn How to Deploy Machine Learning Models in Production Rating: 0 out of 5 stars0 ratingsHashing Rating: 0 out of 5 stars0 ratingsNew Learning of Python by Practical Innovation and Technology Rating: 0 out of 5 stars0 ratingsGetting Started with Beautiful Soup Rating: 3 out of 5 stars3/5Statistics with Rust: 50+ Statistical Techniques Put into Action Rating: 0 out of 5 stars0 ratingsGeometry for Programmers Rating: 0 out of 5 stars0 ratingsMastering MongoDB: A Comprehensive Guide to NoSQL Database Excellence Rating: 0 out of 5 stars0 ratingsD Cookbook Rating: 0 out of 5 stars0 ratingsSets, Numbers and Flowcharts Rating: 0 out of 5 stars0 ratingsTensorFlow in Action Rating: 0 out of 5 stars0 ratingsLisp Programming Language Rating: 0 out of 5 stars0 ratingsGROKKING ALGORITHMS: Advanced Methods to Learn and Use Grokking Algorithms and Data Structures for Programming Rating: 0 out of 5 stars0 ratings
Programming For You
Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies 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/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/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/5Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming Rating: 0 out of 5 stars0 ratingsLearn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5Web Designer's Idea Book, Volume 4: Inspiration from the Best Web Design Trends, Themes and Styles Rating: 4 out of 5 stars4/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsPython: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Hacking: Ultimate Beginner's Guide for Computer Hacking in 2018 and Beyond: Hacking in 2018, #1 Rating: 4 out of 5 stars4/5OneNote: The Ultimate Guide on How to Use Microsoft OneNote for Getting Things Done Rating: 1 out of 5 stars1/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5C++ Learn in 24 Hours Rating: 0 out of 5 stars0 ratingsPYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Unreal Engine from Zero to Proficiency (Foundations): Unreal Engine from Zero to Proficiency, #1 Rating: 0 out of 5 stars0 ratingsHTML in 30 Pages 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