Thursday, September 11, 2014

Programming Languages

Top 10 Programming Languages to Learn in 2014


Software programmers are always in a frenzy about staying ahead of the competition by developing cutting edge software products and applications. Brushing up your skills and learning new trends and technologies is necessary to keep yourself ahead of the crowd since the ones who are updated beat the pack.
The technology sector is witnessing a boom in that many new technologies and programming languages have hit the market which allows programmers to develop a host of applications and solutions. Compared to jobs in other industries, a software programmer gets paid significantly higher. When the demands of software developers are such, the competition tends to be acute. Even if you are techie with over 5 years of experience of working in a particular technology, you will always need to keep yourself well-versed with a breadth of other technologies and programming languages to get an added advantage on your resume. Learning new programming languages can always set you apart and impress employers. Languages such as Java, Python and C++ have witnessed a significant surge in the employment market due to their demand among software development companies for developing cutting-edge solutions and software. .
To help the developers identify the prominent programming languages in which they should invest time and effort for learning, CodeEvel recently conducted a survey on the Most Popular Coding Languages in 2014. The survey by CodeEval points out all the popular programming languages for software programmers to get their hands on in the year 2014. The company collected data from different sources and processed over thousand coding challenges and tests from more than 2000 employers to come to the final conclusion of this report.
Let us now read you explore the Top 10 programming languages as per the report by CodeEval.
1. Python: Python is an object-oriented programming language which allows developers to work quickly while integrating their systems more efficiently and effectively. Written by Guido van Rossum in the late 1980’s, Python is one of the most easy to use programming languages. The minute a programmer gets acquainted with the Python language, the gains in terms of accelerated coding and enhanced productivity will follow. Python is also famous for elegant coding and excellent reading due to uniform and easily-manageable Syntax. According to CodeEval, Python constituted 30.3% stake in the whole survey making to the number one position.
enter image description here
Average Salary: $93,000 Job Count: 24,533 Top Employers: Amazon, Dell, Google, eBay & Yahoo, Instagram, NASA, Yahoo Example Sites: Google.com, Yahoo Maps, Reddit.com, Dropbox.com, Disqus.com
2. Java: Developed by James Gosling at Sun Microsystems in 1990, Java is another object-oriented and cross-platform programming language available for an array of development requirements; right from mobile application to enterprise web applications, web services to desktop applications. Java is popular and will be in demand this year. Due to its long standing formula (WORA) – write once and run anywhere, Java will remain as the most sought after programming skills among employers. Java collected 22.2% share in the survey by CodeEval. Moreover, as per the survey compiled by Stack Overflow for Career 2.0 Search, Java attained the top position with a 22.26 % popularity.
enter image description here
Average Salary: $93,000 Job Count: 68,289 Top Employers: Amazon, Deloitte, Sun, Disney, eBay, Symantec Corporation, Cisco Systems, Samsung, HP Example Sites:YouTube.com, LinkedIn.com, PayPal.com, Gmail.com
3. C++: C++ accounted for 13% of the survey popularity due to multi-purpose capabilities and reusable coding. C++ was developed by Bjarne Strousup in 1983 which was an enhancement of the programming language C. Due to its high-level compatibility and object-orientation, C++ is used for developing a wide-range of applications and games which makes it a popular and sought after programming language by the employers.
enter image description here
Average Salary: $96,000 Job Count: 31,654 Top Employers: Intel, The MathWorks, Microsoft, Qualcomm, HP, Amazon, Mozilla, Adobe Example Sites: Winamp Media Player, Facebook.com, Twitter.com
4. Ruby: Ruby is an open source, dynamic programming language developed by Yukihiro “Matz” Matsumoto with a key focus on productivity and simplicity. It is a mix of elegant syntax which is easy to read and write and hence it has attracted many organizations and developers. Since its release in 1995, Ruby has captured followers globally and hence it is a hot language for the year 2014. As per CodeEval survey, Ruby was at 4th position with a 10.6 % popularity.
enter image description here
Average Salary: $93,000 Job Count: 13,549 Top Employers: Spokes, VMware, Accenture, CapGemini, Siemens, BBC, NASA Example Sites: SlideShare.com, Github.com, CrunchBase.com, Scribd.com
5. Javascript: JavaScript is yet another object-oriented scripting language developed in 1995. The language highly runs as back-end of the web browser. JavaScript topped Stack Overflow’s 2013 job listing and has trended well in Indeed.com, TIOBE as well as SimplyHired.com. In CodeEval survey, JavaScript, however came at 5th position with a 5.2 % popularity. JavaScript shares its structure with Java and is easy to interact with HTML to spice up websites and applications. This makes JavaScript one of the hottest languages for year 2014.
enter image description here
Average Salary: $88,000 Job Count: 48,414 Top Employers: Microsoft, SalesForce, IBM, Yahoo, Dell Example Sites: Asana.com, MSN.com, Blogger.com
6. C#: Another multi-paradigm and object-oriented programing language, C# was developed by Microsoft. It is highly used on Windows platform and labelled as the premium language for Microsoft .NET framework. C# is known for strong typing, procedural and functional programming discipline which is the reason it has acquired so much popularity. According to CodeEval, C# has 5% popularity while in Stack Overflow and TIOBE it has captured for more than 10% popularity.
enter image description here
Average Salary: $90,000 Job Count: 32,411 Top Employers: Microsoft, HP, Digi-Key Corporation, Allscripts, Intel Example Sites: Bing.com, Windows.com, Live.com
7. PHP: PHP is an open source server-side scripting language developed by Rasmus Lerdorf in 1996. It is the first ever programming language that grew to become a fully-featured object-oriented language. It is highly used for developing dynamic websites and for embedding HTML. High-speed scripting, caching, compiling code plugins makes it one of the most sought after programming languages for the year 2014. With 3.3% popularity among developers, PHP stood at 8th position in the CodeEval survey rankings.
enter image description here
Average Salary: $85,000 Job Count: 19,754 Top Employers: Microsoft, HP, Digi-Key Corporation, Allscripts, Intel Example Sites: Facebook.com, Wordpress.com, Flickr.com
8. Perl: Perl, one of the feature-rich dynamic programming languages that was created in 1987 by Larry Wall. It was originally a Unix scripting language and today it runs on over 100 platforms from portables to mainframes. Because of its suitability for large scale development as well as rapid prototyping, Perl acquired a 1.60 % share in the total survey, which made it the 9th most popular programming language for the year 2014.
enter image description here
Average Salary: $92,000 Job Count: 19,378 Top Employers: Intel, Raytheon, eBay, Amazon Examples: Facebook.com, Wordpress.com, Flickr.com
9. Scala: Scala is again a pure object-oriented language developed by Martin Odersky in 2003. Scala is known for being highly functional, reusable and extensible. Scala runs on the JVM and hence all the Java libraries, frameworks and tools can seamlessly work with Scala. This is the reason why Scala has made to the list of most popular programming languages by the year 2014 with a 1 % stake in CodeEval survey.
enter image description here
Average Salary: $100,000 Job Count: 1,510 Top Employers: Sony, Office Depot, eBay, Oracle Examples: Xerox.com, LinkedIn.com, FourSquare.com
10. Objective C: Objective C is another programming language that has made to the list by acquiring a 0.4 % share in the CodeEval survey. Developed by Tom Love and Brad Cox in the year 1983, it is primarily created for Apple’s MAC OS and iOS application development. Objective C has trended well in Indeed.com, TIOBE index list as well as eWeek research for the most popular programming language.
enter image description here
Average Salary: $96,000 Job Counts: 18,189 Top Employers: Apple, Citrix, Accenture, Flipkart Examples: LinkedIn Pulse, RunKeeper, PhotoSynth (all iPhone apps are developed in Objective C)
Apart from these, other languages that made to the list of the top most popular programming languages for the year 2014 in the CodeEval survey were Go, Clojure, Haskell, Bash, Lua and TCL. This is a comprehensive list which has been compiled based on the research and trends that were vibrant last year and the beginning of the year 2014.
One can also refer to the research and findings compiled by Mashable, TIOBE and Stack Overflow Career 2.0 where common languages like SQL, Ajax, HTML and XML were on the list of the top programming languages to look out for in 2014.
To all the developers who are ready to make the most of their IT development career, get up to specialize in these languages to give an added advantage on your resume. For students who are yet to hit the employment market, make a list of the technologies and languages that really excites you and start getting your hands to get on the right development career.

