Teaching robust programming

被引:3
|
作者
Bishop, M [1 ]
Frincke, D
机构
[1] Univ Calif Davis, Dept Comp Sci, Davis, CA 95616 USA
[2] Univ Calif Davis, Comp Secur Lab, Davis, CA 95616 USA
[3] Pacific NW Natl Lab, Richland, WA USA
关键词
Defensive programming - Directory name service (DNS) - Information hiding - Invalid inputs;
D O I
10.1109/MSECP.2004.1281247
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The need for robust programming to prevent programs from crashing or failing is discussed. badly written programs may crash of fail to perform when user provide invalid input, either deliberately or accidentally. Robust programming aims to prevent the abnormal termination and unexpected actions by using codes to handle invalid inputs. Robust programming differs from nonrobust programming in its adherence to three principles, including programming defensively, hiding information, and assuming the impossible. Working with the three principles of robust programming is also discussed.
引用
收藏
页码:54 / 57
页数:4
相关论文
共 50 条
  • [41] A Model Suggested for Programming Teaching: Programming in Seven Steps
    Erumit, Kursat Ali
    Karal, Hasan
    Sahin, Guven
    Aksoy, Dilara Arzugul
    Gencan, Aysegul Aksoy
    Benzer, Ali Ihsan
    EGITIM VE BILIM-EDUCATION AND SCIENCE, 2019, 44 (197): : 155 - 183
  • [42] TEACHING MICROCONTROLLER PROGRAMMING GRAPHICALLY
    Rogers, John R.
    Avdashchenko, Konstantin
    PROCEEDINGS OF THE ASME INTERNATIONAL MECHANICAL ENGINEERING CONGRESS AND EXPOSITION, 2011, VOL 5, 2012, : 117 - 121
  • [43] THE TEACHING OF PROGRAMMING IS NOT THE FUTURE BUT THE PRESENT
    Rial-Fernandez, Barbara
    Patricia Santacruz-Valencia, Liliana
    2019 INTERNATIONAL SYMPOSIUM ON COMPUTERS IN EDUCATION (SIIE), 2019,
  • [44] The method of structured programming teaching
    Antipov, Yu. N.
    Omarov, G. T.
    Shayakhmetova, B. K.
    BULLETIN OF THE KARAGANDA UNIVERSITY-MATHEMATICS, 2014, 74 (02): : 36 - 41
  • [45] Teaching to Program and Programming to Learn
    Wolovick, Nicolas
    Cecilia Martinez, M.
    VIRTUALIDAD EDUCACION Y CIENCIA, 2016, 7 (12): : 8 - 10
  • [46] CHALLENGES IN TEACHING PROGRAMMING AND ALGORITHMS
    Runceanu, Adrian
    Runceanu, Mihaela Ana
    INTED2016: 10TH INTERNATIONAL TECHNOLOGY, EDUCATION AND DEVELOPMENT CONFERENCE, 2016, : 4120 - 4126
  • [47] Discussion of Optimization of Programming Teaching
    Lu, Lilei
    FUTURE COMPUTER, COMMUNICATION, CONTROL AND AUTOMATION, 2011, 119 : 601 - 605
  • [48] Communicative approach to teaching programming
    Vrbík, Václav
    Přibáň, Tomáš
    Recent Patents on Computer Science, 2009, 2 (02): : 116 - 123
  • [49] Teaching Programming for Blinds: A Review
    Al-Ratta, Nusaibah M.
    Al-Khalifa, Hend S.
    2013 FOURTH INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY AND ACCESSIBILITY (ICTA), 2013,
  • [50] Teaching Programming Through Games
    Doherty, Liam
    Kumar, Vive
    2009 INTERNATIONAL WORKSHOP ON TECHNOLOGY FOR EDUCATION (T4E 2009), 2009, : 111 - 113