Computer Programming

Course Code: Ν2-1040
Weekly Duty: 6 (2Th + 2E + 2L)
ECTS: 7
Typical Semester: 1rst
Course Category: General Infrastructure Course
Prerequisites:  

Learning Outcomes

Upon successful completion of this course the student must:

  • understand the syntax and be familiar with the programming environment of C (eg. editor, compiler, software libraries, reference manuals, online help)
  • handle with relative ease the basic programming structures: data types, variables, constants, assignments, expressions, loops and control structures
  • understand and be able to use the abstract data types (arrays, strings), the functions, recursion, the scope of variables, the pointers and the structures
  • use and be familiar with formatted input/output, the C preprocessor, files and the arguments of main
  • be able to analyze existing modular C-programs and determine their function
  • be able to design and implement solutions to problems through computer programming in C.

Course Content

Computer Structure. Principles of structured programming. Compiling. Linking. Executable programs. C programming language. Variables, data types, expressions, assignments. Simple input/output. Loops. Control structures. Arrays. Functions. Scope of variables. Recursion. Pointers. Dynamic memory allocation. Strings. Structures. Formatted input/output. The C preprocessor. Macros. Inout/Output redirection. Data streams. Text (ASCII) files. Binary files. Serial/random file access. Specific topics (the arguments of main(), enumerated data types, unions). Laboratory in C programming.

Literature
  1. Χατζηγιαννάκης, Ν., Η Γλώσσα C σε Βάθος, 4η έκδ., Κλειδάριθμος, 2012.
  2. Aitken P., Jones, Πλήρες Εγχειρίδιο της C, 6η έκδ., Γκιούρδας, 2006.
  3. Kernighan B., RitchieD., Η Γλώσσα Προγραμματισμού C, 2η έκδ., Κλειδάριθμος, 1990.
  4. Καρανικόλας, Ν., Εμβάθυνση στον Προγραμματισμό με τη Γλώσσα C, Εκδόσεις Νέων Τεχνολογιών, 2009.
  5. Roberts E., Η Τέχνη και Επιστήμη της C, Κλειδάριθμος, 2004.
  6. DeitelH.M., DeitelP.J., C Προγραμματισμός, Γκιούρδας, 2003.
  7. PrataS., CPrimerPlus, 5thed., TheWaiteGroup, SAMS, 2004.
  8. Harbison S.P., Steele G.L., C: A Reference Manual, 5thed.,Prentice Hall, 2002.
  9. Bronson G.J., A First Book of ANSI C, 4th ed., Course Technology, 2006.
  10. Wikibooks, Programming in C, (A comprehensive look at the C programming language and its features) -http://en.wikibooks.org/wiki/Programming:C

Internationalisation I18n