Tuesday, September 9, 2014

More Example Programs


IF ELSE STATEMENT
1.)
#include<iostream>
#include<conio.h>

using namespace std;

int main()
{
   int a;
   cout<<"Enter the Number :";
   cin>>a;
   if(a > 10)
   cout<<a<<" Is Greater than 10";
   else
   cout<<a<<" Is Less than/Equal 10";

    _getch();
    return 0;
 }

2.)













IF ELSE IF STATEMENT

1.)

#include <iostream.h>
#include<conio.h>

using namespace std;
 
int main(void)
{

int per;
 
cout << "Enter your Percentage::";
 
cin >> per;
 
if (per >=80 )
 
{ cout << "Passed with Distinction" << endl;}
 
else if (per >=70 )
 
{ cout << "Passed with High Firstclass" << endl;}
 
else if (per >=60 )
 
{ cout << "First Class" << endl; }
else if (per >=50)
 
{ cout << "Second Class" << endl; }
else
{ cout << "Third Class" << endl; }


_getch();
return 0;
 
}

2.)

#include <iostream.h> #include<conio.h> using namespace std; int main(void) { int age, height; cin >> age; cin >> height; if(height == age) cout << "Your height is equal to your age!"; else if(height < age)
cout << "Your height is less than your age!"; else if(height > age) cout << "Your height is greater than your age!"; _getch(); }

