Why you should choose PracticalCoding.in

Learning something new by self can be difficult, if their is someone who can guide and motivate you, you’ll learn better that’s what we do in Practical coding, It is a mentor based learning platform, So you’ll not be alone , the mentor will help you develop your coding skills.

Anyone can learn to code
Practical coding is destination for aspiring people who want to become programmer but don’t have knowledge about coding.We provide a platform where any one can learn to code. Our mission is make coding accessible to every one.

Experienced Mentor
Here at practical coding you’ll get to learn from experienced mentors who have 3+ years experience and working on the technology that they are teaching.Through out the course they will help you learn to code.

Practical learning
Here in pratical coding we believe the more you create the more you learn, So from day one of your course, you start coding. What we teach is relevant, only the necessary and applicable topics are taught to the learners.

Career
In practical coding we help build your career, People who took up course in practical coding felt that it is helping their career, they found a new suitable job for them.

Advertisements

How FOR loop works?

We will be talking loops with examples of C language.

Loops cause program to execute the certain block of code repeatedly until test condition is false. Loops are used in performing repetitive task in programming. Consider these scenarios:

  • You want to execute some code/s 100 times.
  • You want to execute some code/s certain number of times depending upon input from user.

These types of task can be solved in programming using loops.

There are 3 types of loops in C programming:

  1. for loop
  2. while loop
  3. do…while loop

for Loop Syntax

for(initialization statement; test expression; update statement) {
       code/s to be executed; 
}

How for loop works in C programming?

The initialization statement is executed only once at the beginning of the for loop. Then the test expression is checked by the program. If the test expression is false, for loop is terminated. But if test expression is true then the code/s inside body of for loop is executed and then update expression is updated. This process repeats until test expression is false.

This flowchart describes the working of for loop in C programming.

Flowchart of for loop in C programming language

for loop example

Write a program to find the sum of first n natural numbers where n is entered by user. Note: 1,2,3… are called natural numbers.

 
#include 
int main(){
    int n, count, sum=0;
    printf("Enter the value of n.\n");
    scanf("%d",&n);
    for(count=1;count<=n;++count)  //for loop terminates if count>n
    {
        sum+=count;    /* this statement is equivalent to sum=sum+count */
    }
    printf("Sum=%d",sum);
    return 0;
}

Output

Enter the value of n.
19
Sum=190

In this program, the user is asked to enter the value of n. Suppose you entered 19 then,  count is initialized to 1 at first. Then, the test expression in the for loop,i.e.,  (count<= n) becomes true. So, the code in the body of for loop is executed which makes sum to 1. Then, the expression ++count is executed and again the test expression is checked, which becomes true. Again, the body of for loop is executed which makes sum to 3 and this process continues. When count is 20, the test condition becomes false and the for loop is terminated.

How While Loop works?

We will be talking loops with examples of C language.

Loops causes program to execute the certain block of code repeatedly until some conditions are satisfied, i.e., loops are used in performing repetitive work in programming.

Suppose you want to execute some code/s 10 times. You can perform it by writing that code/s only one time and repeat the execution 10 times using loop.

There are 3 types of loops in C programming:

  1. for loop
  2. while loop
  3. do…while loop

Syntax of while loop

while (test expression) {
     statement/s to be executed.  
}

The while loop checks whether the  test expression is true or not. If it is true, code/s inside the body of while loop is executed,that is, code/s inside the braces { } are executed. Then again the test expression is checked whether test expression is true or not. This process continues until the test expression becomes false.

Flowchart of while loop in C programming

Example of while loop

