CS202 jqeryyy.pdf

Verified academic study resource for CS202 (Web Design & Development) under the Computer Science at Virtual University of Pakistan. This PDF document (Verified Study Resource) covers Full Course Curriculum spanning approximately 280 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS202 – Web Design & Development
Faculty
Computer Science
Format
PDF
Type
Study Resource
Coverage
Full Course Curriculum

Review this document alongside the official handouts and test your retention in the Interactive MCQs Studio.

What this file covers — CS202 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS202 jqeryyy.pdf for free?

You can preview and download "CS202 jqeryyy.pdf" (CS202 PDF, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs202-jqeryyy-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS202 file?

This document covers Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS202 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS202 solved past papers and handouts verified for 2026 exams?

Yes. All CS202 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

Perfect! Let's move on to:

� Topic Group 5: jQuery Events, Effects, and DOM
Traversal
Covers:

      jQuery Event Handling: .on(), .click(), .dblclick(), .hover(), etc.
      Event methods: .blur(), .focus(), .submit(), etc.
      Effects: .hide(), .show(), .fadeIn(), .slideToggle(), .stop()
      Traversing the DOM: .parent(), .children(), .find(), .siblings(), etc.

✅ Exam-Style MCQs (40 Questions)

📌 jQuery Events

   1. Which method attaches a click event in jQuery?
         o a) .click() ✅
         o b) .press()
         o c) .select()
         o d) .input()
   2. The .on() method is used to:
         o a) Trigger animations
         o b) Attach event handlers ✅
         o c) Link CSS
         o d) Validate forms
   3. What does .dblclick() do?
         o a) Click once
         o b) Double the text
         o c) Trigger on double click ✅
         o d) Zoom in
   4. Which method is used to trigger mouse hover?
         o a) .click()
         o b) .hover() ✅
         o c) .toggle()
         o d) .press()
   5. Which event is triggered when an input field loses focus?
         o a) .blur() ✅

          o  b) .focus()
          o  c) .submit()
          o  d) .mouseleave()
   6. What does the submit() method do?
         o a) Sends form via AJAX
         o b) Triggers when form is submitted ✅
         o c) Validates only
         o d) Restarts form
   7. Which method removes a bound event handler?
         o a) .off() ✅
         o b) .unBind()
         o c) .kill()
         o d) .clear()
   8. Which event occurs when a user changes a form input?
         o a) .blur()
         o b) .change() ✅
         o c) .hover()
         o d) .enter()
   9. The .focus() method is used:
         o a) To zoom image
         o b) When input gains focus ✅
         o c) To blur image
         o d) For output printing
   10. What is a better alternative to multiple event handlers?
         o a) .hover()
         o b) .on() ✅
         o c) .all()
         o d) .each()

💡 jQuery Effects

   11. What does .hide() do?
          o a) Removes element
          o b) Hides element from DOM
          o c) Hides element with animation ✅
          o d) Deactivates event
   12. .fadeIn() is used to:
          o a) Make element invisible
          o b) Show element with fading ✅
          o c) Delete an element
          o d) Slide an element
   13. .slideToggle() performs:
          o a) Toggle CSS

        o   b) Slide up/down toggle ✅
        o   c) Toggle width
        o   d) No animation
  14. What is the default speed of jQuery effects?
        o a) fast
        o b) slow
        o c) 400ms ✅
        o d) 800ms
  15. Which method stops an animation mid-way?
        o a) .end()
        o b) .pause()
        o c) .stop() ✅
        o d) .break()
  16. How do you fade out an element in jQuery?
        o a) .disappear()
        o b) .fade()
        o c) .fadeOut() ✅
        o d) .hideOut()
  17. What does .toggle() do?
        o a) Removes element
        o b) Toggles visibility ✅
        o c) Runs an AJAX call
        o d) Checks element position
  18. What does this do?
  19. $("#btn").click(function(){
  20.   $("p").hide();
  21. });
       o a) Hides all buttons
        o   b) Hides all paragraphs ✅
        o   c) Hides button only
        o   d) Hides nothing
  22. Which method is used to animate numeric CSS properties?
        o a) .slide()
        o b) .move()
        o c) .animate() ✅
        o d) .toggle()
  23. What is returned by .fadeIn()?
        o a) A boolean
        o b) A number
        o c) The jQuery object ✅
        o d) Nothing

🌳 jQuery DOM Traversal

21. .parent() returns:

   a) All parent elements
   b) Only direct parent ✅
   c) All siblings
   d) All ancestors

22. .parents() returns:

   a) All direct children
   b) All sibling elements
   c) All ancestors ✅
   d) Only root

23. .parentsUntil() returns:

   a) All parents
   b) Ancestors until a match ✅
   c) Siblings
   d) Children only

24. .children() returns:

   a) Only <p> elements
   b) All child elements ✅
   c) Grandchildren only
   d) Parent nodes

25. .find("p") does what?

   a) Finds a parent
   b) Finds all <p> descendants ✅
   c) Finds sibling <p>
   d) None

26. What does .next() return?

   a) Next sibling ✅
   b) Next parent
   c) Next child
   d) All next elements

27. What does .siblings() return?

   a) Parent

      b) Direct children
      c) All siblings ✅
      d) None

   28. What does .first() do?

      a) Adds first child
      b) Selects the first matched element ✅
      c) Gets the last element
      d) Clears the list

   29. Which method selects a previous sibling?

      a) .back()
      b) .prev() ✅
      c) .before()
      d) .return()

   30. Which method selects all elements between a selector range?

      a) .all()
      b) .nextUntil() ✅
      c) .range()
      d) .between()

🔄 Mixed Logic & Conceptual

   31. jQuery’s DOM traversal allows:
          o a) Animation
          o b) Navigating elements ✅
          o c) Deleting memory
          o d) Redirecting pages
   32. Output of:

$("li").first().text();

      a) All items
      b) First <li>’s text ✅
      c) Last item
      d) Error

   33. What does $(this) refer to in event?

      a) Document
      b) Parent
      c) Current element ✅
      d) ID of clicked element

   34. What happens if .stop() is not used?

      a) Animation speeds up
      b) Animations queue up ✅
      c) Error
      d) Nothing

   35. What does this code do?

$("div").hover(
   function(){ $(this).css("background", "yellow"); },
   function(){ $(this).css("background", "white"); }
);

      a) Triggers click
      b) Changes background on hover ✅
      c) Slides down
      d) Fades in

   36. .not() method:

      a) Includes everything
      b) Excludes matched elements ✅
      c) Toggles effect
      d) Deletes children

More CS202 files

All CS202 files · Midterm Prep 2026 · MCQs Bank