DocumentCode :
387104
Title :
Teaching data structures: thread safety and components
Author :
Shults, Benjamin Price
Author_Institution :
Dept. of Math. & Comput. Sci., Western Carolina Univ., Cullowhee, NC, USA
Volume :
1
fYear :
2002
fDate :
2002
Abstract :
The data structures that are written in a typical data structures course cannot or would not be used in common applications in industry for two reasons. First, they do not work according to their specifications if they are used in a multi-threaded environment. If two threads are deleting adjacent elements of a linked list at the same time, for example, then one of the deletes may not have any effect. Second, they do not fire change events and thus frustrate common design practices of connecting software components. As a result, it is more difficult for the application programmer to separate the data, the structures, the logic, the user interface, and the application code from each other. Here we discuss some issues involved in including these two topics, threads and components, in a course on data structures. Students who learn these techniques will have less to learn when they begin to use and write data structures in industry.
Keywords :
Java; computer science education; data structures; multi-threading; safety; teaching; Java programming language; application code; application programmer; connecting software components; data structures course; data structures teaching; multi-threaded environment; thread safety; user interface; Application software; Data structures; Education; Fires; Joining processes; Logic; Programming profession; Safety; User interfaces; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Frontiers in Education, 2002. FIE 2002. 32nd Annual
ISSN :
0190-5848
Print_ISBN :
0-7803-7444-4
Type :
conf
DOI :
10.1109/FIE.2002.1157918
Filename :
1157918
Link To Document :
بازگشت