Online answer system (for get political power and colleges)

Source: Internet
Author: User
Tags log4net

In fact, the online answer system has been a lot, free to use a lot, and then re-develop a, it seems a little idle dry feeling. Is that right? I don't feel that way! The kind of online is for schools, enterprises, small-scale use, the focus is on the examination, rather than the competition, the face of some malicious brush problems, with software automatic answer, the basic is not fortification. If this kind of contest is put on the Internet for a period of time for people to participate, it is completely possible to be blown by people, involving incentives, it will seriously affect the fairness of the effect of the activities. Of course, some activities on the Internet, for fear of no one to participate in, if people brush the problem, may be very happy, because the background statistics will be more gratifying, this situation I will not discuss. I am here, only to study how to ensure the normal function of the premise, as far as possible to reduce the impact of the brush problem, and to maximize the attention of the knowledge itself, rather than the answer to the question, more suitable for the scene is get political power and colleges and universities in some of the topics of the knowledge of the part of the competition, such as just past 71 Immediately to begin the long March victory 80 years of military history and so on.

The background is probably introduced here, the following is the development of software ideas and functional design.

First, the system selection technology mainly for the ASPNET mvc4.0+sqlite+easyui+petapoco+log4net. In the development process, in order to avoid excessive design, everything is simple and practical, but also reflects the idea of some storage development inside. The front part is not confused, there are some simple operations on Easyui, need can be used for reference. Cache technology is used inside the system to minimize the frequent operation of the database.

Second, the background log using log4net, parameters configured for every 100 records to write a database, so sometimes background operations may be a few minutes to see. The configuration is in Web. config (buffersize) and can be changed manually if you need to adjust it.

Third, the system comes with a simple back-office management function, although concise, but such as configuration files, topic management, user management, log management of these basic functions have, of course, what general permissions Ah, Dependency injection ah, these tall things must be no. Such a small thing, don't need those.

Four, the backstage address is/admin/home, the user name and the password are the admin. Environment requirements, as long as there are IIS and NetFrameWork4.0, the database is used SqlLite3, if necessary, to switch to SQL Server or MySQL is quite easy.

Five, the answer mode, refer to the game mode repeatedly, increase the challenge and entertainment. Teaching in the entertainment! Within the specified time, each answer to the wrong one is reduced by n seconds, see the hint minus n seconds, the right reward n seconds; These parameters can be configured in the background.

Six, the topic type currently only support single topic, each answer from the cached list of topics randomly read, not directly read the database, avoid frequent operation caused the database pressure is too large.

Seven, the choice of single-choice content, in the practice mode for fixed sorting, the formal answer, the options will be randomly sorted, the correct answer to adjust accordingly. such as the founding time of New China (B). A, 1948 B, 1949 C, 1950, in practice the ABC option will be 1948, 1949, 1950, the answer is B; In the case of formal answer, the ABC option may be a, 1950 B, 1948 C, 1949, the correct answer will be C. In the usual process, if the number of practice more, will appear only to see options, do not look at the content of the situation, deviating from the original intention of the study content, so take this measure, will let people focus on the content of the study, to avoid only the answer to the situation occurs. This function point is mainly to increase the difficulty of the brush, in fact, should be the option to generate pictures, so that people can not grasp the text, so that the threshold to improve the brush, but there is no text to the image of the function, really do it is very simple, I realized in other places, here lazy, only the stack of text.

Eight, the download version is compiled, no source code , the number of background questions set to 30 questions (the complete question bank for more than 600 downloads from the internet after the party history), even if the addition will be automatically deleted. Although it is a small system, after all, it also took a few thoughts, so make a small limit, I hope you can change the small system on the cigarette money. If necessary, you can contact with me through QQ 2641276995!

: Release later

Online answer system (for get political power and colleges)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.