PROGRAMMING EDUCATION METHOD, PROGRAMMING EDUCATION PROGRAM, PROGRAMMING EDUCATION SERVER, AND PROGRAMMING EDUCATION TERMINAL
The programming education method allows shared execution of source code between terminals, addressing the lack of simultaneous execution in collaborative tools, enhancing collaboration and security in programming education.
Patent Information
- Application Number
- JP2023202071
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2043-01-06
AI Technical Summary
Existing collaborative programming tools do not allow for shared execution of source code, preventing multiple users from executing the same program simultaneously.
A programming education method that enables sharing and execution of source code between terminals in individual and joint modes, allowing users to switch between these modes based on input, with shared operation inputs and synchronized execution results.
Enables simultaneous execution of source code by multiple users, facilitating collaborative debugging and multiplayer gaming, while reducing security risks through server-mediated data sharing.
Smart Images

Figure 0007549928000006 
Figure 0007549928000012 
Figure 0007549928000008
Abstract
Description
[Technical field]
[0001] The present invention relates to a method, a program, a server, and a terminal for programming education. [Background technology]
[0002] Conventionally, there are systems for learning programming. For example, Patent Document 1 discloses a programming learning device and program that can judge whether a program created by a learner through visual programming is correct or not. In addition, Non-Patent Document 1 discloses a visual programming tool that enables multiple learners to collaborate on visual programming. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Utility Model Application Publication No. 5-313872 [Non-patent literature]
[0004] [Non-Patent Document 1] Tsunoda Masanori et al.: Development and Evaluation of Jointry, a Visual Programming Tool for Beginners that Realizes Collaborative Programming: IPSJ SIG Technical Report Vol. 2014-CE-125 No. 2 Summary of the Invention [Problem to be solved by the invention]
[0005] However, the collaborative programming tool disclosed in Non-Patent Document 1 allows sharing of the editing screen and editing operations of source code (programs) using blocks, but does not allow sharing of the execution contents of the created source code. Therefore, for example, even if a program for a game that multiple people can operate at the same time is created, it is not possible to run the game together (multiplayer).
[0006] The present invention has been made in view of the above circumstances, and provides a programming education method that enables sharing of the execution contents of source code. [Means for solving the problem]
[0007] According to the present invention, the following inventions are provided. [1] A programming education method comprising an edit receiving step, a code sharing step, an execution step, and a switching step, wherein the edit receiving step includes accepting edits to source code on a first terminal, and the code sharing step includes sharing the source code edited on the first terminal with at least a second terminal, and the execution step includes executing the shared source code in an individual execution mode or a joint execution mode, wherein the individual execution mode is a mode in which the source code shared in the code sharing step is executed only on the first terminal or the execution of the source code is reproduced only on the first terminal, and the joint execution mode is a mode in which the source code shared in the code sharing step is executed on both the first terminal and the second terminal or the execution of the source code is reproduced on the first terminal and the second terminal, and the switching step includes switching between the individual execution mode and the joint execution mode based on an input to at least the first terminal. [2] A programming education method as described in [1], wherein the shared source code is a source code for accepting input during execution and performing a predetermined operation, and in the collaborative execution mode, during execution of the shared source code, operation input to the first terminal is also shared with the second terminal, and operation input to the second terminal is also shared with the first terminal. [3] A programming education method according to the above [1] or [2], wherein in the edit receiving process, the source code can be edited using a visual programming language. [4] A programming education method as described in any one of [1] to [3], wherein in the switching process, switching between the individual execution mode and the collaborative execution mode is performed based on the operation of a switching unit displayed on the display means of the first terminal. [5] A programming education method according to any one of [1] to [4], wherein in the collaborative execution mode, when an execution operation is received on either the first terminal or the second terminal, the shared source code is executed on the first terminal and the second terminal, respectively, and the execution result of either one of the terminals is synchronized with the other terminal at each predetermined timing. [6] A programming education method according to any one of [1] to [5], wherein in the code sharing process, the source code edited on the first terminal is shared with the second terminal via a server on the Internet. [7] A programming education program, comprising: a computer that executes an edit receiving step, a code sharing step, an execution step, and a switching step; in the edit receiving step, edits to source code are accepted on a first terminal; in the code sharing step, the source code edited on the first terminal is shared with at least a second terminal; in the execution step, the shared source code is executed in an individual execution mode or a joint execution mode; the individual execution mode is a mode in which the source code shared in the code sharing step is executed only on the first terminal or the execution of the source code is reproduced only on the first terminal; the joint execution mode is a mode in which the source code shared in the code sharing step is executed on the first terminal and the second terminal or the execution of the source code is reproduced on the first terminal and the second terminal; and in the switching step, the individual execution mode and the joint execution mode are switched based on at least an input to the first terminal. [8] A programming education server comprising a communication means and a control means, the communication means being configured to be capable of communicating with a first terminal and a second terminal used by a programming learner or educator, the control means comprising a source code sharing unit and an execution mode switching unit, the source code sharing unit being configured to acquire source code edited on the first terminal and transmit it to the second terminal, the execution mode switching unit being configured to acquire switching input information from at least one of the first terminal and the second terminal, and to switch between an individual execution mode in which the source code is executed for each terminal and a joint execution mode in which the execution of the source code is shared between the first terminal and the second terminal. [9] A programming education terminal used by a programming learner, comprising a communication means, an input means, a display means, and a control means, wherein the communication means is configured to be capable of communicating with other terminals used by other programming learners or educators, either directly or via a server, the input means is configured to receive input from the programming learner, the display means is configured to display to the programming learner at least a code area in which source code is edited, the control means comprises an edit receiving unit, a code transmitting / receiving unit, an execution unit, and a switching receiving unit, and the edit receiving unit receives from the programming learner via the input means the edit of the source code in the code area. a programming education terminal configured to accept edits made by the user, the code transmission / reception unit configured to share the source code with the other terminal by transmitting and receiving the source code to and from the other terminal, the execution unit configured to execute the source code in two execution modes: an individual execution mode in which the source code is executed solely by the own terminal, and a collaborative execution mode in which execution of the source code is shared between the own terminal and the other terminal, and the switching reception unit configured to accept switching between the individual execution mode and the collaborative execution mode from the own terminal via the input means, and to accept switching between the individual execution mode and the collaborative execution mode from the other terminal.
[10] A programming education method comprising an edit receiving step, a code sharing step, a list display step, and a selected element display step, in which the edit receiving step accepts edits to source code on a first terminal, and the code sharing step shares the source code edited on the first terminal with at least a second terminal, in which the list display step displays a list of a plurality of elements common to the display means of the first terminal and the second terminal, and makes the plurality of elements switchable between a selected state and a non-selected state, and in which the selected element display step displays a mark in the list on the first terminal to indicate the selected state of the plurality of elements on the second terminal.
[11] A programming education method comprising an edit receiving step, a code sharing step, and an execution step, in which in the edit receiving step, edits to source code for receiving input during execution and performing a predetermined operation are received on a first terminal, in the code sharing step, the source code edited on the first terminal is shared with at least a second terminal, in the execution step, the source code shared in the code sharing step is executed on the first terminal and the second terminal, respectively, in the execution step, during execution of the shared source code, an operation input to the first terminal is shared with the second terminal, and an operation input to the second terminal is shared with the first terminal, thereby sharing operation inputs by users of each terminal.
[0008] According to the present invention, the execution process can execute source code in a joint execution mode in addition to an individual execution mode, and in the joint execution mode, the shared source code is executed on the first terminal and the second terminal, or reproduced on the first terminal and the second terminal, thereby enabling the user of the first terminal and the user of the second terminal to share the execution contents of the source code.
[0009] In addition, the user can use the switching process to switch between running (reproducing) the created source code only on his / her own terminal (first terminal) and running (reproducing) it also on the terminal of the sharing partner (second terminal). This allows the user to run the unfinished source code once only on his / her own terminal for debugging. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram showing an overall configuration of an information processing system SYS according to an embodiment of the present invention. [Diagram 2] 2A is a block diagram showing the hardware configuration and the functional configuration of the first terminal 1 in FIG. 1, and FIG. 2B is a block diagram showing the hardware configuration and the functional configuration of the second terminal 2 in FIG. [Diagram 3] 2 is a block diagram showing the hardware configuration and the functional configuration of a server 3 in FIG. 1. [Figure 4] 1. FIG. 2 is a diagram showing an example of a display of a screen D1, which is displayed on the display means 14 of the first terminal 1 in FIG. 1 and shows a state in which a first sprite Sp1 has been selected. [Diagram 5] 5 is an enlarged view of a portion E of the screen D1 in FIG. 4. [Figure 6] FIG. 5 is an enlarged view of a code area A3 on the screen D1 of FIG. [Figure 7] FIG. 7A is an enlarged view of the stage area A4 (execution area) of the screen D1 of FIG. 4, and FIG. 9B is a display example of a screen D1a in which the stage area A4 is displayed in full screen. [Figure 8] FIG. 5 is an enlarged view of the sprite area A5 of the screen D1 of FIG. [Figure 9] 1. FIG. 2 is a diagram showing an example of a screen D1 displayed on the display means 14 of the first terminal 1 in FIG. 1, which indicates the state in which the second sprite Sp2 is selected. [Figure 10] 1. FIG. 2 is a diagram showing an example of a screen D2 displayed on the display means 24 of the second terminal 2 in FIG. 1, showing a state in which the first sprite Sp1 is selected and a costume area A7 is displayed. [Figure 11]11 is an explanatory diagram showing the state of the stage area A4 of the first terminal and the second terminal 2 when a key input is made to the input means 13 of the first terminal 1 in the individual execution mode M1. FIG. [Figure 12] FIG. 11 is a sequence diagram showing processes carried out among the first terminal 1, the second terminal 2, and the server 3 when a key input is made to the input means 13 of the first terminal 1 in the joint execution mode M2. [Figure 13] 13 is an explanatory diagram showing the state of the stage area A4 of the first terminal 1 and the second terminal 2 when a key input is made to the input means 13 of the first terminal 1 in the joint execution mode M2. FIG. [Figure 14] FIG. 13 is an explanatory diagram showing how sprite states are synchronized when a key is input to the input means 13 of the first terminal 1 in the joint execution mode M2. [Figure 15] FIG. 15A is an enlarged view showing the state of the switching button B3 in the individual execution mode M1, and FIG. 15B is an explanatory diagram showing the state of the switching button B3 in the collaborative execution mode M2. [Figure 16] 11 is a sequence diagram showing processes carried out among the first terminal 1, the second terminal 2, and the server 3 when a switching button B3 on the screen D1 of the first terminal 1 is clicked in the individual execution mode M1. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, embodiments of the present invention will be described. Various features shown in the following embodiments can be combined with each other. Also, each feature can be an invention independently.
[0012] 1. Overall configuration of the information processing system SYS 1 is a diagram showing the overall configuration of an information processing system SYS according to an embodiment of the present invention. The information processing system SYS of this embodiment is a system for learning programming. In this embodiment, the information processing system SYS is configured based on Scratch (Scratch 3.0), which is an OSS (open source software) developed by MIT Media Lab, and is provided as a Web application.
[0013] Here, Scratch is specifically a visual programming language provided online. In Scratch, many commands necessary for creating source code (programs) are prepared in advance as visual command blocks. A programming learner (user) prepares a character called a "sprite," selects one or more commands to be applied to the sprite from the prepared command blocks, combines them in the "code area," and edits the parameters of the command block. This allows a programming learner to easily create source code that operates a sprite in an execution area called a "stage," and by executing the source code, the sprite can be made to operate like an animation. In Scratch, multiple pictures called "costumes" can be set for one sprite and used by switching between them. It is also possible to make sounds or play music while the source code is being executed. And, a set of data that combines source code, costumes, and sound information and saves it is called a "project."
[0014] The information processing system SYS of this embodiment is a system based on the functions of Scratch, characterized by an improvement that allows the created source code (program) and its execution to be shared among multiple learners, i.e., multiple terminals.
[0015] As shown in Fig. 1, the information processing system SYS of this embodiment is specifically configured by connecting a first terminal 1, a second terminal 2, and a server 3 via a network N. Here, the first terminal 1 and the second terminal 2 are terminals used by a first learner L1 and a second learner L2 who are learning programming. However, either one of the terminals may be a terminal used by an educator who teaches programming.
[0016] The server 3 is a device that generates a predetermined response (output) in response to a request (input) from the first terminal 1 and the second terminal 2. In addition, the network N is a two-way communication line such as the Internet, an intranet, a wireless LAN, or mobile communication. Each component will be specifically described below.
[0017] 2. Hardware configuration of the first terminal 1 and the second terminal 2 Fig. 2A is a block diagram showing the hardware configuration and the functional configuration of the first terminal 1. The first terminal 1 is an information processing terminal such as a personal computer (PC), a notebook PC, a smartphone, or a tablet terminal. Specifically, as shown in Fig. 2A, the first terminal 1 includes a control means 10, a communication means 11, a storage means 12, an input means 13, and a display means 14. These components are electrically connected to each other via a bus 15.
[0018] The control means 10 is, for example, a CPU (Central Processing Unit), a microprocessor, a DSP (Digital Signal Processor), etc., and controls the overall operation of the server 3. The functional configuration of the control means 10 will be described later.
[0019] The communication means 11 is, for example, a NIC (Network Interface Controller) and has a function of connecting to a network N. Note that the communication means 11 may have, instead of or together with the NIC, a function of connecting to a wireless LAN (Local Area Network), a function of connecting to a wireless WAN (Wide Area Network), a function of enabling short-distance wireless communication such as Bluetooth (registered trademark), and infrared communication, etc. The first terminal 1 is connected to the server 3 via the network N and can transmit and receive various data.
[0020] A part of the storage means 12 is composed of, for example, a random access memory (RAM) or a dynamic random access memory (DRAM), and is used as a work area when the control means 10 executes processes based on various programs. In addition, a part of the storage means 12 is, for example, a non-volatile memory such as a read only memory (ROM), a hard disk drive (HDD), or a solid state drive (SSD), and stores various data and programs used in the processes of the control means 10. At least a part of the storage means 12 may be composed of an external cloud or distributed storage.
[0021] The programs stored in the storage means 12 include, for example, an OS (Operating System) for realizing the basic functions of the first terminal 1, drivers for controlling various hardware, programs for realizing various functions, etc., and include the computer program related to this embodiment.
[0022] The input means 13 is a device that accepts input from the first learner L1 who uses the first terminal 1, and is composed of various input devices such as a mouse, a keyboard, a touch panel, etc. The display means 14 is a liquid crystal display, a touch panel display, etc., and displays a screen, etc. to the user.
[0023] On the other hand, Fig. 2B is a block diagram showing the hardware configuration and the functional configuration of the second terminal 2. Specifically, as shown in Fig. 2B, the second terminal 2 includes a control means 20, a communication means 21, a storage means 22, an input means 23, and a display means 24. These components are electrically connected to each other via a bus 25. Note that the second terminal 2 has the same configuration as the first terminal 1 insofar as it performs the functions described in this application, and therefore a detailed description thereof will be omitted.
[0024] 3. Server 3 hardware configuration Fig. 3 is a block diagram showing the hardware configuration and the functional configuration of the server 3. As shown in Fig. 3, the server 3 specifically includes a control means 30, a storage means 31, and a communication means 32. These components are electrically connected to each other via a bus 33. Note that the general hardware configurations of the control means 30, the storage means 31, and the communication means 32 are the same as those of the first terminal 1 described above, and therefore the description thereof will be omitted.
[0025] The server 3 does not have to be configured by one device as shown in Fig. 3, but may be realized by a plurality of devices using so-called cloud or distributed computing technology, etc. Also, the various data (information) stored in the storage means 31 does not have to be configured by one database as shown in the figure, but may be configured by a distributed database.
[0026] 3, project information PI is stored in the storage means 31. The project information PI is information including, in addition to information on source code created by either the first terminal 1 or the second terminal 2 or jointly created by the first terminal 1 or the second terminal 2, information on sprites (control targets) controlled by the source code, information on sprite costumes, audio information to be played when the source code is executed, and the like.
[0027] 4. Functional configuration of the first terminal 1 (control means 10) and the second terminal 2 (control means 20) As shown in FIG. 2A, the control means 10 of the first terminal 1 includes an edit receiving unit 10a, a code transmitting / receiving unit 10b, an execution unit 10c, a switching receiving unit 10d, and an operation input transmitting / receiving unit 10e.
[0028] The edit receiving unit 10a is configured to receive edits of the source code from the first learner L1 via the input means 13 in an edit receiving step described later. In this embodiment, editing of the source code means combining the instruction blocks C1, C2, C3, ... placed in the block palette area A2 shown in Figures 4 and 5 by dragging and dropping them into the code area A3 shown in Figures 4 and 6.
[0029] The code transmitting / receiving unit 10b is configured to share the source code with the second terminal 2 via the server 3 in a code sharing step described later. Specifically, the code transmitting / receiving unit 10b transmits the source code, the edits of which have been accepted by the edit accepting unit 10a, i.e., information on the command blocks in the code area A3, to the server 3 via the communication means 11, and transmits the source code to the second terminal 2 via the server 3. The code transmitting / receiving unit 10b also receives the source code edited by the second terminal 2 via the server 3 and the communication means 11.
[0030] The execution unit 10c is configured to execute the source code shared by the code transmission / reception unit 10b in an execution step described later. In this embodiment, the source code is executed in two execution modes: an individual execution mode M1 in which the source code is executed solely by the first terminal 1 (its own terminal), and a joint execution mode M2 in which the source code is shared with the second terminal 2 (other terminal). Here, in the information processing system SYS according to this embodiment, it is possible to execute source code (program) that performs a predetermined operation upon receiving an event such as clicking an execution button B1 (see FIG. 5) or an input from an input means 13 (mouse, keyboard). An example of the source code and its execution will be described later.
[0031] In a switching step described later, the switching reception unit 10d receives switching between the individual execution mode M1 and the collaborative execution mode M2 via the input means 13. Specifically, when the first learner L1 operates the input means 13 to click a switching button B3 serving as a switching unit arranged on the screen D1 or screen D2 of the display means 14, the switching reception unit 10d receives this and switches between the individual execution mode M1 and the collaborative execution mode M2. In addition, when the switching button B3 is clicked, the switching reception unit 10d transmits switching input information to the server 3 via the communication means 11.
[0032] In addition, the switching reception unit 10d receives switching input information transmitted from the second terminal 2 to the server 3 via the communication means 11 by the second learner L2 operating the input means 23, and accepts switching between the individual execution mode M1 and the collaborative execution mode M2 at the first terminal 1.
[0033] In this embodiment, the two modes (states), the individual execution mode M1 and the joint execution mode M2, are stored in the server 3 and shared between the first terminal 1 and the second terminal 2. That is, in this embodiment, one of the individual execution mode M1 and the joint execution mode M2 is selected for the entire information processing system SYS. Therefore, in this embodiment, if the first terminal 1 is in the individual execution mode M1, the second terminal 2 is also in the individual execution mode M1, and if the first terminal 1 is in the joint execution mode M2, the second terminal 2 is also in the joint execution mode M2.
[0034] In a collaborative execution mode M2 of the execution step described later, the operation input transmitting / receiving unit 10e acquires an operation input from the first learner L1 via the input means 13 and transmits it as first operation input information to the second terminal 2 via the communication means 11 and the server 3. In addition, the operation input transmitting / receiving unit 10e receives information on the operation input from the second learner L2 via the input means 23 as second operation input information from the second terminal 2 via the server 3 and the communication means 11. As a result, in the collaborative execution mode M2, the first operation input information and the second operation input information are shared between the first terminal 1 and the second terminal 2 via the server 3. Here, the operation input to be transmitted is all inputs input to the input means 13, 23. However, if only specific inputs defined in the source code are transmitted, the amount of information to be transmitted can be reduced.
[0035] On the other hand, the control means 20 of the second terminal 2 includes an edit receiving unit 20a, a code transmitting / receiving unit 20b, an execution unit 20c, a switching receiving unit 20d, and an operation input transmitting / receiving unit 20e, as shown in Fig. 2B. The functions of these components are similar to those of the control means 10 of the first terminal 1, and therefore detailed descriptions thereof will be omitted.
[0036] The above-mentioned functional configurations of the first terminal 1 and the second terminal 2 can be realized as Web applications that do not require the installation of a development environment, similar to Scratch, which is the base. In other words, by accessing a Web page provided by the server 3 from the first terminal 1 and the second terminal 2, a predetermined program is executed in the first terminal 1 and the second terminal 2, thereby realizing various functions. Note that a URL uniquely determined for each project is used to access the server 3.
[0037] 5. Functional configuration of server 3 (control means 30) As shown in FIG. 3, the control means 30 of the server 3 includes a source code sharing section 30a, an execution mode switching section 30b, and an operation input sharing section 30c.
[0038] The source code sharing unit 30a is configured to share source code between the first terminal 1 and the second terminal 2 in a code sharing step described later. Specifically, the source code sharing unit 30a is configured to acquire source code transmitted by the first terminal 1 (code transmitting / receiving unit 10b) and transmit it to the second terminal 2 (code transmitting / receiving unit 20b). The source code sharing unit 30a is also configured to acquire source code edited by the second terminal 2 (code transmitting / receiving unit 20b) and transmit it to the first terminal 1 (code transmitting / receiving unit 10b). The shared source code is placed in the code area A3 of each terminal. The acquired source code is also stored in the storage means 31 as project information PI.
[0039] The execution mode switching unit 30b is configured to acquire switching input information from the first terminal 1 and the second terminal 2 in a switching step described later, and to switch between the individual execution mode M1 and the joint execution mode M2 described above. Specifically, when the execution mode switching unit 30b acquires the switching input information, it reads out information on the current mode (the mode before switching) from the storage means 31, and switches to the opposite mode to the read mode. In addition, the execution mode switching unit 30b transmits the switching input information to the second terminal 2 or the first terminal 1, and stores the changed mode in the storage means 31. Note that the information on the current mode may be stored only in the first terminal 1 and the second terminal 2, rather than in the storage means 31.
[0040] The operation input sharing unit 30c is configured to share inputs to the first terminal 1 and the second terminal 2 with each other in a joint execution mode M2 of an execution step described later. Specifically, in the joint execution mode M2, the operation input sharing unit 30c acquires first operation input information transmitted by the operation input transmitting / receiving unit 10e of the first terminal 1 and transmits it to the second terminal 2. In addition, the operation input sharing unit 30c acquires second operation input information transmitted by the operation input transmitting / receiving unit 20e of the second terminal 2 and transmits it to the first terminal 1.
[0041] The above-mentioned functional configuration of the server 3 may be realized by software (including so-called apps) appropriately installed in the server 3, or may be realized by hardware. When realized by software, various functions can be realized by the control means 30 executing a program constituting the software. Also, it may be realized by multiple pieces of software, not by a single piece of software.
[0042] When the function is realized by executing a program, the program may be stored in the storage means 31 built into the server 3, or may be stored in a non-transitory computer-readable recording medium. The function may also be realized by reading out a program stored in an external storage device, so-called cloud computing. When the function is realized by hardware, it can be realized by various circuits such as ASIC, SOC, FPGA, or DRP. The above-mentioned functional configuration may be partially processed by the first terminal 1 or the second terminal 2 by software or hardware.
[0043] Furthermore, the above-mentioned functional configuration may be realized by a plurality of computers, in which case each of the above-mentioned functional configurations may be distributed and arranged among the plurality of computers.
[0044] 6. Screen examples Next, examples of screens D1 and D2 displayed on the display means 14 of the first terminal 1 and the display means 24 of the second terminal 2 by the information processing system SYS of this embodiment will be described with reference to Figures 4 to 10. However, the screen examples shown in Figures 4 to 10 are merely examples, and can be modified as appropriate as long as the object of the present invention can be achieved. The display examples in Figures 4 to 10 are examples of a program (project) for rolling an apple-shaped sprite Sp1 and a basketball-shaped sprite Sp2 from side to side.
[0045] Fig. 4 is a diagram showing an example of a display of a screen D1 displayed on the display means 14 of the first terminal 1. As shown in Fig. 4, the screen D1 includes, as display areas, a menu bar A1, a block palette area A2, a code area A3, a stage area A4, a sprite area A5, and a background area A6.
[0046] The menu bar A1 has buttons for updating the project to the latest version, uploading to the server 3, changing the language, saving the project, creating a new project, etc. (reference numbers omitted) On the right edge of the menu bar A1, a mark X1 is placed to indicate that another learner L2 has the same project open.
[0047] In the block palette area A2, various command blocks C1, C2, C3, etc. used for programming are arranged by type, as shown in Fig. 5, which is an enlarged view of part E in Fig. 4. For example, the command block C1 is a command block for moving the sprites Sp1 and Sp2, which are the control targets, by a set number of steps (distance), and the command blocks C2 and C3 are command blocks for rotating the sprites Sp1 and Sp2 by a set angle.
[0048] In addition, above the block palette area A2, a code tab T1, a costume tab T2, and a sound tab T3 are arranged as a list of a plurality of elements that can be selectively switched between a selected state and a non-selected state. For example, FIG. 4 shows a state in which the code tab T1 is selected. When the costume tab T2 is clicked in this state, a costume area A7 is displayed instead of the block palette area A2 and the code area A3 (see screen D2 displayed on the display means 24 of the second terminal 2 in FIG. 10). In the costume area A7, the costumes, colors, and other states of the sprites Sp1 and Sp2 selected in the sprite area A5 described later can be changed. In addition, although not shown in the figure, when the sound tab T3 is selected, the sound to be played during execution can be adjusted.
[0049] As shown in FIG. 6, the code area A3 is an area where the command blocks C1, C2, C3, etc., arranged in the code tab T1 are arranged and combined to create source code. In the illustrated example, two scripts Sc1 and S2 consisting of a combination of multiple command blocks are arranged. Specifically, the script Sc1 is a script consisting of a command block C4 that specifies the pressing of a set key as a condition, a command block C5 that moves the sprite in the X-axis direction (horizontal direction) by a set distance, and a command block C2 that rotates the sprite clockwise by a set angle. When the script Sc1 is executed and an operation input of the right arrow key is received, the sprite to be controlled rolls to the right. The script Sc2 is a script consisting of the above-mentioned command blocks C4 and C5, and a command block C3 that rotates the sprite counterclockwise by a set angle. When the script Sc2 is executed and an operation input of the left arrow key is received, the sprite to be controlled rolls to the left. In this embodiment, the code area A3 is set for each sprite. Therefore, when a sprite is changed in sprite area A5 (described later), the command block arranged in code area A3 is also changed.
[0050] 4 and 7A, stage area A4 is an execution area in which sprites to be controlled are placed and the sprites are operated by executing the created source code. In the illustrated example, sprites Sp1 and Sp2 are placed in stage area A4.
[0051] Additionally, an execution button B1, an execution stop button B2, and a switching button B3 are arranged in the upper left of the stage area A4. Additionally, a full screen display button B4 for displaying the stage area A4 in full screen is arranged in the upper right of the stage area A4. Note that Fig. 7B shows a screen D1a in which the stage area A4 is displayed in full screen. On the screen D1a, the above-mentioned execution button B1, execution stop button B2, and switching button B3, as well as an end button B5 for ending the full screen display are arranged.
[0052] As shown in FIG. 8, the sprite area A5 is an area for selecting and adding a sprite. Specifically, a plurality of sprites Sp1, S2 are arranged in the sprite area A5 as a list of a plurality of elements. Any one of the sprites arranged in the sprite area A5 is in a selected state, and the source code and costume for controlling the selected sprite Sp1 (Sp2) can be edited in the code area A3 and costume area A7, respectively. In addition, the sprite area A5 also has a button B6 for adding a new sprite. Note that FIG. 4 and FIG. 8 show a state in which the sprite Sp1 is selected from the plurality of sprites, and FIG. 9 shows a state in which the sprite Sp2 is selected.
[0053] The background area A6 is an area for changing the background of the stage area A4, and in addition to the current background information, buttons B7 for adding and changing the background are arranged.
[0054] 10 is a diagram showing an example of a screen D2 displayed on the display means 24 of the second terminal 2. In the illustrated example, the sprite Sp1 is selected on the second terminal 2, and the costume tab T2 (see FIG. 5) is selected to display the costume area A7.
[0055] When such a selection state is established on the second terminal 2, on the screen D1 of the first terminal 1, as shown in the enlarged view of FIG. 5, a display mark X2 (lamp) is displayed on the left end of the costume tab T2 displayed on the second terminal 2 in correspondence with the costume tab T2. Also, as shown in the enlarged view of FIG. 8, a display mark X3 (lamp) is also displayed on the upper left of the corresponding sprite Sp1 in the sprite area A5 (selected element display process). This makes it possible to grasp the area and sprite currently displayed by the sharing partner. Note that, as shown in FIG. 9, when the sprite Sp2 is selected on the screen D1 of the first terminal 1, unlike when the sprite Sp1 is selected, the display mark X2 is not displayed on the left end of the costume tab T2. Also, as shown in FIG. 10, on the screen D2, since the sprite Sp1 is selected on the screen D1 of the first terminal 1, the display mark X3 is displayed on the upper left of the sprite Sp1 in the sprite area A5.
[0056] 7. Programming education method using the information processing system SYS The programming education method by the information processing system SYS of this embodiment will be described below with reference to Figs. 11 to 16. The programming education method of this embodiment executes an edit reception process, a code sharing process, an execution process, a switching process, a list display process, and a selected element display process in a timely manner. This provides programming education, specifically, a shared environment for source code and a shared environment for executing source code, for the first learner L1 and the second learner L2. Each process will be described in detail below. Note that in this embodiment, the above-mentioned processes are executed in parallel.
[0057] <Editing reception process> The edit reception process is a process of receiving edits of the source code on the first terminal 1 and the second terminal 2. Specifically, in the edit reception process, the edit reception unit 10a of the first terminal 1 receives edits of the source code from the first learner L1 via the input means 13, and the edit reception unit 20a of the second terminal 2 receives edits of the source code from the second learner L2 via the input means 23. As described above, the source code can be edited by dragging and dropping the instruction blocks C1, C2, C3, etc. placed in the block palette area A2 shown in Figures 4 and 5 into the code area A3 shown in Figures 4 and 6 to combine them.
[0058] <Code sharing process> The code sharing step is a step of sharing the source code edited on the first terminal 1 and the second terminal 2 with each other. In this embodiment, the sharing of the source code on the first terminal 1 side is performed by the code transmission / reception unit 10b of the first terminal 1 transmitting information (source code information) of the command block on the code area A3 to the server 3, the source code sharing unit 30a of the server 3 transmitting the information to the second terminal 2, and the code transmission / reception unit 20b of the second terminal 2 receiving the information. Similarly, the sharing of the source code on the second terminal 2 side is performed by the code transmission / reception unit 20b of the second terminal 2 transmitting information (source code information) of the command block on the code area A3 to the server 3, the source code sharing unit 30a of the server 3 transmitting the information to the first terminal 1, and the code transmission / reception unit 10b of the first terminal 1 receiving the information. It is preferable that the sharing of the source code is performed in real time, and editing performed on one terminal is immediately reflected on the other terminal.
[0059] The execution step is a step of executing the shared source code in the individual execution mode M1 or the joint execution mode M2. The individual execution mode M1 and the joint execution mode M2 can be switched by a switching step described later.
[0060] <Execution process (individual execution mode M1)> In the individual execution mode M1, the source code edited in the code area A3 is executed independently for each terminal in response to clicking the execution button B1 or a predetermined operation input defined in the source code. Fig. 11 is an explanatory diagram showing how the example source code shown in Figs. 4 and 6 is executed in the individual execution mode M1. As described above, the source code is an example of rolling an apple-shaped sprite Sp1 and a basketball-shaped sprite Sp2 from side to side, and although not shown, the same source code as that of the sprite Sp1 is set for the sprite Sp2.
[0061] In the individual execution mode M1, the execution unit 10c of the first terminal 1 accepts an operation input of the right arrow key from the first learner L1 via the input means 13 in the state (initial state) of sprite Sp1 and sprite Sp2 shown in Fig. 7B. Then, the execution unit 10c of the first terminal 1 executes the script Sc1 (see Fig. 6), and the sprite Sp1 and sprite Sp2 move to the right in the stage area A4 of the first terminal 1 as shown in Fig. 11. However, in the individual execution mode M1, the sprite Sp1 and sprite Sp2 do not move in the stage area A4 of the second terminal 2.
[0062] <Execution process (joint execution mode M2)> On the other hand, in the collaborative execution mode M2, the source code edited in the code area A3 is executed in the stage area A4 of the first terminal 1 and the second terminal 2, respectively, in response to a click of the execution button B1 of either terminal or a predetermined operation input defined in the source code. Here, Fig. 12 is a sequence diagram showing the processing performed among the first terminal 1, the second terminal 2, and the server 3 when an operation input is made to the input means 13 of the first terminal 1 in the collaborative execution mode M2. Fig. 13 is an explanatory diagram showing the state of the stage area A4 of the first terminal 1 and the second terminal 2 when an operation input is made to the input means 13 of the first terminal 1 in the collaborative execution mode M2.
[0063] As shown in FIG. 12, when an operation input (specifically, pressing of the right arrow key) from the first learner L1 via the input means 13 is accepted in step S1, first, in step S2, the operation input transmitting / receiving unit 10e of the first terminal 1 transmits the operation input as first operation input information to the server 3. Next, in step S3, the operation input sharing unit 30c of the server 3 acquires the first operation input information and transmits it to the second terminal 2. Then, in step S4, the operation input transmitting / receiving unit 20e of the second terminal 2 receives the first operation input information. As a result, the execution unit 10c of the first terminal 1 and the execution unit 20c of the second terminal 2 each execute the script Sc1 (see FIG. 6), and the sprite Sp1 and the sprite Sp2 roll to the right in the stage area A4 of the first terminal 1 and the stage area A4 of the second terminal 2, respectively. In this way, in the collaborative execution mode M2, the operation inputs of the first learner L1 and the second learner L2 are instantly synchronized with the other learner's terminal, and the operations defined in the source code are shared.
[0064] In the collaborative execution mode M2 of this embodiment, when an operation input is received on one terminal, the state of the sprite after the operation corresponding to the operation input (in other words, the execution result) is synchronized with the other terminal after a predetermined time (sprite state synchronization process).
[0065] Specifically, as shown in FIG. 12, when the first terminal 1 accepts an operation input (specifically, pressing of the right arrow key) in step S1, in addition to the instantaneous synchronization of the operation input described above, after a predetermined time, in step S5, the operation input transmitting / receiving unit 10e acquires the state of the sprites Sp1, S2 after the action corresponding to the operation input. The predetermined time can be set to, for example, 0.5 seconds or 1 second. Then, in step S6, the operation input transmitting / receiving unit 10e transmits the acquired state of the sprites Sp1, S2 (hereinafter, referred to as sprite state information) to the server 3. Next, in step S7, the operation input sharing unit 30c of the server 3 acquires the sprite state information and transmits it to the second terminal 2. Then, in step S8, the operation input transmitting / receiving unit 20e of the second terminal 2 receives the sprite state information and synchronizes the states of the sprites Sp1 and Sp2 displayed in the stage area A4 of the second terminal 2 with the states of the sprites Sp1, S2 in the stage area A4 of the first terminal 1.
[0066] By the sprite state synchronization process described above, even if the states of sprites Sp1 and Sp2 before operation input are different between the first terminal 1 and the second terminal 2, as shown in FIG. 14, it is possible to synchronize the states of sprites Sp1 and Sp2 between the first terminal 1 and the second terminal 2 a predetermined time after operation input to either terminal.
[0067] <Switching process> The switching process is a process of switching between the individual execution mode M1 and the collaborative execution mode M2 described above based on a switching input to the first terminal 1 or the second terminal 2. In this embodiment, the switching input is specifically a click of the switching button B3 on the screen D1 of the first terminal 1 or the screen D2 of the second terminal 2.
[0068] 15A shows the state of the switching button B3 in the individual execution mode M1, and FIG. 15B shows the state of the switching button B3 in the collaborative execution mode M2. In the collaborative execution mode M2, the background color of the switching button B3 is inverted. As described above, the states of the individual execution mode M1 and the collaborative execution mode M2 are shared (linked) by the first terminal 1 and the second terminal 2, so that when the switching button B3 is clicked on the first terminal 1 or when the switching button B3 is clicked on the second terminal 2, the state of the switching button B3 on both terminals 1 and 2 will switch between the states shown in FIG. 15A and FIG. 15B.
[0069] Below, the switching process will be explained in detail with reference to Figure 16, which is a sequence diagram showing the processing performed between the first terminal 1, the second terminal 2, and the server 3 when the switching button B3 on the screen D1 of the first terminal 1 is clicked in the individual execution mode M1.
[0070] When the switching reception unit 10d of the first terminal 1 receives a click of the switching button B3 on the screen D1 in the individual execution mode M1 (step SS1), in step SS2, the switching reception unit 10d sets the state of the switching button B3 in the first terminal 1 to the shared state shown in FIG. 15B, and switches the execution mode in the first terminal 1 to the collaborative execution mode M2. Next, in step SS3, the switching reception unit 10d transmits switching input information to the server 3 via the communication means 11. Then, in step SS4, the execution mode switching unit 30b of the server 3 acquires the switching input information from the first terminal 1, reads out information on the current mode (information that the individual execution mode M1 in the current example) from the storage means 31, and switches to the opposite mode from the read mode (i.e., the collaborative execution mode M2). In addition, the execution mode switching unit 30b transmits the switching input information to the second terminal 2 and stores the changed mode in the storage means 31. Then, in step SS4, when the switching reception unit 20d of the second terminal 2 receives switching input information from the server 3, the switching reception unit 20d of the second terminal 2 sets the state of the switching button B3 of the second terminal 2 to the shared state shown in Fig. 15B, switches the execution mode of the second terminal 2 to the collaborative execution mode M2, and synchronizes the shared state (step SS5). In the switching process in this embodiment, by clicking the switching button B3 in any of the terminals in the above steps SS1 to SS5, switching is performed between the individual execution mode M1 and the collaborative execution mode M2.
[0071] <List display process> The list display step is a step of displaying a list of a plurality of common elements on the display means 14 of the first terminal 1 and the display means 24 of the second terminal 2, and making the plurality of elements switchable between a selected state and a non-selected state. Specifically, the edit receiving unit 10a of the first terminal 1 and the edit receiving unit 20a of the second terminal 2 display a code tab T1, a costume tab T2, and a sound tab T3 at the top of the block palette area A2 as a list of a plurality of elements, and also display sprites Sp1 and Sp2 in the sprite area A5 as a list of other plurality of elements. Note that the list display step is always executed in the other steps described above, and therefore the tabs T1 to T3 and the sprites Sp1 and Sp2 are always displayed in each of the other steps described above.
[0072] <Selection element display process> The selected element display step is a step of displaying a mark for indicating the selection state of a plurality of elements in a list of a plurality of elements on another terminal (the second terminal 2 in the case of the first terminal 1, and the first terminal 1 in the case of the second terminal 2) sharing the source code. As described above, in this embodiment, the list of a plurality of elements is the tabs T1 to T3 and the sprites Sp1 and Sp2. Specifically, the display mark X2 (see FIG. 5) indicating the selection state of the tabs T1 to T3 and the display mark X3 (see FIG. 8) indicating the selection state of the sprites Sp1 and Sp2 are marks for indicating the selection state on the second terminal 2 in the first terminal 1. Note that the selected element display step is also always executed in the other steps described above. Therefore, when there is another terminal sharing the source code, the display marks X2 and X3 are always displayed.
[0073] 8. Effects (1) According to the programming education method of this embodiment, the execution process can execute source code in a collaborative execution mode M2 in addition to the individual execution mode M1, and in the collaborative execution mode M2, the shared source code is executed on the first terminal and the second terminal, respectively. This makes it possible to share the execution contents of the source code between the first learner L1 using the first terminal 1 and the second learner L2 (which may be a teacher) using the second terminal 2.
[0074] (2) In the switching step, the individual execution mode M1 and the joint execution mode M2 are switched based on an input to the first terminal 1 or the second terminal 2, specifically, a click input of the switching button B3 displayed on the display means 14, 24 of each terminal. This allows the first learner L1 and the second learner L2 to easily switch between executing the created source code only on their own terminal or executing it on the terminal of the sharing partner as well. Therefore, the first learner L1 and the second learner L2 can execute the unfinished source code once only on their own terminal and debug it by switching to the individual execution mode M1 by clicking the switching button B3.
[0075] (3) In the collaborative execution mode M2 of the execution step, the operation input to the first terminal 1 is shared as first operation input information with the second terminal 2 by the operation input transmission / reception units 10e, 20e via the server 3 (operation input sharing unit 30c). In addition, the operation input to the second terminal 2 is shared as second operation input information with the first terminal 1 by the operation input transmission / reception units 20e, 10e via the server 3 (operation input sharing unit 30c). This makes it possible to execute a game (multiplayer game) in which the first learner L1 and the second learner L2 simultaneously operate the same operation target (sprite).
[0076] (4) The source code can be edited using a visual programming language, and students of programming can easily create source code by simply selecting and combining code blocks. In addition, simply combining code blocks can almost completely eliminate the dependency of source code on individual users. This makes it possible to easily share source code in the code sharing process, and ensures that the same source code can be executed in the shared execution mode M2 of the execution process.
[0077] (5) In the collaborative execution mode M2, when an execution operation, specifically, a click of the execution button B1 or an operation input defined in the shared source code is received on either one of the first terminal 1 and the second terminal 2, the content defined in the source code (the action of the sprite) is executed on the first terminal 1 and the second terminal 2, respectively. In the collaborative execution mode M2, at each predetermined timing, specifically, when an operation input is received on one terminal (for example, the first terminal 1), the execution result of the one terminal (the first terminal 1), specifically, the position and orientation of the sprite, is synchronized with the other terminal (the second terminal 2) after a predetermined time. In other words, even if the states (the position and orientation of the sprite) are different between the first terminal 1 and the second terminal 2 before the operation input, after the operation input, the state of the terminal that received the operation input after the operation input is synchronized with the other terminal. This allows the misalignment between the terminals to be corrected whenever an operation input is made to at least one of the terminals, and makes it possible to optimally execute games (multiplayer games) in which the first learner L1 and the second learner L2 simultaneously operate the same operation target (sprite).
[0078] (6) The sharing of source code in the code sharing process and the sharing of operation inputs in the joint execution mode M2 of the execution process between the first terminal 1 and the second terminal 2 are each realized via the server 3. This eliminates the need to directly exchange data between the first terminal 1 and the second terminal 2, thereby reducing security risks and making authentication easier. In addition, by storing the information on the shared source code and operation inputs in the server 3, it becomes possible to manage data using the information on the server 3 as the master.
[0079] (7) According to the programming education method of this embodiment, when sharing the execution of source code in the collaborative execution mode M2 of the execution process, only the operation input to each of the terminals 1 and 2 is shared. In other words, when executing the source code, there is no need to share the execution screen itself or the coordinates and posture of the operation target. With this configuration, it is possible to play a game (multiplayer game) in which the first learner L1 and the second learner L2 simultaneously operate the same operation target (sprite) while reducing the amount of communication between the terminals.
[0080] (8) According to the programming education method of this embodiment, in the list display step, tabs T1 to T3 and sprites Sp1 and Sp2 are displayed as a list of multiple elements common to each terminal, and these are switchable between a selected state and a non-selected state. Also, in the element display step, a display mark X2 (see FIG. 5) indicating the selected state of the tabs T1 to T3 on the other terminal with which the tabs are shared, and a display mark X3 (see FIG. 8) indicating the selected state of the sprites Sp1 and Sp2 on the other terminal are displayed. This makes it possible to know what the other person who is programming with you is currently editing.
[0081] 9. Variations The present invention can also be implemented in the following aspects.
[0082] In the above embodiment, the source code is edited using a visual programming language that combines command blocks C1, C2, C3, etc. by dragging and dropping them. However, the language used may be a general programming language (text language) such as Python (registered trademark), C language, Java (registered trademark), etc. Even in this case, in the collaborative execution mode M2, the shared source code can be executed on multiple terminals, and the execution contents of the source code can be shared between the first learner L1 using the first terminal 1 and the second learner L2 using the second terminal 2.
[0083] In the above embodiment, the two modes (states), the individual execution mode M1 and the collaborative execution mode M2, are configured to be shared between the first terminal 1 and the second terminal 2. However, it is also possible to configure the first terminal 1 and the second terminal 2 to be in different modes. In this case, the execution of the source code is shared only when both terminals 1 and 2 are in the collaborative execution mode M2. Also, when the source code is shared between three or more terminals, the execution of the source code is shared between the terminals in the collaborative execution mode M2.
[0084] In the above embodiment, the source code and its joint execution are performed between two terminals, the first terminal 1 and the second terminal 2. However, it is also possible to enable sharing of source code and joint execution of the source code between three or more terminals.
[0085] In the above embodiment, the sharing of source code in the code sharing step and the sharing of operation input in the joint execution mode M2 of the execution step between the first terminal 1 and the second terminal 2 are realized via the server 3. However, it is also possible to directly connect the first terminal 1 and the second terminal 2 via P2P (Peer to Peer) and share the source code and operation input without going through the server 3.
[0086] In the above embodiment, when sharing the execution of source code in the joint execution mode M2 of the execution process, only the operation input to each of the terminals 1 and 2 is shared. However, in addition to the operation input to each of the terminals 1 and 2, the coordinates, posture, etc. of the operation target (sprite) may be shared. It is also possible to share the execution screen itself. Furthermore, it is also possible to configure the source code to be executed only on the server 3, and the execution results to be transmitted to each of the terminals 1 and 2.
[0087] In the above embodiment, each functional configuration of the control means 10 of the first terminal 1 and the control means 20 of the second terminal 2 is realized as a Web application. However, each functional configuration may be realized by software (including so-called apps) appropriately installed in the first terminal 1 and the second terminal 2, or may be realized by hardware. When realized by software, various functions can be realized by the control means 10 and the control means 20 executing a program constituting the software. Also, it may be realized by multiple software instead of a single piece of software. Also, when realized by executing a program, the program may be stored in the storage means 12, 22 built into the first terminal 1 and the second terminal 2, or may be stored in a non-transitory recording medium readable by a computer. Also, it may be realized by reading out a program stored in an external storage device and by so-called cloud computing. Or, when realized by hardware, it can be realized by various circuits such as ASIC, SOC, FPGA, or DRP. Also, some of the above-mentioned functional configurations may be processed by the server 3 or other information processing device by software or hardware.
[0088] In the above embodiment, the list of multiple elements displayed in the list display step is only the tabs T1 to T3 arranged at the top of the block palette area A2 and the sprites Sp1 and Sp2 arranged in the sprite area A5. However, instead of or in addition to this, multiple teaching materials used in programming education, for example, may be displayed in a list. In this case, in the selected element display step, it is preferable to display a mark on the teaching material selected on another terminal from the list of multiple teaching materials.
[0089] In the selected element display process of the above embodiment, the display marks X2 and X3 (see Figs. 5 and 8) are marks that only indicate that someone has selected the corresponding element, that is, marks that do not identify "who has selected it." However, particularly when source code is shared and executed jointly among three or more terminals, it is also preferable to be able to identify "who has selected the corresponding element" by displaying avatars, initials, etc. [Explanation of symbols]
[0090] 1: first terminal, 2: second terminal, 3: server, 10: control means, 10a: edit reception section, 10b: code transmission / reception section, 10c: execution section, 10d: switching reception section, 10e: operation input transmission / reception section, 11: communication means, 12: storage means, 13: input means, 14: display means, 15: bus, 20: control means, 20a: edit reception section, 20b: code transmission / reception section, 20c: execution section, 20d: switching reception section, 20e: operation input transmission / reception section, 21: communication means, 22: storage means, 23: input means, 24: display means, 25: bus, 30: control means, 30a: source code sharing section, 30b: execution mode switching section, 30c: operation input sharing section, 31: storage means, 32: communication means, 33: bus, A1: Menu bar, A2: Block palette area, A3: Code area, A4: Stage area, A5: Sprite area, A6: Background area, A7: Costume area, B1: Run button, B2: Stop execution button, B3: Switch button, B4: Full screen display button, B5: Exit button, B6: Button, B7: Button, L1: 1st learner, L2: 2nd learner, M1: Individual execution mode, M2: Joint execution mode, PI: Project information, SYS: Information processing system, Sp1: 1st sprite, Sp2: 2nd sprite, T1: Code tab, T2: Costume tab, T3: Sound tab, X1: Mark, X2: Displaying mark, X3: Displaying mark
Claims
1. A programming education method, comprising: The method includes an edit receiving step, a code sharing step, a list display step, and a selected element display step, The edit receiving step includes receiving edits to the source code on a first terminal; In the code sharing step, the source code edited on the first terminal is shared with at least a second terminal; In the list display step, a list of first elements and a list of second elements are displayed on the display means of each of the first terminal and the second terminal as a list of a plurality of common elements, and each of the plurality of elements in the list of first elements and the list of second elements is made switchable between a selected state and a non-selected state alternatively; the selected state is a state in which the contents of the first element and the second element are displayed on the display means, and the non-selected state is a state in which the contents of the first element and the second element are not displayed on the display means, the list of second elements is displayed for each element in the list of first elements, In the selected element display step, marks for indicating the selected state of each of the plurality of elements in the list of first elements and the list of second elements on the second terminal are displayed in the list of first elements and the list of second elements on the first terminal, respectively. Programming education methods.
2. The programming education method according to claim 1, the shared source code is a source code for receiving an operation input during execution of the shared source code and causing an operation target arranged in an execution area on each of the screens of the first terminal and the second terminal to perform a predetermined operation; Programming education methods.
3. The programming education method according to claim 2, the plurality of elements in the list of the second elements displayed in the list display step include at least two elements, an element for displaying an area for accepting editing of source code and an element for displaying an area for selecting a plurality of pictures that can be set for the operation target; the mark is a mark for indicating, on the at least two elements on the first terminal, the selection state of the at least two elements on the second terminal; Programming education methods.
4. The programming education method according to claim 3, The at least two elements are tabs extending from respective areas, the mark is a lamp displayed on the tab; Programming education methods.
5. The programming education method according to claim 2, The plurality of elements in the list of the first elements displayed in the list display step are a plurality of the operation targets, The mark is a mark for indicating the selection state of the multiple operation targets on the second terminal among the multiple operation targets on the first terminal. Programming education methods.
6. The programming education method according to claim 1, In the list display step, a list of a third element is further displayed as a list of a plurality of elements common to the display means of the first terminal and the second terminal, and each of the plurality of elements in the list of the third element is made switchable between a selected state and a non-selected state; The plurality of elements in the third list of elements are a plurality of teaching materials used in programming education, the mark is a mark for indicating, in the list of the plurality of teaching materials on the first terminal, the selection state of the list of the plurality of teaching materials on the second terminal; Programming education methods.
7. The programming education method according to any one of claims 1 to 6, In the editing reception step, the source code can be edited using a visual programming language. Programming education methods.
8. The programming education method according to any one of claims 1 to 5, In the code sharing step, the source code edited on the first terminal is shared with the second terminal via a server on the Internet. Programming education methods.
9. A programming education program, causing a computer to execute an edit receiving step, a code sharing step, a list display step, and a selected element display step; The edit receiving step includes receiving edits to the source code on a first terminal; In the code sharing step, the source code edited on the first terminal is shared with at least a second terminal; In the list display step, a list of first elements and a list of second elements are displayed on the display means of each of the first terminal and the second terminal as a list of a plurality of common elements, and each of the plurality of elements in the list of first elements and the list of second elements is made switchable between a selected state and a non-selected state alternatively; the selected state is a state in which the contents of the first element and the second element are displayed on the display means, and the non-selected state is a state in which the contents of the first element and the second element are not displayed on the display means, the list of second elements is displayed for each element in the list of first elements, In the selected element display step, marks for indicating the selected state of each of the plurality of elements in the list of first elements and the list of second elements on the second terminal are displayed in the list of first elements and the list of second elements on the first terminal, respectively. program.
10. A programming education terminal used by a programming learner, The device includes a communication means, an input means, a display means, and a control means, The communication means is configured to be capable of communicating with other terminals used by other programming learners or educators directly or via a server, The input means is configured to receive an input from the programming learner, The display means is configured to display at least a code area for editing source code to the programming learner, the control means causes the display means to display a list of first elements and a list of second elements as lists of a plurality of elements common to the display means and the display means of the other terminal, and makes each of the plurality of elements in the list of first elements and the list of second elements switchable between a selected state and a non-selected state alternatively; the selected state is a state in which the contents of the first element and the second element are displayed on the display means, and the non-selected state is a state in which the contents of the first element and the second element are not displayed on the display means, the list of second elements is displayed for each element in the list of first elements, the control means further causes marks to be displayed in the list of first elements and the list of second elements, respectively, to indicate the selected states of the plurality of elements in the list of first elements and the list of second elements on the other terminal. Programming education terminal.
Citation Information
Patent Citations
Simple language programming system
JP1993313872A
Information processing device and information processing program
JP2022133902A
Method for educating programming on virtual reality in on-line network
KR1020120100125A
Method for provide coding and programing education contents platform
KR1020200078942A
Collaborative editing of source code with intelligent operations
US20190146758A1
