Information processing device, information processing method, and program
The information processing device addresses the issue of unintended calculation results by allowing users to change the calculation program settings for trigonometric functions, ensuring the user receives the desired output.
Patent Information
- Application Number
- JP2023031887
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-09-24
- Filing Date
- 2023-03-02
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2041-03-24
AI Technical Summary
Users often encounter unintended calculation results due to device settings differing from their expectations, making it difficult to obtain the desired information, especially in mathematical calculations involving trigonometric functions.
An information processing device that inquires the user about the unit of angle used in trigonometric functions and allows the user to change the calculation program settings accordingly, ensuring the user obtains the intended calculation results.
Enables users to easily obtain the intended calculation results by allowing them to modify the calculation program settings related to trigonometric functions, thereby preventing unintended outcomes.
Smart Images

Figure 0007661990000001 
Figure 0007661990000002 
Figure 0007661990000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing method, and a program. [Background technology]
[0002] Patent Document 1 discloses a scientific calculator that includes an input unit that selects one of a plurality of calculation modes and inputs numerical values in response to user operation, and a CPU (Central Processing Unit) that generates data to be transmitted including the numerical values input by the input unit and mode information for identifying the calculation mode selected by the input unit, and generates a two-dimensional code that encodes the data to be transmitted. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-92675 A Summary of the Invention [Problem to be solved by the invention]
[0004] Just as the scientific calculator described in Patent Document 1 outputs the results of calculations for a formula input by a user, a device that outputs information for information input by a user may output information different from what the user expected. One of the causes of this phenomenon is that the settings of the device are different from what the user expected. It is difficult and cumbersome to find settings that are different from what the user expected from among many settings and change the settings, which makes it difficult for the user to obtain the information he or she desires.
[0005] The present invention has been made in consideration of the above problems, and has an object to provide an information processing device, an information processing method, and a program that can easily obtain the computation result intended by a subject. [Means for solving the problem]
[0006] In order to achieve the above object, one aspect of the information processing device according to the present invention is When a mathematical expression including a trigonometric function is input by a subject, an inquiry is made to the subject as to which of a plurality of different units is to be used as a unit of angle in the trigonometric function in a calculation program related to the mathematical expression; The unit of angle in the trigonometric function is changed to one of the plurality of units in response to the answer of the subject to the inquiry. Modifying the computing program; A processing unit is provided. It is characterized by: Effect of the Invention
[0007] According to the present invention, it is possible to provide an information processing device, an information processing method, and a program that can easily obtain the computation result that the subject intends. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing the appearance of an information processing device according to a first embodiment. [Diagram 2] 1 is a block diagram showing a configuration of an information processing device according to a first embodiment. [Diagram 3] FIG. 4 is a diagram showing a mathematical formula before editing displayed on the display unit of the first embodiment. [Figure 4] FIG. 11 is a diagram of a display that prompts a user to edit the calculation results displayed on the display unit of the first embodiment. [Diagram 5] FIG. 13 is a diagram showing an edited mathematical formula displayed on the display unit of the first embodiment. [Figure 6] FIG. 11 is a diagram of a display displayed on the display unit of the first embodiment, for confirming with the user whether or not to change the calculation settings to be used. [Figure 7] 5 is a flowchart of a calculation program setting process executed by a control unit of the information processing device according to the first embodiment. [Figure 8] FIG. 11 is a diagram showing settings and calculation results displayed on a display unit according to the second embodiment. [Figure 9] FIG. 11 is a diagram showing settings and calculation results displayed on a display unit according to the second embodiment. [Figure 10] 11 is a flowchart of a calculation program setting process executed by a control unit of an information processing device according to the second embodiment. [Figure 11]FIG. 11 is a block diagram showing a configuration of an information processing device according to a third embodiment. [Figure 12] FIG. 11 is a block diagram showing the configuration of a terminal according to a third embodiment. [Figure 13] FIG. 13 is a diagram showing answers for each contestant displayed on a terminal display unit in the third embodiment. [Figure 14] FIG. 13 is a diagram showing the answers and correct / incorrect judgments for each solver displayed on the terminal display unit of the third embodiment. [Figure 15] A figure showing the answers and edited correct answers displayed on the terminal display unit of embodiment 3. [Figure 16] FIG. 13 is a diagram showing the answers of each contestant displayed on the terminal display unit of embodiment 3 and the correct / incorrect judgment after the settings are changed. [Figure 17] 11 is a flowchart of a calculation program setting process executed by a control unit of an information processing device according to the third embodiment. [Figure 18] FIG. 13 is a diagram showing a score setting data and answer data input screen displayed on a terminal display unit of the fourth embodiment. [Figure 19] FIG. 13 is a diagram showing a setting change screen displayed on a terminal display unit of the fourth embodiment. [Figure 20] 13 is a flowchart of a calculation program setting process executed by a control unit of an information processing device according to the fourth embodiment. [Figure 21] 13 is a flowchart of a calculation program setting process executed by a control unit of an information processing device according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (Embodiment 1) An information processing device 1 according to the first embodiment will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals. The information processing device 1 according to the first embodiment is a scientific calculator that performs arithmetic operations or function calculations according to input by a user as a subject.
[0010] 1 is a diagram showing the appearance of an information processing device 1 according to embodiment 1. As shown in FIG.
[0011] Case 110 has input unit 120 and display unit 130 arranged in a state where they are exposed to the outside, and has power supply unit 140, storage unit 150, and control unit (processing unit) 160 arranged therein, which will be described later. Case 110 may include, for example, metal or resin, but is not limited to these.
[0012] The input unit 120 is configured, for example, with a keyboard having a plurality of keys, and when a key is pressed by the user, a signal indicating the pressing is output to the control unit 160, which will be described later. The input unit 120 includes, for example, keys corresponding to numerical values, symbols, calculations, function selection, mode selection, cursor movement, and power operation, but is not limited thereto.
[0013] The display unit 130 displays a numerical value or a mathematical expression input by the user, a calculation result, a currently active mode, or a selected function. The display unit 130 includes, for example, a liquid crystal display, but is not limited to this.
[0014] Fig. 2 is a block diagram showing a configuration of the information processing device 1 according to embodiment 1. As shown in Fig. 2, the information processing device 1 includes an input unit 120, a display unit 130, a power supply unit 140, a storage unit 150, and a control unit 160.
[0015] The power supply unit 140 supplies power to the input unit 120, the display unit 130, the storage unit 150, and the control unit 160. The power supply unit 140 may include, for example, a primary battery, a secondary battery, or a solar cell, but is not limited to these.
[0016] The storage unit 150 is a storage medium that stores a program executed by the control unit 160 or data used by the program. The storage unit 150 may include, but is not limited to, a Read Only Memory (ROM) and a Random Access Memory (RAM).
[0017] The control unit 160 executes the programs stored in the storage unit 150 to control the entire information processing device 1. The control unit 160 may include a CPU, but is not limited to this.
[0018] The control unit 160 executes the calculation program stored in the memory unit 150, thereby performing arithmetic operations and function calculations in response to the input signal transmitted from the input unit 120, and performs processing to display the numerical values, mathematical expressions, and the calculation results input by the user on the display unit 130.
[0019] The control unit 160 selects a calculation setting as the use calculation setting from a plurality of calculation settings related to the calculation program stored in the storage unit 150, and performs calculation according to the selected use calculation setting.
[0020] For example, when the multiplication sign is omitted, the storage unit 150 stores (A) The operation priority of multiplication where the multiplication symbol is omitted is made higher than that of multiplication and division. (B) The precedence of multiplication where the multiplication symbol is omitted is made the same as that of multiplication and division. The following two calculation settings are stored.
[0021] As an example, consider the case where the user inputs the following formula: 6÷2(1+2) …(1) In equation (1), the multiplication sign between "2" and "(1+2)" is omitted.
[0022] When the calculation setting (A) is selected as the calculation setting to be used, the control unit 160 prioritizes the calculation of “2 (1+2)” in which multiplication is omitted, and outputs “1” as the calculation result to be displayed on the display unit 130.
[0023] When calculation setting (B) is selected as the calculation setting to be used, the control unit 160 treats the calculation of "2(1+2)" in which multiplication has been omitted as equivalent to the multiplication symbol, so prioritizes the calculation of "6÷2", which comes before (1+2) in the input formula, and outputs "9" as the calculation result to be displayed on the display unit 130.
[0024] The calculation program setting process executed by the control unit 160 will be described. Fig. 3 is a diagram showing a mathematical formula before editing displayed on the display unit 130. As shown in Fig. 3, the user inputs formula (1), and the control unit 160 calculates formula (1) according to the calculation program and displays formula (1) and the calculation result "1" on the display unit 130.
[0025] When a formula is input, the control unit 160 performs syntax analysis of the formula and determines whether the formula contains an omitted multiplication sign (multiplication omission). If the formula does not contain an omitted multiplication sign, the calculation program setting process ends. The calculation result before the user changes the used calculation setting is called the provisional calculation result.
[0026] With the formula (1) entered by the user and its calculation result "1" displayed on the display unit 130, the control unit 160 determines whether or not a signal requesting editing of the calculation result has been transmitted by the user operating the input unit 120. When a signal requesting editing of the calculation result by the user is transmitted, the control unit 160 causes the display unit 130 to display a display that prompts the user to input editing of the calculation result.
[0027] Fig. 4 is a diagram showing a display that allows the user to input an edit of the calculation result displayed on the display unit 130. As shown in Fig. 4, the control unit 160 displays a cursor that prompts the user to input, replacing the calculation result "1" at the location where the calculation result was displayed (see Fig. 3).
[0028] In response to a display prompting the user to input an edit of the calculation result displayed on display unit 130, the user operates input unit 120 to input the numerical value that the user has been looking for as the calculation result of the mathematical formula as an edited value. Input unit 120 transmits the input edited value to control unit 160, which acquires the edited value. Control unit 160 controls display unit 130 to cause display unit 130 to display the acquired edited value. The edited value input by the user is an edited version of the tentative calculation result, and is referred to as an edited calculation result.
[0029] The control unit 160 acquires the result of the editing operation input by the user via the input unit 120 .
[0030] Fig. 5 is a diagram showing a case where the acquired edited value is displayed together with the mathematical formula on the display unit 130. As shown in Fig. 5, when the user inputs the numerical value "9" that was obtained as the calculation result of the formula (1), the control unit 160 controls the display unit 130 to cause the display unit 130 to display the numerical value "9" input by the user.
[0031] Furthermore, the control unit 160 determines whether or not a provisional calculation result, which is a calculation result before the user changes the used calculation setting, matches the edited calculation result input by the user.
[0032] When the control unit 160 determines that the provisional calculation result matches the edited calculation result input by the user, it changes the calculation setting to be used with respect to the calculation setting related to omission of multiplication, performs calculation again, and determines whether the result of the recalculation matches the edited value input by the user. When the result of the recalculation does not match the edited value input by the user, the control unit 160 causes the display unit 130 to display a message indicating an error.
[0033] In this example, because formula (1) includes omission of multiplication, the control unit 160 changes the used calculation setting and performs recalculation based on the changed used calculation setting. Regarding the calculation setting related to omission of multiplication, the control unit 160 determines that there is a match because the calculation result when the used calculation setting is changed from calculation setting (A) to calculation setting (B) is "9," which matches the edited value "9" entered by the user.
[0034] If it is determined that the result of the recalculation matches the edited value by the user, the control unit 160 sets the calculation setting used in the recalculation as a candidate for changing the used calculation setting, and causes the display unit 130 to display a message asking the user whether or not to change the used calculation setting to the calculation setting used in the recalculation.
[0035] Fig. 6 is a diagram of a display for confirming with the user whether to change the operation setting displayed on the display unit 130. As shown in Fig. 6, the control unit 160 causes the display unit 130 to display a display for confirming whether or not it is OK to change the operation setting for use, with respect to the operation setting related to omission of multiplication.
[0036] In response to a display displayed on the display unit 130 for confirming whether or not it is OK to change the used calculation setting, the user operates the input unit 120 to input whether or not to permit the change of the used calculation setting.
[0037] The control unit 160 judges whether or not the user has input permission to change the used calculation setting. If the user has input permission to change the used calculation setting, the control unit 160 changes the used calculation setting accordingly, stores in the storage unit 150 that the used calculation setting has been changed, and displays on the display unit 130 a message indicating that the used calculation setting has been changed. The control unit 160 modifies the calculation program by changing the used calculation setting.
[0038] If a refusal to change the operation setting is input, the control unit 160 does not change the operation setting and ends the process.
[0039] 7 is a flowchart of the calculation program setting process executed by the control unit 160 of the information processing device 1 according to embodiment 1. The setting change process will be described with reference to the flowchart in FIG.
[0040] When the calculation program setting process is started, the control unit 160 performs syntax analysis of the formula input by the user via the input unit 120 and determines whether the formula includes an omitted multiplication (step S101). If the formula does not include an omitted multiplication (step S101: NO), the calculation program setting process ends.
[0041] When the formula includes omitted multiplication (step S101: YES), the control unit 160 calculates the formula according to the calculation program, and obtains the calculation result by the calculation program (step S102).
[0042] When the calculation result by the calculation program is acquired, the control unit 160 judges whether or not a request for editing the calculation result is made by the user (step S102A). If not (step S102A: NO), the calculation program setting process is terminated.
[0043] When a request for editing the calculation result is made by the user (step S102A: YES), control unit 160 acquires the edited value of the calculation result of the mathematical expression input by the user via input unit 120 (step S103).
[0044] When the edited value of the calculation result is acquired, the control unit 160 judges whether the calculation result by the calculation program matches the edited value (step S104). If the calculation result matches the edited value (step S104: YES), the calculation program setting process ends.
[0045] If the calculation result and the edited value do not match (step S104: NO), the control unit 160 changes the calculation setting of the calculation program regarding omission of multiplication and performs the calculation again (step S105). That is, as described above, the used calculation setting is changed (switched) between calculation setting A and calculation setting B.
[0046] After performing the recalculation, the control unit 160 determines whether the recalculation result matches the edited value input by the user (step S106).
[0047] If the recalculation result and the edited value do not match (step S106: NO), the control unit 160 causes the display unit 130 to display a message indicating an error (step S107), and ends the calculation program setting process.
[0048] If the recalculation result matches the edited value (step S106: YES), the control unit 160 sets the calculation setting used for the recalculation as a candidate for changing the calculation setting of the calculation program, and causes the display unit 130 to display a message prompting the user to confirm the change of the calculation setting of the calculation program (step S108).
[0049] When the display unit 130 displays a message for confirming whether or not it is OK to change the calculation settings of the calculation program, the control unit 160 judges whether or not permission to change the calculation settings of the calculation program has been input by the user (step S109).
[0050] When the user does not input permission to change the calculation settings of the calculation program (step S109: NO), the control unit 160 executes the above step S107 and ends the calculation program setting process.
[0051] If permission to change the calculation settings of the calculation program is input (step S109: YES), the control unit 160 confirms the change to the calculation settings of the calculation program, stores the change in the calculation settings of the calculation program in the memory unit 150 (step S110), and terminates the calculation program setting process.
[0052] The control unit 160 determines whether or not the calculation program should be modified in steps S102A, S104, S106, and S109.
[0053] With the above configuration, the information processing device 1 according to the first embodiment can easily obtain the calculation result that the subject intends by executing the calculation program setting process.
[0054] If the result of a formula calculation by a scientific calculator is not what the user intended and this is due to the calculation settings of the scientific calculator, it is difficult and cumbersome to find the setting that differs from the user's expectation from among the many calculation settings and change the setting. According to the information processing device 1 of the first embodiment, the user can intuitively edit the calculation result derived by the information processing device 1, thereby setting the calculation program.
[0055] For example, in a situation where students use the information processing device 1 at the same time in a class, the teacher can easily set up the calculation programs of all the students' information processing devices 1 by presenting them with example questions and their answers and having them input them into the information processing device 1. At this time, the students can easily change the settings without even being aware of the existence of the settings.
[0056] Furthermore, the information processing device 1 according to embodiment 1 can obtain the calculation result intended by the user by modifying the calculation program by changing the calculation result and performing recalculation and selecting settings whose calculation result matches the calculation result edited by the user.
[0057] Furthermore, when a formula contains omitted multiplications, the information processing device 1 according to embodiment 1 modifies the calculation program by switching whether or not the priority of omitted multiplications is given higher priority than multiplication and division, thereby making it possible to easily modify calculation programs relating to omitted multiplications that are likely to produce calculation results that are not intended by the user, and also to prevent modification of the calculation program that is not desired by the user.
[0058] Furthermore, the information processing device 1 of embodiment 1 determines whether or not the calculation program needs to be modified, and if it determines that the calculation program needs to be modified, actually modifies the calculation program, thereby making it possible to modify the calculation program so that the calculation result desired by the user is reliably calculated, and also to prevent changes to the calculation settings that are not desired by the user.
[0059] In the first embodiment, a formula is input, a provisional calculation result is calculated, the user inputs a request to edit the calculation result, and the provisional calculation result is edited, but this is not limited to the above. After the user inputs a request to edit the calculation result, the formula and the answer to the formula corresponding to the edited calculation result may be input, and the control unit 160 may calculate the formula to calculate the provisional calculation result, and the calculation program may be modified based on the calculated provisional calculation result and the input edited calculation result.
[0060] (Embodiment 2) The information processing device 1 according to the second embodiment will be described with reference to the drawings. The configuration of the information processing device 1 according to the second embodiment is similar to that of the information processing device 1 according to the first embodiment (see FIGS. 1 and 2).
[0061] The control unit 160 of the information processing device 1 according to the second embodiment executes each of a plurality of calculation programs stored in the memory unit 150, thereby performing arithmetic operations and calculation of functions in response to the input signal transmitted from the input unit 120, and performs processing to display on the display unit 130 numerical values, formulas and the calculation results input by the user.
[0062] When the control unit 160 determines that there are multiple calculation results for a formula input by the user due to calculation settings relating to multiple calculation programs, it causes the display unit 130 to display a display that presents to the user the calculation settings used in the calculation and each of the calculation results when those calculation settings are used in the calculation.
[0063] An example will be described in which the user inputs the formula (1) shown in FIG. 3 of the first embodiment, i.e., 6÷2 (1+2). When the user inputs the formula (1), the formula (1) is processed according to the calculation settings (A) and (B), i.e., (A) The operation priority of multiplication where the multiplication symbol is omitted is made higher than that of multiplication and division. (B) The precedence of multiplication where the multiplication symbol is omitted is made the same as that of multiplication and division. Since there are a plurality of calculation results depending on which of the above calculation settings is used, the control unit 160 causes the display unit 130 to display the calculation settings and the calculation results.
[0064] Fig. 8 is a diagram showing the calculation settings and the calculation results displayed on the display unit 130. As shown in Fig. 8, the control unit 160 causes the display unit 130 to display the calculation settings "Omit multiplication: equal" and "Omit multiplication: priority" used in the calculation, and the calculation results "Ans=1" and "Ans=9" when the calculation settings are used. Note that, in accordance with the keys included in the input unit 120, the calculation setting (A) and its calculation result are displayed in correspondence with "1", and the calculation setting (B) and its display result are displayed in correspondence with "2".
[0065] In response to the display of the calculation setting and the calculation result on the display unit 130, the user selects either the calculation setting (A) or (B) by operating the key marked "1" or the key marked "2" on the input unit 120. The input unit 120 transmits a signal indicating the calculation setting selected by the user to the control unit 160. The control unit 160 controls the display unit 130 to cause the display unit 130 to display a message informing the user whether or not to save the selected calculation setting as the used calculation setting.
[0066] In response to a display for confirming whether the calculation setting displayed on the display unit 130 may be saved as the used calculation setting, the user operates the input unit 120 to input whether or not to permit saving of the used calculation setting.
[0067] The control unit 160 judges whether the user has input permission to save the used calculation setting. If the user has input permission to save the used calculation setting, the control unit 160 accordingly saves the used calculation setting, stores in the storage unit 150 that the used calculation setting has been saved (a calculation setting save completion flag, which will be described later), and causes the display unit 130 to display a display indicating that the used calculation setting has been saved.
[0068] If a refusal to save the used calculation setting is input, the control unit 160 does not save the used calculation setting and ends the process.
[0069] As another example, a case where the user inputs the following formula (2) will be described. sin(30) …(2) Since equation (2) can have multiple calculation results depending on whether degrees, radians, or grads are used as the unit of angle, control unit 160 causes display unit 130 to display the calculation settings and the calculation results.
[0070] Fig. 9 is a diagram showing the calculation settings and the calculation results displayed on the display unit 130. As shown in Fig. 9, the control unit 160 causes the display unit 130 to display the calculation settings used in the calculation, "Angle: Degrees", "Angle: Radius", and "Angle: Grad", as well as the calculation results when the calculation settings are used, "Ans=0.5", "Ans=-0.98", and "Ans=0.45".
[0071] In response to the display of the calculation settings and the calculation results on the display unit 130, the user operates the key marked "1," the key marked "2," or the key marked "3" on the input unit 120. The following process is the same as the example of formula (1).
[0072] When the control unit 160 has completed saving the used calculation settings as described above, it sets the calculation setting save completion flag to "1" to indicate that the saving has been completed, and stores the flag in the storage unit 150. When the calculation setting save completion flag stored in the storage unit 150 is "1", even if the control unit 160 determines that there are multiple calculation results using multiple calculation settings for the formula input by the user, it does not cause the display unit 130 to display the settings used in the calculation as shown in Figs. 8 and 9 and the respective calculation results when the settings are used in the calculation.
[0073] When the user performs an operation to select a calculation setting or an operation to reset all calculation settings of the information processing device 1 to the factory default settings, the control unit 160 resets the calculation setting save completion flag to "0" and stores it in the storage unit 150. This process makes it possible to display a message prompting the user to select a calculation setting again. Note that the calculation setting save completion flag includes a first calculation setting save completion flag F_CSDONE1 related to a formula including an omitted multiplication, and a second calculation setting save completion flag F_CSDONE2 related to a formula including a trigonometric function.
[0074] 10 is a flowchart of the arithmetic program setting process executed by the control unit 160 of the information processing device 1 according to embodiment 2. The arithmetic program setting process will be described with reference to the flowchart in FIG.
[0075] When the calculation program setting process is started, the control unit 160 performs syntax analysis of the formula input by the user via the input unit 120 and determines whether the formula includes an omitted multiplication (step S401). If the formula does not include an omitted multiplication (step S401: NO), the process proceeds to step S404.
[0076] If the formula includes a multiplication omission (step S401: YES), the control unit 160 judges whether the first calculation setting save completion flag F_CSDONE1 is "1", that is, whether the saving of the use calculation setting for the formula including the multiplication omission is completed (step S402). If the saving of the use calculation setting for the formula including the multiplication omission is completed (step S402: YES), the process proceeds to step S404.
[0077] On the other hand, if saving of the use operation settings for the formula including the omission of multiplication has not been completed (step S402: NO), the control unit 160 turns on the setting change selection flag (step S403), and proceeds to step S404.
[0078] In step S404, control unit 160 determines whether or not the input mathematical expression includes a trigonometric function. If the mathematical expression does not include a trigonometric function (step S404: NO), the process proceeds to step S407.
[0079] If the formula includes a trigonometric function (step S404: YES), the control unit 160 determines whether the second calculation setting save completion flag F_CSDONE2 is "1", that is, whether the saving of the use calculation setting for the formula including the trigonometric function is completed (step S405). If the saving of the use calculation setting for the formula including the trigonometric function is completed (step S405: YES), the process proceeds to step S407.
[0080] On the other hand, if saving of the use calculation settings for the mathematical expressions including trigonometric functions has not been completed (step S405: NO), the control unit 160 turns on the setting change selection flag (step S406), and proceeds to step S407.
[0081] The control unit 160 judges whether the setting change selection flag is on (step S407). If it is judged that the setting change selection flag is not on (step S407: NO), the calculation program setting process is terminated.
[0082] If it is determined that the setting change selection flag is on (step S407: YES), the control unit 160 performs calculations for the input formula using each calculation setting, as described above with reference to Figures 8 and 9, and displays the calculation settings and the calculation results on the display unit 130 (step S408).
[0083] After displaying the calculation settings and the calculation results on the display unit 130, the control unit 160 receives an input by the user to select the calculation settings via the input unit 120 (step S409).
[0084] When the control unit 160 receives an input for selecting the calculation setting, the control unit 160 causes the display unit 130 to display a message for confirming with the user whether or not the selected calculation setting may be saved as the calculation setting to be used (step S410).
[0085] When the display unit 130 displays a message for confirming whether or not to save the used calculation settings, the control unit 160 accepts an input by the user permitting the saving of the used calculation settings via the input unit 120, and judges whether or not the saving of the used calculation settings is permitted by the user (step S411). If not permitted (step S411: NO), the process returns to step S408.
[0086] If saving of the used calculation setting is permitted (step S411: YES), the control unit 160 stores the selected calculation setting in the memory unit 150 as the used calculation setting (step S412), and sets the first and second calculation setting saving completion flags F_CSDONE1, F_CSDONE2 corresponding to the used calculation setting for which saving was permitted in step S411 to “1” and stores them in the memory unit 150.
[0087] When the selected operation setting to be used is stored in the storage unit 150, the control unit 160 causes the display unit 130 to display the calculation results using the selected operation setting to be used (step S413), and ends the operation program setting process.
[0088] In steps S401 and S404, the control unit 160 determines whether the condition that the input data entered by the user is specific data related to a specific formula is satisfied, and in steps S402, S405, S407, and S411, the control unit 160 determines whether other specified conditions are satisfied.
[0089] With the above configuration and by executing the arithmetic program setting process, the information processing device 1 according to the second embodiment achieves the same effects as the information processing device 1 according to the first embodiment.
[0090] In the information processing device 1 of embodiment 2, when the input data related to the formula entered by the user is specific data, for example, data including omitted multiplication or trigonometric functions, and when there are multiple calculation results depending on the settings, the information processing device 1 queries the user by displaying the settings and the calculation results, and changes the settings according to the user's response and displays the calculation result. This makes it possible to prevent the presentation of a calculation result that the user does not want, and to present the calculation result that the user wants, even if the user is unaware of or not aware of the settings.
[0091] (Embodiment 3) Next, an information processing device 2 according to embodiment 3 will be described with reference to the drawings. The information processing device 2 according to embodiment 2 communicates with a terminal 3, receives an answer to a question expressed by a mathematical formula from a user, grades the inputted answer by the user, and returns the graded result to the terminal 3.
[0092] 11 is a block diagram showing a configuration of an information processing device 2 according to embodiment 3. As shown in FIG. 11, the information processing device 2 includes a power supply unit 240, a storage unit 250, a control unit (processing unit) 260, and a communication unit 270.
[0093] The power supply unit 240 supplies power to the storage unit 250, the control unit 260, and the communication unit 270. The power supply unit 240 may include, for example, a primary battery, a secondary battery, or a connector connected to an external power source, but is not limited to these.
[0094] The storage unit 250 is a storage medium that stores the program executed by the control unit 260 or data used in the program, answer text data including the user's answer to the problem expressed by a mathematical formula, correct answer data including the correct answer to the problem, evaluation data evaluating the user's answer, a calculation program for generating this evaluation data, and setting data including calculation settings related to the calculation program. The storage unit 250 may include, for example, a ROM and a RAM, but is not limited to these.
[0095] The control unit 260 executes the programs stored in the storage unit 250 to control the entire information processing device 2, and also executes an evaluation process for evaluating an answer by a user and a calculation program setting process for changing calculation settings. The control unit 260 may include, for example, a CPU, but is not limited to this.
[0096] The communication unit 270 communicates with the terminal 3, and transmits and receives answer text data, evaluation data, setting data, and instruction data. The communication unit 270 communicates with the terminal 3 via a network including, but not limited to, the Internet.
[0097] Fig. 12 is a block diagram showing the configuration of terminal 3 according to embodiment 3. As shown in Fig. 12, terminal 3 includes terminal input unit 320, terminal display unit 330, terminal power supply unit 340, terminal storage unit 350, terminal control unit (terminal processing unit) 360, terminal communication unit 370, and image reading unit 380.
[0098] The terminal input unit 320 is a user interface that, when operated by a user, outputs a signal indicating that the operation has been performed to the terminal control unit 360. The terminal input unit 320 includes, for example, a keyboard, a touch pad, and a touch panel, but is not limited to these.
[0099] The terminal display unit 330 displays the answers input to the terminal 3 and the evaluation results of the answers transmitted from the information processing device 2. The terminal display unit 330 includes, for example, a liquid crystal display, but is not limited to this.
[0100] Terminal power supply unit 340 supplies power to terminal input unit 320, terminal display unit 330, terminal storage unit 350, terminal control unit 360, terminal communication unit 370, and image reading unit 380. Terminal power supply unit 340 may include, for example, a primary battery, a secondary battery, or a connector connected to an external power source, but is not limited to these.
[0101] The terminal storage unit 350 is a storage medium that stores a program executed by the terminal control unit 360, data used in the program, image data of answers to questions expressed in mathematical expressions, and text data. The terminal storage unit 350 may include, for example, a ROM and a RAM, but is not limited to these.
[0102] The terminal control unit 360 executes a program stored in the terminal storage unit 350 to control the entire information processing device 2, and also performs image processing to convert image data of the user's answer into text data. The terminal control unit 360 may include, for example, a CPU, but is not limited to this.
[0103] The terminal communication unit 370 communicates with the information processing device 2, and transmits and receives answer text data, evaluation data, setting data, and instruction data. The terminal communication unit 370 communicates with the information processing device 2 via a network including, for example, the Internet, but is not limited to this.
[0104] The image reading unit 380 reads the answer as image data, and transmits the read image data to the terminal control unit 360. The image reading unit 380 may include, for example, a camera and an image scanner, but is not limited to these.
[0105] The calculation program setting process executed by the control unit 260 will be described. Fig. 13 is a diagram showing the answers of each solver displayed on the terminal display unit 330 of the terminal 3. As shown in Fig. 13, an example will be described in which solvers A, B, C, D, and E have answered "1.0", "1.00", "1.000", "1.0000", and "1.0000", respectively.
[0106] The terminal control unit 360 of the terminal 3 performs character recognition processing on the image data transmitted from the image reading unit 380 to convert the image data into text data, and stores information identifying the solver and the answers for each question in the terminal memory unit 350.
[0107] The terminal control unit 360 transmits the text data of the answer and instruction data requesting a correct / incorrect decision on the answer, i.e., an evaluation, to the information processing device 2 via the terminal communication unit 370. This instruction data includes question data representing the question answered by the user. As described above, this question is expressed by a mathematical formula.
[0108] When the control unit 260 of the information processing device 2 receives the answer text data and the instruction data requesting evaluation from the terminal 3 via the communication unit 270, the control unit 260 performs an evaluation process in which the control unit 260 calculates the problem (mathematical formula) represented by the problem data included in the instruction data using the calculation program stored in the storage unit 250 to derive correct answer data representing the correct answer to the problem represented by the mathematical formula, compares the correct answer represented by the derived correct answer data with the answer represented by the answer text data, and judges whether the answer is correct or not, and evaluates it. Specifically, the control unit 260 generates evaluation data by judging whether the answer is correct or not based on the comparison result between the answer represented by the answer text data and the correct answer represented by the correct answer data. The correct answer data before the user changes the calculation settings corresponds to the provisional calculation result data.
[0109] The control unit 260 performs syntax analysis on the correct answer data, which is the calculation result, and judges whether the calculation result includes a decimal point or not. If a decimal point is not included, the calculation program setting process ends.
[0110] After determining whether the user's answer is correct and evaluating it, the control unit 260 transmits evaluation data indicating the evaluation result to the terminal 3 via the communication unit 270.
[0111] When the terminal control unit 360 of the terminal 3 receives the evaluation data, it causes the terminal display unit 330 to display the evaluation result based on the evaluation data. FIG. 14 is a diagram showing the answers and correct / incorrect judgments for each solver displayed on the terminal display unit 330. As shown in FIG. 14, the evaluation data evaluates all of the answers "1.0", "1.00", "1.000", "1.0000", and "1.0000" of solvers A, B, C, D, and E as correct answers. That is, the correct answers represented by the correct answer data in this case are "1.0", "1.00", "1.000", "1.0000", and "1.0000".
[0112] With the answer and correct / incorrect answer for each solver displayed on the terminal display unit 330, the user operates the terminal input unit 320 to input the answer for which the correct / incorrect answer is to be changed and the changed correct / incorrect answer as edited calculation result data, i.e., edited correct answer data indicating the correct answer or incorrect answer of the question input by the user. The terminal input unit 320 transmits the input edited calculation result data to the terminal control unit 360, and the terminal control unit 360 controls the terminal display unit 330 to display the edited calculation result data on the display unit 130.
[0113] Fig. 15 is a diagram showing the answers and edited correct / incorrect answers displayed on the terminal display unit 330. As shown in Fig. 15, in this example, the user inputs "1.000" and "1.0000" as answers for which the correct / incorrect answers are to be edited, and "incorrect" as the edited correct / incorrect answer, and the terminal control unit 360 controls the terminal display unit 330 to display the edited calculation result data input by the user.
[0114] The terminal control unit 360 transmits, via the terminal communication unit 370, to the information processing device 2, instruction data requesting a change in the settings, text data of the answer for which correctness or incorrectness is to be changed, and the evaluation data for which correctness or incorrectness has been changed.
[0115] The control unit 260 of the information processing device 2 determines whether or not it has received instruction data requesting a change in settings, text data of the answer for which correctness or incorrectness is to be changed, and evaluation data for which correctness or incorrectness has been changed as edited calculation result data from the terminal 3 via the communication unit 270.
[0116] The control unit 260 receives and acquires the edit computation result data input by the user from the terminal 3.
[0117] When the control unit 260 receives and acquires the edited calculation result data from the terminal 3, it performs syntax analysis of the answers, calculates the number of digits of 0 padding for each answer, and based on the calculation result, modifies (changes) the calculation program that calculates the mathematical problem represented by a mathematical formula so that the number of digits of 0 padding of the correct answer represented by the correct answer data matches the number of digits of 0 padding of the answer input by the user as the correct answer.
[0118] The control unit 260 calculates the minimum digit n of the 0 padding of an incorrect answer, and modifies the calculation program so that data including 0 padding of n or more digits in the decimal part is regarded as an incorrect answer. In this example, n=3 because "1.000" is an incorrect answer.
[0119] The control unit 260 calculates the maximum digit m of the 0 padding of the correct answer, and modifies the calculation program so that the data including 0 padding of m or less digits in the decimal part is the correct answer. In this example, since "1.00" is the correct answer, m=2.
[0120] The control unit 260 performs recalculation according to a calculation program with calculation settings that treat zero padding of n or more as an incorrect answer and zero padding of m or less as a correct answer, and judges whether the recalculation result matches the edit calculation result represented by the edit calculation result data acquired from the terminal 3. Specifically, the control unit 260 executes an evaluation process based on the correct answer data created by executing the corrected calculation program, and judges whether the evaluation result matches the changed correct answer included in the edit calculation result data for which the correct answer included in the edit calculation result data is to be changed. If the result of the recalculation does not match the edit calculation result represented by the edit calculation result data acquired from the terminal 3, the control unit 260 transmits data indicating an error to the terminal 3 via the communication unit 270.
[0121] When it is determined that the result of the recalculation matches the edited calculation result represented by the edited calculation result data, the control unit 260 transmits data to the terminal 3 via the communication unit 270 requesting the user to confirm whether or not it is OK to change the calculation settings to the calculation settings used in the recalculation.
[0122] When the control unit 360 of the terminal 3 receives data via the terminal communication unit 370 requesting the user to confirm whether or not it is OK to change the calculation settings used for the recalculation, it causes the display unit 330 to display a message prompting the user to confirm whether or not it is OK to change the calculation settings.
[0123] In response to a display displayed on the display unit 330, which asks whether it is OK to change the calculation settings to be used, the user operates the input unit 320 to input whether or not to permit the change of the calculation settings.
[0124] When the user inputs permission to change the calculation settings, the control unit 330 transmits data permitting the change of the calculation settings to the information processing device 2 via the terminal communication unit 370.
[0125] When the control unit 260 of the information processing device 2 receives the data permitting the change of the calculation settings via the communication unit 270, it changes the calculation settings and causes the storage unit 250 to store the fact that the calculation settings have been changed.
[0126] The control unit 260 modifies the calculation program based on the edited calculation result data input by the user and received from the terminal 3 so as to change the zero padding of the decimal part of the correct answer data.
[0127] When a calculation program in which zero padding of n or more is an incorrect answer and zero padding of m or less is a correct answer is stored in the memory unit 250, the control unit 260 transmits data indicating that the calculation program has been corrected to the terminal 3 via the communication unit 270.
[0128] When the terminal control unit 360 of the terminal 3 receives data indicating that the calculation program has been modified via the terminal communication unit 370, it causes the terminal display unit 330 to display a message indicating that the settings have been changed.
[0129] When the evaluation process is executed again with the calculation program corrected, the control unit 260 outputs evaluation data different from the provisional calculation result. Fig. 16 is a diagram showing the answers of each solver displayed on the terminal display unit 330 and the correctness judgment after the setting change. As shown in Fig. 16, after the setting change, the control unit 260 judges the answers of solvers A and B with 1 or 2 digits of zero padding in the decimal part to be correct, and judges the answers of solvers C, D, and E with 3 or 4 digits of zero padding in the decimal part to be incorrect.
[0130] 17 is a flowchart of the arithmetic program setting process executed by the control unit 260 of the information processing device 2 according to embodiment 3. The arithmetic program setting process will be described with reference to the flowchart in FIG.
[0131] When the calculation program setting process is started, the control unit 260 calculates a mathematical problem represented by a mathematical formula input by the user according to the calculation program, and obtains a calculation result (correct answer data) according to the calculation program (step S201).
[0132] When the calculation result is acquired, the control unit 260 performs syntax analysis of the calculation result and determines whether the calculation result includes a decimal point (step S202). If the calculation result does not include a decimal point (step S202: NO), the calculation program setting process ends.
[0133] If the calculation result includes a decimal point (step S202: YES), the control unit 160 determines whether or not the user has requested editing of the calculation result (step S202A). If not (step S202A: NO), the calculation program setting process ends.
[0134] When a request for editing the calculation result is made by the user (step S202A: YES), the control unit 260 acquires edited calculation result data from the terminal 3 via the communication unit 270 (step S203).
[0135] When the edited calculation result data is acquired, the control unit 260 judges whether the calculation result by the calculation program matches the edited calculation result represented by the edited calculation result data (step S204). Specifically, the control unit 260 executes an evaluation process based on the correct answer data created by executing the calculation program, and judges whether the evaluation result matches the changed correct answer included in the edited calculation result data for the answer for which the correct answer included in the edited calculation result data is to be changed. If the calculation result matches the edited value (step S204: YES), the calculation program setting process ends.
[0136] If the calculation result and the edited value do not match (step S204: NO), the control unit 260 changes the calculation settings of the calculation program and performs recalculation (step S205). Specifically, the control unit 260 calculates the number of digits of 0 padding for each answer, and based on the calculation result, corrects (changes) the calculation program that calculates the mathematical problem represented by a mathematical formula so that the number of digits of 0 padding of the correct answer represented by the correct answer data matches the number of digits of 0 padding of the answer input by the user as the correct answer, and executes the calculation program to perform recalculation.
[0137] When the recalculation is performed, the control unit 260 judges whether the recalculation result matches the edited calculation result represented by the edited calculation result data (step S206). Specifically, the control unit 260 executes an evaluation process based on the correct answer data created by executing the corrected calculation program, and judges whether the evaluation result matches the changed correct answer included in the edited calculation result data for the answer for which the correct answer included in the edited calculation result data is to be changed.
[0138] If the recalculation result does not match the edit calculation result represented by the edit calculation result data (step S206: NO), the control unit 260 transmits data indicating an error to the terminal 3 via the communication unit 270 (step S207) and terminates the calculation program setting process.
[0139] If the recalculation result matches the edited calculation result represented by the edited calculation result data (step S206: YES), the control unit 260 sets the calculation settings used in the recalculation as candidates for changing the calculation settings of the calculation program, and sends data to the user to confirm the change of the calculation settings of the calculation program (step S208).
[0140] When the data for confirming whether or not it is OK to change the calculation settings of the calculation program is transmitted, the control unit 260 judges whether or not permission to change the calculation settings of the calculation program has been received from the terminal 3 (step S209).
[0141] When permission to change the calculation settings of the calculation program is not received (step S209: NO), the control unit 160 executes the above step S207 and ends the calculation program setting process.
[0142] If permission to change the calculation settings of the calculation program is received (step S209: YES), the control unit 260 confirms the change to the calculation settings of the calculation program, stores the change to the calculation settings of the calculation program in the memory unit 250 (step S210), and terminates the calculation program setting process.
[0143] The control unit 260 determines whether or not the calculation program should be modified in steps S202A, S204, S206, and S209.
[0144] With the above configuration, the information processing device 2 according to the third embodiment can easily obtain the calculation result that the subject intends by executing the calculation program setting process.
[0145] In the case of automatic scoring, if an answer that the user wants to be correct is judged to be incorrect, or an answer that the user wants to be incorrect is judged to be correct, and the cause is due to the settings of the automatic scoring, it is difficult and cumbersome to find the setting that is different from the user's assumption from among many settings and change the setting. According to the information processing device 2 according to the third embodiment, the user can change the setting of the information processing device 2 by performing an intuitive operation of editing the calculation result derived by the information processing device 2.
[0146] The information processing device 2 of embodiment 3 can obtain the calculation result intended by the user by modifying the calculation program to change the number of digits of zero padding in the decimal part of the correct answer data based on the edited calculation result data obtained by analyzing the answer edited by the user and the provisional calculation result data.
[0147] In the third embodiment, correct answer data is obtained as provisional calculation result data in the present invention by calculating a mathematical problem represented by a mathematical formula using a calculation program, but instead of this, for example, provisional calculation result data may be obtained as follows: That is, as provisional calculation result data, multiple correct answer candidate data, which are correct answer data for a problem represented by a mathematical formula and have different numbers of decimal 0 padding digits, are stored in a storage medium such as a ROM in advance in correspondence with the problem represented by the mathematical formula, and at least one of the stored correct answer candidate data may be read out from the storage medium as provisional calculation result data.
[0148] In this case, the calculation program is modified so that, among the plurality of candidate data stored as described above, the candidate data containing zero padding in the decimals with the same number of digits as the number of digits of the zero padding in the decimals in the answer included in the edited calculation result data by the user is read as the correct answer data. That is, the calculation program in this case is a calculation program for reading any one of the plurality of correct answer candidate data as the correct answer data. Such a variation of the invention is useful when the calculation program is configured to evaluate the answer by the user based on the correct answer data.
[0149] In the third embodiment, the control unit 260 has been described as acquiring an editing calculation result based on a user's input of correct or incorrect to the terminal 3, but this is not limited to the above. Editing calculation result data generated in advance according to a learning guideline (for example, a curriculum guideline set by an organization such as the Ministry of Education, Culture, Sports, Science and Technology) may be stored in the storage unit 250, and the control unit 260 may acquire the editing calculation result data stored in the storage unit 250 based on an input by the user. Alternatively, the above-mentioned editing calculation result data may be acquired from a server based on an input by the user.
[0150] (Embodiment 4) The information processing device 2 according to the fourth embodiment will be described with reference to the drawings. The configuration of the information processing device 2 according to the fourth embodiment is similar to that of the information processing device 2 according to the third embodiment (see FIG. 11).
[0151] A terminal 3 that communicates with the information processing device 2 according to the fourth embodiment receives the correct answer data for each question, the score for each question, and marking setting data including marking settings used for marking, and answer data including answers to be marked. The marking setting here refers to a setting for determining which answer is to be determined as a correct answer in relation to the correct answer data and the answer data.
[0152] The terminal control unit 360 of the terminal 3 causes the terminal display unit 330 to display a display prompting the user to input scoring setting data and answer data, a display showing the data names of the input scoring setting data and answer data, and a display instructing the user to start scoring.
[0153] Fig. 18 is a diagram showing the scoring setting data and answer data input screen displayed on the terminal display unit 330 of the terminal 3. In the example of Fig. 18, "XX mock exam 2021 high school first year.json" is displayed as the scoring setting data, and "XX mock exam 2021 high school first year.csv" is displayed as the answer data by the user, with a "Select" button for the user to select these data and a "Start grading" button for the user to instruct the information processing device 2 to start grading.
[0154] The terminal control unit 360 transmits the score setting data and answer data selected by the user to the information processing device 2 via the terminal communication unit 370.
[0155] The control unit 260 of the information processing device 2 performs syntax analysis of the received marking setting data and answer data, and determines whether there is a problem in which the judgment of whether the answer is correct or incorrect changes depending on the marking setting data. For example, it determines whether there is a mathematical problem in which the answer may contain zero padding after the decimal point and the answer is correct or incorrect depending on the number of digits of the zero padding, and whether there is a mathematical problem in which the answer is correct or incorrect depending on whether degrees, radians, or grads are used as the unit of angle. In this case, based on the result of the syntax analysis of the marking setting data and the answer data, the control unit 260 determines whether the marking setting data is marking data related to the marking setting of a mathematical problem including zero padding in the answer and is first marking setting data in which the number of digits of the zero padding can be changed, and whether it is second marking setting data related to the marking setting of a mathematical problem including a trigonometric function and is capable of changing which of degrees, radians, and grads is used as the unit of angle of the trigonometric function.
[0156] The control unit 260 transmits to the terminal 3 via the communication unit 270 an instruction to inquire of the user whether or not the score setting data needs to be corrected (changed) and the content of the change.
[0157] When the terminal control unit 360 of the terminal 3 receives an instruction from the information processing device 2 to inquire of the user whether or not the scoring setting data needs to be changed and what the changes should be, the terminal control unit 360 displays the scoring setting change screen shown in FIG. 19 on the terminal display unit 330, thereby causing the terminal display unit 330 to display candidates for changes to the scoring settings.
[0158] As shown in Fig. 19, the terminal display unit 330 displays a display for presenting to the user whether or not to change the zero padding setting in the scoring setting data, displays of "Allow all zero padding", "Allow zero padding up to one decimal place", and "Allow zero padding up to two decimal places" as candidates for changing the scoring setting data, check boxes for the user to select one of these change candidates, and a "Change" button for the user to request the information processing device 2 to change the scoring setting data with the selected change candidate. Similarly, the terminal display unit 330 displays a display for presenting to the user whether or not to change the angle setting in the scoring setting data, displays of "Degree method", "Radiant method", and "Grad" as candidates for changing the scoring setting data, check boxes for the user to select one of these change candidates, and a "Change" button for the user to request the information processing device 2 to change the scoring setting data with the selected change candidate.
[0159] The user selects and clicks one of the check boxes for multiple change candidates in the scoring setting data via the terminal input unit 320 and clicks the ``Change'' button, requesting the information processing device 2 to change the scoring setting data used for scoring with the change content selected in the check box.
[0160] The terminal control unit 330 includes change candidate data representing change candidates selected by the user in the scoring setting data as a response to a user inquiry regarding whether or not the scoring setting data needs to be changed, the content of the change, and the user's response, and transmits the data to the information processing device 2 via the terminal communication unit 370.
[0161] The control unit 260 of the information processing device 2 performs a scoring process based on the received scoring setting data and answer data, and transmits the scoring result data to the terminal 3 via the communication unit 270. In this scoring process, the control unit 260 compares the correct answer data and answer data included in the scoring setting data according to the scoring settings included in the scoring setting data received from the terminal 3, and performs scoring based on the comparison result. In this case, when change candidate data is included in the scoring setting data, the control unit 260 changes the scoring setting data based on the change candidate data, compares the correct answer data and answer data included in the scoring setting data according to the scoring settings included in the changed scoring setting data, and performs scoring based on the comparison result.
[0162] The control unit 260 performs a calculation process of comparing the correct answer data with the answer data and scoring based on the comparison result, and the program for performing this calculation process functions as a calculation program. In other words, changing the score setting data corresponds to setting the calculation program.
[0163] 20 is a flowchart of the arithmetic program setting process executed by the control unit 260 of the information processing device 2 according to embodiment 4. The arithmetic program setting process will be described with reference to the flowchart in FIG.
[0164] When the calculation program setting process is started, the control unit 260 performs syntax analysis of the score setting data and answer data transmitted from the terminal 3, and determines whether the answer in the answer data includes zero padding (step S501). If the answer does not include zero padding (step S501: NO), the process proceeds to step S504.
[0165] If the answer contains zero padding (step S501: YES), the control unit 260 judges whether the scoring setting data is the first scoring setting data described above (step S502). If the scoring setting data is not the first scoring setting data described above (step S502: NO), the process proceeds to step S504.
[0166] If the score setting data is the above-mentioned first score setting data (step S502: YES), the control unit 260 turns on the setting change selection flag (step S503), and proceeds to step S504.
[0167] The control unit 260 determines whether the answer in the answer data includes a trigonometric function (step S504). If the answer does not include a trigonometric function (step S504: NO), the process proceeds to step S507.
[0168] If the answer contains a trigonometric function (step S504: YES), the control unit 260 judges whether the score setting data is the second score setting data described above (step S505). If the score setting data is not the second score setting data described above (step S505: NO), the process proceeds to step S507.
[0169] If the scoring setting data is the above-mentioned second scoring setting data (step S505: YES), the control unit 260 turns on the setting change selection flag (step S506), and proceeds to step S507.
[0170] The control unit 260 judges whether the setting change selection flag is on (step S507). If it is judged that the setting change selection flag is not on (step S507: NO), the calculation program setting process is terminated.
[0171] If it is determined that the setting change selection flag is on (step S507: YES), the control unit 260 sends an instruction to the terminal 3 via the communication unit 270 to inquire of the user whether or not the scoring setting data needs to be corrected (changed) and what the change should be (step S508).
[0172] When the instruction to inquire of the user whether or not the score setting data needs to be changed and the content of the change is transmitted, the control unit 260 acquires the score setting data from the terminal 3 via the communication unit 270 (step S509).
[0173] When the scoring setting data is acquired, the control unit 260 judges whether or not the scoring setting data includes change candidate data (step S510). If it is judged that the change candidate data is not included (step S510: NO), the calculation program setting process is terminated.
[0174] When it is determined that the scoring setting data includes the change candidate data (step S510: YES), the control unit 260 changes the scoring setting data based on the change candidate data (step S511), and ends the calculation program setting process.
[0175] In steps S501, S502, S504, and S505, the control unit 260 determines whether the condition that the input data entered by the user is specific data related to a specific formula is satisfied, and in steps S507 and S510, the control unit 260 determines whether other specified conditions are satisfied.
[0176] With the above configuration and by executing the arithmetic program setting process, the information processing device 2 according to the fourth embodiment achieves the same effects as the information processing device 2 according to the third embodiment.
[0177] In the information processing device 2 of embodiment 4, when the input data related to the mathematical formula entered by the user is specific data, for example including trigonometric functions or decimals, and multiple scoring results exist depending on the scoring setting data, the information processing device 2 displays a setting change screen on the terminal 3 to query the user, and changes the settings according to the user's response to score the data. This makes it possible to prevent the provision of a scoring result that the user does not want, and to provide the scoring result that the user wants, even if the user is unaware that the scoring setting data can be changed.
[0178] Although it has been stated that terminal 3 receives the scoring setting data including the score for each question and the scoring settings used for scoring, this is not limited to the above. The storage unit 250 of information processing device 2 may store multiple scoring setting data, and terminal 3 may receive an input to select which scoring setting data to use. Terminal 3 may receive an input to request information processing device 2 to change the settings. In this case, only the answer data is parsed by information processing device 2.
[0179] Although the terminal control unit 330 of the terminal 3 includes change candidate data representing a change candidate selected by the user in the scoring setting data and transmits the data to the information processing device 2 via the terminal communication unit 370, this is not limited to the above. The terminal control unit 3 may change the scoring setting data based on the change candidate data and transmit the changed scoring setting data to the information processing device 2 via the terminal communication unit 370. In other words, the terminal 3 may be included in the information processing device 2 and function as a part of the information processing device 2.
[0180] (Modification) Although the embodiment of the present invention has been described above, this embodiment is merely an example, and the scope of application of the present invention is not limited to this. In other words, the embodiment of the present invention can be applied in various ways, and all embodiments are included in the scope of the present invention.
[0181] Although the information processing device 1 according to the first embodiment is a scientific calculator, the information processing device 1 is not limited to this and may be an electronic device including a personal computer or a smartphone.
[0182] The information processing device 1 according to the first embodiment is described as having a display unit 130 that performs visual display, but is not limited to this. It may also have a pronunciation unit that presents to the user by voice. The display unit 130 or the pronunciation unit functions as a presentation unit.
[0183] When an edited value is input, the control unit 160 of the information processing device 1 according to the first embodiment performs syntax analysis of the formula and determines whether the formula includes an omitted multiplication, but this is not limited to the above. The control unit 160 may determine whether the formula includes a trigonometric function. When the formula includes a trigonometric function, the control unit 160 changes the setting in the calculation program setting process to set the angle unit to one of degrees, radians, or grads.
[0184] 21 is a flowchart of the calculation program setting process executed by the control unit 160 of the information processing device 1 according to the modified example. The calculation program setting process will be described with reference to the flowchart of FIG.
[0185] When the calculation program setting process is started, the control unit 160 performs syntax analysis of the formula input by the user via the input unit 120, and determines whether the formula includes a trigonometric function (step S301). If the formula does not include a trigonometric function (step S301: NO), the calculation program setting process ends.
[0186] If the formula includes a trigonometric function (step S301: YES), the control unit 160 calculates the formula according to a calculation program, and obtains the calculation result by the calculation program (step S302).
[0187] When the calculation result by the calculation program is acquired, it is determined whether or not a request for editing the calculation result has been made by the user (step S302A). If not (step S302A: NO), the calculation program setting process ends.
[0188] When a request for editing the calculation result is made by the user (step S302A: YES), control unit 160 acquires the edited value of the calculation result of the mathematical expression input by the user via input unit 120 (step S303).
[0189] When the edited value of the calculation result is acquired, the control unit 160 judges whether the calculation result by the calculation program matches the edited value (step S304). If the calculation result matches the edited value (step S304: YES), the calculation program setting process ends.
[0190] If the calculation result and the edited value do not match (step S304: NO), the control unit 160 changes the calculation setting of the calculation program regarding omission of multiplication, and performs the calculation again (step S305).
[0191] After performing the recalculation, the control unit 160 determines whether the recalculation result matches the edited value input by the user (step S306).
[0192] If the recalculation result does not match the edited value (step S306: NO), the control unit 160 causes the display unit 130 to display a message indicating an error (step S307), and ends the calculation program setting process.
[0193] If the recalculation result matches the edited value (step S306: YES), the control unit 160 sets the calculation settings used in the recalculation as candidates for changing the calculation settings of the calculation program, and causes the display unit 130 to display a message prompting the user to change the calculation settings of the calculation program (step S308).
[0194] When the display unit 130 displays a message for confirming whether or not it is OK to change the calculation settings of the calculation program, the control unit 160 judges whether or not the user has input permission to change the calculation settings of the calculation program (step S309).
[0195] When the user does not input permission to change the calculation settings of the calculation program (step S309: NO), the control unit 160 executes the above step S307 and ends the calculation program setting process.
[0196] If permission to change the calculation settings of the calculation program is input (step S309: YES), the control unit 160 confirms the change to the calculation settings of the calculation program, stores the change in the calculation settings of the calculation program in the memory unit 150 (step S310), and terminates the calculation program setting process.
[0197] In this modification, the control unit 160 determines whether or not the calculation program should be modified in steps S302A, S304, S306, and S309.
[0198] With the above configuration and by executing the calculation program setting process, the information processing device 1 according to the modified example can easily obtain the calculation result that the subject intends.
[0199] In addition, when a formula contains trigonometric functions, the information processing device 1 according to the modified example modifies the calculation program to use degrees, radians, or grads as the unit of angle, thereby making it possible to easily modify calculation programs relating to trigonometric functions that are likely to produce calculation results that are not intended by the user, and also to prevent modifications to the calculation program that are not desired by the user.
[0200] In the first embodiment, the control unit 160 judges whether or not the calculation program should be modified in steps S102A, S104, S106, and S109, but it is not necessary to execute all of these steps and they may be omitted as appropriate. This also applies to steps S401, S402, S404, S405, and S407 in the second embodiment, steps S202A, S204, S206, and S209 in the third embodiment, steps S501, S502, S504, S505, S507, and S510 in the fourth embodiment, and steps S302A, S304, S306, and S309 in the modified example.
[0201] In the third embodiment, the information processing device 2 has been described as accepting an input of an answer that the user wishes to change and the changed answer regarding zero padding after the decimal point, and changing the calculation program according to the input, but this is not limited to this. Regarding the unit of an angle in a trigonometric function, the information processing device 2 may accept an input of an answer that the user wishes to change and the changed answer, and change the calculation program according to the input.
[0202] For example, as shown in FIG. 15, an answer including zero padding after the decimal point is input to terminal 3 by a user as the answer for which the user wishes to edit the accuracy, but this is not limited to this, and an answer including angles or trigonometric functions may also be input as the answer for which the user wishes to edit the accuracy.
[0203] In this example, when the control unit 260 receives and acquires edited calculation result data including angles or trigonometric functions from the terminal 3, it changes the unit of angle so that the answer that the user considered to be correct (or incorrect) becomes the correct answer (or incorrect answer). Methods for the control unit 260 to change the unit of angle include a method of performing calculations while changing the unit of angle until the answer that the user considered to be correct appears, and a method of estimating the unit of angle using an inverse trigonometric function and changing it to the estimated unit of angle, but are not limited to these, and any method can be used.
[0204] In the third embodiment, the user operates the terminal input unit 320 to input the answer for which the correctness or incorrectness is to be changed and the changed correctness or incorrectness as edited calculation result data, and the information processing device 2 changes the correctness or incorrectness determination based on the zero padding. However, this is not limited to this. It is also possible to change only the number of digits of the zero padding displayed as the answer without changing the correctness or incorrectness determination.
[0205] Similarly, in the fourth embodiment, the information processing device 2 changes the score setting data based on the change candidate data, but this is not limited to this. It is also possible to change only the number of digits of zero padding displayed on the screen without changing the score setting data.
[0206] In the fourth embodiment, the control unit 260 of the information processing device 2 transmits an instruction to the terminal 3 via the communication unit 270 to inquire of the user whether or not the scoring setting data needs to be changed and the content of the change, and the terminal 3 includes change candidate data representing change candidates selected by the user in the scoring setting data and transmits it to the information processing device 2 via the terminal communication unit 370, but this is not limited to the above. The information processing device 2 may directly inquire of the user whether or not the scoring setting data needs to be changed and the content of the change using a device that notifies the user, or may directly accept an answer from the user using a device that accepts input from the user.
[0207] In the second and fourth embodiments, the control unit 260 of the information processing device 2 executes a program for evaluating an answer by determining whether the answer is correct or not based on the number of digits of zero padding after the decimal point of the answer, but this is not limited to the above. The control unit 260 may evaluate an answer by determining whether the answer is correct or not based on the unit of angle. For example, a program for evaluating an answer may be executed such that an answer of 90° is determined to be correct and an answer of π / 2 rad is determined to be incorrect.
[0208] In the first to fourth embodiments and the modified examples, the information processing device 1 or the information processing device 2 changes the setting of the unit of angle in the trigonometric functions to one of degrees, radians, and grads, but this is not limited to this. The calculation program may be modified so that the unit of angle in the trigonometric functions is changed to one of a plurality of different units, not limited to degrees, radians, and grads.
[0209] In the third and fourth embodiments and the modified examples, "grading" does not only mean giving a specific number of points to a correct answer, but also includes giving an answer a grade of several levels, such as A, B, or C.
[0210] The information processing devices 1 and 2 according to the first to fourth embodiments and the modified examples may be implemented in any combination.
[0211] In addition, it is possible to provide an information processing device that is equipped with a configuration for realizing the functions of the present invention, and by applying a program, an existing information processing device can function as the information processing device of the present invention. That is, by applying a program for realizing the functions of the information processing device exemplified in the embodiment and the modification so that a CPU or the like that controls the existing information processing device can be executed, the information processing device can function as the information processing device of the present invention. In addition, the information processing method of the present invention can be implemented using the information processing device.
[0212] Moreover, the method of applying such a program is arbitrary. For example, the program can be applied by storing it in a computer-readable storage medium such as a flexible disk, a CD (Compact Disc)-ROM, a DVD (Digital Versatile Disc)-ROM, or a memory card. Furthermore, the program can be superimposed on a carrier wave and applied via a communication medium such as the Internet. For example, the program can be posted and distributed on a bulletin board (BBS: Bulletin Board System) on a communication network. Then, the program can be started and executed under the control of an OS (Operating System) in the same way as other application programs, thereby enabling the above processing to be performed.
[0213] Although the preferred embodiment of the present invention has been described above, the present invention is not limited to the specific embodiment, and the present invention includes the inventions described in the claims and their equivalents. The inventions described in the original claims of this application are described below.
[0214] (Additional Note) (Appendix 1) A processing section; A storage unit that stores a calculation program executed by the processing unit, The processing unit includes: obtaining edited calculation result data which is data representing a calculation result of a mathematical formula based on an input by the subject; determining whether or not the calculation program based on the formula stored in the storage unit should be changed; when it is determined that the arithmetic program should be changed, changing the arithmetic program based on the acquired edited arithmetic result data; Information processing device.
[0215] (Appendix 2) a calculation result of the mathematical expression derived by executing the calculation program modified by the processing unit coincides with the calculation result represented by the edited calculation result data; 2. An information processing device according to claim 1.
[0216] (Appendix 3) when the formula includes an omitted multiplication sign and the processing unit determines that the arithmetic program should be changed, the processing unit changes the arithmetic program to switch whether or not a priority of multiplication in which the multiplication sign is omitted in the formula is given higher priority than multiplication and division in which the multiplication sign is not omitted. 3. The information processing device according to claim 1 or 2.
[0217] (Appendix 4) When a calculation result of the formula includes a decimal and the processing unit determines that the calculation program should be changed, the processing unit changes the calculation program so that a number of 0 padding digits after the decimal point of the decimal in the calculation result of the formula derived by executing the calculation program is changed. 4. An information processing device according to any one of claims 1 to 3.
[0218] (Appendix 5) the calculation program includes a program for calculating correct answer data for determining whether an answer by a solver of a mathematical problem represented by the mathematical formula is correct or incorrect according to the number of digits of zero padding after the decimal point included in the answer by the solver of the mathematical problem represented by the mathematical formula, The edited calculation result data is edited answer data representing a correct answer or an incorrect answer to the mathematical problem input by the subject, The processing unit changes the calculation program based on the edited correct answer data so that the number of digits of zero padding after the decimal point of the decimal in the correct answer data is changed. 5. The information processing device according to claim 4.
[0219] (Appendix 6) when the mathematical formula includes a trigonometric function and the processing unit determines that the calculation program should be changed, the processing unit changes the calculation program so that a unit of angle in the trigonometric function is changed to one of a plurality of units different from each other. 5. An information processing device according to any one of claims 1 to 4.
[0220] (Appendix 7) the calculation program includes a program for calculating correct answer data for determining whether an answer by a solver of a mathematical problem represented by the mathematical formula is correct or incorrect according to a unit of an angle in the trigonometric function included in the answer, The edited calculation result data is edited answer data representing a correct answer or an incorrect answer to the mathematical problem input by the subject, The processing unit changes the calculation program based on the edited correct answer data so that the unit of angle in the correct answer data is changed. 7. The information processing device according to claim 6.
[0221] (Appendix 8) a presentation unit that presents provisional calculation result data that is data representing a calculation result of the mathematical expression derived by executing the calculation program that has not been changed by the processing unit; an input unit that accepts an operation by the subject to input the edited calculation result data, The processing unit acquires the edit computation result data input to the input unit. 8. An information processing device according to any one of claims 1 to 7.
[0222] (Appendix 9) determining whether or not a predetermined condition is satisfied, the condition including a condition that the input data input by the subject is specific data relating to a specific mathematical formula; When it is determined that the predetermined condition is satisfied, an inquiry is made to the subject regarding a change to a calculation program related to the formula; accepting a response from the subject to the inquiry; changing the calculation program in response to the received answer from the subject; A processing unit is provided. Information processing device.
[0223] (Appendix 10) The formula is a formula in which the multiplication sign is omitted, The processing unit includes: when it is determined that the predetermined condition is satisfied, the inquiry is made to the subject as to whether or not a multiplication in which the multiplication sign is omitted in the mathematical formula is given priority over a multiplication and division in which the multiplication sign is not omitted; accepting a response from the subject to the inquiry; modifying the arithmetic program so as to switch whether or not a priority is given to a multiplication in which a multiplication sign is omitted in the formula over a multiplication or division in which a multiplication sign is not omitted, depending on the answer received from the subject; 10. The information processing device according to claim 9.
[0224] (Appendix 11) The formula includes trigonometric functions, The processing unit includes: when it is determined that the predetermined condition is satisfied, the inquiry is made to the subject as to which of a plurality of different units is to be used in the calculation program as a unit of angle in the trigonometric function; accepting a response from the subject to the inquiry; modifying the calculation program so that the unit of angle in the trigonometric function is changed to one of the plurality of units in accordance with the answer received from the subject; 11. The information processing device according to claim 9 or 10.
[0225] (Appendix 12) The calculation program includes a program for evaluating an answer by a solver of a mathematical problem represented by the mathematical formula according to an angle unit of the trigonometric function included in the answer, 12. The information processing device according to claim 11.
[0226] (Appendix 13) The result of the above formula may include zero padding after the decimal point. The processing unit includes: When it is determined that the predetermined condition is satisfied, the subject is inquired about the number of 0 padding digits after the decimal point; accepting a response from the subject to the inquiry; modifying the calculation program in accordance with the answer received from the subject, thereby changing the number of 0 padding digits after the decimal point in the calculation result of the formula derived by executing the calculation program; 12. An information processing device according to any one of claims 9 to 11.
[0227] (Appendix 14) The calculation program includes a program for deriving an evaluation result of the answer by a solver of the mathematical problem represented by the mathematical formula according to the number of digits of zero padding after the decimal point included in the answer, as a calculation result of the mathematical formula and the answer, Modifying the calculation program so that an evaluation result of the answer having a specific number of digits of 0 padding is changed according to the answer received from the subject. 14. The information processing device according to claim 13.
[0228] (Appendix 15) obtaining edited calculation result data which is data representing a result of calculation of a formula based on an input by the subject; determining whether or not a calculation program based on the formula should be changed; when it is determined that the arithmetic program should be changed, changing the arithmetic program based on the acquired edited arithmetic result data; Information processing methods.
[0229] (Appendix 16) On the computer, obtaining edited calculation result data which is data representing a result of calculation of a mathematical formula based on an input by the subject; determining whether or not a calculation program based on the formula should be changed; when it is determined that the arithmetic program should be changed, changing the arithmetic program based on the acquired edited arithmetic result data; program.
[0230] (Appendix 17) determining whether or not a predetermined condition is satisfied, the condition including a condition that the input data input by the subject is specific data relating to a specific mathematical formula; When it is determined that the predetermined condition is satisfied, an inquiry is made to the subject regarding a change to a calculation program related to the formula; accepting a response from the subject to the inquiry; changing the calculation program in response to the received answer from the subject; Information processing methods.
[0231] (Appendix 18) On the computer, determining whether or not a predetermined condition is satisfied, the condition including a condition that the input data input by the subject is specific data related to a specific mathematical formula; when it is determined that the predetermined condition is satisfied, having the subject inquire about a change to a calculation program related to the formula; Accepting a response from the subject to the inquiry; changing the calculation program in response to the received answer from the subject; program. [Explanation of symbols]
[0232] 1, 2... information processing device, 3... terminal, 110... case, 120... input unit, 130, 230... display unit, 140, 240... power supply unit, 150, 250... storage unit, 160, 260... control unit (processing unit), 270... communication unit, 320... terminal input unit, 330... terminal display unit, 340... terminal power supply unit, 350... terminal storage unit, 360... terminal control unit (terminal processing unit), 370... terminal communication unit, 380... image reading unit
Claims
1. When a mathematical expression including a trigonometric function is input by a subject, the subject is asked which of a plurality of different units should be used as a unit of angle in the trigonometric function in a calculation program related to the mathematical expression; modifying the calculation program so that the unit of angle in the trigonometric function is changed to one of the plurality of units in response to the answer of the subject to the inquiry; A processing unit is provided. Information processing device.
2. The calculation program includes a program for evaluating an answer by a solver of a mathematical problem represented by the mathematical formula according to an angle unit of the trigonometric function included in the answer, The information processing device according to claim 1 .
3. When a subject inputs a formula whose result includes zero padding after the decimal point, the subject is inquired about the number of zero padding digits after the decimal point, changing a calculation program related to the formula in response to the answer of the subject to the inquiry, thereby changing the number of zero padding digits after the decimal point in a calculation result of the formula derived by executing the calculation program; A processing unit is provided. Information processing device.
4. The calculation program includes a program for deriving an evaluation result of the answer by a solver of the mathematical problem represented by the mathematical formula according to the number of digits of zero padding after the decimal point included in the answer, as a calculation result of the mathematical formula and the answer, modifying the calculation program so that an evaluation result of the answer having a specific number of digits of zero padding is changed according to the answer received from the subject; The information processing device according to claim 3 .
5. An apparatus comprising: When a mathematical expression including a trigonometric function is input by a subject, the subject is asked which of a plurality of different units should be used as a unit of angle in the trigonometric function in a calculation program related to the mathematical expression; modifying the calculation program so that the unit of angle in the trigonometric function is changed to one of the plurality of units in response to the answer of the subject to the inquiry; An information processing method for performing a process.
6. A computer comprising: When a mathematical expression including a trigonometric function is input by a subject, the subject is asked which of a plurality of different units should be used as a unit of angle in the trigonometric function in a calculation program related to the mathematical expression; modifying the calculation program so that the unit of angle in the trigonometric function is changed to one of the plurality of units in response to the answer of the subject to the inquiry; A program that executes a process.
7. An apparatus comprising: When a formula containing zero padding after a decimal point is input by a subject, the subject is asked about the number of zero padding digits after the decimal point; changing a calculation program related to the formula in response to the answer of the subject to the inquiry, thereby changing the number of zero padding digits after the decimal point in a calculation result of the formula derived by executing the calculation program; An information processing method for performing a process.
8. A computer comprising: When a formula containing zero padding after a decimal point is input by a subject, the subject is asked about the number of zero padding digits after the decimal point; changing a calculation program related to the formula in response to the answer of the subject to the inquiry, thereby changing the number of zero padding digits after the decimal point in a calculation result of the formula derived by executing the calculation program; A program that executes a process.
Citation Information
Patent Citations
Electronic calculator
JP1988113656A
Electronic equipment having calculation function
JP2000132517A
Electronic calculator
JP2011129138A
Calculator and calculation program
JP2013196280A
Calculation device, electronic equipment, calculation method, communication method, and program
JP2017174189A