Cs202jquery.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 Cs202jquery.pdf for free?

You can preview and download "Cs202jquery.pdf" (CS202 PDF, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs202jquery-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

Great! Here's a set of 50 multiple choice questions (MCQs) from jQuery, covering beginner to
intermediate concepts. These are useful for exams, quizzes, and interviews.

� jQuery MCQs (1–50)

Basics

   1. jQuery is a:
         o a) JavaScript library ✅
         o b) Programming language
         o c) Database
         o d) Framework
   2. What does $("p") select?
         o a) All classes named "p"
         o b) All <p> elements ✅
         o c) The first paragraph only
         o d) None
   3. Which symbol is used for jQuery?
         o a) $ ✅
         o b) #
         o c) &
         o d) @
   4. jQuery is written in:
         o a) Python
         o b) Java
         o c) JavaScript ✅
         o d) PHP
   5. What is the correct syntax to include jQuery?
         o a) <script src="jquery.js"></script> ✅
         o b) <link href="jquery.js">
         o c) <import jquery>
         o d) <include src="jquery">
   6. Which method is used to hide selected elements?
         o a) hide() ✅
         o b) invisible()
         o c) display(none)
         o d) remove()
   7. What is the use of $(document).ready()?
         o a) Executes code before HTML loads
         o b) Waits until DOM is ready ✅
         o c) Reloads the page
         o d) None of the above
   8. Which method is used to perform animation in jQuery?

          o  a) motion()
          o  b) move()
         o c) animate() ✅
         o d) slide()
   9. $("#id") selects:
         o a) Class
         o b) Element
         o c) ID ✅
         o d) All of the above
   10. How do you add a class in jQuery?
         o a) addClass() ✅
         o b) add()
         o c) classAdd()
         o d) includeClass()

Intermediate Level

   11. $('div').click(function(){}) is used to:
          o a) Load content
          o b) Handle hover
          o c) Handle click ✅
          o d) Change color
   12. jQuery chaining means:
          o a) Writing nested code
          o b) Combining multiple methods ✅
          o c) Writing long code
          o d) Combining CSS files
   13. Which function removes an element?
          o a) erase()
          o b) remove() ✅
          o c) delete()
          o d) clear()
   14. Which event is triggered when a key is pressed?
          o a) keypress ✅
          o b) keyup
          o c) keydown
          o d) input
   15. How do you toggle visibility of an element?
          o a) visible()
          o b) toggle() ✅
          o c) hideShow()
          o d) switch()
   16. How can you get the value of an input field?

         o  a) .val() ✅
         o  b) .value()
         o  c) .input()
         o  d) .text()
  17. Which jQuery method is used to stop a currently running animation?
         o a) halt()
         o b) finish()
         o c) stop() ✅
         o d) break()
  18. fadeOut() is used to:
         o a) Increase opacity
         o b) Hide element slowly ✅
         o c) Remove element
         o d) Change text
  19. What will $(this) refer to inside a click event?
         o a) Document
         o b) Current element ✅
         o c) Parent element
         o d) None
  20. How do you select elements with class .demo?
         o a) $("#demo")
         o b) $(.demo)
         o c) $(".demo") ✅
         o d) $("demo")

Effects and DOM

  21. What does fadeIn() do?
        o a) Adds blur
        o b) Shows element with fade effect ✅
        o c) Animates border
        o d) Inverts image
  22. What does slideToggle() do?
        o a) Slides left
        o b) Slides up/down toggle ✅
        o c) Rotates
        o d) Zooms
  23. Which method appends content to the end of selected elements?
        o a) add()
        o b) append() ✅
        o c) insert()
        o d) push()
  24. How can you get the HTML content of an element?

          o  a) .val()
          o  b) .text()
          o c) .html() ✅
          o d) .content()
   25. empty() will:
          o a) Hide element
          o b) Remove all content ✅
          o c) Remove the element
          o d) Do nothing
   26. Which jQuery method is used to prevent default action?
          o a) stop()
          o b) cancel()
          o c) preventDefault() ✅
          o d) return false
   27. What does .css() method do?
          o a) Add stylesheet
          o b) Change HTML
          o c) Set/get CSS ✅
          o d) Create class
   28. Which jQuery function is used to load data asynchronously?
          o a) fetch()
          o b) load() ✅
          o c) get()
          o d) pull()
   29. What does .text() method return?
          o a) HTML
          o b) CSS
          o c) Plain text ✅
          o d) None
   30. Which method adds content before an element?
          o a) append()
          o b) prepend()
          o c) before() ✅
          o d) insert()

Advanced Concepts

   31. $.each() is used for:
          o a) Iteration ✅
          o b) Conditions
          o c) Validation
          o d) Binding
   32. Which function checks if an element has a class?

       o   a) isClass()
       o b) hasClass() ✅
       o c) findClass()
       o d) classExists()
33. jQuery supports AJAX?
       o a) Yes ✅
       o b) No
34. Which method loads external data into an element?
       o a) insert()
       o b) ajax()
       o c) load() ✅
       o d) fetch()
35. parent() returns:
       o a) All children
       o b) Only direct parent ✅
       o c) All siblings
       o d) Entire tree
36. siblings() returns:
       o a) Parent
       o b) Children
       o c) Elements with same parent ✅
       o d) None
37. Which method stops event bubbling?
       o a) preventDefault()
       o b) stopPropagation() ✅
       o c) stopEvent()
       o d) killBubble()
38. Which of the following is a CDN for jQuery?
       o a) Microsoft
       o b) Google
       o c) jQuery CDN
       o d) All of the above ✅
39. What does trigger() do?
       o a) Hides an element
       o b) Triggers event manually ✅
       o c) Adds CSS
       o d) Clears data
40. How do you make a jQuery AJAX GET request?
       o a) $.get() ✅
       o b) $.fetch()
       o c) $.pull()

More CS202 files

All CS202 files · Midterm Prep 2026 · MCQs Bank