Discussion on Cultivating Students' Ability in Teaching of Programming Course

Feng Zhongyi 1 Dong Haitang 2
1. Lanzhou City University, Lanzhou 730070, Gansu 2. Lanzhou Jiaotong University, Lanzhou 730070, Gansu

Abstract: VisualBasic programming language is a compulsory computer public basic course for all science and engineering students in our school. This paper discusses the teaching organization in the case of the reduction of computer courses during the teaching reform in our school, and proposes teaching methods. The discussion focused on the integration of the lesson preparation process and the multiple teaching methods in classroom teaching, as well as improving students' programming and debugging abilities by allowing students to complete practical topics after class, and applying and expanding programming knowledge in their respective majors. And lay a good foundation for solving the problems of this major.
Keywords: Visual Basic programming; teaching; programming and debugging

"VisualBasic language" is used by our school as an entry language for undergraduates to learn programming. The practical experience of teaching explores how to organize teaching in the case of less hours, and cultivate and improve students' programming and debugging ability.

1 Teaching arrangement when less hours

The teaching reform of our university ’s undergraduate courses in science and engineering greatly reduced the total hours of public basic courses to improve the hours of professional courses, elective courses and practical courses, which led to a corresponding reduction in the total hours of basic courses in computer applications. To this end, teachers in charge of the computer basic courses of the lower grades of the school have conducted many discussions, especially in recent years, the author has been carrying out reform and exploration in this regard, and strives to enable students to master the knowledge of programming in a shorter semester, and be able to Apply and expand the characteristics of your own disciplines, and make self-study improvement according to the needs in future study and work.

The programming courses are arranged in the second semester of the first year of the university. There are 72 hours in total, of which 36 hours are for the study of programming language theory. The main content is the concepts and grammar of the programming language and the corresponding typical algorithms. At the same time, two hours of computer-based teaching are arranged synchronously every week, and a total of 36 hours of computer-based practice. For many years, computer language courses have been available in C language, C ++, Visual FoxPro and Visual Basic. With the popularization of object-oriented programming, teaching also needs to turn to object-oriented programming. However, typical object-oriented programming languages ​​such as C ++ and Java are difficult for non-professional students to master in a short period of time. Therefore, we chose VisualBasic, which is easy to master, has penetrated the object-oriented programming ideas, and has a very powerful programming language.

In the hands-on teaching session, in addition to completing the necessary typical topics, after the students are more familiar with the Visual Basic programming environment, in the second half of the semester (after the 9th week of the teaching week), the students are divided into groups, each group is composed of 3 to 4 people , With VisualBasic language as the programming environment, with the teacher-designated or students interested in small software projects as the background, the training includes: needs analysis, algorithm design, module design, writing programs and software testing, and finally the software documentation And source code as the basis for the results of hands-on practical lessons. Practice shows that after such a whole process of practice, students can initially master visual programming and understand the general software development methods. Compared with the past teaching students, although they have completed the programming courses and passed the national computer secondary exam, they have little knowledge of software development and have greatly improved it.

2 Careful selection of teaching materials

At present, there are many kinds of teaching materials for VisualBasic programming courses, and the content varies greatly. The author follows the following principles when choosing teaching materials:

(1) Pay attention to the learning of concepts and algorithms, the content is concise and concise, and the details of the grammar are not studied in detail, and the instructions of the operation part should be clear and clear.

(2) The organization of teaching material content helps to establish a programming-oriented thinking model in the students' minds as soon as possible.

(3) There is a detailed experimental instruction book, which can train students to use the computer comprehensively.

(4) Each chapter in the textbook provides targeted typical cases. The explanation of case steps leads to the specific application of theoretical knowledge, which can be combined with the subject content of students and can integrate the previous and previous knowledge points in the textbook.

(5) Incorporate the progress of programming language and software into teaching materials.

Because each version of the textbook has its own characteristics. When choosing, teachers can also make a trade-off according to the students' computer level, the characteristics of the subject, the teaching objectives of the major, and the teaching requirements at different levels. For the majors with lower programming requirements, you can choose more obvious textbooks. For the majors that require strong computer practice skills, such as electronic technology, you should choose the textbooks that are closer to engineering training.

3 Seriously organize classroom teaching

When implementing teaching activities, students' learning foundation, cognitive ability, interests and habits should be considered. After a semester of basic computer application learning, students generally have the ability to use computers and are familiar with some commonly used software such as the Office suite. There are also some students who have learned programming languages ​​in middle school and have a certain programming foundation. However, according to the author's understanding of students in teaching, as far as programming is concerned, the programming knowledge that students already have is very little and vague. Therefore, during teaching, some students need to be warned not to be complacent because they have learned a little programming. Teachers should also guide students to learn more about computer professional knowledge in teaching, and integrate relevant knowledge such as data structure, operating system, hardware and software environment into teaching. And in the later stage of teaching, students are trained with comprehensive topics with engineering application background. These supplementary contents can help non-professional science and engineering students to quickly establish the computer's knowledge structure framework.

