Skip to main content
Chapter 5 of 6
Practice Quiz

Server Side Scripting (PHP) — Practice Quiz

Maharashtra Board · Class 12 · Information Technology - Science

Try a 4-question quiz on Server Side Scripting (PHP) for Maharashtra Board Class 12 Information Technology - Science: tap an answer to check it and see.

57 questions40 flashcards5 concepts

Interactive on Super Tutor

Studying Server Side Scripting (PHP)? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for practice quiz and more.

Free trial, no card needed.

Quick Quiz: Server Side Scripting (PHP)

0/4

Tap an answer to check it instantly. No sign-up needed for these 4.

1

A file contains HTML and a PHP statement that displays a message. Which filename allows it to be treated as a PHP file?

2

A PHP statement must be placed inside an HTML page. Which pair correctly surrounds the statement?

3

A student needs a valid PHP variable for a roll number. Which name follows the variable-naming rules?

4

After `$mark = 75;`, which statement displays the stored value?

57 Questions·
multiple choicemultiple correcttrue false

Sample Questions

1multiple correct
1 marks

A student wants to prevent one PHP line from executing. Which prefixes can turn that line into a single-line comment?

Show answer

//, #

Both // and # can begin a single-line PHP comment.

2multiple choice
1 marks

A value must hold several subject names under one PHP variable. Which choice fits?

Show answer

An array

An array holds more than one value in a single variable.

3multiple choice
1 marks

Given `$subjects = array('English', 'Hindi', 'Marathi');`, what does `echo $subjects[0];` display?

Show answer

English

Automatically assigned indexed-array positions start at 0, so position 0 holds English.

4multiple choice
1 marks

Given `$subjects = array('English', 'Hindi', 'Marathi');`, what does `echo count($subjects);` display?

Show answer

3

count() returns the number of elements in the array. This array has three.

+53 more questions on Server Side Scripting (PHP) (Maharashtra Board Class 12 Information Technology - Science)

Practise All

Frequently Asked Questions

What are the important topics in Server Side Scripting (PHP) for Maharashtra Board Class 12 Information Technology - Science?
Key topics in Server Side Scripting (PHP) include Introduction to PHP and Server-Side Scripting, Features of PHP, Variables, Scope, and Storage, Data Types and var_dump(). Study these first, then practise questions on each for the Maharashtra Board Class 12 board exam.
How many practice questions are there for Server Side Scripting (PHP)?
There are 57 questions on Server Side Scripting (PHP). Try the 4-question sample quiz on this page first; each answer shows an explanation when you tap it.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Server Side Scripting (PHP) chapter — start free.

Quizzes, flashcards, an AI doubt solver and a study plan for Maharashtra Board Class 12 Information Technology - Science. Free to start, no card needed.