About Fundamental of programming
- Conditional statements
- Looping and Iteration
- Data types and Data Structures
Hi I am Bhargav Valani. Today we will talk about five fundamental concepts of programming language. If you can figure out how these five concepts work you are most of the way to be able to learn a new language. I hope you like these 5 fundamental of programming.
So let’s get start number one variables. By definition a variable is a symbolic name or reference to some kind of information. This is similar to how a term is use in maths.
For example if you are using only positive integers then a plus B is always greater than a. In this scenario a and B are both variables in computer programming variables.
They allow code to operate for any value being represent by variables. But they can be more than just symbolic letters. Variables can have a number of different properties in computer’s memory.
Such as name type scope lifetime and location and different programming languages call for variables differently. But they all use this component
Number two conditional statements. By definition conditional statements. The expression that asked the program to determine if a variable is true or false. These are some awesome fundamental programming concepts.
You may also call it boolean values typically if a statement is true. The program should perform one action for example action one if the statement is false.
The program should perform a different action let’s say action two these actions are call conditions.
Looping and Iterations
Number three looping and iterations. Iteration is any time a program repeats a process or sequence. Loops are common type of iterations in which a program performs a certain action. fundamentals of computer programming with c#. For an infinite number of times until a new condition is met these are frequently called as by loops.
Because they often express that while a certain condition is true the program should continue.
Data types and Data structures
Number four data types and data structures. Data types help classify what information a variable can hold and what can be done with it data types. Include numbers boolean’s characters and strings.
On the other hand data structure is a storage format that enables efficient access and modification of data. Data structures include arrays or lists hashes dictionaries and objects.
Since computer programs can’t tell the difference between data inputs that read one two three four. And data inputs that read ABCD they need to know the data type.
In order to differentiate between the two meanwhile a data structure is also a data type. But one that contains an unlimited number of named subcategories. In this way a program can parse individual data types while still treating the entire structure as one data type.
Fundamental of programming : Functions
Number five functions. Functions are self-containe modules of code that accomplish a particular task. Once a function is written it can be called and use again and again.
They operate like a black box data goes in function operates on the data and process. Data comes out they also let you reuse the code rather than constantly rewriting it. These will help in these
- Java fundamentals
- Python fundamentals
- C# fundamentals
- C++ fundamentals
- C fundamentals
And allowing you to think about your program as a series of sub steps recognizing these five concepts in a computer language will help you kick start your lessons into programming. Thanks for reading this beautiful blog. now you clear with Fundamental of programming.