Turning Learners Into Developers
Codekilla
CODEKILLA
// php.exam()

Exam Questions

25 sets · 195 questions — organized by topic.

back to course
Take the 10-minute quiz
10 random questions · 10:00 timer · auto-submit when time runs out
  1. Q1.

    Explain What is PHP? and illustrate with a short PHP program.

    Hint: Aim for a definition + runnable snippet + sample output.

    5 pts
  2. Q2.

    Write a PHP program that demonstrates History of PHP in practice.

    Hint: Include input, logic, and commented output lines.

    8 pts
  3. Q3.

    Compare Features of PHP with a related concept and state when each is preferable.

    Hint: Build a tiny pros/cons table; give a use-case for each side.

    5 pts
  4. Q4.

    Debug — given a broken snippet using Client-Side vs Server-Side Scripting, identify the bug and fix it.

    Hint: Explain the root cause in one line, then give the corrected code.

    7 pts
  5. Q5.

    Design question — how would Installing PHP scale for 1 million users?

    Hint: Think about time/space complexity, caching, batching.

    5 pts
  6. Q6.

    Explain XAMPP, WAMP, MAMP Setup and illustrate with a short PHP program.

    Hint: Aim for a definition + runnable snippet + sample output.

    5 pts
  7. Q7.

    Write a PHP program that demonstrates First PHP Program in practice.

    Hint: Include input, logic, and commented output lines.

    8 pts
  8. Q8.

    Compare PHP Syntax with a related concept and state when each is preferable.

    Hint: Build a tiny pros/cons table; give a use-case for each side.

    5 pts