Rajasthan Polytechnic Third Year Paper 2016 – PHP & MYSQL
Dynamic web page
(a) is same every time whenever it displays
(b) generates on demand by a program or request by user
(c) Both (a) & (b)
(d) None of the above
Which of the following is server side scripting language?
(a) PHP
(b) ASP
(c) JSP
(d) All of the above
PHP is
(a) Server side scripting language
(b) Open source technology
(c) Used to develop dynamic web pages
(d) All of above
Which of the following is client-side scripting language?
(a) JavaScript
(b) VBScript
(c) Both (a) & (b)
(d) None of the above
Which of the following software is needed to run PHP program?
(a) XAMPP
(b) IIS
(c) Both (a) & (b)
(d) None of the above
PHP stands for
(a) Pre-Hypertext Process
(b) Hypertext Processor
(c) Personal Home Page
(d) Pre-Hyper Process
Which of the following statement used to print in PHP?
(a) Out
(b) Write
(c) Echo
(d) Display
In PHP language variable name starts, with the following symbol?
(a) ! (Exclamation)
(b) & (Ampersand)
(c) * (Asterisk)
(d) $ (Dollar)
Which of the following PHP data type?
(a) Integar
(b) Array
(c) NULL
(d) All of the above
<? Php
echo 5*9/3+9;
?>
What will be the output of the above PHP program?
(a) 25
(b) 21
(c) 2.85
(d) 0
Which of the following function is used to create array in PHP?
(a) Current()
(b) each()
(c) array()
(d) None of the above
Which function counts elements in PHP-array?
(a) count()
(b) sizeoff()
(c) Array-count()
(d) Count-Array()
Which of the following functions is not related to array sorting in PHP?
(a) rsort()
(b) asort()
(c) ksort()
(d) sorting()
Which of the following statement is ture?
(a) PHP array index always starts from zero.
(b) PHP array index may be string.
(c) Both (a) & (b)
(d) None of the above
Which of the following functions is used to sort an array in descending order?
(a) sort()
(b) asort()
(c) rsort()
(d) dsort()
Leave a Reply