Second, extend concrete knowledge to others related. In CA, some concrete knowledge could be combined with actual applications, and then we extend the in-class knowledge to its applications. For example, we differentiate the two concepts of data type and data, i.e., data plus the operation on data is equal to data type. And then introduce their applications. Type-checking is an efficient mechanism to avoid programming error. When developing a program, programmers define the type of a variable, and that variable denotes a data type. In strong type programming language such as java, C++, etc., compliers make syntax checks during the process of compiling in order to avoid errors (for example, it is meaningless to add a Boolean data with an integer data). Ptolemy II [10], a model-based development environment, uses type-checking as its error-proofing mechanism. After introducing type checking, we introduce another application—Hungarian notation [11]. In Hungarian notation, a variable is given a name by using its type and its meaning. A programmer could use Hungarian notation to make his program more standard and readable. By the above introduction, students learn the difference between data type and data, enlarge the scope of knowledge, and can use this knowledge into software development.
ประการที่สองการขยายความรู้ที่เป็นรูปธรรมให้กับผู้อื่นที่เกี่ยวข้อง ใน CA, บางความรู้ที่เป็นรูปธรรมสามารถนำมารวมกับการใช้งานที่เกิดขึ้นจริงและจากนั้นเราขยายความรู้ในชั้นเรียนเพื่อการประยุกต์ใช้ ตัวอย่างเช่นเราแยกความแตกต่างทั้งสองแนวคิดของชนิดข้อมูลและข้อมูลเช่นข้อมูลบวกเกี่ยวกับข้อมูลการดำเนินงานเท่ากับชนิดข้อมูล แล้วแนะนำการใช้งานของพวกเขา ประเภทการตรวจสอบเป็นกลไกที่มีประสิทธิภาพเพื่อหลีกเลี่ยงข้อผิดพลาดในการเขียนโปรแกรม เมื่อมีการพัฒนาโปรแกรม, โปรแกรมเมอร์กำหนดประเภทของตัวแปรและตัวแปรที่หมายถึงชนิดของข้อมูล ในประเภทการเขียนโปรแกรมภาษาที่แข็งแกร่งเช่น Java, C ++, ฯลฯ compliers ทำการตรวจสอบไวยากรณ์ในระหว่างขั้นตอนของการรวบรวมเพื่อหลีกเลี่ยงข้อผิดพลาด (ตัวอย่างเช่นมันเป็นความหมายที่จะเพิ่มข้อมูลบูลีนกับข้อมูลจำนวนเต็ม) ปโตเลมีที่สอง [10], สภาพแวดล้อมการพัฒนาแบบจำลองใช้ชนิดของการตรวจสอบเป็นกลไกการตรวจสอบข้อผิดพลาดของตน หลังจากการแนะนำการตรวจสอบชนิดเราแนะนำสัญกรณ์โปรแกรมฮังการีอีก [11] ในสัญกรณ์ฮังการี, ตัวแปรจะได้รับชื่อโดยใช้ชนิดและความหมายของมัน โปรแกรมเมอร์สามารถใช้สัญกรณ์ฮังการีที่จะทำให้โปรแกรมของเขามากขึ้นมาตรฐานและสามารถอ่านได้ โดยการแนะนำข้างต้นให้นักเรียนเรียนรู้แตกต่างระหว่างชนิดของข้อมูลและข้อมูลการขยายขอบเขตของความรู้และสามารถใช้ความรู้นี้ในการพัฒนาซอฟแวร์
การแปล กรุณารอสักครู่..
