banner
Theory :
Lab :
   ~ Back to Taif University on NOV 2012!      ~ Publications, Patents, Databases, Software Engineering, Graphics, Image Processing, Cisco Training, Lecture Notes are updated!      ~ E-Journals, Software Engineering, Cisco Training, Everyday English, and Album Sections have been updated!      ~ This website will be updated gradually since I am busy with my master project      ~ Welcome to u2learn.net... All my students are invited!      
Structured Programming

Structured programming can be seen as a subset or subdiscipline of procedural programming, one of the major programming paradigms. It is most famous for removing or reducing reliance on the GOTO statement.

Historically, several different structuring techniques or methodologies have been developed for writing structured programs. The most common are:

  1. Edsger Dijkstra's structured programming, where the logic of a program is a structure composed of similar sub-structures in a limited number of ways. This reduces understanding a program to understanding each structure on its own, and in relation to that containing it, a useful separation of concerns.
  2. A view derived from Dijkstra's which also advocates splitting programs into sub-sections with a single point of entry, but is strongly opposed to the concept of a single point of exit.
  3. Data Structured Programming or Jackson Structured Programming, which is based on aligning data structures with program structures. This approach applied the fundamental structures proposed by Dijkstra, but as constructs that used the high-level structure of a program to be modeled on the underlying data structures being processed. There are at least 3 major approaches to data structured program design proposed by Jean-Dominique Warnier, Michael A. Jackson, and Ken Orr.

For more information, please walk through Wikipedia.

Lab Lectures:

My Lab exercises introduce the syntax and semantic of using C, a strongly supportive language for structured programming. Right click on the PDF icon to download the file, Right click on the WinZip icon to dowload the code.

Que
Laboratory Programs
Lab. 1 Working with Turbo C++

Lab. 2 Writing Programs in C

Lab. 3 Basics of C Language

c

Lab. 4 scanf, printf Functions in C

c

Lab. 5 Hello World, Arithmatic Op, Counters

c

Lab. 6 ArithmaticEQ, Switch-Case

c

Lab. 7 Simple IO Functions for characters and strings

c

Lab. 8 Control Statements

c

Lab. 9 Arrays

c

Lab. 10 More Advanced Programs - Part I

c

Lab. 11 More Advanced Programs (Arrays) - Part II

c

Lab. 12 More Advanced Programs - Part III

c

Lab. 13 Pointers in C c
Lab. 14 Structures in C

c

Exercise Set
Sheet. 1 ccode
Sheet. 2 ccode
Sheet. 3 ccode
Sheet. 4 ccode
Sheet. 5 ccode
Sheet. 6 ccode
Sheet. 7 ccode
Sheet. 8 ccode
Sheet. 9 ccode
Sheet. 10 ccode
Sheet. 11 ccode
Final Exam
Questions Sample of final exam questions
Solutions Solutions to the previous final exam

 

Important Downloads:

Compiler Turbo C - Dos Only
Compiler Turbo C++

 


:: Home :: Lecture notes :: Calendar :: E-Learning :: Contact us :: Guest book :: Taif University :: CIT ::

All rights reserved for © u2learn.net 2008-2012

For best resolution use: 1024 x 768
You are using :