Building courses, quizzes and assignments
hayaterp.com ↗Build a course in Hayat Learning — course details, audience, price, due days, certificate and cover; sections and lessons of seven kinds (video by YouTube / Vimeo link or MP4 upload, text, PDF, link, live class, quiz, assignment) with free preview, required and discussion switches; quizzes with single, multiple, true / false and short-answer questions, time limit, attempts and pass mark, and AI question drafts; assignments with rubric marking; the completion rule; publishing.
Building courses needs learn.author. Open Courses and press + Course.
A course
| Field | Fill |
|---|---|
| Title | e.g. Workplace health & safety basics |
| Code | Leave empty for the next number (CRS-…) |
| Category | Groups courses on the portal, e.g. Compliance, Skills |
| Level | Beginner, Intermediate, Advanced or All levels |
| Audience | Staff (shown on the portal only to staff learners), External or Both |
| Language, Instructor, Duration (hours) | Shown on the course page |
| Price (0 = free) | In your currency; paid courses are invoiced through Sales |
| Due within (days of enrolment) | For compulsory training: the due date of each enrolment |
| Quizzes must be passed and assignments graded as passed to complete | Off: taking the quiz or handing in the assignment is enough |
| Issue a certificate on completion | And Certificate valid (months), empty for no expiry |
| Description | What the learner will learn |
Course details saves it. Upload a Cover picture (JPG, PNG or WebP, up to 3 MB) for the catalogue.
Sections and lessons
A course is made of sections (Before you start, Module 1…) and each section of lessons. Press + Section and give it a title; press + Lesson:
| Kind | What the learner gets |
|---|---|
| Video | A Video URL (YouTube / Vimeo) played in the page, or an uploaded MP4 file |
| Text | A page you write in the editor (headings, lists, links, bold) |
| An uploaded PDF shown in the page | |
| Link | A button to an outside page |
| Live class | Starts (date and time) and the Join link (Zoom, Teams, Meet…); learners see the link only when enrolled |
| Quiz | A quiz — see below |
| Assignment | Work to hand in — see below |
For every lesson: Title, Section, Duration (min), optional notes, and three switches:
- Free preview (visible before enrolment) — anyone can open it from the course page.
- Required for completion — the course is complete only when every required lesson is.
- Discussion open — learners can post questions under the lesson (see Discussions).
Save lesson. Lesson files (PDF or MP4) can be up to 200 MB. Use ↑ and ↓ to reorder, and change a lesson's Section to move it. A lesson's kind cannot be changed later; a lesson some learner has already started cannot be deleted, and a section can be deleted only when it is empty.
Quizzes
A Quiz lesson makes an empty quiz. Open it with Questions:
| Setting | Means |
|---|---|
| Time limit (min, 0 = none) | The timer starts when the learner presses Start quiz |
| Attempts (0 = unlimited) | How many tries |
| Pass % | The mark needed to pass |
| Shuffle questions | A different order each attempt |
| Show correct answers after submission | The learner sees the right answers and your explanations after submitting |
Press + Question:
| Kind | Answer |
|---|---|
| Single choice | Options with exactly one ticked as correct |
| Multiple choice | Options with every correct one ticked; all must be chosen |
| True / false | |
| Short answer | Accepted answers — every answer you accept, separated by a vertical bar, e.g. Karachi and Karachi city |
Give each question its Marks, Order and an Explanation (shown after submission).
The answers never leave the server before the learner submits, and the score is worked out on the server, so a quiz cannot be cheated from the browser. Attempts lists every learner's tries with score, % and pass / fail.
Draft with AI writes questions from the lesson's text: choose How many (1–20), the kinds and the Language, read the drafts, tick the good ones and press Add the ticked questions. Nothing is added until you do. It needs Hayat AI to be on and AI credits; see AI features.
Assignments
An Assignment lesson makes an assignment. Open it and fill:
| Field | Fill |
|---|---|
| Title, Instructions | What to do and hand in |
| Max marks, Pass marks | e.g. 20 and 10 |
| Rubric | Optional: + Criterion with its marks, e.g. Accuracy 10, Presentation 5, Timeliness 5 — the criteria must add up to the max marks |
| Due (days after enrolment) | |
| Allow a file (PDF / .docx / JPG / PNG ≤ 10 MB), Allow a written answer | One or both |
Grading is in the grading queue.
When is a course complete?
A learner completes a course when every required lesson is complete:
| Lesson | Complete when |
|---|---|
| Video, Text, PDF, Link, Live class | The learner presses Mark complete |
| Quiz | An attempt passes (or any attempt is submitted, when passing is not required) |
| Assignment | It is graded as passed (or handed in, when passing is not required) |
The enrolment then becomes Completed, its final score is the average of the best quiz marks, and the certificate is issued if the course gives one.
Publish
Only published courses show on the portal. Press Publish on the course (it needs at least one lesson); Unpublish hides it again without touching existing enrolments.