Programmes

BACHELOR OF SCIENCE IN SOFTWARE ENGINEERING

SENG 11523

STRUCTURED PROGRAMMING

Status : Core Pre-requisite : G.C.E. (A/L) Co-requisite : None

 

On completion of this course, the student should be able to:

  • Analyze a practical problem using Input-Process-Output (IPO) model
  • Design an algorithm to solve a given practical problem
  • Specify the design using flowcharts/pseudo codes
  • Use three basic programming construct available in programming languages to implement an algorithm
  • Decide when to use for, while and do-while loops
  • Use variables, arrays and structures in computer programs
  • Use functions as basic program building block
  • Explain the difference between dynamic and static memory allocations
  • Working with different structures
  • Use file processing to work with data available on a secondary storage
  • Work with text and binary files
  • Use pointers to access variables, arrays, structures and files
  • Develop and test efficient and reliable computer program for a given problem.

Problem solving process, flowchart basics, pseudo code, Program: data and algorithm, Program execution cycle, language translation – compilers and interpreters, linkers, source code, object code and executable code, elementary data types, variables, constants, control structures for selection and repetition, operators, operator preceding and associativity , bit operations, , type casting and conversion, safe vs. unsafe conversion, implicit and explicit conversion, convert byte array to an int, convert a string to number, convert between hexadecimal strings and numeric types, functions, recursion ,pre-defined modules, structured data types –arrays & structures, abstract data types, references, pointers, static and dynamic memory allocations and usage program execution, memory/resource leak, advanced debugging techniques including remote debugging, open a file for reading or writing, read/write content of a file, handling text and binary files, file system functions, direct and random access to a file, exception handling, threads and controls, programming standards and best practices.

Lectures, supervised hands-on practical sessions and group work.

End of course unit examination and continuous assessment: take home assignments & in-class test.

  1. Deitel, H M, and Deitel, P J (2012). C++ How to Program. Prentice Hall
  2. Bronson, G J(2000). A First Book of C++: From Here to There. Books/Cole Publishing
  3. Liberty, J (2001).Teach Yourself C++ in 21 Days Complete. Sams Publishing.

Back