NESTED IF ELSE STATEMENT

1.)

#include <iostream.h>
 

#include<conio.h>
using namespace std;
 

int main(void)
 
{

int age;
 
cout << "Enter your Age::";

cin >> age;
 
if (age >=10 && age<=50)
 
   {
   if (age >=10 && age <= 18)
 
   {cout << "You are a Teenage" << endl;}
 
   else
 
   { cout << "You not a Teenager" << endl;}

   }

else
 
{ cout << "You are more than 50 years" << endl;}

_getch();

return 0;
 
}

2.)


#include <iostream> 
#include <cstdlib> 

#include<conio.h>
 
using namespace std; 
 
int main() 

  int magic;   
  int guess;    
 
  magic = rand();              // get a random number 
   
  cout << "Enter your guess: "; 
  cin >> guess; 
 
  if (guess == magic) { 
    cout << "** Right **\n"; 
    cout << magic << " is the magic number.\n"; 
  } 
  else 
    cout << "...Sorry, you're wrong."; 
    if(guess > magic) 
       cout <<" Your guess is too high.\n"; 
    else 
       cout << " Your guess is too low.\n"; 
  } 
 

  _getch();
  return 0; 
}

Saturday, September 6, 2014

CONDITIONAL STATEMENT



          This is a programming language statement that selects an execution path based on whether some condition is true or false.

IF/ ELSE STATEMENT

          Using if/ else, one block of code is executed if the control expression is true and another block is executed if the control expression is false.



          ex.   
          if (x==100)
          cout<<"x is 100";
          else
          cout<<"x is not 100";

The if else structures can be concatenated with the intention of verifying a range of value.

          ex.
          if (x>0)
          cout<<"x is positive";
          else if (x<0)
          cout<<"x is negative";
          else
          cout<<"x is 0";

NESTED IF/ ELSE

           Nesting If/ else statement means that you put another if/ else

statement within the true side or false side of another if/else statement.




        Here is an example program:

                                 int grade,income;
                  cout<<"Enter grade of Students: ";
                  cin>>grade;                     
                  cout<<"Enter Monthly Income: ";
                  cin>>income;
                  if(grade>=85)
                  {
                      if(income<=10000)
                      cout<<"Qualified!!";
                      else
                      cout<<"Not Qualified!";
                  }
                  else
                  cout<<"Not Qualified!";