Intuitive and vivid explanation in classroom teaching is an important means to improve learning efficiency, especially when teachers conduct on-site programming and debugging during teaching, which is of great help to students' learning, but it takes more time. Typical errors of "manufacturing". In addition, teachers should pay attention to cultivating students' good programming style, such as standardized variable naming, adding appropriate comments, zigzag indentation requirements, etc. Student imitation is the first step in learning programming. It is necessary for students to experience the whole process of programming to cultivate students' good habits.

4 Cultivation of programming and debugging capabilities

In teaching, we should pay attention to training students to use the programming language to perform the basic functions of data calculation and logic analysis, mainly including the design of data structures, the choice of algorithms, and the division of module functions. The teaching of specific grammar should be integrated into the programming process, through a lot of practical explanations and exercises to consolidate knowledge points, establish the relationship between knowledge, and finally firmly master the programming language.

The debugging of the program is both the focus and the difficulty of learning program design. Dozens of lines of code will cause a lot of errors and warnings. Students should be consciously trained in the ability to debug programs in teaching and introduce students to common types of errors and debugging methods. Because textbooks generally talk about this in general, teachers need to focus on this. Programming is impossible without debugging the program.

Errors that appear in a program can usually be divided into two categories, "syntax errors" and "logic errors". "Syntax error" means that the program code does not meet the grammatical requirements of this programming language. When an error occurs during program debugging, an error message is generally displayed on the screen. Whether the debugger can understand this information is the key to correct the error. The teacher is teaching More explanation is needed at the initial stage, and this kind of error is relatively easy to find. It is more difficult for students to "logic errors". Teachers need to use a variety of debugging methods, such as viewing the program structure, outputting key variable values, and black box module testing. No matter what kind of error, this kind of program debugging ability acquisition requires a lot of training. The debugging program needs to be included in the plan at the beginning of the teaching. From writing the simplest program, the method of program debugging needs to be gradually emphasized. For example, when learning the flow control statement, you can introduce F8 single-step execution, Shift + F8 to execute step by step, Ctrl + F8 to the cursor, observe the variable value through the monitoring window, etc .; introduce the method of setting the breakpoint when explaining the loop ; In the process of explaining the process and function, use the calling of the process and the debugging method of entering the function execution or skipping the function execution. In the later stage of teaching, introduce other advanced program debugging methods (such as function call stack, etc.).

Typical questions can help students to master the knowledge and methods of programming better and faster. The examples used when explaining new knowledge points should be short and refined, and can be combined with the majors studied by students, which can greatly increase students' interest in learning.

5 Conclusion

This article combined with its own teaching experience, introduced the teaching arrangement of VisualBasic programming courses under the condition of less hours, the choice of teaching materials, the organization of classroom teaching, the training of program debugging ability, etc. Prove that these methods are successful and effective in actual teaching.

references

[1] Li Jinxia, ​​Chang Junfeng. Discussion on the integrated teaching of programming in higher vocational colleges [J]. China Modern Education Equipment, 2010, 9
[2] Liu Yingcheng. Investigation and research on the program debugging ability of newly-advanced undergraduate colleges [J]. Modern Computer (Professional Edition), 2010, 5

Turquoise Gemstone meaning
Turquoise is one of the oldest protection amulets, and was also known as a symbol of wealth in many ancient cultures. Strength, protection from harm, psychic sensitivity and connection to the spirit world
If given a turquoise by a loving friend, that stone would protect the wearer from negative energy and bring good fortune. The turquoise is the symbol of friendship. It also brings peace to the home.
This stone is a very personal and meaningful stone to one who wears it. Turquoise takes on the characteristics of the owner.
Turquoise carries great wisdom of basic truth within it. It is one of the oldest stones known. This is a stone that a person must learn to attune to instead of the stone attuning to the person. It is important that the owner of a Turquoise give it the proper attention.







Healing properties of Turquoise
Neutralizes over acidity
Alleviates rheumatism, gout, stomach problems, viral infections
Increases growth, muscular strength
Alleviates pain, relaxes cramps
Contains anti-inflammatory and detoxifying effects
Application: should be worn on the solar plexus
Use with copper to increase the power of turquoise.
History of Turquoise
Turquoise is a stone that has been prized for many years. The ancient Egyptians used turquoise in jewelry. Turquoise is greenish-blue or pale sky blue. The name means "Turkish stone" as it came to Europe by way of Turkey. Turquoise was mined more than 6,000 years ago in Sinai. The best turquoise comes from Iran, but not much is exported now. Much turquoise comes from Mexico and the United States today.
We can offer various Turquoise round oval ,and many other shape beads,tumbled stone,
Bracelet, Necklace,ring etc

Turquoise

Chalk Turquoise Beads, Turquoise Cluster Bracelet, Turquoise Rose Necklace, Bellas Turquoise Bracelet, Turquoise Nuggets Beads

JOYA GIFT CO.,LIMITED , http://www.joyagifts.com