تقرير
Graphical User Interface Programming in Introductory Computer Science.
العنوان: | Graphical User Interface Programming in Introductory Computer Science. |
---|---|
اللغة: | English |
المؤلفون: | Skolnick, Michael M., Spooner, David L. |
Peer Reviewed: | N |
Page Count: | 9 |
تاريخ النشر: | 1995 |
Sponsoring Agency: | National Science Foundation, Arlington, VA. |
نوع الوثيقة: | Reports - Descriptive Speeches/Meeting Papers |
Descriptors: | Computer Games, Computer Graphics, Computer Interfaces, Computer Science Education, Higher Education, Introductory Courses, Programming |
مستخلص: | Modern computing systems exploit graphical user interfaces for interaction with users; as a result, introductory computer science courses must begin to teach the principles underlying such interfaces. This paper presents an approach to graphical user interface (GUI) implementation that is simple enough for beginning students to understand, yet rich enough to demonstrate many important aspects of computer science. The GUI interface described is implemented using a library of C macros and provides a display window that outputs bit-mapped graphics and inputs mouse actions. The macro calls and conventions are described in the context of an implementation of Conway's Game of Life, a programming exercise found in many introductory texts. The GUI interface for the Game of Life program is detailed in the first section, in order to provide a concrete example of the capabilities of the simplified GUI library. The next section describes the life main function that sets up the buttons and associated callback functions; these callback functions are then presented. The last section gives an example of a simple paint program that can also be created using the GUI macro library. In addition, this paper considers how the material could be introduced in an Introduction to Computer Science course at Rensselaer Polytechnic Institute (New York). (AEF) |
Entry Date: | 1996 |
رقم الأكسشن: | ED392437 |
قاعدة البيانات: | ERIC |
الوصف غير متاح. |