Structured programming approach

02/17/2019

Structured programming is a logical programming technique that is considered to be the predecessor of object-oriented programming. A structured programming approach is actually described as an approach towards programming in which the program is made of a single structure. Here the code will execute one after another, and you cannot jump from one code to another.

The structured programming approach was developed specially for the first year computer engineering students to attain the necessary requirements of the latest syllabus. It discusses and provides a thorough understanding of computer basics, C programming, and other necessary fundamentals.

The fundamental approach towards programming begins during the school years, students are provided with a brief glimpse into the programming world. This provides them with insight if what they are about to study in future, and it also helps develop the basic knowledge of those students who want to pursue computer science during higher studies. Structured programming approach is divided into various chapters to help students understand the mechanism, the various chapters are

- Introduction to Computer

-Algorithm And Flowchart

-Fundamentals of C-Programming

-Control Structures

-Functions and Parameter

-Arrays

-String Structure and Union Pointer and Files

Following are an elaboration of the chapters formulating the structured programming approach.

1.Introduction to Computer

A computer is a device originally developed to calculate, but nowadays a computer can do a lot of other things and some of them are due to programming and coding.

2.Algorithm And Flowchart

An algorithm is a step-by-step rhythmic procedure provided by a programmer to the computer( in computer language) to follow which will yield the desired result or output at the end. A flowchart is a diagram of the algorithm that shows the steps the computer has to follow.

3. Fundamentals of C-Programming

C programming language uses the letters A to Z in lowercase and uppercase. The digits 0 to 9, some special characters(eg... + - * / = % & # ! ? ^ " ' / | < > ( ) [ ] { } : ; . , ~ @ !) , and white spaces which is used to shape basic program elements (e.g constants, variables, expressions etc.). Various elements are used to construct a C programming structure, the elements are; C character sets, data types, constants, declarations, identifiers and keyword, arrays, expressions, and statements.

4. Control Structures

A control structure is a structure of programming that scrutinizes a variable and selects a course in which to go based on provided parameters.

5.Functions and Parameter

Almost all programming language has functions in it. A function is actually a formulation of a group of sentences or codes clumped together to perform a specific task. Each function contains an opening bracket and closing bracket, then only the code will execute. A parameter is a formal argument, which is actually a special kind of variable normally used in subroutines to signify one of the pieces of data which is provided as an input within the subroutine.

6.Arrays

An array is an accumulation of one or more than one values of similar Type, and each value is called an element here. Each element of the array as its own unique index number called subscripts. There is various Type of array like char, int, float etc.

7.String Structure and Union Pointer and Files

Strings structures are an array of characters the only difference here is string structure is terminated by using a special symbol '/0'. Union pointer is also an user-defined data type but the only difference from structured here is that all the members share the same memory address.

The combination of these chapters is formed with the humble dedication of various extremely knowledgeable experts and scholars from various fields of computer science.

© 2018 GLOBAL Consulting Ltd.. 12 Pike St, New York, NY 10002
Powered by Webnode
Create your website for free! This website was made with Webnode. Create your own for free today! Get started