Knowledge Check

Description

Creates interactive quizzes with multiple question types including multiple choice, multiple select, fill-in-the-blank, ordering, and matching. Provides immediate feedback and scoring.

Usage

Wrap questions in a container with class .knowledge-check or .self-test. Use specific HTML structure and special syntax for different question types.

Available Options

Examples

Multiple Choice Questions

  1. What is the capital of Canada?

    @ Ottawa is the capital city of Canada.

    • *Ottawa
    • Toronto
    • Vancouver
    • Montreal
  2. Which of the following is a programming language?

    @ JavaScript is a popular programming language.

    1. *JavaScript
    2. HTML
    3. CSS
    4. XML

Multiple Select Questions

  1. Which of the following are programming languages? (Select all that apply)

    @ JavaScript, Python, and Java are all programming languages.

    • *JavaScript
    • *Python
    • HTML
    • *Java
    • CSS
    • *C++

Fill-in-the-Blank Questions

  1. Complete the following sentence:

    The process of converting source code into machine code is called [compilation].

    @ Compilation is the process of converting source code into machine code.

  2. What does HTML stand for?

    [HyperText Markup Language] stands for HyperText Markup Language.

    @ HTML stands for HyperText Markup Language.

Ordering Questions

  1. Put the following steps in the correct order for software development:

    @ The correct order is: Planning, Design, Implementation, Testing, Deployment.

    1. Planning
    2. Design
    3. Implementation
    4. Testing
    5. Deployment

Matching Questions

  1. Match the programming languages with their primary use:

    @ JavaScript is for web development, Python for data science, Java for enterprise applications.

    • JavaScript = Web Development
    • Python = Data Science
    • Java = Enterprise Applications

Knowledge Check Without Score

  1. What is your favorite programming language?

    @ There's no wrong answer here - it's about personal preference!

    • *JavaScript
    • *Python
    • *Java
    • *C++

Multi-Column Layout

  1. Which of the following are web technologies?

    @ HTML, CSS, and JavaScript are all web technologies.

    • *HTML
    • *CSS
    • *JavaScript
    • Python
    • Java
    • *PHP
  2. What is the primary purpose of CSS?

    @ CSS is used for styling and layout of web pages.

    • *Styling web pages
    • Creating databases
    • Writing server code
    • Layout design
  3. Which programming language is primarily used for web development?

    @ JavaScript is the primary language for web development.

    • *JavaScript
    • C++
    • Assembly
    • Fortran
  4. What does HTML stand for?

    @ HTML stands for HyperText Markup Language.

    • *HyperText Markup Language
    • High Tech Modern Language
    • Home Tool Markup Language
    • Hyperlink Text Markup Language

Three-Column Layout

  1. What is JavaScript?

    @ JavaScript is a programming language for web development.

    • *Programming language
    • Database system
    • Operating system
  2. What is CSS?

    @ CSS is used for styling web pages.

    • *Style sheet language
    • Programming language
    • Database language
  3. What is HTML?

    @ HTML is a markup language for creating web pages.

    • *Markup language
    • Programming language
    • Style language
  4. What is PHP?

    @ PHP is a server-side scripting language.

    • *Server-side language
    • Client-side language
    • Database language
  5. What is Python?

    @ Python is a general-purpose programming language.

    • *General-purpose language
    • Web-only language
    • Database language
  6. What is Java?

    @ Java is an object-oriented programming language.

    • *Object-oriented language
    • Functional language
    • Markup language

Random Order Questions

Notes