Test 2
Chapters Covered
- ★ Chapter 5: jQuery
- What is jQuery
- Including jQuery in HTML (CDN, local file)
- $(document).ready()
- Selectors
- $("selector") syntax
- Common selectors: id, class, element
- Events
- hide()
- click()
- dblclick()
- mouseenter()/mouseleave()
- on()
- ★ Chapter 6: React
- What is React
- React vs Traditional JavaScript
- JSX Syntax
- Embedding expressions in JSX
- JSX must return a single parent element
- Components
- Function components
- Props
- State in Components
- Event Handling in React
- Conditional Rendering
- Lists and Keys (Rendering arrays)
- Basic Form Handling in React
- ★ Chapter 7: Web Servers/PHP
- XAMPP
- Apache
- MariaDB/MySQL
- phpMyAdmin
- PHP
- PHP: Hypertext Preprocessor
- PHP Syntax
- function
- strings concatenation
- associate/index array
- local, global, static variables
- loops
- comment
- PHP Forms
- action
- $_POST super global variable
- ★ Chapter 8: MySQL/Database
- MySQL
- PHP Database Connection
- mysqli()
- mysqli_query()
- mysqli_fetch_assoc()
- SQL Queries
- Select
- Insert INTO
- Update,SET
- ALTER Table
- Delete
- Create/Drop a Database/Table
- WHERE, AND, OR, NOT
- =, >, <, >=, <=, <>, BETWEEN, LIKE, IN
- ORDER BY
- MIN, MAX, COUNT, DISTINCT, LIMIT, AVG, SUM
Test Format and Guidelines
- ★ Format: In-person, paper-and-pen exam
- ★ Closed Book: No textbooks, notes, or cheat sheets allowed
- ★ Test Duration: 85 minutes (11:20 AM to 12:45 PM)
- ★ Content Coverage: Ch5, Ch6, Ch7, Ch8
- ★ Total points: 100. The total points will be evenly allocated across the three sections.
- 1. Multiple Choice (MCQ): Single correct answer.
- 2. Fill-in-the-Blanks: Fill in missing code or concepts.
- 3. Coding Questions: Write and execute PHP/SQL code.
- ★ Academic Integrity: No external aids or communication during the exam
Sample Questions provided in PDF format
Sample questions available in an interactive game format
Study Materials