tailieunhanh - Lecture Notes in Computer Science- P43

Lecture Notes in Computer Science- P43:This year, we received about 170 submissions to ICWL 2008. There were a total of 52 full papers, representing an acceptance rate of about 30%, plus one invited paper accepted for inclusion in this LNCS proceedings. The authors of these accepted papers | Virtual Education System for the C Programming Language 199 Most lecturers have felt that there were difficulties in teaching concepts of computer programming. For example it is difficult for students to comprehend the overflow and underflow concepts. Thus we hope that Flash animations will help students understand concepts. The Flash animation in Fig. 3 shows when an overflow occurs. Learners can easily grasp the concept of overflow for an integer type variable. Web Study ctêti C language Web Lecture ------ Fig. 2. An HTML page for lecture notes Fig. 3. Flash animation for explanation of the overflow concept 200 I. Moon et al. More interactive content made by Java Applets are provided. Learners can enter proper values into the Applet and observe which results are returned. The printf function writes formatted output to standard_out stdout . There are many cursor control sequences and conversion characters for the printf command. The learner needs to comprehend the effects of control character usage. Therefore we implemented a Java Applet for printf. The Applet for the printf function in Fig. 4 waits for 3 values of integer-type variable a double-type variable b a character-type variable and a format for printout which learners can select from a list box shown in Fig. 5 or enter their own into the output format text box. Using this Applet learners can very easily observe the relation between print formats and printout results which give learners different types of experiences about print formats. Fig. 4. Applet for the printf function Hello C World Hello C World F Warning 20 Students OOP Wt JAVA C Wn a . b ir b 4c 5c .c a 3Sd. b ll c S cWn a d b lf c- c a b e You choose approprite formats Fig. 5. List box for format selection Fig. 6 is an applet for an iterative statement while do-while for nested for break continue . After students choose a panel in a Top-down panel and insert a value in a user input textbox they can confirm the result of the program for the .

TỪ KHÓA LIÊN QUAN