CN109857651A - A kind of the code debugging method, apparatus and system of graphic programming - Google Patents

A kind of the code debugging method, apparatus and system of graphic programming Download PDF

Info

Publication number
CN109857651A
CN109857651A CN201910037394.0A CN201910037394A CN109857651A CN 109857651 A CN109857651 A CN 109857651A CN 201910037394 A CN201910037394 A CN 201910037394A CN 109857651 A CN109857651 A CN 109857651A
Authority
CN
China
Prior art keywords
debugging
graph block
code
examination question
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910037394.0A
Other languages
Chinese (zh)
Inventor
龚义萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201910037394.0A priority Critical patent/CN109857651A/en
Publication of CN109857651A publication Critical patent/CN109857651A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses the code debugging method, apparatus and system of a kind of graphic programming, method includes response code debugging instruction, loads and initializes the debugging graph block in graph block database;The debugging mode and debugging mode of the debugging graph block are set;Response starts debugging instruction, transfers selected debugging graph block;If the debugging mode for the debugging graph block transferred is to have activated, the debugging mode for the debugging graph block transferred according to is debugged;Wherein, the debugging graph block is color lump corresponding with preset program code.By implementing the embodiment of the present invention code debugging can be carried out in graphic programming.

Description

A kind of the code debugging method, apparatus and system of graphic programming
Technical field
The invention belongs to computer fields, and in particular to a kind of the code debugging method, apparatus and system of graphic programming.
Background technique
Since text programming technique threshold is higher, only professional technician could be grasped, and graphic programming is for zero Basis or age smaller are readily appreciated that, convenient for the mode as programming introduction study, therefore the graphic programming that has been born.But it is existing Some graphic programming systems, which do not have code debugging function, can not carry out code debugging.
Summary of the invention
The embodiment of the present invention provides the code debugging method, apparatus and system of a kind of graphic programming, can be directed to figure Change is programmed into line code debugging.
The code debugging method of one embodiment of the invention offer graphic programming, comprising:
Response code debugging instruction loads and initializes the debugging graph block in graph block database;
The debugging mode and debugging mode of the debugging graph block are set;
Response starts debugging instruction, transfers selected debugging graph block;If the debugging mode for the debugging graph block transferred is It has been activated that, then the debugging mode for the debugging graph block transferred according to is debugged;
Wherein, the debugging graph block is color lump corresponding with preset program code.
Further, the debugging mode include single-step debug, printing debugging in any one or both combination.
Further, further include, when the debugging mode of the debugging graph block is set as printing debugging or single-step debug and beats When printing the combination of debugging, preset Text Entry is shown in preset display area, so that the user inputs text This information.
Further, the debugging mode of the debugging graph block transferred according to is debugged, specifically:
If the debugging mode of the graph block transferred be printing debugging, directly the display area export with it is described The graph block transferred is corresponding, the text information inputted;
If the debugging mode of the graph block transferred is single-step debug, the graph block transferred described in execution carries out single step Debugging.
If the debugging mode of the graph block transferred is the combination of single-step debug and printing debugging, transferred described in execution Graph block carry out single-step debug and directly the display area output, it is corresponding with the graph block transferred, inputted Text information;
Another embodiment of the present invention is corresponding to provide a kind of code debugging device of graphic programming, including debugging figure Block loading module, debugging graph block setup module and debugging module;
Wherein, the debugging graph block loading module is used for response code debugging instruction, loads and initialize figure block number According to the debugging graph block in library;
The debugging graph block setup module, for the debugging mode and debugging mode of the debugging graph block to be arranged;
The debugging module starts debugging instruction for responding, transfers selected debugging graph block;If the debugging figure transferred The debugging mode of shape block is to have activated, then the debugging mode for the debugging graph block transferred according to is debugged;
Wherein, the debugging graph block is color lump corresponding with preset program code.
In addition, one embodiment of the invention provides a kind of code debugging system of graphic programming, comprising:
Graph block database, transcode database and code debugging module;
Wherein, the graph block database purchase has debugging graph block;
The graph block transcode database is stored with text codes corresponding with the debugging graph block;
The code debugging module loads for responding the instruction for entering code debugging mode and initializes the figure Debugging graph block in block database;
The debugging mode and debugging mode of debugging graph block are set;
Response starts debugging instruction, transfers debugging graph block;If the debugging mode for the debugging graph block transferred is to have activated, The debugging mode for the debugging graph block then transferred according to is debugged.
It further, further include multimedia teaching module, user's assessment database, problem data library and multi-medium data Library;
Wherein, the survey of code debugging system of the user in the graphic programming is stored in user's assessment database Comment record;
The problem data inventory contains preset test examination question data;
The multimedia database is stored with the multi-medium data prestored, wherein the multi-medium data includes video counts According to.
The multimedia teaching module is used for, and is transferred the user in user assessment database and is not passed through test Assessment record, as current assessment content;
Then test examination question data corresponding with the current assessment content are searched in the problem data library, as working as Preceding test examination question data set;
Multi-medium data is played according to the current test examination question data set, so that multimedia of the user according to broadcasting Data are answered;
The multimedia teaching module is also used to, and all test examination questions are equal in judging the current test examination question data set It answers when finishing, answer is sent to background server, so that the background server assesses the answer;Then root It is prompted according to the assessment result of acquisition;Wherein, the assessment result is to pass through or do not pass through.
Further, described that multi-medium data is played according to the current test examination question data set, so that user's root According to the multi-medium data of broadcasting, answer, specifically:
A test examination question data in the current test examination question data set are extracted, as the first examination question to be tested and assessed;
Extract multi-medium data corresponding with the described first examination question to be tested and assessed in the multimedia database, obtain first to Play multi-medium data;
The described first multi-medium data to be played is played, and plays in the described first multi-medium data to be played to programming and grasps At the end of making node or playing, into programming operation interface, so that user is to be measured to described first at the programming operation interface Examination question is commented to answer;Wherein, the programming operation node is to be set in advance in each multi-medium data to be used to jump Go to the node of the programming interface.
Further, the multimedia teaching module is also used to, and is existed in judging the current test examination question data set When the test examination question data that do not answer, operations described below is repeated, until all tests in the current test examination question data set Examination question is answered and is finished:
Any one test examination question data that do not answer are extracted, as the second examination question to be tested and assessed;
In the multimedia database, multi-medium data corresponding with the described second examination question to be tested and assessed is extracted, acquisition the Two multi-medium datas to be played;
The described second multi-medium data to be played is played, and plays in the described second multi-medium data to be played to programming and grasps At the end of making node or playing, into programming operation interface, so that user is to be measured to described second at the programming operation interface Examination question is commented, is answered.
Further, the multimedia teaching module is also used to, after obtaining assessment result, respond the user after Test examination question data identical with the current assessment grade of content are extracted in continuous assessment instruction from the problem data library, Examination question data set is tested as third;
From third test examination question data set, a test examination question data are transferred at random and directly generate the programming behaviour Make interface, so that the user answers at the programming operation interface.
By implementing the embodiment of the present invention, have the advantages that:
The embodiment of the invention provides a kind of code debugging method of graphic programming, apparatus and systems, for current stream Capable scratch is programmed using pure graphic software platform, and no code debugging function user can not carry out the debugging of program Problem;Pass through, response code debugging instruction, load and initializes the debugging graph block in graph block database;Setting debugging figure The debugging mode and debugging mode of shape block;Finally response starts debugging instruction, transfers debugging graph block;And according to the debugging transferred The debugging mode of graph block is debugged, to realize the code debugging function of graphic programming system.So that user is carrying out It is able to carry out the debugging of program when graphic programming, is conducive to the operation order that user observes program, prehension program operation Sequential logic process.
Detailed description of the invention
Fig. 1 is the work flow diagram of the code debugging method for the graphic programming that one embodiment of the invention provides;
Fig. 2 is another work flow diagram of the code debugging method for the graphic programming that one embodiment of the invention provides;
Fig. 3 is the another work flow diagram of the code debugging method for the graphic programming that one embodiment of the invention provides;
Fig. 4 is the signal that graph block is debugged in the code debugging method for the graphic programming that one embodiment of the invention provides Figure;
Fig. 5 is the structural schematic diagram of the code debugging device for the graphic programming that one embodiment of the invention provides;
Fig. 6 is the code debugging system architecture diagram for the graphic programming that one embodiment of the invention provides;
Fig. 7 is the multimedia teaching module in the code debugging system for the graphic programming that one embodiment of the invention provides Operation schematic diagram;
Description of symbols: debugging graph block loading module 101, debugging graph block setup module 201 and debugging module 301;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, a kind of code debugging method for graphic programming that one embodiment of the invention provides, comprising:
S1: response code debugging instruction loads and initializes the debugging graph block in graph block database;
S2: the debugging mode and debugging mode of setting debugging graph block;
S3: response starts debugging instruction, transfers selected debugging graph block;If the debugging mode for the debugging graph block transferred To have activated, then debugged according to the debugging mode for the debugging graph block transferred;
For step S1, it should be noted that debugging graph block is geometry color lump, and each debugging graph block has a program Code is corresponding to it, and after response code debugging instruction, from the graph block database for being stored with debugging graph block, load is initial Several debugging graph blocks;
For step S2: in a preferred embodiment, the debugging mode for debugging graph block is divided into: debugging mode includes Single-step debug, printing debugging in any one or both combination, i.e., debugging graph block debugging mode can be single-step debug, It or is printing debugging, or be the combination of both single-step debug and printing debugging.
In a preferred embodiment, when debugging graph block debugging mode be set as printing debugging or single-step debug and When printing the combination of debugging, preset Text Entry is shown in preset display area, so that user inputs text Information.
Such as Fig. 2, shown in 4, a preferred embodiment is lifted below, step S1, S2 are described in detail:
Preferably, as shown in figure 4, showing the icon of " breakpoint " key frame on the preceding corner of debugging graph block, as Code debugging icon, user can be somebody's turn to do " breakpoint " key icon by click to carry out setting for the debugging mode of debugging graph block It sets.
As shown in Figure 2: when user selects code debugging mode, the code debugging for responding user is instructed, and is loaded and is initialized Graph block library under the mode debugs graph block, shows ' breakpoint ' control button on the preceding corner of the debugging graph block Frame.
When the user clicks when the icon of " breakpoint " controller chassis of a certain debugging color lump, illustrate that user actively debugs figure herein Block has beaten breakpoint, responds the code debugging icon that user clicks debugging module at this time, by the debugging shape of corresponding debugging graph block State is set as having activated, and the icon of " breakpoint " control button frame of the color lump is shown as filled circles symbol at this time, as " breakpoint " Label, naturally it is also possible to other sign flags.
Further, when user selects printing model, the debugging mode of the color lump is set as printing debugging, can be given birth at this time At the input frame of a print text, so that user inputs the print text information of this breakpoint, text is printed when judging that user inputs After this, input frame is hidden.It is single-step debug by the debugging mode of the debugging graph block if user does not select printing model.
Furthermore it is preferred that, when judging that ' breakpoint ' key of activated debugging graph block is clicked again, by the figure The debugging mode of block is set as unactivated state by state of activation, and ' breakpoint ' key frame hides breakpoint label at this time;The graph block Printing debugging or single-step debug be deactivated.So far setting completed for the debugging mode and debugging mode for debugging graph block.
For step S3, in a preferred embodiment, adjusted according to the debugging mode for the debugging graph block transferred Examination, specifically:
If the debugging mode for the graph block transferred is printing debugging, the graph block for directly exporting and transferring in display area Text information that is corresponding, having inputted;
If the debugging mode for the graph block transferred is single-step debug, executes the graph block transferred and carry out single-step debug.
If the debugging mode for the graph block transferred is the combination of single-step debug and printing debugging, the graph block transferred is executed It carries out single-step debug and is directly exported in display area, the text information that has inputted corresponding with the graph block transferred;
As shown in figure 3, lifting a preferred embodiment, step S3 is described in detail:
When starting to debug button when the user clicks, response starts debugging instruction and starts to be debugged;
A debugging graph block is transferred first, judges i.e. whether effectively whether the debugging mode of the graph block be activated, such as Fruit has been activated, then judges that the graph block belongs to " breakpoint " and executes breakpoint program library function at this time.
If the debugging mode of the debugging graph block is printing debugging, the text information that user before is inputted is carried out Display.
If the debugging mode of the debugging graph block is single-step debug, changes breakpoint graph at this time and is designated as state ' in execution ', (such as Fig. 4) shows filled triangle symbols (can certainly use other sign flags) in frame.And execute the debugging graph block pair The code answered starts to carry out single-step debug to the debugging graph block;
It, will user's input before if the debugging mode of the debugging graph block is the combination of printing debugging and single-step debug Text information, shown, and carry out single-step debug in the same way.
During single-step debug, the user's operation of a variety of single-step debugs of user can be responded: such as being continued to run, single step Operation jumps out previous cycle operation, into current block function operation, and jumps out current block function into interior circular flow Operation etc., only schematically illustrates continue to run here:
Judge whether user's operation is to continue to run, if so, changing the breakpoint icon of current debugging graph block, for " wait hold Row " state, then show filled circles symbol (can certainly use other sign flags) in frame, be identified, then proceed to hold Row graph block program instruction transfers next debugging graph block.
So far, the code debugging function of system is completed, the operation order of program is observed convenient for user, is conducive to user's understanding The sequential logic process of program operation.
It is to be mentioned that: above procedure can be, but not limited to be programmed by Python, JavaScr ipt, C, C++ etc. are different Language compilation's.
On the basis of the above embodiments, as shown in figure 5, another embodiment of the present invention, provides a kind of code debugging dress It sets, including debugging graph block loading module 101, debugging graph block setup module 201 and debugging module 301;
Wherein, graph block loading module 101 is debugged, response code debugging instruction is used for, loads and initialize figure block number According to the debugging graph block in library;
Graph block setup module 201 is debugged, for the debugging mode and debugging mode of debugging graph block to be arranged;
Debugging module 301 starts debugging instruction for responding, transfers selected debugging graph block;If the debugging figure transferred The debugging mode of shape block is to have activated, then is debugged according to the debugging mode for the debugging graph block transferred;
Wherein, debugging graph block is color lump corresponding with preset program code.
It should be noted that this embodiment is the code debugging method with a kind of graphic programming of above-mentioned offer, phase The embodiment of corresponding device item, the modules in the code debugging device can be realized it is above-mentioned " a kind of graphic programming The corresponding institute of code debugging method " is functional, and details are not described herein.
If Fig. 6 is on the basis of the embodiment of a kind of code debugging method of graphic programming, correspondence provides another reality Example is applied, further embodiment of this invention provides a kind of code debugging system of graphic programming, comprising: graph block database, generation Code conversion database and code debugging module;
Wherein, graph block database purchase has debugging graph block;
Graph block transcode database is stored with text codes corresponding with debugging graph block;
Code debugging module loads for responding the instruction for entering code debugging mode and initializes graph block database In debugging graph block;
The debugging mode and debugging mode of debugging graph block are set;
Response starts debugging instruction, transfers debugging graph block;If the debugging mode for the debugging graph block transferred is to have activated, Then debugged according to the debugging mode for the debugging graph block transferred.
It should be noted that the code debugging module that the present embodiment refers to, can be realized it is above-mentioned " a kind of graphic programming The embodiment of code debugging method ", mentioned institute is functional, and details are not described herein.
It in a preferred embodiment, further include graphic programming module, graphic programming module is used for, and response enters figure The instruction of shape programming mode loads and initializes the generic graphic block in graph block database;Then user is chosen general Logical graph block is shown in preset display area, realizes programming operation.
It in a preferred embodiment, further include user's assessment database, problem data library and multimedia database, more matchmakers Body Teaching Module;
Wherein, user is stored in user's assessment database to record in the assessment of the code debugging system of graphic programming; Problem data inventory contains preset test examination question data;
Multimedia database is stored with the multi-medium data prestored, wherein multi-medium data includes video data.It is preferred that , multi-medium data can also be other multimedia content, such as picture, cardon and audio, text etc..
Multimedia teaching module is used for, and calling and obtaining user does not pass through the assessment record of test in user's assessment database, is made For content of currently testing and assessing;Preferably, calling and obtaining user last time is not by the assessment record of test, as current assessment content
Then test examination question data corresponding with current assessment content are searched in problem data library, as current test examination Inscribe data set;Preferably, currently test examination question data set can be, all test examination question numbers corresponding with current assessment content According to or partial test examination question data.
Multi-medium data is played according to current test examination question data set, so that multi-medium data of the user according to broadcasting, into Row is answered;
In a preferred embodiment, multimedia teaching module is also used to, in the current test examination question data set of judgement All test examination questions are answered when finishing, and answer are sent to background server, so that background server assesses answer; Then it is prompted according to the assessment result of acquisition;Wherein, assessment result is to pass through or do not pass through.
In a preferred embodiment, multi-medium data is played according to current test examination question data set, so that user's root According to the multi-medium data of broadcasting, answer, specifically:
A test examination question data in current test examination question data set are extracted, as the first examination question to be tested and assessed;
Multi-medium data corresponding with the first examination question to be tested and assessed in multimedia database is extracted, first more matchmakers to be played are obtained Volume data;
Play the first multi-medium data to be played, and play to programming operation node in the first multi-medium data to be played or At the end of broadcasting, into programming operation interface, so that user answers to the first examination question to be tested and assessed at programming operation interface;Its In, programming operation node is to be set in advance in each multi-medium data, for jumping to the node of programming interface.
In a preferred embodiment, multimedia teaching module is also used to, in the current test examination question data set of judgement When in the presence of the test examination question data that do not answer, operations described below is repeated, until all tests in current test examination question data set Examination question is answered and is finished:
Any one test examination question data that do not answer are extracted, as the second examination question to be tested and assessed;
In multimedia database, multi-medium data corresponding with the second examination question to be tested and assessed is extracted, acquisition second is to be played Multi-medium data;
Play the second multi-medium data to be played, and play to programming operation node in the second multi-medium data to be played or At the end of broadcasting, into programming operation interface, so that user answers to the second examination question to be tested and assessed at programming operation interface.
In a preferred embodiment, multimedia teaching module is also used to, and after obtaining assessment result, responds user Continue assessment instruction, extracted from problem data library with the identical test examination question data of the grade of content of currently testing and assessing, as Third tests examination question data set;It should be noted that third test examination question data set can be, the grade with current assessment content Identical all test examination question data or partial test examination question data.
From third test examination question data set, a test examination question data are transferred at random and directly generate programming operation interface, So that user answers at programming operation interface.
As shown in fig. 7, below by way of in a preferred embodiment, the function of the multimedia teaching module is carried out detailed Thin explanation:
In user's assessment database, the history assessment record of user is searched, and transfers the survey that the user does not pass through test Record is commented, as current assessment content.
The corresponding test examination question data that current assessment content is found out in problem data library, as current test examination question Data set is transferred the corresponding video of a topic at random and is played out, and whether real-time judge reaches operation in playing process Whether node, that is, programming operation node, or broadcasting terminate, if it is, jumping access customer programming operation interface, allow user at this The answer of programming operation interface, and submit.
When user has answered the whole topics currently tested and assessed, by answer upload to server, by background server to answer into Whether row assessment calculates, according to whether completing effective result, commenting using regulation programming instruction, either with or without syntax error etc. synthesis Estimate.
If assessment passes through, backstage is saved into current assessment and is recorded as passing through, return, which is tested and assessed, successfully to be prompted, if assessment Do not pass through, then backstage returns to assessment failure reason prompt, and is shown to user and checks.
When user has not answered the whole topics currently tested and assessed, then continue to repeat transfer the corresponding video of a topic into Row plays, and whether real-time judge reaches running node i.e. programming operation node in playing process, if it is, jumping into use The operation that family programming operation interface allows user in the programming operation interface answer, and submits.
After obtaining assessment result, current assessment etc. is found out from problem data library if user's selection continues assessment Whole topics of grade.One of topic is transferred at random and is directly entered programming operation interface, carries out answer, and repeat above-mentioned answer The operation of assessment.If user's selection continues to learn, the corresponding video of a topic is transferred at random and is played out, then repeats to hold Row subsequent operation, details are not described herein.
It should be noted that multimedia teaching module can respond the exit instruction of user in any of the above link, move back The multimedia educational model out.
Teacher gave lessons online in the past mode or is given lessons mode using video auxiliary introduction+teacher, is not only needed a large amount of Manpower and material resources, and quality of instruction is also influenced by teachers' level is irregular.And multimedia teaching module through the invention, Recommend the video content of relevant knowledge content automatically according to recognition result, in student viewing instructional video, watches corresponding knowledge Student's programming operation interface can be automatic jumped to after point, after waiting student's end of operation and submitting, system can automatic discrimination student Whether works are correct, and related prompt is made if correct and can choose further study, correlation is made if mistake and mentions Show.To reduce the consistency of a large amount of manpower and material resources and teaching standard.
It is had the following beneficial effects: by implementing the embodiment of the present invention
The embodiment of the invention provides a kind of code debugging method of graphic programming, apparatus and system, user can be into The mode that row single-step debug, printing debugging or both combine carries out code debugging, solves in existing graphic programming system, nothing Method carries out the defect of code debugging, and the operation order of program is observed convenient for user, is conducive to the timing of user's prehension program operation Logical process.In addition, recommending the multimedia number of relevant knowledge content automatically according to recognition result by multimedia teaching module According to user watches in multimedia content, can automatic jump to user program operation interface after watching corresponding knowledge point, waits stand-by Family end of operation and after submitting, system can automatic discrimination user works it is whether correct, related prompt is made if correct and can To select further study, related prompt is made if mistake.To reduce a large amount of manpower and material resources and teaching standard Consistency.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein being used as separate part description Module may or may not be physically separated, the component shown as module may or may not be Physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to the actual needs Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention is implemented In example attached drawing, the connection relationship between module indicates there is communication connection between them, specifically can be implemented as one or more Communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand and real It applies.
It is the preferred embodiment of the present invention above, it is noted that for those skilled in the art, Various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as this hair Bright protection scope.

