Dynamic Web Page Development (3350702) MCQs

MCQs of Working with Basic Building Blocks of PHP

Showing 21 to 30 out of 48 Questions
21.

What will be the output of the following PHP code?

(નીચેના PHP કોડનું આઉટપુટ શું હશે?)

(a)

5

(b)

4

(c)

3

(d)

error

Answer:

Option (a)

22.

What will be the output of the following PHP code?

(નીચેના PHP કોડનું આઉટપુટ શું હશે?)

(a)

red green blue yellow

(b)

 red

(c)

no output

(d)

error

Answer:

Option (a)

23.

What will be the output of the following PHP code?

(નીચેના PHP કોડનું આઉટપુટ શું હશે?)

(a)

0 1 

(b)

0 1 2

(c)

0 1 2 3

(d)

0 1 2 4 5 

Answer:

Option (b)

24.

What will be the output of the following PHP code?

(નીચેના PHP કોડનું આઉટપુટ શું હશે?)

(a)

PHP is a scripting language

(b)

no output

(c)

GREETING

(d)

error

Answer:

Option (a)

25.

Which extension use to provide save the PHP file?

(PHP ફાઇલને save કરવા માટે કયા એક્સ્ટેંશનનો ઉપયોગ છે?)

(a)

.html

(b)

.xml

(c)

.php

(d)

.ph

Answer:

Option (c)

26.

What does PHP stand for? 

i) Personal Home Page

ii) Hypertext Preprocessor

iii) Pretext Hypertext Processor

iv) Preprocessor Home Page

PHP એટલે શું?

i) Personal Home Page

ii) Hypertext Preprocessor

iii) Pretext Hypertext Processor

iv) Preprocessor Home Page

(a)

Both i) and iii)

(b)

Both ii) and iv)

(c)

Only ii)

(d)

 Both i) and ii)

Answer:

Option (d)

27.

Who is known as the father of PHP?

(PHP ના પિતા તરીકે કોણ ઓળખાય છે?)

(a)

Rasmus Lerdorf

(b)

Willam Makepiece

(c)

Drek Kolkevi

(d)

List Barely

Answer:

Option (a)

28.

Which of the following is not true?

(નીચેનામાંથી કયું સાચું નથી?)

(a)

PHP can be used to develop web applications.

(PHP નો ઉપયોગ વેબ એપ્લિકેશનને ડેવલોપ કરવા માટે થઈ શકે છે.)

(b)

PHP makes a website dynamic.

(PHP વેબસાઇટને ડાઇનેમિક બનાવે છે.)

(c)

PHP applications can not be compile.

(PHP એપ્લિકેશનો કમ્પાઈલ કરી શકાતી નથી.)

(d)

PHP can not be embedded into html.

(PHP, HTML માં એમ્બેડ કરી શકાતા નથી.)

Answer:

Option (d)

29.

PHP is an open source software.

(PHP એ એક open source software છે.)

(a)

TRUE

(b)

FALSE

Answer:

Option (a)

30.

What is the correct way to end a PHP statement?

(PHP સ્ટેટમેંટ પૂરું કરવાની સાચી રીત કઈ છે?)

(a)

New line

(b)

.

(c)

</php>

(d)

Answer:

Option (d)

Showing 21 to 30 out of 48 Questions