The basic concepts of c-programming can be learned very easily within a very short span
Nowadays programming has become one of the most important aspects in each and every field. You can see programming each and every day directly or indirectly. Programming reduces human effort.
For example, if you want to open the door you can code servo motor or any other motor, connect that motor to the output of Ultrasonic or IR sensor and then connect that motor via some mechanism to that door. So without any touch, the door can be easily open, well this was a very simple example.
The important thing is that you should at least be able to code in 'c'.For that, you need to develop some unique logic to solve the problem statement. To develop such logic you need to practice it at regular intervals.
Some of you won't like programming but now you can learn basic 'c'-programming by following the plan given below. Even I had followed the same plan and got the best results
FULL PLANING OF C-PROGRAMMING:-
@ Day (1-2):-
Conversion of numbers
[binary to decimal,hexadecimal,etc]
Conversion of numbers
[binary to decimal,hexadecimal,etc]
@ Day (3-4):-
Study different data types
[Eg:-int,char,double,float]
Study there properties,ranges,memory,
requirement,etc.
Just get a rough idea of where you can use it
Study different data types
[Eg:-int,char,double,float]
Study there properties,ranges,memory,
requirement,etc.
Just get a rough idea of where you can use it
@ Day (5):-
Study modifiers to modify range.
And revise all the concepts studied
Study modifiers to modify range.
And revise all the concepts studied
@ Day(6-10):-
Get information about different libraries
available in c.
Get information about different libraries
available in c.
study the predefined functions available
in those libraries.
in those libraries.
{ For Eg:- Library:- #include<stdio.h> has
functions like Scanf(), Printf()
functions like Scanf(), Printf()
etc
}
@ Day(11-12):-
Study different operators and it's uses
practice some numerical on it.
Study different operators and it's uses
practice some numerical on it.
{ For Eg:-Division, Modulus, etc }
After day-12 start reading the book mentioned below or its equivalent book. Every Engineering, as well as first time programmer, can use this book because the concepts explained here are quite good and the language is quite simple
@ Day(13-16):-
Download Turbo c or any other software
start practicing basic
Download Turbo c or any other software
start practicing basic
arithmetic programs like the addition
subtraction,etc.
subtraction,etc.
First, try to write the code on notepad
then copy-paste it on software run it.
then copy-paste it on software run it.
If there are some errors(bugs).
Try to debug it on your own.
Try to debug it on your own.
Understand the whole code where
you are going wrong
you are going wrong
and if nothing goes wrong you
are on the right track.
are on the right track.
If your code is running properly
within first go without any
within first go without any
errors then you are the happiest
the person in the world.
the person in the world.
@ Day(17-20):-
Try to build a single code in which
different operators are used,
Try to build a single code in which
different operators are used,
with different libraries and functions.
{ For Eg: let's say you have a problem
the statement, to check
the statement, to check
whether the triangle is
Right Angled Triangle or not
Right Angled Triangle or not
then the logic would be as follows
3 libraries:- #include<stdio.h> ;
#include<conio.h>;
#include<conio.h>;
#include<math.h>
Functions :- prinf();Scanf()
Logic with :- a*a==b*b+c*c||
Different b*b==a*a+c*c||
Operators c*c==a*a+b*b
}
@ Day(21-23):-
Study Branching(If, If Else, Switch) Statements.
Study Branching(If, If Else, Switch) Statements.
@ Day(24-26):-
Study Looping(while,Do while,for) Statements.
Study Looping(while,Do while,for) Statements.
@ Day(27) :-
Study unconditional jump(Break,Continue,Goto) Statements.
Study unconditional jump(Break,Continue,Goto) Statements.
@ Day(28) :-
Get information about the user
defined functions and try
Get information about the user
defined functions and try
programming using it.
There are 2 types of functions
a) pre-defined b) user-defined
a) pre-defined b) user-defined
An example of a Pre-defined function is
given in Day(6-10)
given in Day(6-10)
User-defined Functions:-
are those which are defined by the user
are those which are defined by the user
@ Day(29-35):-
Try to Run code to display
prime numbers, perfect numbers,
Try to Run code to display
prime numbers, perfect numbers,
Armstrong numbers, palindrome numbers
,fibonacci series,different patterns,etc
by using user-defined functions
,fibonacci series,different patterns,etc
by using user-defined functions
this will really test your thinking skills,
logic development,etc.
logic development,etc.
Practice lot on patterns if you
want to improve your skills
of programming
want to improve your skills
of programming
Eg:- 1) * | 2) A |
** | AA |
*** | AAA |
**** | AAAA |
@ Day(36-38) :-
Study the concept of pointers, call by value
and call by reference and study its uses
Study the concept of pointers, call by value
and call by reference and study its uses
@ Day(39-45):-
Study the concept of Array,
for studying array you should
Study the concept of Array,
for studying array you should
have a basic idea about
concept of matrices in maths,
concept of matrices in maths,
just study where and how it can
be used, it's uses and functionality.
be used, it's uses and functionality.
Then learn 1D(Dimensional)
& MultiDimensional Array.
& MultiDimensional Array.
Start Programming some
basic codes of Arrays if some
basic codes of Arrays if some
the error occurs try to debug
it on your own.
it on your own.
Study the concept of string
find the difference between arrays
find the difference between arrays
and string.
Start Programming some basic
codes of string if some error
codes of string if some error
occurs try to debug it on your own.
⏩ Next Post
Comments
Post a Comment