Claims (10)

1. a kind of code debugging method of graphic programming characterized by comprising
Response code debugging instruction loads and initializes the debugging graph block in graph block database;
The debugging mode and debugging mode of the debugging graph block are set;
Response starts debugging instruction, transfers selected debugging graph block;If the debugging mode for the debugging graph block transferred is to have swashed Living, then the debugging mode for the debugging graph block transferred according to is debugged;
Wherein, the debugging graph block is color lump corresponding with preset program code.
2. the code debugging method of graphic programming as described in claim 1, which is characterized in that the debugging mode includes single Step examination, printing debugging in any one or both combination.
3. the code debugging method of graphic programming as claimed in claim 2, which is characterized in that further include: when the debugging When the debugging mode of graph block is set as the combination that printing debugging or single-step debug and printing are debugged, by preset Text Entry It is shown in preset display area, so that the user inputs text information.
4. the code debugging method of graphic programming as claimed in claim 3, which is characterized in that described to be transferred according to The debugging mode of debugging graph block is debugged, specifically:
If the debugging mode of the graph block transferred is printing debugging, directly exports in the display area and transferred with described Graph block it is corresponding, the text information inputted;
If the debugging mode of the graph block transferred is single-step debug, the graph block transferred described in execution carries out single-step debug
If the debugging mode of the graph block transferred is the combination of single-step debug and printing debugging, the figure transferred described in execution Shape block carries out single-step debug and directly exports in the display area, the text that has inputted corresponding with the graph block transferred This information.
5. a kind of code debugging device of graphic programming, which is characterized in that including debugging graph block loading module, debugging figure Block setup module and debugging module;
Wherein, the debugging graph block loading module is used for response code debugging instruction, loads and initialize graph block database In debugging graph block;
The debugging graph block setup module, for the debugging mode and debugging mode of the debugging graph block to be arranged;
The debugging module starts debugging instruction for responding, transfers selected debugging graph block;If the debugging graph block transferred Debugging mode be activated, then the debugging mode for the debugging graph block transferred according to is debugged;
Wherein, the debugging graph block is color lump corresponding with preset program code.
6. a kind of code debugging system of graphic programming characterized by comprising
Graph block database, transcode database and code debugging module;
Wherein, the graph block database purchase has debugging graph block;
The graph block transcode database is stored with text codes corresponding with the debugging graph block;
The code debugging module loads for responding the instruction for entering code debugging mode and initializes the figure block number According to the debugging graph block in library;
The debugging mode and debugging mode of debugging graph block are set;
Response starts debugging instruction, transfers debugging graph block;If the debugging mode for the debugging graph block transferred is to have activated, root It is debugged according to the debugging mode of the debugging graph block transferred.
7. the code debugging system of graphic programming as claimed in claim 6, which is characterized in that further include multimedia teaching mould Block, user's assessment database, problem data library and multimedia database;
Wherein, the assessment note of code debugging system of the user in the graphic programming is stored in user's assessment database Record;
The problem data inventory contains preset test examination question data;
The multimedia database is stored with the multi-medium data prestored, wherein the multi-medium data includes video data;
The multimedia teaching module is used for, and the assessment that the user does not pass through test is transferred in user assessment database Record, as current assessment content;
Then test examination question data corresponding with the current assessment content are searched in the problem data library, as currently survey It has a try and inscribes data set;
Multi-medium data is played according to the current test examination question data set, so that multimedia number of the user according to broadcasting According to answering;
The multimedia teaching module is also used to, and all test examination questions are answered in judging the current test examination question data set When finishing, answer is sent to background server, so that the background server assesses the answer;Then basis obtains The assessment result obtained is prompted;Wherein, the assessment result is to pass through or do not pass through.
8. the code debugging system of graphic programming as claimed in claim 7, which is characterized in that described according to the current survey It has a try and inscribes data set broadcasting multi-medium data, so that the user answers according to the multi-medium data of broadcasting, specifically:
A test examination question data in the current test examination question data set are extracted, as the first examination question to be tested and assessed;
Multi-medium data corresponding with the described first examination question to be tested and assessed in the multimedia database is extracted, it is to be played to obtain first Multi-medium data;
The described first multi-medium data to be played is played, and is played in the described first multi-medium data to be played to programming operation section At the end of point or broadcasting, into programming operation interface, so that user is tried wait test and assess at the programming operation interface described first Topic is answered;Wherein, the programming operation node is to be set in advance in each multi-medium data to be used to jump to The node of the programming interface.
9. the code debugging system of graphic programming as claimed in claim 7, which is characterized in that the multimedia teaching module It is also used to, when there are the test examination question data that do not answer in judging the current test examination question data set, repeats following Operation, until all test examination questions are answered and are finished in the current test examination question data set:
Any one test examination question data that do not answer are extracted, as the second examination question to be tested and assessed;
In the multimedia database, extract multi-medium data corresponding with the described second examination question to be tested and assessed, acquisition second to Play multi-medium data;
The described second multi-medium data to be played is played, and is played in the described second multi-medium data to be played to programming operation section At the end of point or broadcasting, into programming operation interface, so that user is tried wait test and assess at the programming operation interface described second Topic, answers.
10. the code debugging system of graphic programming as claimed in claim 9, which is characterized in that the multimedia teaching mould Block is also used to, and after obtaining assessment result, respond the user continues assessment instruction, is extracted from the problem data library Test examination question data identical with the current assessment grade of content test examination question data set as third;
From third test examination question data set, a test examination question data are transferred at random and directly generate programming operation circle Face, so that the user answers at the programming operation interface.
CN201910037394.0A 2019-01-15 2019-01-15 A kind of the code debugging method, apparatus and system of graphic programming Pending CN109857651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910037394.0A CN109857651A (en) 2019-01-15 2019-01-15 A kind of the code debugging method, apparatus and system of graphic programming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910037394.0A CN109857651A (en) 2019-01-15 2019-01-15 A kind of the code debugging method, apparatus and system of graphic programming

