Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: C Programming.

C Programming

From MoodleDocs
Description
1.This module can make quizes to test students' programming ability.
2.The teachers can use this to make many questions to make tests for students and grade them more easier because of the moodle platform.
3.The students can use this to improve their programming skills and it will compiled when you click the "compile" button.
Installation

SECURITY NOTICE - Moodle Administrators installing this question type should fully understand the security implications of allowing student code to execute on the server. The security of the entire server could be compromised. The C Programming question type code is only suitable for environments where the teachers reviewing the code and the students themselves are trusted completely.

1. Must install moodle package first.
  -(**Warning:before you install this module, you must backup the moodle 
    you had or the module can not work correctly.)
2. Install this module to your computer.You have to do the following A.B.C:
The website to download this module: [1]

A.

1. CHANGE or BACKUP the files in your MOODLE FOLDER(lib/editor/htmlarea/htmlarea.php & lib/editor/htmlarea.css)
- htmlarea.php→htmlarea.bin
- htmlarea.css→htmlarea.bak
2. PUT OUR htmlarea.php & htmlarea.css IN your MOODLE FOLDER

B.

1. IF YOU USE CHINESE, PUT OUR TWO FILES IN lang/zh_utf8/ IN THE lang/ IN your MOODLE FOLDER
2. IF YOU USE ENGLISH, PUT OUR TWO FILES IN lang/en_utf8/ IN THE lang/ IN your MOODLE FOLDER

C.

1. PUT OUR programming folder (/question/type/programming) in the /question/type of your MOODLE FOLDER
2. DO REMEMBER:

CLICK "Notifications" after you put the folder in /question/type of your MOODLE FOLDER.

3. YOU WILL SEE THE programming IN THE QUESTION LIST ON THE MOODLE WEBSITE.
-Put this module into the "question/type" directory.


The website you can test and see the demo: [2]


Click "Login as a guest"


The procedure for using this module after the installation:

Teacher’s interface
1. Add a test sheet

T1.jpg


2. Giving the name of the test sheet

T2.jpg

T2-2.jpg


3. Add an programming question

T3.jpg


4. Generate programming questions

T4.jpg


5.Group those question into hard, middle, easy levels

T5.jpg


6. Choose the question you want to put into the test sheet

T6.jpg


7. Now the test sheet completed on the left side. Then press the “save"

T7.jpg


8. Preview the test sheet

T8.jpg

T8-2.jpg


Student’s interface
1. Click the test sheet

S1.jpg


2. After press the “start”, and you can start to test

S2.jpg

S2-2.jpg


3. Then, click”compile”

S3.jpg

S3-2.jpg


4. Send all

S4.jpg

how to create a new question

please download this doc to look up:[3]