• DocumentCode
    530265
  • Title

    Rethink exception handling at C level

  • Author

    Hua, Baojian ; Bo Xu ; Gao, Ying

  • Author_Institution
    Suzhou Inst. for Adv. Study, Univ. of Sci. & Technol. of China, Hefei, China
  • Volume
    2
  • fYear
    2010
  • fDate
    17-19 Sept. 2010
  • Abstract
    Exception handling is one of the most complex and advanced language features, and is found in most modern languages. However, it´s hard, if not impossible, to teach exception mechanism and its implementation techniques well to undergraduates without the necessary language background, due to the complex dynamic nature of exceptions. This paper presents a novel methodology to teach exception handling by rethinking exception handling and its semantics at C level. The key novelty is that the exception handling is implemented totally at C level, and the standard implementation technique of stack unwinding is also modeled honestly at C level. The main technical advantage is that students can master all these facets with the minimal requirement. Our teaching experience shows success of this methodology and students can understand the main techniques more easily than in traditional ways.
  • Keywords
    C language; computer science education; exception handling; C level; advanced language; complex dynamic nature; exception handling; semantic; undergraduate; Optical character recognition software; Presses; compilation; exception handling; semantics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Educational and Information Technology (ICEIT), 2010 International Conference on
  • Conference_Location
    Chongqing
  • Print_ISBN
    978-1-4244-8033-3
  • Electronic_ISBN
    978-1-4244-8035-7
  • Type

    conf

  • DOI
    10.1109/ICEIT.2010.5607611
  • Filename
    5607611