Publications (1)

Publication Number Publication Date
CN109857651A true CN109857651A (en) 2019-06-07

Family

ID=66894837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910037394.0A Pending CN109857651A (en) 2019-01-15 2019-01-15 A kind of the code debugging method, apparatus and system of graphic programming

Country Status (1)

Country Link
CN (1) CN109857651A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426567A (en) * 2011-09-15 2012-04-25 张德长 Graphical editing and debugging system of automatic answer system
US20120131392A1 (en) * 2010-11-24 2012-05-24 Oliver Bendig Systems and methods providing an exception buffer to facilitate processing of event handler errors
CN103514072A (en) * 2012-06-28 2014-01-15 中兴通讯股份有限公司 Method and device for debugging graphical service for visual programming
CN105117999A (en) * 2015-08-28 2015-12-02 上海第九城市教育科技股份有限公司 Mandatory interaction system and method of multimedia courseware
CN107516445A (en) * 2017-09-11 2017-12-26 立乐教育科技(上海)有限公司 Online programming teaching method and system
CN109003478A (en) * 2018-08-07 2018-12-14 广东小天才科技有限公司 A kind of learning interaction method and facility for study

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120131392A1 (en) * 2010-11-24 2012-05-24 Oliver Bendig Systems and methods providing an exception buffer to facilitate processing of event handler errors
CN102426567A (en) * 2011-09-15 2012-04-25 张德长 Graphical editing and debugging system of automatic answer system
CN103514072A (en) * 2012-06-28 2014-01-15 中兴通讯股份有限公司 Method and device for debugging graphical service for visual programming
CN105117999A (en) * 2015-08-28 2015-12-02 上海第九城市教育科技股份有限公司 Mandatory interaction system and method of multimedia courseware
CN107516445A (en) * 2017-09-11 2017-12-26 立乐教育科技(上海)有限公司 Online programming teaching method and system
CN109003478A (en) * 2018-08-07 2018-12-14 广东小天才科技有限公司 A kind of learning interaction method and facility for study

