Conceptual Programming: Conceptual Programming: Learn Programming the old way!
()
About this ebook
Related to Conceptual Programming
Related ebooks
Assembly Language: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsUnderstanding Software Engineering Vol 1: Where does the software run and how? The hardware. Rating: 0 out of 5 stars0 ratingsMastering 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 ratingsProgramming Concepts in Python Rating: 0 out of 5 stars0 ratingsA Guide To All Programming and Coding Languages Rating: 0 out of 5 stars0 ratingsEnergy Made Easy: Helping Citizens Become Energy-Literate 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 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/5Logic Programming: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsData Structure in Python: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsIntroduction to Google's Go Programming Language: GoLang Rating: 0 out of 5 stars0 ratingsMathematics And The World's Most Famous Maths Problem: The Riemann Hypothesis Rating: 0 out of 5 stars0 ratingsThe Math(s) Fix: An Education Blueprint for the AI Age Rating: 0 out of 5 stars0 ratingsComputer Science II Essentials Rating: 0 out of 5 stars0 ratingsIntroduction to Cognitive Science: Cognitive Processing of Visual Design Elements In Virtual Environments Rating: 0 out of 5 stars0 ratingsFunctional Programming Rating: 0 out of 5 stars0 ratingsCUDA Programming with Python: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsProgramming Language Concepts: Improving your Software Development Skills 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/5Learn C Programming through Nursery Rhymes and Fairy Tales: Classic Stories Translated into C Programs Rating: 0 out of 5 stars0 ratingsPython Rating: 0 out of 5 stars0 ratingsCoding for Kids: An Adventure into the World of Programming Rating: 0 out of 5 stars0 ratingsLearn Programming by Coding Like a Professional: Create Games, Apps, & Programs Rating: 0 out of 5 stars0 ratingsJob Ready Java Rating: 0 out of 5 stars0 ratingsTuring and the Universal Machine (Icon Science): The Making of the Modern Computer Rating: 3 out of 5 stars3/5Scratch 1.4: Beginner's Guide Rating: 0 out of 5 stars0 ratings
Programming For You
Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Teach Yourself C++ Rating: 4 out of 5 stars4/5Beginning Programming with C++ For Dummies Rating: 4 out of 5 stars4/5Python: Learn Python in 24 Hours 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/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. 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/5Microsoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsSQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Excel 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 ratingsPython Data Structures and Algorithms Rating: 5 out of 5 stars5/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 5 out of 5 stars5/5HTML in 30 Pages Rating: 5 out of 5 stars5/5Coding with JavaScript For Dummies Rating: 0 out of 5 stars0 ratingsPython for Data Science For Dummies Rating: 0 out of 5 stars0 ratingsProblem Solving in C and Python: Programming Exercises and Solutions, Part 1 Rating: 5 out of 5 stars5/5Windows 11 For Dummies Rating: 0 out of 5 stars0 ratingsJavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming Rating: 4 out of 5 stars4/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