programming fundamentals


What are Programming Fundamentals ?


Before we understand the basics of programming, we need to find out what programming is. In a nutshell, programming, in a nutshell, uses mentality to remove solutions from the work itself. This idea can be of any kind. So what are the basics of programming? There are some basic things that can be called the basis for clarifying my work and solutions. These basics are called programming principles. In real life, my problem is that the phone is out of balance. Consider a solution. I have to go to the Flexi load store, I have to tell the dealer, I have to pay, I have to give the exact number, he has my phone Will send you the balance, after the whole process is over my problem is solved. The program is complete. This time, let's consider what served as the basis here. Thinking was my way of thinking. Giving traders money is basic. Speaking means that the language is basic. In the end, my problem was solved by playing one after another in one place. So what was the basics here? I think this is a programmer's job.


As far as I can tell, let's talk about real programming, let's talk about computer programming. You have to solve some problems, you have to understand yourself through pseudocode, but how can you describe the computer? How to give instructions? This time the role of programming languages   has arrived. Of course, through a programming language. Also, this programming language has some basic principles or basic principles similar to those used in the actual show. And one of the basics of the tool is that it has a kind of psychic power. The foundations of these superpowers are called programming foundations. Now we are familiar with superpowers.


  1. Variable
  2. Operators
  3. Statements
  4. Condition
  5. Loop
  6. Array
  7. Function
  8. Programming language selection

Variable

Anyone who is familiar with, or is learning a programming language, or is experiencing problems with a programming language is familiar with the term variable. What is a variable? First, let's take a look at our own real life. You need a container to store something in your daily life, such as a bottle to store water. Alternatively, you can pour water into a jug or bucket. However, the container in which water is stored is variable. Think from a programming perspective. Only the set of data in your computer is displayed on your computer screen. This data cannot be distributed. Do you think you can store water without a pot? Similarly, the data you store in a particular way is a variable.

Operators

It is all the operators that happen and all the operands that happen. In a nutshell, let's look at a real example. Is there a machine in the factory and is it driven by someone doing something here? The working machine has to do something. This means that the stripper through which the operator and the machine pass is the machine in operation. Let's look at it in an easier way from the programmer's point of view. For example, let's say: 10 20 = 30. What are you doing here, with whom, in addition to what is happening? Something like 20 happens at 10. That is, here we mean the operands 10 and 20. Again, = what are you doing? Reassigning what happens at = 10 and 20 means doing something. = It is an operator.

Statements

A statement means a complete instruction or description. For example, my teacher gave me homework. You have to do it, and you did it. What the teacher said is a statement. But just as the teacher told me to do my homework and she said she wouldn't come tomorrow, if I said the opposite, I would take her the day after tomorrow. In that case, the teacher's words are not a statement. Then the teacher's words become expressions. For programming, the problem is the same. All code written in the programming file is a single statement. Programming files are created by combining small statements.

Condition

What does the word condition mean? Terme. A condition, something like this, means that if it happens, it happens, otherwise it means it happens. I would like to show this example with the example of my parents. For example, if children haven't said they'll buy toys since childhood, they'll fight if they don't. Look at the conditions, given the conditions, what happened here. If his conditions are met, the toy will no longer be mine. In programming, we use states in the same way. Give some conditions. Then you will see some results. Programming usually uses three or more conditions - if, else if, else.

Loop

The first thing that comes to mind when you think of the word "loop" is something that rotates, such as a clock, a car wheel, or a bicycle wheel. Do you know what's really going on when you first look at the wall clock? The second cut goes from 0 to 60, cuts the minutes again, and cuts the hours. There is a bend e, there is a bend e. The end never happens. The concept of repeating the same thing over and over again is the concept of an exact loop. In fact, our entire life is a loop. Looking at the small loop, there are thousands of examples around. Why do you need a loop for programming? The same thing is to repeat it over and over again. Imagine as soon as 2 2 = 4. I would like to display this total 10 times. I ran the program 10 times, but if I need to see it 100 times, 1000 times, 10000 times, 100,000 times, is it possible to write? Loops are primarily used to solve this recurring problem.

Array

Think of a book. A book is a collection of many pages. Again, the library is a collection of many books. Here you can think of a book as a matrix. You can read any page of any book in the library at any time. Arrange someone who can think so. You can store a lot of data in an array. There are many things to say (limitations for programming languages). If desired, the data can be stored and used in an array.

Function

Before you buy this modern device, you want to know its features and understand what you can do with your newsletter. Let's make it a little easier. What if you want to turn on the light? Tap the switch to turn the light on. In other words, it really something happens when you want to do anything. The fact that the light is on when you press the switch is no longer underwater. Behind the scenes, a lot of work was done and a lot of operations were performed. These operations are functions programmed by the electrical programmer.

Programming Language Selection

Suppose you want to play as a batter on a national cricket team in Bangladesh. Now think about what you need to do from the beginning. First, you need to understand the rules and regulations of game cricket. Wide, no balls, limited. The wiki means all rules and regulations. If you say no after you understand, I'm just hitting, I don't like the field, I understand how bowling works! I will be a victim. What do you do with the catch? I will be a batter. If you think so, is it ever possible to be a cricket player? I never have. You need to understand the rules first, then hits, bowls, fieldwork, everything. Then, if you want to be a batter, focus on what you need, and if you want to be a bowler, focus on how.

This is the case for programming language choices. the mother of all programming languages is C programming. C is the origin of all the high-level languages   we use today. C is a very machine-friendly language that people can understand. There are machine-like languages   such as machine language, language, and mount language. But it's not a language that people can understand. It's a very machine-like language, so it's easy to think, order, and build logic like a machine. You can work on the machine.

Secondly, Java. Java is an object-oriented language, and when you look at today's technology in 2020, it's all about objects. What if you don't know object-oriented programming in the world of objects? In C, it has built-in programming logic, so you can work with objects in Java to clean up your computer and create new ones. Once this logic is built, it gives you clear logic about how to perform computer work and greatly improves your problem-solving skills.

JavaScript, PAEP, Python, Ruby, GoLang. We recommend that you do not use these languages   as your primary language, as they are high-level languages. These languages   were created for development purposes. Behind the scenes of these languages, there are many things that are unknown or unknown. As a result, you don't know how the machine behaves and receives commands, so if you get stuck somewhere in a logical problem, you can't solve it.

Thank You. Please visit out official Youtube Channel. Code Alap

https://www.youtube.com/channel/UCwQD-BfpNeRaSsBedPWWNBg

Post a Comment

Previous Post Next Post