Similar Documents

Publication Publication Date Title
Fernandes et al. Playscrum-a card game to learn the scrum agile method
Littman et al. Evaluating ITSs: The cognitive science perspective
Chmiel et al. Debugging: from novice to expert
Means et al. Cognitive task analysis as a basis for tutor development: Articulating abstract knowledge representations
Woolf AI in Education
Bosch et al. What emotions do novices experience during their first computer programming learning session?
US6434738B1 (en) System and method for testing computer software
Wiese et al. Teaching students to recognize and implement good coding style
RU2010104996A (en) DEVICE, SYSTEM AND METHOD OF ADAPTIVE TEACHING AND TRAINING
CN112133146B (en) Algorithm practice code execution visualization system
CN110633072B (en) Programming training question construction method and device for automatic correction
KR101142190B1 (en) Memorizing method with repeat learning and memorizing system using the same
US20040005536A1 (en) Universal electronic placement system and method
CN106354643B (en) A kind of the accidental error test method and system of interactive software
CN109857651A (en) A kind of the code debugging method, apparatus and system of graphic programming
CN109686181A (en) A kind of teaching programming method, apparatus and system
CN116452033A (en) Digitalized course implementation method and digitalized teaching system
Laughery Jr et al. Human factors in software engineering: A review of the literature
Fabic et al. A comparison of different types of learning activities in a mobile Python tutor
Thomas et al. Give programming instruction a chance
CN112634691A (en) Power transformation operation and inspection simulation training device
CN210429044U (en) Programming learning system of education robot
Lathigara et al. Activity based programming learning
Sharma et al. Interlacing gaze and actions to explain the debugging process
Searle et al. Affordances and limitations of teachers instructional styles when teaching computer science and computational thinking

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190607