Basic Computer Programming
Basic Computer Programming
PROGRAMMING
Introduction to Computer Program
• A computer program is a sequence of instructions
written using a Computer Programming Language to
perform a specified task by the computer.
• A computer program is also called a computer
software, which can range from two lines to millions of
lines of instructions.
• Computer program instructions are also called program
source code and computer programming is also called
program coding.
Introduction to Computer Programming
• C Programmer
• C++ Programmer
• Java Programmer
• Python Programmer
• PHP Programmer
• Perl Programmer
• Ruby Programmer
Basic Programming Concepts
#1) Algorithm: It is a set of steps
or instruction statements to be
followed to accomplish specific
tasks. A developer can design his
algorithm to achieve the desired
output.
For Example, a recipe to cook a
dessert. The algorithm describes
the steps to be followed for
completing a specific task, but it
does not say how to achieve any of
the steps.
#2) Source code: Source code is the actual text that is used to construct
the program using the language of choice.
For Example, it is mandatory to have the main method in Java and the text used is
as shown below.
#8) Loop: Loop is used to execute the series of code until the
condition is true. For Example, in Java, loops can be used as
for loop, do-while, while loop or enhanced for loop.
• #1) Self Reliance: To succeed in coding, you should develop a confidence in yourself,
control your impatience, frustration and should refrain from being dependent on someone
else to help you in solving your technical problems, rather you should be self-reliant and
keep faith on your capabilities, monitor your efforts and remain optimistic and
perseverant in learning.
• #2) Language: It is an individual’s choice to decide which programming languages he/she
should learn. A programming language should be selected based on its acceptance in the
various domains in software industries. Object-oriented languages like Python and Java,
which are free & open-source are widely accepted and used by Google, Yahoo, and NASA.
Java script is another scripting language, a client-side scripting language, but
knowing Javascript will highly benefit web-based application developers. Non-procedural
language like SQL is mandatory as it is acceptable by all the back-end databases. Click
this link for learning an online exercise for SQL.
#3) Logic: As a developer or tester, to excel in the programming
language, one must always have conditional and logical thinking. It can
be improved as we improve our muscles, there are a few sites where
one can prepare and improve logical thinking and prepare for
programming language.
• Fresherslive
• The Online Test Centre
• Indiabix
#4) Attention to Detail: A conscientious and alert person with an eye
for details will check his/her work for minute details and this will
prevent any syntax error, verify if any steps like unit testing or including
API /classes, miss associated jar or class files. For some people,
meditation might help to improve focus and concentration while for
others taking a walk or playing some mind games might help. You need
to find out what works for you.
• #5) Abstract Thinking: During sprint meeting in an agile environment,
the ability to think out of the box, or see things from different
angles/perspectives, help to uncover scenarios for requirements and
design considerations. This can be improved by a discussion with
others.
• #6) Patience: At times, it happens as you write a code, for which you
are confident about, verified it a couple of types, it works in your
machine, but after integration the code snippet does not work, all the
effort to identify the fault go in vain, you feel stressed out, frustrated
and feel like good for nothing.
• #7) Strong Memory: Being able to understand and visualize the high-
level design, data flow, algorithm, data structure, how they interact
with each other will separate you from an average coder. Meditation
techniques and memory exercises can help with this as well.
Where Can We Apply The Skills Of
Programming?
• Ability to Communicate: Communication is an extremely essential quality wherein, you
can explain your plan, discuss your doubts, improve your thoughts and exchange
information from your superior and your team member. A good communicator can
understand and explain the tasks performed in daily reporting, find out how can you
improve your thoughts and clear your doubts. During the agile standup meeting & sprint
meets, you can communicate the plan of action and can lead the team.
• Problem-solving: Accepting challenges and accomplishing difficult tasks will build
problem-solving skills and this is a prerequisite for a good developer. During development,
you may encounter various issues of understanding the business logic and implementing
them into your code, integration of the code with application, compatibility issues and
many more challenges. Your problem-solving skills will help you to sail through the most
critical situations.
• Collaboration/Teamwork: Collaboration skills enable you to work with the team members
to accomplish some tasks effectively and thereby improve productivity.
Career Options For Programmers