top of page
Writer's pictureJino Shaji

Computer Programming Concepts

Updated: Jun 9, 2020

Computer programs are the collection of instructions that tells a computer how to interact with the user,interact with the computer hardware and process data. The first programmable computers required the programmers to write explicit instruction to directly manipulate hardware of the computer,which is known as the machine language.


Computer Programming Concepts

The following concepts are essential to anyone who wants to become skilled in computer programming. While some are not universal, these concepts are present in the majority of computer programming languages and/or are a fundamental part of the programming process.


Algorithm

An algorithm is a finite collection of well defined instructions if is is followed a task can be accomplished . Algorithms are used extensively in computer programming to arrive at a solution for problem. The process of creating an algorithm involves documenting all the necessary steps needed to arrive at the solution and how to perform each step. A real world example of an algorithm would be recipe. The instructions of a typical recipe (add ingredients,mix, stir,etc) are an algorithm.


Source code

The actual text used to write the instructions for a computer program. This text is then translated into something meaningful the computer can understood.


Variables

A container which represents a value in a program. Variable can store different types of data including values,single characters, and text string.The value of a variable can change all throughout a program.


Functions

A set of code used to carry out specific u\tasks. A function can take parameters which will effect its output as well as return values. Functions prevent unnecessary redundancy because you can use them much as needed instead of typing some code over and over.


Arrays

An array is a container object that holds a fixed number of values of a single type. The length of an array is established when the array is created.


Loop

In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.


0 views0 comments

Recent Posts

See All

VB code to Unprotect Excel Sheet

Sub PasswordBreaker()     ‘Breaks worksheet password protection.     Dim i As Integer, j As Integer, k As Integer     Dim l As Integer, m...

Basic Programming Tips

Tip #1: Avoid confusion by programming in small steps Novice programmers frequently attempt too much at once with their programs. This...

Comments


bottom of page