This document discusses 8 important programming concepts for beginners to know in 2017:
1. Variables - boxes that can hold different values and be used in code.
2. Data types - including numbers, text, lists, and dictionaries which store different types of data.
3. Classes/IDs and selectors - tools used to identify and style elements in code like HTML and CSS.
4. Functions/methods - pre-written blocks of code that perform tasks when given arguments.
5. Arguments - ingredients passed to functions that are necessary for the function to run.
6. Libraries - collections of pre-written functions and methods that help solve common problems.
7. Lists/arrays and dictionaries -
1. 8 Programming Concepts You Should Know in 2017
If you want to get into coding, there are chances that you’ll come across several problems
that could be discouraging, mainly in tutorials owing to your lack of previous experiences
in programming. Even the programming classes for beginners might appear difficult if
you are not aware of the belowmentioned basic programming concepts.
Initially, several questions come to mind. Like how to do programming or
which programming courses for Beginners could be helpful. There are several online
sources that would help you with the later question; here we shall discuss the former query.
What is computer programming?
Computer programming or in short programming is a process that leads to a formulation of
a computing problem to be run by computer programs. A source code is written in one or
many programming languages.
Top 8 Programming Concepts You Should Know in 2017 for beginners:
1. Variables
I want to start with first programming concepts as a variable. They are like boxes can hold
various things at various times. This is one of the most basic elements of programming. In
short, a way to refer something such that you could use it in a line of code:
•You might develop a variable to store age of a person and call it ‘age’
•May develop a variable to store user’s name and call it ‘username’
•You can develop a variable to count how many times a thing happened and call it ‘counter’
•You would develop a variable to store position and call it an ‘index’
Variables are changeable. A user’s name could be different every time when one code runs.
A list of items could have other items added to it, or removed.
They can be combined as well: an age might be calculated based on a birth date, here both
age and birth date are two different variables. This is the first basic programming concepts
you will come across if starts to learn to program.
2. Strings, integers and other types of data
A string is a series of characters.
You have different types of variables, which keep on changing. The basic types include:
•Numbers — integers and floats (they have decimal places)
•Text — basically called strings and indicated by quotation marks, e.g.“17 August”