Write a C program to find the factorial of a number, where the number is entered by user. (Hints: factorial of n = 1*2*3*...*n


/*C program to demonstrate the working of while loop*/
#include 
     int main(){
     int number,factorial;
     printf("Enter a number.\n");
     scanf("%d",&number);
     factorial=1;
     while (number>0){      /* while loop continues util test condition number>0 is true */
           factorial=factorial*number;
           --number;
}
printf("Factorial=%d",factorial);
return 0;
}

Output

Enter a number.
5
Factorial=120

do…while loop

In C, do…while loop is very similar to while loop. Only difference between these two loops is that, in while loops, test expression is checked at first but, in do…while loop code is executed at first then the condition is checked. So, the code are executed at least once in do…while loops.

Syntax of do…while loops

do {
   some code/s;
}
while (test expression);

At first codes inside body of do is executed. Then, the test expression is checked. If it is true, code/s inside body of do are executed again and the process continues until test expression becomes false(zero).

Notice, there is semicolon in the end of while (); in do…while loop.

Flowchart of working of do...while loop in C programming.

Example of do…while loop

Write a C program to add all the numbers entered by a user until user enters 0.


/*C program to demonstrate the working of do...while statement*/
#include 
int main(){
   int sum=0,num;
   do             /* Codes inside the body of do...while loops are at least executed once. */
   {                                    
        printf("Enter a number\n");
        scanf("%d",&num);
        sum+=num;      
   }
   while(num!=0);
   printf("sum=%d",sum);
return 0;
}

Output

Enter a number
3
Enter a number
-2
Enter a number
0
sum=1

In this C program, user is asked a number and it is added with sum. Then, only the test condition in the do…while loop is checked. If the test condition is true,i.e, num is not equal to 0, the body of do…while loop is again executed until num equals to zero.

How is the future for new software engineer job?

— 2 minutes read —

World, companies and startups need plenty of more programmers.

According to a study

Opportunities for Software Engineers in coming decade

  • 1,400K  New Jobs demand
  • 400K     New Software Engineers to be filled
  • 1,000K  Still Unfilled positions

So there will be still need of 10 lakh software engineers and this is huge number.

There are many people from different fields like Quality Assurance Engineer, Non IT working professionals, students are trying to move to coding.

Check this blog post – How to become a programmer?

If you are intersted to be coder, then do check www.PracticalCoding.in – Its mentor based code learning platform. Mentors are working IT proffesionals with 3+ years of experence.

What are the available Mentor based code learning platforms?

—4 minutes read—

Massive open online course(MOOC) like coursera , edx, udemy are doing amazing job but they are not the complete solution for next level learning, check Why Massive open online course(MOOC) is not working for many.

From 2011 there are many mentor based learning platforms that have evolved and doing great for skill development, below we will listing out some of those

1. ThinkFul.com

Started: 2012

Based out from: New York, USA

About: A 21st century education should equip you with the skills to succeed in the 21st century world. At Thinkful, we’re building a school that trains the workforce in the technology skills necessary to sustain innovation and growth in the economy.

We have developed a method of online teaching that emphasizes practical, sustainable skills and prepares students to achieve their career goals.


2. AcadGild.com

Started: 2013

Based out from: Bangalore, India

About: Vinod Dham(also know father of pentium) is the CEO of AcadGild. AcadGild is a technology education startup, founded by IT Industry professionals from IIT/IIM. We aim to create an ecosystem for skill development, where people can learn from mentors and from each other.


3. GeneralAssemb.ly

Started: 2011

Based out from: New York, USA

About: At General Assembly, we are creating a global community of individuals empowered to pursue work they love, by offering full-time immersive programs, long-form courses, and classes and workshops on the most relevant skills of the 21st century – from web development and user experience design, to business fundamentals, to data science, to product management and digital marketing.


4. Bloc.io

Started: 2012

Based out from: Paulo Alto, USA

About: Bloc offers structured, intensive online courses in web development, mobile development, and web design, built around the time-tested model of an apprenticeship. Bloc students around the world acquire life-changing skills through hands-on, project-based learning and continuous mentoring from an experienced professional.


5. PracticalCoding.in

Started: 2014

Based out from: Hubli/Bangalore, India

About: PracticalCoding.in- Its an Mentor based code learning platform. Mentor here are experienced programmers with 3+ years of experience and working at companies like google, amazon, flipkart etc. Our mentor have passion to share their knowledge with others. We presently have 100+ verified mentors and about 200+ learners on our platform. PracticalCoding.in was started by group of programmers as a community for connecting Learners and Mentors. The company is completely bootstrapped


How to become a programmer?

—-2 minutes read—

Are you first time programmer OR Quality assurance engineer wanting to be coder?

Let me tell you story,  learning Coding is similar to going to gym.

You are alone and started going to gym to be more healthy- 1st day yes it was awesome, 2nd day good, 3rd day good but 4th day you missed it due to some other work.

Now what are probability that you will continue, its really low compared to if you had started learning with a friend/mentor, he would motivate you to come to gym.

So if you want to learn try to find friend OR else an mentor.

For finding coding friends: Just check you linkedin connection and check their skills page. Example- if you looking to learn Android then find a friend who had worked on that technology and also can he afford about 6-8 hours per week for sharing knowledge.

For finding mentors: check PracticalCoding.in – Its mentor based code learning platform. Mentor are working software engineer at companies like amazon, flipkart etc. Don’t know what is mentor based learning then check this page

If you have a friend then that’s great else you can always get mentor at www.PracticalCoding.in

I climbed from Quality assurance Enginner Girl to Programmer!

This is inspiring story of Rashmi Kulkurni an B-Tech Graduate in Electronics and computers. As many graduate she never coded, just learnt them and to be honest this was the problem- Knowing the coding concepts by reading from books but not able to do it on keyboard.

After graduation she joined this amazing startup named CampusConnect they hired her as Quality assurance. But she still was trying to coder but was not getting proper guidance and this was realized by CampusConnect founder Vijay Matti. In mean time Vijay came to know about http://www.PracticalCoding.in and sponsored her learning

1
Rashmi Kukurni
Nihar
Mentor using online tools for teaching

And after the course the girl has trashed her fear for coding and built an small but awesome android 2 month course.

Play Store

This really inspires us of what we can do by just mentoring for the people in need of it.

At the end hear from Rashmi

Also check – Why quality assurance engineers need to move to coding job

If you are also interested in becoming coder then check www.PracticalCoding.in OR call +91-7760752770