{
  "language": "en",
  "exerciseCount": 243,
  "courses": [
    {
      "id": "code",
      "title": "Code Lab",
      "subject": "HTML, CSS and JavaScript",
      "url": "https://imon.com.bd/lab.html",
      "quizUrl": "https://imon.com.bd/lab.html#course-quiz",
      "exercises": [
        {
          "id": "html-first-tag",
          "title": "Your first tag",
          "chapter": "Markup basics",
          "brief": "Every web page starts with an HTML element. Add a second paragraph below the one that is already there.",
          "url": "https://imon.com.bd/lab.html?exercise=html-first-tag"
        },
        {
          "id": "html-heading",
          "title": "Give it a heading",
          "chapter": "Markup basics",
          "brief": "A heading tells the reader what the page is about. Turn the first paragraph into a level-one heading and add a paragraph underneath it.",
          "url": "https://imon.com.bd/lab.html?exercise=html-heading"
        },
        {
          "id": "html-list",
          "title": "Make a list",
          "chapter": "Markup basics",
          "brief": "Lists group related things. Turn the three separate paragraphs into one unordered list.",
          "url": "https://imon.com.bd/lab.html?exercise=html-list"
        },
        {
          "id": "css-colour",
          "title": "Paint it blue",
          "chapter": "Styling basics",
          "brief": "CSS decides how things look. Set the colour of the heading to blue.",
          "url": "https://imon.com.bd/lab.html?exercise=css-colour"
        },
        {
          "id": "css-box",
          "title": "Give it a box",
          "chapter": "Styling basics",
          "brief": "Every element is a box. Give the paragraph a background colour and some padding.",
          "url": "https://imon.com.bd/lab.html?exercise=css-box"
        },
        {
          "id": "css-selector",
          "title": "One rule, many parts",
          "chapter": "Styling basics",
          "brief": "A selector can target every list item at once. Make every item in the list bold.",
          "url": "https://imon.com.bd/lab.html?exercise=css-selector"
        },
        {
          "id": "js-variable",
          "title": "Name a number",
          "chapter": "Logic basics",
          "brief": "A variable gives a value a name. Declare a variable called `score` and set it to 42, then log it.",
          "url": "https://imon.com.bd/lab.html?exercise=js-variable"
        },
        {
          "id": "js-condition",
          "title": "Ask a question",
          "chapter": "Logic basics",
          "brief": "An `if` picks between two paths. Log \"big\" when the number is above 10, and \"small\" otherwise.",
          "url": "https://imon.com.bd/lab.html?exercise=js-condition"
        },
        {
          "id": "js-loop",
          "title": "Say it again",
          "chapter": "Logic basics",
          "brief": "A loop repeats a block of code. Log \"tick\" five times using a for loop.",
          "url": "https://imon.com.bd/lab.html?exercise=js-loop"
        },
        {
          "id": "js-function",
          "title": "Make a function",
          "chapter": "Logic basics",
          "brief": "A function takes an input and gives back an answer. Write a function called `double` that returns its argument multiplied by two, then log `double(21)`.",
          "url": "https://imon.com.bd/lab.html?exercise=js-function"
        },
        {
          "id": "js-quiz-01",
          "title": "Which HTML element holds JavaScript?",
          "chapter": "JavaScript · Quiz",
          "brief": "Syntax & comments — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-01"
        },
        {
          "id": "js-quiz-02",
          "title": "Which of these writes a comment that JavaScript ignores?",
          "chapter": "JavaScript · Quiz",
          "brief": "Syntax & comments — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-02"
        },
        {
          "id": "js-quiz-03",
          "title": "JavaScript is case-sensitive. Which of these names is not the same as `total`?",
          "chapter": "JavaScript · Quiz",
          "brief": "Syntax & comments — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-03"
        },
        {
          "id": "js-quiz-04",
          "title": "Which keyword declares a name whose value never changes?",
          "chapter": "JavaScript · Quiz",
          "brief": "Variables & types — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-04"
        },
        {
          "id": "js-quiz-05",
          "title": "What does `typeof \"hello\"` return?",
          "chapter": "JavaScript · Quiz",
          "brief": "Variables & types — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-05"
        },
        {
          "id": "js-quiz-06",
          "title": "What is the value of a variable that was declared but never given one?",
          "chapter": "JavaScript · Quiz",
          "brief": "Variables & types — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-06"
        },
        {
          "id": "js-quiz-07",
          "title": "What is `0 / 0` in JavaScript?",
          "chapter": "JavaScript · Quiz",
          "brief": "Variables & types — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-07"
        },
        {
          "id": "js-quiz-08",
          "title": "What does `5 === \"5\"` evaluate to?",
          "chapter": "JavaScript · Quiz",
          "brief": "Operators — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-08"
        },
        {
          "id": "js-quiz-09",
          "title": "What does the % operator do?",
          "chapter": "JavaScript · Quiz",
          "brief": "Operators — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-09"
        },
        {
          "id": "js-quiz-10",
          "title": "What does the + operator do when both sides are text?",
          "chapter": "JavaScript · Quiz",
          "brief": "Operators — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-10"
        },
        {
          "id": "js-quiz-11",
          "title": "How do you find how many characters a string has?",
          "chapter": "JavaScript · Quiz",
          "brief": "Strings — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-11"
        },
        {
          "id": "js-quiz-12",
          "title": "Which method turns text into upper case?",
          "chapter": "JavaScript · Quiz",
          "brief": "Strings — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-12"
        },
        {
          "id": "js-quiz-13",
          "title": "Which of these puts a value inside a string without joining it by hand?",
          "chapter": "JavaScript · Quiz",
          "brief": "Strings — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-13"
        },
        {
          "id": "js-quiz-14",
          "title": "What is the index of the first item in an array?",
          "chapter": "JavaScript · Quiz",
          "brief": "Arrays — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-14"
        },
        {
          "id": "js-quiz-15",
          "title": "Which method adds an item to the end of an array?",
          "chapter": "JavaScript · Quiz",
          "brief": "Arrays — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-15"
        },
        {
          "id": "js-quiz-16",
          "title": "What does `array.map()` give you back?",
          "chapter": "JavaScript · Quiz",
          "brief": "Arrays — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-16"
        },
        {
          "id": "js-quiz-17",
          "title": "How do you read the `name` property of an object called `user`?",
          "chapter": "JavaScript · Quiz",
          "brief": "Objects — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-17"
        },
        {
          "id": "js-quiz-18",
          "title": "How do you add a new property to an object?",
          "chapter": "JavaScript · Quiz",
          "brief": "Objects — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-18"
        },
        {
          "id": "js-quiz-19",
          "title": "What is JSON?",
          "chapter": "JavaScript · Quiz",
          "brief": "Objects — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-19"
        },
        {
          "id": "js-quiz-20",
          "title": "What does the `return` keyword do?",
          "chapter": "JavaScript · Quiz",
          "brief": "Functions — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-20"
        },
        {
          "id": "js-quiz-21",
          "title": "What is a parameter?",
          "chapter": "JavaScript · Quiz",
          "brief": "Functions — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-21"
        },
        {
          "id": "js-quiz-22",
          "title": "Which of these is an arrow function?",
          "chapter": "JavaScript · Quiz",
          "brief": "Functions — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-22"
        },
        {
          "id": "js-quiz-23",
          "title": "What does an `if` statement do when its condition is false?",
          "chapter": "JavaScript · Quiz",
          "brief": "Conditions & loops — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-23"
        },
        {
          "id": "js-quiz-24",
          "title": "What does a `for` loop need to know to stop?",
          "chapter": "JavaScript · Quiz",
          "brief": "Conditions & loops — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-24"
        },
        {
          "id": "js-quiz-25",
          "title": "What does the `break` keyword do inside a loop?",
          "chapter": "JavaScript · Quiz",
          "brief": "Conditions & loops — pick the one right answer.",
          "url": "https://imon.com.bd/lab.html?exercise=js-quiz-25"
        },
        {
          "id": "html-telemetry-step",
          "title": "Validate a quarter-step measurement",
          "chapter": "HTML · Form engineering",
          "brief": "Write a labeled, required numeric input named gain inside a form. Accept settings from −1.5 to 2 inclusive in increments of 0.25. Try zero, a negative boundary, and a value between steps in the preview.",
          "url": "https://imon.com.bd/lab.html?exercise=html-telemetry-step"
        },
        {
          "id": "html-batch-id",
          "title": "Constrain an instrument batch ID",
          "chapter": "HTML · Form engineering",
          "brief": "A batch ID consists of two uppercase ASCII letters, a hyphen and exactly three digits, including leading zeros. Give your form a labeled, required text input named batch. Verify that extra characters and lowercase letters are rejected.",
          "url": "https://imon.com.bd/lab.html?exercise=html-batch-id"
        },
        {
          "id": "html-remote-date",
          "title": "Connect a remote scheduling control",
          "chapter": "HTML · Form engineering",
          "brief": "Create a form with id booking. Outside it, add a labeled, required date input named slot. Associate it with booking and allow dates from 2028-02-28 through 2028-03-02 inclusive. The submitted form must include February 29.",
          "url": "https://imon.com.bd/lab.html?exercise=html-remote-date"
        },
        {
          "id": "cx-1-elements-01-star",
          "title": "Shooting Star",
          "chapter": "HTML · Elements",
          "brief": "A date needs a heading. Turn the date line into a level-two heading and add a paragraph that says what the page is about.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-elements-01-star"
        },
        {
          "id": "cx-1-elements-02-elemental",
          "title": "Elemental",
          "chapter": "HTML · Elements",
          "brief": "The four elements each need their own paragraph. Keep them all inside the body element.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-elements-02-elemental"
        },
        {
          "id": "cx-1-elements-03-newspaper",
          "title": "Newspaper",
          "chapter": "HTML · Elements",
          "brief": "A newspaper needs a masthead. Give the paper a level-one headline and keep the article body underneath.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-elements-03-newspaper"
        },
        {
          "id": "cx-1-elements-04-corporate",
          "title": "Corporate Talk",
          "chapter": "HTML · Elements",
          "brief": "Write a short corporate announcement. Start with a level-one headline.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-elements-04-corporate"
        },
        {
          "id": "cx-1-elements-05-chef",
          "title": "Sous-Chef",
          "chapter": "HTML · Elements",
          "brief": "Write a chef's specials board. Give it a level-one headline, then list each dish.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-elements-05-chef"
        },
        {
          "id": "cx-1-elements-06-pet",
          "title": "Lost Pet",
          "chapter": "HTML · Elements",
          "brief": "Write a lost pet notice. Give it a level-one headline and a paragraph with the details.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-elements-06-pet"
        },
        {
          "id": "cx-1-elements-07-band",
          "title": "Favorite Band",
          "chapter": "HTML · Elements",
          "brief": "Write a band page. Headline it with the band name, then add a paragraph and a list of their hits.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-elements-07-band"
        },
        {
          "id": "cx-2-structure-08-blueprint",
          "title": "Blueprint",
          "chapter": "HTML · Structure",
          "brief": "Write a blueprint summary. Give the plan a level-one headline and describe the build in a paragraph.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-structure-08-blueprint"
        },
        {
          "id": "cx-2-structure-09-family-tree",
          "title": "Family Tree",
          "chapter": "HTML · Structure",
          "brief": "Map out a family tree. Headline it, then list the members of each generation in an unordered list.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-structure-09-family-tree"
        },
        {
          "id": "cx-2-structure-10-craigslist-ad",
          "title": "Craigslist Ad",
          "chapter": "HTML · Structure",
          "brief": "Write a classified ad. Headline it, describe the item, and give it a price.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-structure-10-craigslist-ad"
        },
        {
          "id": "cx-2-structure-11-wiki-article",
          "title": "Wiki Article",
          "chapter": "HTML · Structure",
          "brief": "Write an encyclopedia entry. Headline it, then write at least two paragraphs of body text.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-structure-11-wiki-article"
        },
        {
          "id": "cx-2-structure-12-lorem-ipsum",
          "title": "Lorem Ipsum",
          "chapter": "HTML · Structure",
          "brief": "Write a placeholder article. Headline it and add paragraphs of body copy.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-structure-12-lorem-ipsum"
        },
        {
          "id": "cx-2-structure-13-power-rangers",
          "title": "Power Rangers",
          "chapter": "HTML · Structure",
          "brief": "Write a hero team profile. Headline it and list the members in an unordered list.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-structure-13-power-rangers"
        },
        {
          "id": "cx-2-structure-14-top-8",
          "title": "Myspace Top 8",
          "chapter": "HTML · Structure",
          "brief": "Write a ranked top-eight list. Headline it and use an ordered list so the ranking is numbered.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-structure-14-top-8"
        },
        {
          "id": "cx-3-forms-15-google",
          "title": "Google Search",
          "chapter": "HTML · Forms",
          "brief": "Build a search page. Headline it and put a search form on the page.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-forms-15-google"
        },
        {
          "id": "cx-3-forms-15-google-bonus",
          "title": "Google",
          "chapter": "HTML · Forms",
          "brief": "Build a search page with a bonus feature. Headline it and put a search form on the page.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-forms-15-google-bonus"
        },
        {
          "id": "cx-3-forms-16-sign-up",
          "title": "Sign Up",
          "chapter": "HTML · Forms",
          "brief": "Build a sign-up page. Headline it and add a form with the fields a new account needs.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-forms-16-sign-up"
        },
        {
          "id": "cx-3-forms-17-sign-up",
          "title": "Sign Up v2",
          "chapter": "HTML · Forms",
          "brief": "Build a sign-up page. Headline it and add a form with the fields a new account needs.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-forms-17-sign-up"
        },
        {
          "id": "cx-3-forms-18-rsvp",
          "title": "RSVP",
          "chapter": "HTML · Forms",
          "brief": "Build an RSVP page. Headline it and add a form so guests can reply.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-forms-18-rsvp"
        },
        {
          "id": "cx-3-forms-19-contact-us",
          "title": "Contact Us",
          "chapter": "HTML · Forms",
          "brief": "Build a contact page. Headline it and add a form for people to send a message.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-forms-19-contact-us"
        },
        {
          "id": "cx-3-forms-20-welp",
          "title": "Welp!",
          "chapter": "HTML · Forms",
          "brief": "Build a review page. Headline it and add a form so visitors can leave a review.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-forms-20-welp"
        },
        {
          "id": "cx-3-forms-20-welp-nyc",
          "title": "Welp! Public Bathrooms",
          "chapter": "HTML · Forms",
          "brief": "Build a city guide page. Headline it and add a form so visitors can rate a place.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-forms-20-welp-nyc"
        },
        {
          "id": "cx-4-semantic-html-22-the-header",
          "title": "The Header",
          "chapter": "HTML · Semantic HTML",
          "brief": "Give the page a header. Wrap the top of the page in a <header> element.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-semantic-html-22-the-header"
        },
        {
          "id": "cx-4-semantic-html-23-main-footer",
          "title": "Main & Footer",
          "chapter": "HTML · Semantic HTML",
          "brief": "Split the page into a main region and a footer. Use <main> for the content and <footer> for the closing part.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-semantic-html-23-main-footer"
        },
        {
          "id": "cx-4-semantic-html-24-blog-posts",
          "title": "Blog Posts",
          "chapter": "HTML · Semantic HTML",
          "brief": "Turn each post into its own article. Wrap every post in an <article> element.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-semantic-html-24-blog-posts"
        },
        {
          "id": "cx-4-semantic-html-25-figures",
          "title": "Figures",
          "chapter": "HTML · Semantic HTML",
          "brief": "Add a caption to each picture. Wrap every image in a <figure> and add a <figcaption>.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-semantic-html-25-figures"
        },
        {
          "id": "cx-4-semantic-html-26-final-touches",
          "title": "Final Touches",
          "chapter": "HTML · Semantic HTML",
          "brief": "Finish the page structure. Give it a <header>, a <main> and a <footer>.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-semantic-html-26-final-touches"
        },
        {
          "id": "cx-1-selectors-01-picasso",
          "title": "Picasso",
          "chapter": "CSS · Selectors",
          "brief": "Use the id selectors to style the two hero sections.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-selectors-01-picasso"
        },
        {
          "id": "cx-1-selectors-02-syntax",
          "title": "Syntax",
          "chapter": "CSS · Selectors",
          "brief": "Set the paragraph's colour and font size.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-selectors-02-syntax"
        },
        {
          "id": "cx-1-selectors-03-selectors-1",
          "title": "Selectors Pt. 1",
          "chapter": "CSS · Selectors",
          "brief": "Style the heading and the paragraph separately.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-selectors-03-selectors-1"
        },
        {
          "id": "cx-1-selectors-04-selectors-2",
          "title": "Selectors Pt. 2",
          "chapter": "CSS · Selectors",
          "brief": "Style the heading and the paragraph separately.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-selectors-04-selectors-2"
        },
        {
          "id": "cx-1-selectors-05-concert-flyer",
          "title": "Concert Flyer",
          "chapter": "CSS · Selectors",
          "brief": "Style the heading and the paragraph separately.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-1-selectors-05-concert-flyer"
        },
        {
          "id": "cx-2-properties-06-rainbow",
          "title": "06-rainbow",
          "chapter": "CSS · Properties",
          "brief": "Give the rainbow its colours.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-properties-06-rainbow"
        },
        {
          "id": "cx-2-properties-07-measurements",
          "title": "07-measurements",
          "chapter": "CSS · Properties",
          "brief": "Set a width and a height on the element.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-properties-07-measurements"
        },
        {
          "id": "cx-2-properties-08-five-families",
          "title": "Place text here.",
          "chapter": "CSS · Properties",
          "brief": "Set the font family.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-properties-08-five-families"
        },
        {
          "id": "cx-2-properties-09-spellcheck",
          "title": "09-spellcheck",
          "chapter": "CSS · Properties",
          "brief": "Decorate the text with a line-through.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-properties-09-spellcheck"
        },
        {
          "id": "cx-2-properties-10-wallpaper",
          "title": "10-wallpaper",
          "chapter": "CSS · Properties",
          "brief": "Give the page a background.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-properties-10-wallpaper"
        },
        {
          "id": "cx-2-properties-11-shorthands",
          "title": "Favorite song/artist here.",
          "chapter": "CSS · Properties",
          "brief": "Use the margin and padding shorthands.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-properties-11-shorthands"
        },
        {
          "id": "cx-2-properties-12-invitation",
          "title": "DATE HERE",
          "chapter": "CSS · Properties",
          "brief": "Give the invitation a border and a background.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-2-properties-12-invitation"
        },
        {
          "id": "cx-3-box-model-14-profile-status",
          "title": "Profile Status",
          "chapter": "CSS · Box Model",
          "brief": "Space the elements out with padding and margin, and add a border.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-box-model-14-profile-status"
        },
        {
          "id": "cx-3-box-model-15-wiggle-room",
          "title": "Wiggle Room",
          "chapter": "CSS · Box Model",
          "brief": "Give the content room to breathe with padding.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-box-model-15-wiggle-room"
        },
        {
          "id": "cx-3-box-model-16-spaced-out",
          "title": "Spaced Out",
          "chapter": "CSS · Box Model",
          "brief": "Push the elements apart with margin.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-box-model-16-spaced-out"
        },
        {
          "id": "cx-3-box-model-17-make-it-count",
          "title": "Make It Count",
          "chapter": "CSS · Box Model",
          "brief": "Give the box an exact width and height.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-box-model-17-make-it-count"
        },
        {
          "id": "cx-3-box-model-18-local-library",
          "title": "Local Library",
          "chapter": "CSS · Box Model",
          "brief": "Give the cards padding and a border.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-3-box-model-18-local-library"
        },
        {
          "id": "cx-4-layout-19-lines-and-blocks",
          "title": "19-lines-and-blocks",
          "chapter": "CSS · Layout",
          "brief": "Change how the element is displayed.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-layout-19-lines-and-blocks"
        },
        {
          "id": "cx-4-layout-20-go-with-the-flow",
          "title": "20-go-with-the-flow",
          "chapter": "CSS · Layout",
          "brief": "Change how the element is displayed.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-layout-20-go-with-the-flow"
        },
        {
          "id": "cx-4-layout-21-its-all-relative",
          "title": "21-its-all-relative",
          "chapter": "CSS · Layout",
          "brief": "Position the element relative to its parent.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-layout-21-its-all-relative"
        },
        {
          "id": "cx-4-layout-22-absolute-removal",
          "title": "22-absolute-removal",
          "chapter": "CSS · Layout",
          "brief": "Take the element out of the flow with absolute positioning.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-layout-22-absolute-removal"
        },
        {
          "id": "cx-4-layout-23-fixed-banner",
          "title": "23-fixed-banner",
          "chapter": "CSS · Layout",
          "brief": "Pin the banner to the screen with fixed positioning.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-layout-23-fixed-banner"
        },
        {
          "id": "cx-4-layout-24-sticky-elements",
          "title": "24-sticky-elements",
          "chapter": "CSS · Layout",
          "brief": "Make the element stick as the page scrolls.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-4-layout-24-sticky-elements"
        },
        {
          "id": "cx-5-flexbox-26-in-the-flex",
          "title": "flex container",
          "chapter": "CSS · Flexbox",
          "brief": "Make the row a flex container.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-5-flexbox-26-in-the-flex"
        },
        {
          "id": "cx-5-flexbox-27-directions",
          "title": "flex container",
          "chapter": "CSS · Flexbox",
          "brief": "Choose the direction the cards flow in.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-5-flexbox-27-directions"
        },
        {
          "id": "cx-5-flexbox-28-spacing",
          "title": "flex container",
          "chapter": "CSS · Flexbox",
          "brief": "Add a gap between the cards.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-5-flexbox-28-spacing"
        },
        {
          "id": "cx-5-flexbox-29-cross-axis",
          "title": "29-cross-axis",
          "chapter": "CSS · Flexbox",
          "brief": "Align the cards on the cross axis.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-5-flexbox-29-cross-axis"
        },
        {
          "id": "cx-5-flexbox-30-flexible-sizing",
          "title": "30-flexible-sizing",
          "chapter": "CSS · Flexbox",
          "brief": "Let the cards grow to fill the row.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-5-flexbox-30-flexible-sizing"
        },
        {
          "id": "cx-5-flexbox-31-pokemon-cards",
          "title": "31-pokemon-cards",
          "chapter": "CSS · Flexbox",
          "brief": "Lay the cards out in a flex row.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-5-flexbox-31-pokemon-cards"
        },
        {
          "id": "cx-challenge-for-rent",
          "title": "🏠 For Rent",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-for-rent"
        },
        {
          "id": "cx-challenge-garage-sale",
          "title": "🪴 Garage Sale",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-garage-sale"
        },
        {
          "id": "cx-challenge-map-directions",
          "title": "🗺️ Map Directions",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-map-directions"
        },
        {
          "id": "cx-challenge-movie-review",
          "title": "🍿 Movie Review",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-movie-review"
        },
        {
          "id": "cx-challenge-packing-list",
          "title": "🧳 Packing List",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-packing-list"
        },
        {
          "id": "cx-challenge-ramen-restaurant",
          "title": "🍜 Ramen Restaurant",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-ramen-restaurant"
        },
        {
          "id": "cx-challenge-bestie-fan-page",
          "title": "🫶 Bestie Fan Page",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-bestie-fan-page"
        },
        {
          "id": "cx-challenge-i-spy",
          "title": "👁️ I Spy",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-i-spy"
        },
        {
          "id": "cx-challenge-juliens-art-mart",
          "title": "🎨 Julien's Art Mart",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-juliens-art-mart"
        },
        {
          "id": "cx-challenge-messy-closet",
          "title": "👕 Messy Closet",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-messy-closet"
        },
        {
          "id": "cx-challenge-metamorphosis",
          "title": "🦋 Metamorphosis",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-metamorphosis"
        },
        {
          "id": "cx-challenge-song-lyrics",
          "title": "🎵 Song Lyrics",
          "chapter": "Challenges · Freeform",
          "brief": "A freeform build. Look at the preview and make it look the way you want it to.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-challenge-song-lyrics"
        },
        {
          "id": "cx-js-1-calculator",
          "title": "Build a calculator",
          "chapter": "JavaScript · The Basics",
          "brief": "A calculator reads two numbers and does the maths for you. Write a function called `add` that returns the sum of its two arguments, then log the answer for 19 and 23.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-js-1-calculator"
        },
        {
          "id": "cx-js-2-dom",
          "title": "Talk to the page",
          "chapter": "JavaScript · The Basics",
          "brief": "JavaScript reaches into the page through the DOM. Find the element with the id `greeting` and set its text to `Hello, world!`.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-js-2-dom"
        },
        {
          "id": "cx-js-3-event",
          "title": "Answer a click",
          "chapter": "JavaScript · The Basics",
          "brief": "Events let the page react. Add a click listener to the button with the id `go` that logs `clicked`.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-js-3-event"
        },
        {
          "id": "cx-js-4-object",
          "title": "Make an object",
          "chapter": "JavaScript · The Basics",
          "brief": "An object holds related values under keys. Create an object called `book` with a `title` and an `author`, then log the title.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-js-4-object"
        },
        {
          "id": "cx-js-5-storage",
          "title": "Remember a value",
          "chapter": "JavaScript · The Basics",
          "brief": "localStorage keeps a value for next time. Save the number 42 under the key `score`, read it back and log it. In this sandbox the practice store resets each time you run the example.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-js-5-storage"
        },
        {
          "id": "cx-js-6-format",
          "title": "Format a price",
          "chapter": "JavaScript · The Basics",
          "brief": "Prices read better with thousands separators. Write a function called `formatPrice` that takes a number and returns it with a comma every three digits, then log `formatPrice(1234567)`.",
          "url": "https://imon.com.bd/lab.html?exercise=cx-js-6-format"
        },
        {
          "id": "mdn-spending-caption",
          "title": "Name a spending table",
          "chapter": "HTML · Structure",
          "brief": "Give the spending table a caption that tells a reader what the figures describe.",
          "url": "https://imon.com.bd/lab.html?exercise=mdn-spending-caption"
        },
        {
          "id": "mdn-spending-headers",
          "title": "Identify column headings",
          "chapter": "HTML · Structure",
          "brief": "Change the five cells naming the columns from data cells to header cells.",
          "url": "https://imon.com.bd/lab.html?exercise=mdn-spending-headers"
        },
        {
          "id": "mdn-spending-sections",
          "title": "Group the rows",
          "chapter": "HTML · Structure",
          "brief": "Wrap the column headings in thead, the purchase rows in tbody, and the total row in tfoot.",
          "url": "https://imon.com.bd/lab.html?exercise=mdn-spending-sections"
        }
      ]
    },
    {
      "id": "ai",
      "title": "AI Lab",
      "subject": "Python, machine learning and system design",
      "url": "https://imon.com.bd/ai-lab.html",
      "quizUrl": "https://imon.com.bd/ai-lab.html#course-quiz",
      "exercises": [
        {
          "id": "ai-count-tokens",
          "title": "Count the tokens",
          "chapter": "Python for models",
          "brief": "A tokenizer splits text into pieces. Write a function called `count_tokens` that takes a string and returns the number of whitespace-separated words in it, then print the answer for \"the quick brown fox\".",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-count-tokens"
        },
        {
          "id": "ai-normalise",
          "title": "Scale the scores",
          "chapter": "Python for models",
          "brief": "Model outputs arrive on any scale. Write `normalise` so it takes a list of numbers and divides each one by the largest value in the list. Print the result for [2, 4, 8].",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-normalise"
        },
        {
          "id": "ai-softmax",
          "title": "Softmax",
          "chapter": "Python for models",
          "brief": "Softmax turns raw scores into probabilities that add up to one. Write `softmax` that takes a list of numbers, subtracts the largest value from each one (so nothing overflows), exponentiates them, and divides each by the total. Print the result for [1, 2, 3].",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-softmax"
        },
        {
          "id": "ai-sliding-window",
          "title": "Sliding window",
          "chapter": "Python for models",
          "brief": "A sliding window looks at every run of `size` items in a list. Write `windows` that returns each run of `size` numbers, in order. Print the result of `windows([1, 2, 3, 4], 2)`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-sliding-window"
        },
        {
          "id": "ai-bigrams",
          "title": "Count the bigrams",
          "chapter": "Python for models",
          "brief": "A bigram is two words next to each other. Write `bigram_counts` that takes a list of words and returns a dictionary counting each pair. Print the result for [\"a\", \"b\", \"a\"].",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-bigrams"
        },
        {
          "id": "ai-cosine",
          "title": "Cosine similarity",
          "chapter": "Python for models",
          "brief": "Cosine similarity says how alike two vectors are, ignoring their size. Write `cosine` that takes two lists of numbers and returns the dot product divided by the two lengths. Print the result for [1, 0] and [1, 0].",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-cosine"
        },
        {
          "id": "ai-mean-baseline",
          "title": "The mean is the baseline",
          "chapter": "Python for models",
          "brief": "Every model has to beat the mean. Write `baseline` that takes a list of numbers and returns the average, then print the mean of [2, 4, 6, 8].",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-mean-baseline"
        },
        {
          "id": "ai-top-k",
          "title": "Keep the best three",
          "chapter": "Python for models",
          "brief": "A model usually returns many candidates and the caller keeps the best few. Write `top_k` that returns the `k` largest numbers in a list, highest first. Print `top_k([3, 9, 1, 7], 2)`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-top-k"
        },
        {
          "id": "ai-token-budget",
          "title": "Stay inside the budget",
          "chapter": "Python for models",
          "brief": "A request has a token budget. Write `truncate` that takes a list of tokens and a budget and returns only the first `budget` tokens. Print `truncate([1, 2, 3, 4, 5], 3)`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-token-budget"
        },
        {
          "id": "ai-word-frequency",
          "title": "How often each word",
          "chapter": "Python for models",
          "brief": "Write `word_counts` that takes a sentence split into words and returns a dictionary of how many times each word appears. Print it for [\"a\", \"b\", \"a\"].",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-word-frequency"
        },
        {
          "id": "ai-leaky-bucket",
          "title": "A leaky bucket",
          "chapter": "Python for models",
          "brief": "A leaky bucket shapes a bursty stream into a steady one. Write `leaky_bucket` that takes a list of arrivals per second and a capacity, and returns how many requests leave the bucket each second. Print `leaky_bucket([3, 0, 0, 4], 2)`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-leaky-bucket"
        },
        {
          "id": "ai-exponential-backoff",
          "title": "Back off, then try again",
          "chapter": "Python for models",
          "brief": "When a call fails, wait twice as long before trying again. Write `backoff` that takes an attempt number starting at one and returns the wait in seconds: 1, 2, 4, 8. Print `backoff(4)`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-exponential-backoff"
        },
        {
          "id": "ai-retry-budget",
          "title": "Do not retry forever",
          "chapter": "Python for models",
          "brief": "Retries cost money and time, so they need a ceiling. Write `should_retry` that returns True only when the attempt number is below the limit. Print `should_retry(2, 3)` and `should_retry(3, 3)`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-retry-budget"
        },
        {
          "id": "ai-idempotency-key",
          "title": "One request, one effect",
          "chapter": "Python for models",
          "brief": "A retried request must not charge twice. Write `is_duplicate` that takes the keys already seen and a new key, and returns True when the key was seen before. Print `is_duplicate([\"a\", \"b\"], \"b\")`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-idempotency-key"
        },
        {
          "id": "ai-cache-hit",
          "title": "Did the cache answer?",
          "chapter": "Python for models",
          "brief": "Write `cache_status` that takes a cache dictionary and a key and returns \"hit\" when the key is in the cache and \"miss\" otherwise. Print `cache_status({\"a\": 1}, \"a\")`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-cache-hit"
        },
        {
          "id": "ai-semantic-cache",
          "title": "A cache that understands",
          "chapter": "Python for models",
          "brief": "A semantic cache serves an old answer when the new question means the same thing. Write `semantic_cache` that takes a list of questions and returns the first one whose letters match the query exactly, or None. Print `semantic_cache([\"hello there\", \"bye\"], \"hello there\")`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-semantic-cache"
        },
        {
          "id": "ai-circuit-breaker",
          "title": "Open the breaker",
          "chapter": "Python for models",
          "brief": "A circuit breaker stops sending traffic to a service that keeps failing. Write `breaker_state` that takes a list of results where True means success and returns \"open\" when three failures in a row are found, otherwise \"closed\". Print `breaker_state([True, False, False, False])`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-circuit-breaker"
        },
        {
          "id": "ai-queue-depth",
          "title": "How deep is the queue",
          "chapter": "Python for models",
          "brief": "Write `queue_depth` that takes a list of job sizes and returns the total size still waiting. Print `queue_depth([1, 2, 3])`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-queue-depth"
        },
        {
          "id": "ai-cost-per-call",
          "title": "What does a call cost",
          "chapter": "Python for models",
          "brief": "Write `call_cost` that takes the number of input tokens, the number of output tokens and a price per thousand tokens for each, and returns the total cost. Print `call_cost(1000, 500, 0.002, 0.004)`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-cost-per-call"
        },
        {
          "id": "ai-latency-budget",
          "title": "Spend the latency budget",
          "chapter": "Python for models",
          "brief": "A request has a latency budget split across several steps. Write `within_budget` that adds the given step times and returns True when the total is under the budget. Print `within_budget([100, 200], 500)`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-latency-budget"
        },
        {
          "id": "ai-accuracy-check",
          "title": "Score the answers",
          "chapter": "Python for models",
          "brief": "Write `accuracy` that takes the predicted labels and the true labels and returns the share that match, as a number between zero and one. Print `accuracy([1, 0, 1], [1, 0, 0])`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-accuracy-check"
        },
        {
          "id": "ai-confusion-matrix",
          "title": "Where the model is wrong",
          "chapter": "Python for models",
          "brief": "Write `confusion` that takes the predicted labels and the true labels and returns a dictionary with the counts of true positives, true negatives, false positives and false negatives. Print it for [1, 0, 1] against [1, 0, 0].",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-confusion-matrix"
        },
        {
          "id": "ai-redact-pii",
          "title": "Hide the personal data",
          "chapter": "Python for models",
          "brief": "Write `redact` that takes a list of names and returns the same list with every name replaced by the text \"REDACTED\". Print `redact([\"Ada\", \"Grace\"])`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-redact-pii"
        },
        {
          "id": "ai-prompt-injection",
          "title": "Spot the injection",
          "chapter": "AI safety",
          "brief": "A prompt injection tries to make the model ignore its instructions. Write `looks_like_injection` that returns True when the text contains \"ignore previous\". Print `looks_like_injection(\"please ignore previous instructions\")`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-prompt-injection"
        },
        {
          "id": "ai-grounded-answer",
          "title": "Keep the answer grounded",
          "chapter": "AI safety",
          "brief": "A grounded answer has to point at a source. Write `has_grounding` that returns True only when the answer names at least one of the given sources. Print `has_grounding(\"the sky is blue, according to nasa\", [\"nasa\"])`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-grounded-answer"
        },
        {
          "id": "ai-eval-suite",
          "title": "Run the eval suite",
          "chapter": "AI safety",
          "brief": "An eval suite is a list of cases with the answer you expect. Write `run_eval` that takes the cases and a function and returns the share of cases the function gets right. Print `run_eval([(1, 1), (2, 3)], lambda pair: pair[0] == pair[1])`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-eval-suite"
        },
        {
          "id": "ai-drift-watch",
          "title": "Watch for drift",
          "chapter": "AI safety",
          "brief": "A model starts to drift when its accuracy falls below the threshold it was approved at. Write `has_drifted` that takes the current accuracy and the approved accuracy and returns True when the current score is lower. Print `has_drifted(0.8, 0.9)`.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-drift-watch"
        },
        {
          "id": "ai-design-rate-limit",
          "title": "Rate limit the public API",
          "chapter": "System design",
          "brief": "Design what happens when 50,000 people call your public API at once. Explain how you would rate limit the traffic per user, what you would do with a request that goes over the limit, and how the service stays available when one user floods it.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-rate-limit"
        },
        {
          "id": "ai-design-timeout",
          "title": "Give the call a deadline",
          "chapter": "System design",
          "brief": "Your service calls a slow third party that sometimes never answers. Explain how you would use a timeout and retry with backoff so that one slow call cannot hold up the whole request, and how you would fail fast when the dependency is clearly broken.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-timeout"
        },
        {
          "id": "ai-design-cache",
          "title": "Cache the expensive answers",
          "chapter": "System design",
          "brief": "Every request to your assistant costs money, and the same question arrives often. Explain how you would cache the answers, how long a cache entry should live, and how you would keep a stale entry from being served after the model changed.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-cache"
        },
        {
          "id": "ai-design-idempotency",
          "title": "Never charge twice",
          "chapter": "System design",
          "brief": "A payment call timed out, so the client retried, and now the customer has been charged twice. Explain how you would make the write idempotent so that a retry is safe, and how the client would know which attempt was the real one.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-idempotency"
        },
        {
          "id": "ai-design-scale",
          "title": "Scale from one machine",
          "chapter": "System design",
          "brief": "Your service starts on one machine and needs to serve a million users. Explain how you would scale it out over time, when you would add a read replica or a shard, and how the data store would keep up with the writes.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-scale"
        },
        {
          "id": "ai-design-consistency",
          "title": "Strong or eventual, pick one",
          "chapter": "System design",
          "brief": "A user updates their profile and immediately sees the old version on another page. Explain the consistency model you would choose, where you would relax it, and how you would keep the system available during a network split.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-consistency"
        },
        {
          "id": "ai-design-queue",
          "title": "Take the slow work off the path",
          "chapter": "System design",
          "brief": "Generating a report takes four minutes, and the user should not have to wait for it. Explain how you would use a queue and a background worker, and what you would do when the queue grows longer than the workers can handle.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-queue"
        },
        {
          "id": "ai-design-prompt-injection",
          "title": "The user wrote the instructions",
          "chapter": "AI safety",
          "brief": "A user can put anything in the input box, including text that tries to make your assistant reveal its system prompt. Explain how you would treat untrusted input, where you would put the boundary between instruction and data, and how you would test for this before shipping.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-prompt-injection"
        },
        {
          "id": "ai-design-hallucination",
          "title": "The model made it up",
          "chapter": "AI safety",
          "brief": "Your assistant confidently invented a citation that does not exist. Explain how you would ground the answers, how you would measure how often it happens, and what you would show the user when the model is not sure.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-hallucination"
        },
        {
          "id": "ai-design-privacy",
          "title": "Do not keep what you must not keep",
          "chapter": "AI safety",
          "brief": "People type their medical details into your assistant. Explain what personal data you would collect, what you would redact before sending it to a model, how long you would keep the logs, and who may read them.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-privacy"
        },
        {
          "id": "ai-design-eval",
          "title": "Prove it got better",
          "chapter": "AI safety",
          "brief": "You changed the prompt and the answers look different. Explain how you would build an eval set, how you would compare the two versions, and what you would watch for so that one good prompt does not hide a regression.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-eval"
        },
        {
          "id": "ai-design-cost",
          "title": "Keep the bill under control",
          "chapter": "System design",
          "brief": "The bill for the model calls tripled this month. Explain where the tokens are going, how you would cut the cost without making the answers worse, and how you would make the spend visible before it becomes a surprise.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-cost"
        },
        {
          "id": "ai-design-migration",
          "title": "Swap the model without a break",
          "chapter": "System design",
          "brief": "You want to move from one model to a new one, but the answers come out in a different shape. Explain how you would roll the change out, how you would keep the old model available, and how you would undo the change if it goes wrong.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-design-migration"
        },
        {
          "id": "ai-api-first-call",
          "title": "Make the first call",
          "chapter": "Working with APIs",
          "brief": "An API call returns a response with a status code and a body. The lab ships a fake API at `https://api.example.com/users`. Write code that imports `requests`, makes a GET call to that address, and prints the status code. The answer is 200.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-api-first-call"
        },
        {
          "id": "ai-api-read-json",
          "title": "Read the body",
          "chapter": "Working with APIs",
          "brief": "A JSON body is a list of records. Write code that calls `https://api.example.com/users`, turns the body into Python objects with `response.json()`, and prints the name of every user. There are five of them, and the first is Ada Lovelace.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-api-read-json"
        },
        {
          "id": "ai-api-check-status",
          "title": "Check before you trust it",
          "chapter": "Working with APIs",
          "brief": "A call that fails still returns a response, so the status has to be checked before the body is read. Write code that calls `https://api.example.com/does-not-exist`, and prints `missing` when the status is 404 and `found` otherwise.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-api-check-status"
        },
        {
          "id": "ai-api-search",
          "title": "Send a query",
          "chapter": "Working with APIs",
          "brief": "A search is a URL with a query string on the end. Write code that calls `https://api.example.com/search?q=attention` and prints how many documents came back. One document matches.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-api-search"
        },
        {
          "id": "ai-api-pagination",
          "title": "Page through the results",
          "chapter": "Working with APIs",
          "brief": "A big list does not come in one piece. Write code that calls the documents endpoint with `?page=1` and `?page=2`, then prints how many documents came back in total. There are four documents.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-api-pagination"
        },
        {
          "id": "ai-api-retry",
          "title": "Try again, carefully",
          "chapter": "Working with APIs",
          "brief": "A request that fails with a server error is worth trying again; a request that fails with a 404 is not. Write code that calls the users endpoint, and if the status is 500 it tries a second time. Print the status code of the call that finally answered.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-api-retry"
        },
        {
          "id": "ai-api-timeout",
          "title": "Give it a deadline",
          "chapter": "Working with APIs",
          "brief": "A call with no deadline can hang forever, so every call needs one. Write code that sets a timeout of 5 seconds on the session, makes the call to the users endpoint, and prints the number of users that came back.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-api-timeout"
        },
        {
          "id": "ai-db-create",
          "title": "Make the table",
          "chapter": "Working with data",
          "brief": "The lab ships an in-memory database. Write code that imports `sqlite3`, opens a database called `shop`, and creates a table called `orders` with the columns `id` (INTEGER), `item` (TEXT) and `price` (INTEGER). Then print the names of the tables.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-db-create"
        },
        {
          "id": "ai-db-insert",
          "title": "Put the rows in",
          "chapter": "Working with data",
          "brief": "Write code that creates a table `orders` with the columns `id`, `item` and `price`, inserts two rows — `(1, 'book', 12)` and `(2, 'pen', 2)` — and then prints how many rows the table holds.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-db-insert"
        },
        {
          "id": "ai-db-select",
          "title": "Ask a question",
          "chapter": "Working with data",
          "brief": "Write code that creates a table `orders`, inserts `(1, 'book', 12)`, `(2, 'pen', 2)` and `(3, 'lamp', 30)`, then asks for the items that cost more than 10 and prints each one. The answer is `book` and `lamp`, in that order.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-db-select"
        },
        {
          "id": "ai-db-order-limit",
          "title": "Only the top two",
          "chapter": "Working with data",
          "brief": "Write code that creates a table `orders` with three rows — `(1, 'book', 12)`, `(2, 'pen', 2)` and `(3, 'lamp', 30)` — then asks for the two most expensive items and prints each one. The answer is `lamp` and `book`, in that order.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-db-order-limit"
        },
        {
          "id": "ai-db-update",
          "title": "Change one row",
          "chapter": "Working with data",
          "brief": "Write code that creates a table `orders` with two rows — `(1, 'book', 12)` and `(2, 'pen', 2)` — raises the price of the book to 20 with an UPDATE, and then prints the price of the book.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-db-update"
        },
        {
          "id": "ai-db-delete",
          "title": "Remove what is finished",
          "chapter": "Working with data",
          "brief": "Write code that creates a table `orders` with three rows — `(1, 'book', 12)`, `(2, 'pen', 2)` and `(3, 'lamp', 30)` — deletes the rows that cost less than 10, and then prints how many rows are left. The answer is 2.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-db-delete"
        },
        {
          "id": "ai-db-aggregate",
          "title": "Add it up in the database",
          "chapter": "Working with data",
          "brief": "Not every question needs the rows back. Write code that creates a table `orders` with three rows — `(1, 'book', 12)`, `(2, 'pen', 2)` and `(3, 'lamp', 30)` — then asks the database for the total price with a `SUM` and prints it. The answer is 44.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-db-aggregate"
        },
        {
          "id": "exercism-twofer-two-fer",
          "title": "Two for tea",
          "chapter": "Python practice studio",
          "brief": "Return \"One for NAME, one for me.\" Substitute \"you\" when name is None. Define solve(name). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-twofer-two-fer"
        },
        {
          "id": "exercism-leapyear-leap",
          "title": "Build a leap-year calendar",
          "chapter": "Python practice studio",
          "brief": "Return True when a year is divisible by four, except for century years unless also divisible by 400. Define solve(year). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-leapyear-leap"
        },
        {
          "id": "exercism-convert-raindrops",
          "title": "Translate numbers into rain sounds",
          "chapter": "Python practice studio",
          "brief": "Append Pling for a factor of 3, Plang for 5, and Plong for 7, in that order. Return the number as text if none fit. Define solve(number). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-convert-raindrops"
        },
        {
          "id": "exercism-squareofsum-difference-of-squares",
          "title": "Square a running total",
          "chapter": "Python practice studio",
          "brief": "Add the integers from one through number and square the final total. Define solve(number). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-squareofsum-difference-of-squares"
        },
        {
          "id": "exercism-sumofsquares-difference-of-squares",
          "title": "Add the square numbers",
          "chapter": "Python practice studio",
          "brief": "Square each integer from one through number and add those squares. Define solve(number). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-sumofsquares-difference-of-squares"
        },
        {
          "id": "exercism-differenceofsquares-difference-of-squares",
          "title": "Compare two square totals",
          "chapter": "Python practice studio",
          "brief": "Subtract the sum of the individual squares from the square of the sum for integers 1 through number. Define solve(number). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-differenceofsquares-difference-of-squares"
        },
        {
          "id": "exercism-ispangram-pangram",
          "title": "Check alphabet coverage",
          "chapter": "Python practice studio",
          "brief": "Return True if the sentence contains every English letter at least once. Ignore case and punctuation. Define solve(sentence). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-ispangram-pangram"
        },
        {
          "id": "exercism-isisogram-isogram",
          "title": "Find repeated letters",
          "chapter": "Python practice studio",
          "brief": "Return True when no letter occurs twice. Ignore case, spaces and hyphens. Define solve(phrase). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-isisogram-isogram"
        },
        {
          "id": "exercism-steps-collatz-conjecture",
          "title": "Count a number sequence",
          "chapter": "Python practice studio",
          "brief": "Start with a positive integer. Halve an even number or triple an odd number and add one. Count the steps to reach one. Define solve(number). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-steps-collatz-conjecture"
        },
        {
          "id": "exercism-value-resistor-color-duo",
          "title": "Read a resistor color pair",
          "chapter": "Python practice studio",
          "brief": "Read the first two bands as decimal digits. In order from 0 to 9 the colors are black, brown, red, orange, yellow, green, blue, violet, grey and white. Define solve(colors). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-value-resistor-color-duo"
        },
        {
          "id": "exercism-score-darts",
          "title": "Score a target by distance",
          "chapter": "Python practice studio",
          "brief": "A dart lands at (x, y). Award 10 points within radius 1, 5 within radius 5, 1 within radius 10, and 0 outside. Boundaries count. Define solve(x, y). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-score-darts"
        },
        {
          "id": "exercism-isarmstrongnumber-armstrong-numbers",
          "title": "Raise digits to a power",
          "chapter": "Python practice studio",
          "brief": "For a nonnegative integer, raise each digit to the number of digits and add the results. Return whether the sum equals the input. Define solve(number). Use Run to experiment and Check answer to try the full set of inputs.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=exercism-isarmstrongnumber-armstrong-numbers"
        },
        {
          "id": "ai-eval-cost",
          "title": "Price a classifier’s mistakes",
          "chapter": "Model evaluation studio",
          "brief": "A monitoring classifier emits integer scores from 0 to 100. Predict positive when score ≥ threshold. A missed positive costs five review units and a false alarm costs two. Return the total cost for the paired lists; empty input costs zero.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-eval-cost"
        },
        {
          "id": "ai-eval-operating-point",
          "title": "Choose an operating threshold",
          "chapter": "Model evaluation studio",
          "brief": "Evaluate each candidate using the same cost (miss 5, false alarm 2; scores at the threshold count positive). Return the cheapest threshold, choosing the larger threshold on a tie to limit alerts. Candidates is nonempty and may be unsorted.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-eval-operating-point"
        },
        {
          "id": "ai-eval-ranking",
          "title": "Score retrieval with reciprocal rank",
          "chapter": "Model evaluation studio",
          "brief": "A search page returns a list of document IDs in ranked order. Return 100 divided by the one-based rank of the first relevant result, rounded down to a whole number. Return zero when the list is empty or none of the IDs are relevant. Later relevant results do not add points.",
          "url": "https://imon.com.bd/ai-lab.html?exercise=ai-eval-ranking"
        }
      ]
    },
    {
      "id": "circuits",
      "title": "Circuits & Signals",
      "subject": "Electronics, logic and oscilloscope measurements",
      "url": "https://imon.com.bd/circuits.html",
      "quizUrl": "https://imon.com.bd/circuits.html#course-quiz",
      "exercises": [
        {
          "id": "circuit-ohms-current",
          "title": "Current through a resistor",
          "chapter": "Voltage, current and resistance",
          "brief": "A 12 V supply drives a 470 Ω resistor. Work out the current that flows through it, in milliamps.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-ohms-current"
        },
        {
          "id": "circuit-ohms-power",
          "title": "Power in a resistor",
          "chapter": "Voltage, current and resistance",
          "brief": "A 5 V supply is connected to a 1 kΩ resistor. How much power does the resistor turn into heat, in milliwatts?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-ohms-power"
        },
        {
          "id": "circuit-led-resistor",
          "title": "Resistor for an LED",
          "chapter": "Voltage, current and resistance",
          "brief": "A red LED drops 2.0 V and should run at 15 mA from a 9 V supply. What value of series resistor do you need, in ohms?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-led-resistor"
        },
        {
          "id": "circuit-kcl-node",
          "title": "Current at a junction",
          "chapter": "Kirchhoff’s laws",
          "brief": "1.2 A arrives at a junction and splits into two branches. One branch takes 450 mA. How much goes down the other branch, in milliamps?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-kcl-node"
        },
        {
          "id": "circuit-series-parallel",
          "title": "Two resistors in parallel",
          "chapter": "Kirchhoff’s laws",
          "brief": "Two resistors of 3 kΩ and 6 kΩ sit in parallel. What is the equivalent resistance, in ohms?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-series-parallel"
        },
        {
          "id": "circuit-kvl-loop",
          "title": "Voltage around a loop",
          "chapter": "Kirchhoff’s laws",
          "brief": "A 15 V source drives a loop with a 220 Ω and a 330 Ω resistor in series. What is the voltage across the 330 Ω resistor?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-kvl-loop"
        },
        {
          "id": "circuit-divider-output",
          "title": "Divider output",
          "chapter": "The voltage divider",
          "brief": "A 10 kΩ and a 15 kΩ resistor form a divider across a 12 V supply. Take the output across the 15 kΩ resistor. What is the output voltage?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-divider-output"
        },
        {
          "id": "circuit-divider-design",
          "title": "Design a divider",
          "chapter": "The voltage divider",
          "brief": "You need 2.5 V from a 10 V supply. Put a 20 kΩ resistor on top. What should the bottom resistor be, in ohms?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-divider-design"
        },
        {
          "id": "circuit-divider-loading",
          "title": "Why the output sags",
          "chapter": "The voltage divider",
          "brief": "Your divider gives the right voltage with nothing attached, but the voltage drops as soon as you connect the circuit. Explain why, and say what you would add to fix it.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-divider-loading"
        },
        {
          "id": "circuit-rc-tau",
          "title": "The RC time constant",
          "chapter": "Capacitors and the RC circuit",
          "brief": "A 10 kΩ resistor and a 22 µF capacitor form an RC circuit. What is the time constant, in milliseconds?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-rc-tau"
        },
        {
          "id": "circuit-rc-one-tau",
          "title": "Charging after one time constant",
          "chapter": "Capacitors and the RC circuit",
          "brief": "A capacitor charges through a resistor from a 10 V source. After exactly one time constant, what is the voltage across it, in volts? (Hint: 1 − e⁻¹.)",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-rc-one-tau"
        },
        {
          "id": "circuit-rc-settling",
          "title": "How long to settle",
          "chapter": "Capacitors and the RC circuit",
          "brief": "A 4.7 kΩ resistor and a 10 µF capacitor make a filter. How many milliseconds does it take to settle to within 1% of the final value? (Use five time constants.)",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-rc-settling"
        },
        {
          "id": "circuit-rl-tau",
          "title": "The RL time constant",
          "chapter": "Inductors and the RL circuit",
          "brief": "A 100 mH inductor and a 220 Ω resistor form an RL circuit. What is the time constant, in milliseconds?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-rl-tau"
        },
        {
          "id": "circuit-inductor-energy",
          "title": "Energy in the field",
          "chapter": "Inductors and the RL circuit",
          "brief": "A 50 mH inductor carries 2 A. How much energy is stored in its magnetic field, in millijoules? (E = ½LI².)",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-inductor-energy"
        },
        {
          "id": "circuit-rl-flyback",
          "title": "The spike when you switch off",
          "chapter": "Inductors and the RL circuit",
          "brief": "You switch off a coil and the voltage across it spikes to hundreds of volts. Explain what is happening, and say what you would put across the coil to protect the switch.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-rl-flyback"
        },
        {
          "id": "circuit-filter-cutoff",
          "title": "Cutoff frequency",
          "chapter": "RLC, resonance and filters",
          "brief": "An RC low-pass uses a 4.7 kΩ resistor and a 100 nF capacitor. What is its cutoff frequency, in hertz?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-filter-cutoff"
        },
        {
          "id": "circuit-resonance",
          "title": "Resonant frequency",
          "chapter": "RLC, resonance and filters",
          "brief": "A 10 mH inductor and a 100 nF capacitor form a tank circuit. What is the resonant frequency, in kilohertz?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-resonance"
        },
        {
          "id": "circuit-filter-choice",
          "title": "Choosing the filter",
          "chapter": "RLC, resonance and filters",
          "brief": "You want to keep a slow sensor signal and strip off fast switching noise on the same wire. Say which kind of filter to use, and what to watch out for when you choose its component values.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-filter-choice"
        },
        {
          "id": "circuit-rectifier-average",
          "title": "Average of a half-wave signal",
          "chapter": "Diodes and rectification",
          "brief": "A 12 V peak sine wave goes through a single diode. What is the average (DC) voltage after the diode, in volts? (Vpeak ÷ π.)",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-rectifier-average"
        },
        {
          "id": "circuit-ripple",
          "title": "Ripple on a smoothed supply",
          "chapter": "Diodes and rectification",
          "brief": "A supply delivers 50 mA at 100 Hz into a smoothing capacitor. What ripple voltage do you get, in millivolts, with a 2200 µF capacitor? (Ripple = I ÷ (f·C).)",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-ripple"
        },
        {
          "id": "circuit-diode-equation",
          "title": "Why the forward voltage moves",
          "chapter": "Diodes and rectification",
          "brief": "The same diode does not have the same forward voltage at every current. Explain why, and say what happens to a diode that is driven in reverse beyond its breakdown voltage.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-diode-equation"
        },
        {
          "id": "circuit-led-current",
          "title": "Current through a lit LED",
          "chapter": "LEDs and light",
          "brief": "A blue LED drops 3.2 V and has a 470 Ω resistor from a 5 V supply. How much current flows, in milliamps?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-led-current"
        },
        {
          "id": "circuit-led-efficiency",
          "title": "Why white is brighter than green",
          "chapter": "LEDs and light",
          "brief": "Two LEDs use the same power, but the white one looks brighter. Explain what is happening inside the white LED, and say what controls how bright an LED looks.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-led-efficiency"
        },
        {
          "id": "circuit-gate-truth",
          "title": "XOR truth table",
          "chapter": "Digital logic and gates",
          "brief": "How many rows of a 2-input XOR truth table have the output high?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-gate-truth"
        },
        {
          "id": "circuit-de-morgan",
          "title": "Push the bubble through",
          "chapter": "Digital logic and gates",
          "brief": "A NAND gate has an inversion bubble on its output. Describe how you would rewrite it using De Morgan’s theorem, and say which other gate it becomes.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-de-morgan"
        },
        {
          "id": "circuit-logic-levels",
          "title": "Mixing logic families",
          "chapter": "Digital logic and gates",
          "brief": "You connect an old TTL chip to a modern CMOS chip. Explain what goes wrong at the voltage levels, and say what the gap between the low and high thresholds is called.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-logic-levels"
        },
        {
          "id": "circuit-half-adder",
          "title": "Half adder output",
          "chapter": "Combinational design",
          "brief": "A half adder adds A = 1 and B = 1. What is the carry out, as 0 or 1?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-half-adder"
        },
        {
          "id": "circuit-full-adder",
          "title": "Full adder with a carry in",
          "chapter": "Combinational design",
          "brief": "A full adder adds A = 1, B = 1 and a carry in of 1. What is the sum bit, as 0 or 1?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-full-adder"
        },
        {
          "id": "circuit-multiplexer",
          "title": "How many select lines",
          "chapter": "Combinational design",
          "brief": "You want a multiplexer that can pick one of eight inputs. Explain how many select lines it needs and why, and mention one practical limit that comes with the design.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-multiplexer"
        },
        {
          "id": "circuit-sr-latch",
          "title": "Setting a latch",
          "chapter": "Sequential logic",
          "brief": "An SR latch is set (S = 1, R = 0). What is Q, as 0 or 1?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-sr-latch"
        },
        {
          "id": "circuit-flip-flop",
          "title": "Why the clock edge",
          "chapter": "Sequential logic",
          "brief": "Explain why a D flip-flop only takes its new value on the clock edge and not continuously, and say what would go wrong in a design where it changed continuously.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-flip-flop"
        },
        {
          "id": "circuit-counter",
          "title": "Counting up",
          "chapter": "Sequential logic",
          "brief": "A 4-bit counter starts at 0 and is clocked once per second. What is its value after 9 seconds, as a decimal number?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-counter"
        },
        {
          "id": "circuit-sampling-rate",
          "title": "Sampling rate",
          "chapter": "Signals in the real world",
          "brief": "You need to capture a signal with components up to 8 kHz. What is the minimum sampling rate, in kilohertz, according to the sampling theorem?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-sampling-rate"
        },
        {
          "id": "circuit-aliasing",
          "title": "Why the filter has to come first",
          "chapter": "Signals in the real world",
          "brief": "Explain what aliasing is, why an anti-aliasing filter has to be placed before the converter rather than after it, and say what filter type is used.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-aliasing"
        },
        {
          "id": "circuit-ground-loop",
          "title": "The noise you cannot see",
          "chapter": "Signals in the real world",
          "brief": "Your analogue reading is noisy and drifts. Name two different sources of that noise, and say what you would change about the layout or the ground return to reduce it.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-ground-loop"
        },
        {
          "id": "circuit-impedance",
          "title": "Loading on a line",
          "chapter": "Signals in the real world",
          "brief": "A logic output drives a 50 Ω input. What percentage of the output voltage actually appears at the input, if the output impedance is 5 Ω?",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-impedance"
        },
        {
          "id": "circuit-build-divider",
          "title": "Build a divider",
          "chapter": "The voltage divider",
          "brief": "Build a voltage divider: a battery across node 1, a resistor from node 1 to node 2, and a resistor from node 2 to ground. Set the two resistors to 1 kΩ each, then check that the output node sits at half the supply.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-build-divider"
        },
        {
          "id": "circuit-build-rc",
          "title": "Build an RC circuit",
          "chapter": "Capacitors and the RC circuit",
          "brief": "Build an RC charging circuit: a battery across node 1, a resistor from node 1 to node 2, and a capacitor from node 2 to ground. Run the simulation and watch the voltage at node 2 rise towards the supply.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-build-rc"
        },
        {
          "id": "circuit-build-led",
          "title": "Build an LED circuit",
          "chapter": "LEDs and light",
          "brief": "Build an LED circuit: a battery across node 1, a resistor from node 1 to node 2, and an LED from node 2 to ground. Run the simulation and read the current through the LED.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-build-led"
        },
        {
          "id": "circuit-bench-bias",
          "title": "Set a precision bias point",
          "chapter": "Analog measurement bench",
          "brief": "Use the supplied 6 V battery and two resistors: node 1 to 2, then 2 to ground. Design for 4 V at node 2 (±0.04 V) with 2 mA source current (±0.05 mA). Your ratio must also give 2 V when the checker changes only the supply to 3 V.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-bench-bias"
        },
        {
          "id": "circuit-bench-loading",
          "title": "Calibrate under load",
          "chapter": "Analog measurement bench",
          "brief": "Use two resistors from 1 to 2 and 2 to ground. On 6 V design for 3.6 V unloaded and 3.0 V when an instrument connects 6 kΩ from node 2 to ground (±0.04 V). The checker attaches the instrument temporarily. Build just the divider.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-bench-loading"
        },
        {
          "id": "circuit-bench-bridge",
          "title": "Null a two-arm bridge",
          "chapter": "Analog measurement bench",
          "brief": "Connect two divider arms from node 1 to ground with midpoints at nodes 2 and 3. On a 6 V supply both midpoints must read 4 V, their differential must be within 0.01 V of zero, and total supply current must be 3 mA (±0.05 mA). Multiple resistor combinations work.",
          "url": "https://imon.com.bd/circuits.html?exercise=circuit-bench-bridge"
        }
      ]
    },
    {
      "id": "systems",
      "title": "Systems Lab",
      "subject": "Networking, cloud usage, device support, defensive security and digital signals",
      "url": "https://imon.com.bd/systems.html",
      "quizUrl": "https://imon.com.bd/systems.html#course-quiz",
      "exercises": [
        {
          "id": "network-subnet",
          "title": "Size an IPv4 subnet",
          "chapter": "Networking · CCNA foundations",
          "brief": "A classroom needs fifty host addresses. Move from /24 to /26 and predict how many usable addresses remain in a conventional broadcast subnet.",
          "url": "https://imon.com.bd/systems.html?exercise=network-subnet"
        },
        {
          "id": "network-switch",
          "title": "Divide a switch into VLANs",
          "chapter": "Networking · CCNA foundations",
          "brief": "A switch has twelve connected access ports. One device broadcasts. Predict the number of other lab ports receiving the frame when eight ports share its VLAN.",
          "url": "https://imon.com.bd/systems.html?exercise=network-switch"
        },
        {
          "id": "support-memory",
          "title": "Diagnose memory pressure",
          "chapter": "Device support · A+ foundations",
          "brief": "An OS uses 3 GiB and a workload needs 7 GiB. Predict the shortfall with 8 GiB installed. Then increase memory and observe where the shortfall ends.",
          "url": "https://imon.com.bd/systems.html?exercise=support-memory"
        },
        {
          "id": "support-storage",
          "title": "Plan a recovery image",
          "chapter": "Device support · A+ foundations",
          "brief": "A workstation needs a 12 GiB recovery image. Predict how many whole images fit in 30 GiB, then test the next capacity threshold.",
          "url": "https://imon.com.bd/systems.html?exercise=support-storage"
        },
        {
          "id": "system-queue",
          "title": "Drain a worker queue",
          "chapter": "System design",
          "brief": "Start a one-second window with 15 queued jobs. Twelve more arrive, and each worker can finish six. Predict the remaining backlog with three workers.",
          "url": "https://imon.com.bd/systems.html?exercise=system-queue"
        },
        {
          "id": "system-cache",
          "title": "Measure cache misses",
          "chapter": "System design",
          "brief": "Serve 100 independent reads through a cache. Predict the database reads if 85 are cache hits. Assume a single origin read per miss.",
          "url": "https://imon.com.bd/systems.html?exercise=system-cache"
        },
        {
          "id": "cloud-runtime",
          "title": "Budget a compute workload",
          "chapter": "Cloud usage",
          "brief": "A job runs for six hours. Predict the usage meter for five identical instances, then compare it with a smaller deployment.",
          "url": "https://imon.com.bd/systems.html?exercise=cloud-runtime"
        },
        {
          "id": "cloud-retention",
          "title": "Size a backup retention window",
          "chapter": "Cloud usage",
          "brief": "A bucket keeps one full 4 GiB backup per day. Predict steady-state storage for seven daily copies, with no deduplication or compression.",
          "url": "https://imon.com.bd/systems.html?exercise=cloud-retention"
        },
        {
          "id": "defense-updates",
          "title": "Prioritize an update rollout",
          "chapter": "Defensive cybersecurity",
          "brief": "A fleet inventory lists 24 devices needing an approved update. Predict how many still need the update after deployment succeeds on 18.",
          "url": "https://imon.com.bd/systems.html?exercise=defense-updates"
        },
        {
          "id": "defense-restore",
          "title": "Test a recovery point objective",
          "chapter": "Defensive cybersecurity",
          "brief": "A service writes ten records per hour. Estimate the worst-case records since the last successful snapshot when snapshots are four hours apart.",
          "url": "https://imon.com.bd/systems.html?exercise=defense-restore"
        },
        {
          "id": "signals-lsb",
          "title": "Read the least significant bit",
          "chapter": "Digital signals",
          "brief": "Read the eight-bit representation of sample 173. Predict the value of its rightmost bit. Compare with 172.",
          "url": "https://imon.com.bd/systems.html?exercise=signals-lsb"
        },
        {
          "id": "signals-sampling",
          "title": "Measure samples per cycle",
          "chapter": "Digital signals",
          "brief": "Sample a 4 Hz sine wave at 32 Hz. Predict how many equally spaced readings fall within one cycle, then compare the shape at 8 Hz.",
          "url": "https://imon.com.bd/systems.html?exercise=signals-sampling"
        },
        {
          "id": "model-recall",
          "title": "Read a classifier result",
          "chapter": "Model evaluation",
          "brief": "Twenty samples in a validation set are positive. Predict recall when the classifier finds sixteen. Change the count and inspect the missed examples.",
          "url": "https://imon.com.bd/systems.html?exercise=model-recall"
        },
        {
          "id": "electronics-divider",
          "title": "Probe a resistor divider",
          "chapter": "Electronics",
          "brief": "A 12 V ideal source drives two resistors in series. The upper resistor is 1 kΩ. Predict the unloaded midpoint voltage with 3 kΩ below the probe.",
          "url": "https://imon.com.bd/systems.html?exercise=electronics-divider"
        },
        {
          "id": "capacity-burst",
          "title": "Find the peak backlog during a burst",
          "chapter": "Capacity engineering",
          "brief": "A cold queue receives 3, 18, 20, 0, then 0 jobs over five seconds. Arrivals enter before service. Each worker finishes four jobs per second. Predict the largest end-of-second backlog with three workers. Compare the peak with the final queue.",
          "url": "https://imon.com.bd/systems.html?exercise=capacity-burst"
        },
        {
          "id": "capacity-failover",
          "title": "Size the queue after losing a zone",
          "chapter": "Capacity engineering",
          "brief": "Three equal zones serve a steady 75 requests per second. Lose one zone for 10 seconds starting with an empty queue. Each remaining replica serves 8 requests per second. Predict the outstanding requests with four replicas per zone.",
          "url": "https://imon.com.bd/systems.html?exercise=capacity-failover"
        },
        {
          "id": "capacity-tail",
          "title": "Locate the p95 latency cliff",
          "chapter": "Capacity engineering",
          "brief": "In a batch of 100 requests, fast responses take 30 ms and slow ones 800 ms. Predict the nearest-rank 95th percentile with six slow responses. Compare with five to find where one response changes the reported percentile.",
          "url": "https://imon.com.bd/systems.html?exercise=capacity-tail"
        }
      ]
    }
  ]
}
