Beginner PHP Quiz - Part 1

--/10

Loading...

What is full form of PHP?

  • Personal Home Page
  • Hypertext Preprocessor
  • Hypertext Protocol
  • Personal Hypertext Page

PHP is an example of ___________ scripting language.

  • Browser-side
  • In-side
  • Client-side
  • Server-side

Who is known as the father of PHP?

  • Drek Kolkevi
  • Rasmus Lerdorf
  • Willam Makepiece
  • Thomas Edisson

Which of the following is not true?

  • PHP applications can not be compile
  • PHP can be used to develop web applications.
  • PHP makes a website dynamic
  • PHP can not be embedded into html.

PHP scripts are enclosed within _______

  • <p> . . . </p>
  • <php> . . . </php>
  • <?php . . . ?>
  • ?php . . . ?php

Which of the following variables is not a predefined variable?

  • $GET
  • $POST
  • $REQUEST
  • $ASK

When you need to obtain the ASCII value of a character which of the following function you apply in PHP?

  • chr( );
  • ord( );
  • asc( );
  • val( );

Which of the following method sends input to a script via a URL?

  • Post
  • Get
  • Both
  • None

Which of the following function returns a text in title case from a variable?

  • ucwords($var)
  • upper($var)
  • toupper($var)
  • ucword($var)

Which of the following function returns the number of characters in a string variable?

  • count($variable)
  • strlen($variable)
  • len($variable)
  • strcount($variable)
You have scored out of 10 Questions.
;