placeholder image to represent content


Quiz by Angkol

Feel free to use or edit a copy

includes Teacher and Student dashboards

Measure skills
from any curriculum

Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.

With a free account, teachers can
  • edit the questions
  • save a copy for later
  • start a class game
  • automatically assign follow-up activities based on students’ scores
  • assign as homework
  • share a link with colleagues
  • print as a bubble sheet

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
10 questions
Show answers
  • Q1

    What is PHP?

    PHP is used to develop dynamic and interactive websites

    PHP is a server-side scripting language

    PHP is an open-source programming language

    All of the mentioned

  • Q2

    Who is the father of PHP?

    Willam Makepiece

    List Barely

    Rasmus Lerdorf

    Drek Kolkevi

  • Q3

    What does PHP stand for?

    PHP stands for Hypertext Preprocessor

    PHP stands for Personal Hyper Processor

    PHP stands for Preprocessor Home Page

    PHP stands for Pretext Hypertext Processor

  • Q4

    Which of the following is the correct syntax to write a PHP code?

    <? ?>



    < php


    < ? php


  • Q5

    Which of the following is the correct way to add a comment in PHP code?


    All of the mentioned


     /* */

  • Q6

    Which of the following is the default file extension of PHP files?





  • Q7

    How to define a function in PHP?

    function {function body}

     data type functionName(parameters) {function body}

    function functionName(parameters) {function body}

    functionName(parameters) {function body}

  • Q8

    What will be the output of the following PHP code?


    $x = 10;

    $y = 20;

    if ($x > $y && 1||1)

                print "1000 PHP MCQ" ;

    else print "Welcome to Sanfoundry";



    1000 PHP MCQ

    no output

    Welcome to Sanfoundry

  • Q9

    Which is the right way of declaring a variable in PHP?





  • Q10

    What will be the output of the following PHP program?


    $fruits = array ("apple", "orange", array ("pear", "mango"),"banana");

    echo (count($fruits, 1));







Teachers give this quiz to your class