Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing the devices, modules or units, and are not used for limiting the devices, modules or units to be different devices, modules or units, and also for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The following describes the technical solutions of the present disclosure and how to solve the above technical problems in specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
The existing electronic test paper only converts the presentation carrier of the test questions from paper into electronic equipment, and when a user uses the electronic test paper, if a plurality of different electronic test papers need to be generated, a plurality of corresponding test questions of the paper test paper need to be obtained respectively; if the test result needs to be analyzed after the test is finished, the test result of each test question in the test paper needs to be analyzed respectively, so that the workload is large, and the efficiency is low.
In view of the above problems, it can be understood that the method involves a tester, a terminal device (hereinafter referred to as a terminal) and a server when implemented, where a communication connection is established between the terminal and the server, and the tester and the terminal can implement human-computer interaction through various operations of the tester to complete a test. As shown in fig. 1, the method may include:
step S101, a test paper generation request of a tester is obtained, and the test paper generation request comprises test question attributes of test questions required in the test paper.
When the execution main body of the method is the terminal, the terminal receives the test paper generation request sent by the tester, namely, the terminal obtains the test paper generation request of the tester, and when the execution main body of the method is the server, the terminal receives the test paper generation request sent by the tester, and the server receives the test paper generation request forwarded by the terminal, namely, the server obtains the test paper generation request of the tester through the terminal.
The terminal is a human-computer interaction device, can display related operation interfaces and contents, and can be used for a tester to input information through related operations and transmit the information to the server, for example, the human-computer interaction device can be a tablet computer or a mobile phone. The tester issues a test paper generation request by a touch operation, a voice input operation, a character input operation, or the like with respect to the terminal.
The test question attributes of the test questions can be used for distinguishing different test questions, or the different test questions can be classified, the test question attributes contained in the test paper generation request are generally various, and then the types of the test questions required in the test paper can be obtained through the test question attributes of the required test questions.
Step S102, in response to the test paper generation request, determines a test paper to be provided to the tester based on the question attributes.
Wherein the test paper provided for the tester is confirmed from the preset question bank based on the question attribute in the test paper generation request.
Step S103, providing the test paper to the tester;
and step S104, obtaining answers of all test questions in the test paper given by the tester.
Step S105, generating a test result based on the answer.
Step S106, providing the test result to the tester.
For step S103 to step S106, wherein when the execution subject is a terminal, the generated test paper is displayed to the tester through the terminal. When the execution subject is the server, the server pushes the generated test paper to the terminal, and the terminal displays the test paper to the tester.
The test result is obtained by the test operator, and the test result is obtained by the test operator, wherein the test operator performs the test.
Specifically, after the test paper is displayed to the tester, the tester answers each test question in the test paper, gives an answer to each test question, the tester completes answering, triggers the paper delivery operation, and after receiving the paper delivery operation, counts the answers of each test question, so as to generate a test result of the test paper, and the test result is displayed to the tester through the terminal.
Furthermore, the answer of each test question and the paper delivery operation may be obtained simultaneously, for example, the answer of each test question is obtained simultaneously when the paper delivery operation is obtained, and before the tester issues the paper delivery operation, the answer of each test question may be temporarily stored in the preset storage unit; the answer of each test question and the paper delivery operation may not be the same, for example, the answer of the test question is obtained every time the tester completes one test question, and the answer of the test question is stopped being obtained after the paper delivery operation of the tester is obtained.
The embodiment of the disclosure provides a test method, which obtains corresponding test questions or test papers from a preset question bank through the test question attributes of the test questions required in the test papers, and further generates the test papers; and after the tester finishes the test, carrying out statistical analysis on the answer of the tester to generate a test result. In the test process, the automation can be realized no matter the test paper is generated or the test result is analyzed, the workload of the whole test process is small, and the working efficiency is high.
In an optional implementation manner of the present disclosure, determining a test paper to be provided to a tester based on the test question attribute specifically includes:
acquiring a corresponding test paper from a preset question bank based on the test question attribute, wherein the preset question bank stores the test paper marked with the test question attribute;
or acquiring corresponding test questions from a preset question bank based on the test question attributes, and generating test paper based on the acquired test questions, wherein the preset question bank stores the test questions marked with the test question attributes.
The preset question bank stores test questions and test papers, each test paper is labeled with test question attributes, and the test question attributes may include one or more test question attributes reflecting the test question attributes of the test papers, for example, a test paper in the preset question bank is labeled with a test question attribute a and a test question attribute B, so that the test paper contains the test questions of the test question attribute a and the test questions of the test question attribute B, and it can be understood that the number of the test questions of the test question attribute a and the number of the test questions of the test question attribute B may be configured in advance. The test question attributes of each test question can be obtained through manual analysis, and can also be automatically obtained through a manual intelligent mode, for example, a test question attribute classification model is adopted to classify the test questions in a preset question bank, and then the test question attributes are obtained based on the classification result.
Specifically, the corresponding test paper is obtained from the preset question bank based on the test question attribute, that is, the test paper with the same test question attribute as that in the test paper generation request is obtained from the preset question bank. And acquiring corresponding test questions from a preset question bank based on the test question attributes of the required test questions, namely acquiring the test questions with the test question attributes identical to the test question attributes in the test paper generation request from the preset question bank, and combining the acquired test questions to generate the test paper. In an optional implementation manner, each of the obtained test questions may be numbered, and then the obtained test questions may be sorted according to the numbers to generate the test paper. Because each test question in the preset question library is marked with the test question attribute of the test question, the test question with the specific test question attribute can be obtained through one-by-one matching of the test question attributes. Further, the number of the test questions obtained from the preset question bank may be preconfigured by the server, or may be set by the tester according to the requirement, and during the specific implementation, the test paper generation request sent by the tester may further include the number of the test questions of each test question attribute.
In an optional manner of the embodiment of the present disclosure, the test question attributes of the test questions in the preset question bank are obtained by the following manner:
acquiring an original test question;
inputting the original test questions into a pre-trained test question classification model to obtain test question attributes of the original test questions; the pre-trained test question classification model is obtained by training based on a sample test question set with test question attribute labels.
The original test questions can be manually written test questions or existing test questions on each network public platform.
The pre-trained test question classification model is obtained by training based on a sample test question set with test question attribute labels, and the sample test question set with the test question attribute labels adopted in the training process can be obtained by manual marking, for example, after the test questions are manually read, the corresponding test question attributes are analyzed, and the test questions are marked by the test question attributes obtained by analysis to obtain the sample test questions.
Specifically, after the test question attributes of the original test questions are obtained, the test questions may be manually labeled by using the test question attributes, or the test questions may be automatically labeled by using the test question attributes.
It should be noted that the test questions in the preset question bank can be increased or decreased according to the actual requirements, wherein when the test questions need to be increased, only the corresponding original test questions need to be obtained and marked by the method and then stored in the preset question bank.
In an optional manner of the embodiment of the present disclosure, inputting the original test questions into a pre-trained test question classification model to obtain test question attributes of the original test questions specifically includes:
acquiring the original test questions after pretreatment;
inputting the preprocessed original test questions into a pre-trained test question classification model to obtain the test question attributes of the original test questions.
Specifically, there are cases where some original test questions have contents that need to be modified, or the format of the test questions is not suitable for input as a test question classification model, so that the original test questions need to be preprocessed before being input into the test question classification model.
In an alternative manner of the disclosed embodiment, the original test questions are preprocessed by at least one of the following methods:
acquiring a modification request, and modifying the original test question;
the original test questions are converted into a specified format.
Specifically, when there is an error or content that needs to be adjusted in the original test question, the error in the original test question can be corrected or the content that needs to be adjusted can be adjusted, so as to complete the preprocessing. Or, when the format of the original test question cannot be used as the input of the test question classification model, the format of the original test question can be converted into a specified format, and the preprocessing is completed. Wherein, the specified format is the input format of the test question classification model.
It can be understood that when both the content to be modified and the format problem exist in the original test question, the original test question can be modified and converted in sequence.
In an alternative form of the disclosed embodiment, the test question attributes include a knowledge point type and a difficulty level.
The knowledge point type is a knowledge point type to be examined for a corresponding test question, and the knowledge point type to be examined can be preset according to information such as an investigation subject, for example, if the investigation subject is physical, the corresponding knowledge point type may be newton's second law, archimedes' law, and the like. The difficulty level is used for quantifying the difficulty level of the knowledge point considered by the corresponding test question, different test questions in one knowledge point type can be divided into a plurality of difficulty levels according to historical data or experience, for example, a difficulty level is given to each test question according to the error rate of different test questions in the same knowledge point type in the historical data, wherein the higher the error rate, the higher the difficulty level of the test question is, the lower the error rate, the lower the difficulty level of the test question is.
In an optional mode of the embodiment of the present disclosure, the test result includes answers to the test questions and a completion duration, and the method further includes:
classifying the test questions with wrong answers or the completion time length exceeding the preset time length according to the test question attributes of the test questions to obtain a classification result;
the classification result is provided to the tester.
In an optional mode of the embodiment of the present disclosure, the test result includes answers to the test questions and a completion duration, and the method further includes:
classifying the test questions with wrong answers or the completion time length exceeding the preset time length according to the test question attributes of the test questions to obtain a classification result;
acquiring additional test questions corresponding to each type of test questions from a preset question bank according to the classification result; the test question attribute of the additional test question is the same as the test question attribute of each type of test question;
additional test questions are recommended to the tester.
It can be understood that the answers to the test questions are generally classified into correct and wrong, and the test questions with wrong answers are often required to be concerned when analyzing the test results. The completion time of the test question can be the accumulated time of the tester staying in the display interface of the test question, the completion time of the test question can reflect the proficiency of the tester in completing the test question, and the completion time is also an object to be concerned when the test result is analyzed. Because each test question carries the corresponding test question attribute, the answer can be obtained as an error according to the test result, or the test questions with the completion time length exceeding the preset time length are classified according to the test question attributes, and each type of classification result is obtained and corresponds to one test question attribute.
In the specific implementation, when the test result is analyzed, the test question with the wrong answer or the test question with the completion time length exceeding the preset time length needs to be concerned. Furthermore, for the test questions to be paid attention, the test questions may be classified according to at least one of the knowledge point types and the difficulty levels of the test questions, and the classification manner may be to classify the test questions having the same knowledge point types and difficulty levels into one category, or to classify the test questions having the same knowledge point types into one category.
Specifically, because the test questions with wrong answers or the completion time length exceeding the preset time length are classified according to the test question attributes, the classification results are displayed to the tester after the classification is completed, the tester can intuitively know that the knowledge points are the knowledge point types with insufficient mastering degree, and the tester can consolidate the knowledge point types. Then according to the knowledge point types (and simultaneously considering the difficulty level), corresponding additional test questions are obtained from a preset question bank, and the additional test questions are recommended to the tester for the tester to carry out consolidation exercise.
Further, in order to enhance the strengthening exercise effect of the additional test questions, the test questions in the current test paper can be excluded when the additional test questions are acquired, that is, when the test questions acquired from the preset question bank according to the acquisition mode of the additional test questions are the test questions in the current test paper, the test questions are not taken as the additional test questions.
Further, the quantity of each type of test result further reflects the mastery degree of the tester on the knowledge points corresponding to the test result, and when additional test questions are obtained, the corresponding quantity of the additional test questions are obtained according to the quantity of the type of test questions in the classification result. Wherein the respective numbers may be the same number.
Based on the same principle as the method shown in fig. 1, the embodiment of the present disclosure also provides a testing apparatus 20, as shown in fig. 2, which may include: a request acquisition module 201, a test paper generation module 202, a test paper providing module 203, an answer acquisition module 204, a result generation module 205 and a result providing module 206, wherein:
the request obtaining module 201 is configured to obtain a test paper generation request of a tester, where the test paper generation request includes test question attributes of test questions required in the test paper;
the test paper generation module 202 is used for responding to the test paper generation request, and determining the test paper to be provided for the tester based on the test question attributes;
the test paper providing module 203 is used for providing the test paper to the tester;
the answer obtaining module 204 is configured to obtain answers to the test questions in the test paper provided by the tester;
the result generation module 205 is used for generating a test result based on the answer; and
the result providing module 206 is used to provide the test results to the tester.
The embodiment of the disclosure provides a testing device, which obtains corresponding test questions or test papers from a preset question bank through the test question attributes of the test questions required in the test papers, and further generates the test papers; and after the tester finishes the test, carrying out statistical analysis on the answer of the tester to generate a test result. In the test process, the automation can be realized no matter the test paper is generated or the test result is analyzed, the workload of the whole test process is small, and the working efficiency is high.
In an optional manner of the embodiment of the present disclosure, the test paper generation module is specifically configured to:
and acquiring corresponding test paper from a preset question bank based on the test question attribute, wherein the preset question bank stores the test paper marked with the test question attribute.
In an optional manner of the embodiment of the present disclosure, the test paper generation module is specifically configured to:
and acquiring corresponding test questions from a preset question bank based on the test question attributes, and generating test paper based on the acquired test questions, wherein the preset question bank stores the test questions marked with the test question attributes.
In an optional mode of the embodiment of the present disclosure, the apparatus may further include a test question attribute obtaining module, configured to:
acquiring an original test question;
inputting the original test questions into a pre-trained test question classification model to obtain test question attributes of the original test questions; the pre-trained test question classification model is obtained by training based on a sample test question set with test question attribute labels.
In an optional manner of the embodiment of the present disclosure, the test question attribute obtaining module is specifically configured to:
acquiring the original test questions after pretreatment;
inputting the preprocessed original test questions into a pre-trained test question classification model to obtain the test question attributes of the original test questions.
In an optional manner of the embodiment of the present disclosure, the test question attribute obtaining module is further configured to:
acquiring a modification request, and modifying the original test question;
the original test questions are converted into a specified format.
In an optional mode of the embodiment of the present disclosure, the test result includes answers and completion duration of each test question, and the apparatus may further include:
the first result classification module is used for classifying the test questions with wrong answers or the completion time length exceeding the preset time length according to the test question attributes of the test questions to obtain a classification result;
and the first recommending module is used for providing the classification result to the tester.
In an optional mode of the embodiment of the present disclosure, the test result includes answers and completion duration of each test question, and the apparatus may further include:
the second result classification module is used for classifying the test questions with wrong answers or the completion time length exceeding the preset time length according to the test question attributes of the test questions to obtain a classification result;
the additional test question acquisition module is used for acquiring the additional test questions corresponding to each type of test questions from a preset question bank according to the classification result; the test question attribute of the additional test question is the same as the test question attribute of each type of test question;
and the second recommending module is used for recommending the additional test questions to the tester.
Referring now to fig. 3, a schematic diagram of an electronic device (e.g., a terminal device or server performing the method shown in fig. 1) 30 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as a processing device 301 described below, and the memory may include at least one of a Read Only Memory (ROM)302, a Random Access Memory (RAM)303, and a storage device 308, which are described below:
as shown in fig. 3, the electronic device 30 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 30 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 603 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a test paper generation request of a tester, wherein the test paper generation request comprises test question attributes of test questions required in the test paper; determining a test paper to be provided to the tester based on the test question attribute in response to the test paper generation request; providing the test paper to the tester; obtaining answers of all test questions in a test paper given by a tester; generating a test result based on the answer; and providing the test results to the tester.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of a module or a unit does not in some cases constitute a limitation of the unit itself, and for example, the request acquisition module may also be described as a "module for acquiring a test paper generation request".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.