Server-Side Scripting (PHP) | Practice Test 5 | Information Technology | HSC Board 2027
Test #A2CD6F
- Duration
- 25 min
- Questions
- 25
- Sections
- 1
- Maximum Marks
- 25
About this test and exam rules
Please read them carefully before you start
About this test
Server-Side Scripting (PHP) | Practice Test 5 | Information Technology | HSC Board 2027 is a Premium HSC BOARD EXAM mock test in Information Technology (IT). It has 25 questions to answer in 25 minutes, for 25 marks, +1 for each right answer and no negative marking. The questions cover Server-Side Scripting (PHP) (0 easy, 2 medium and 23 hard questions).
Test 5 is a demanding PHP paper: 23 of its 25 questions are hard, two are medium and none are easy. String functions carry the most weight, with five questions covering nested calls, strpos() on a reversed string, strpos() returning 0 and several functions working on one string. Arrays come next with four questions, then functions with three. The rest of the paper reaches across loops, operator precedence, variable scope, form handling, var_dump() output, DSN strings, cookies and sessions, so very little of the chapter is left out.
This is the only published test in its group, so treat it as a serious checkpoint rather than a warm-up. It suits HSC 2027 students who have already worked through the PHP chapter and want to find out whether they can trace code accurately when every question is tough. You get 25 minutes for 25 questions, which works out to about a minute each.
When you trace code, write down each variable's value after every step, especially for static and global variables and for loops that use break or do...while. Also remember that strpos() can return 0, which is a valid position and not the same as false.
Topics covered
Information Technology Β· 25 questions
- Server-Side Scripting (PHP) (25)
Question difficulty: 0 easy, 2 medium, 23 hard.
Concepts tested
- Arrays - Finding the minimum with a for loop (1)
- Arrays - Finding the top scorer (1)
- Arrays - Modifying an associative array (1)
- Arrays - Multidimensional array indexes (1)
- Control Structures - do...while loop (1)
- Control Structures - while loop with break (1)
- Cookies - When a cookie becomes available (1)
- Data Types - var_dump() output (1)
- Database Connectivity - DSN string (1)
- Form Handling - Choosing the right technique (1)
- Form Handling - URL created by the GET method (1)
- Functions - Arguments passed by value (1)
Test pattern
| Section | Subjects | Questions | Time | Marks / Q |
|---|---|---|---|---|
| Information Technology | Information Technology (IT) Q1β25 | 25 | 25 min | +1 / 0 |
Information Technology
- Questions
- 25
- Time
- 25 min
- Marks / Q
- +1 / 0
More tests for this exam
- E-Commerce and E-Governance | Practice Test 3 | Information Technology | HSC Board 2027
- E-Commerce and E-Governance | Practice Test 4 | Information Technology | HSC Board 2027
- E-Commerce and E-Governance | Practice Test 2 | Information Technology | HSC Board 2027
- E-Commerce and E-Governance | Practice Test 5 | Information Technology | HSC Board 2027
- Server-Side Scripting (PHP) | Practice Test 3 | Information Technology | HSC Board 2027
- E-Commerce and E-Governance | Practice Test 1 | Information Technology | HSC Board 2027
- Server-Side Scripting (PHP) | Practice Test 4 | Information Technology | HSC Board 2027
- Server-Side Scripting (PHP) | Practice Test 2 | Information Technology | HSC Board 2027