Menu

Objective Type Questions & Answers


Web Technologies -Unit-1 (PHP) Objective Type Questions



1.PHP script runs on...........

A . client

B . server

C . both on client and server

D . None of the above

Answer



2.The PHP variable name starts with……..symbol

A . %

B . #

C . @

D . $

Answer



3.A PHP string can be enclosed in ……

A . Double quotes

B . single quotes

C . both A and B

D . inverted comas

Answer



4. The PHP function var_dump() returns…………

A . Type of a variable

B . value of a variable

C . size of a variable

D . both A and B

Answer



5. Witch of the following is a exponentiation operator in PHP

A . ^

B . ^^

C . *

D . **

Answer



6.Witch of the following word is used to declare a PHP function

A . fun

B . function

C . fundec

D . no need to use any word

Answer



7. Resource data type is used to store……….

A . reference to PHP function

B . reference to external recourses of PHP

C . both A & B

D . to store pointers

Answer



8. Witch of the following methods can be used to send the data from PHP form

A . GET

B . POST

C . SUBMITT

D . both GET & POST

Answer



9. To send the passwords from PHP form witch of the following methods can be used

A . GET

B . POST

C . SUBMITT

D . both A & B

Answer



10.The limitation for  sending the data by GET method is………..

A . 5000 characters

B . 10000 characters

C . about 2000 characters

D . no limitation

Answer



11. Witch of the following functions is used to access PHP environment variables

A . var_dump()

B . getenv()

C . preg_match()

D . none of the above

Answer



12. Witch of the following function is used to open a PHP file.

A . fopen()

B . openf()

C . fopens()

D . both A and B

Answer



13. arguments of fread() function are………….

A . File pointer

B . length of file

C . name of the file

D . both A and B

Answer



14. Witch of the following cookie is automatically sent to user’s computer to store unique session identification string

A . SESSID

B . PHPSESS

C . PHPSESSID

D . PHPID

Answer



15. session variables are stored in………….array 

A . array()

B . session array()

C . $_SESSION[]

D . none

Answer



16. To make PHP to work with MYSQL witch of the following is required? 

A . MYSQLi extension

B . PDO

C . both A and B

D . none

Answer



17. PHP cookie can be created by using ……function

A . cookie ()

B . set()

C . setcookie()

D . none

Answer



18. Witch of the following PHP syntax is correct?

A . <? PHP……?>

B . <?........?>

C . <%.....%>

D . All of the above

Answer



19. The maximum permitted size of PHP files that can be uploaded is stated as………….

A . max_size

B . upload_size

C . upload_max_filesize

D . upload_max_size

Answer



20. The use of a+ mode in PHP file concept is…………

A . To open a file

B . to read a file

C . to write a file

D . to open a file to read and write

Answer



21.

A .

B .

C .

D .

Answer





Relevant Materials :

Web Technologies -Unit-1 (PHP) Objective Type Questions - [ Web Technologies ]

Web Technologies -Unit-2 (XML) Objective Type Questions - [ Web Technologies ]

Web Technologies -Unit-3 (Servlets) Objective Type Questions - [ Web Technologies ]

Web Technologies -Unit-4 (JSP) Objective Type Questions - [ Web Technologies ]

Web Technologies -Unit-5 (JavaScript) Objective Type Questions - [ Web Technologies ]


Similar Materials :

R - Programming MCQs - Unit-1 - [ R-Programming ]

R - Programming MCQs - Unit-2 - [ R-Programming ]

R - Programming MCQs - Unit-3 - [ R-Programming ]

R - Programming MCQs - Unit-4 - [ R-Programming ]

R - Programming MCQs - Unit-5 - [ R-Programming ]

Formal Languages and Automata Theory (FLAT) MCQs - Unit-1 - [ FLAT ]

Formal Languages and Automata Theory (FLAT) MCQs - Unit-2 - [ FLAT ]

Formal Languages and Automata Theory (FLAT) MCQs - Unit-3 - [ FLAT ]

Formal Languages and Automata Theory (FLAT) MCQs - Unit-4 - [ FLAT ]

Formal Languages and Automata Theory (FLAT) MCQs - Unit-5 - [ FLAT ]

PPS MCQs - Unit-1 - [ PPS ]

PPS MCQs - Unit-2 - [ PPS ]

PPS MCQs - Unit-3 - [ PPS ]

PPS MCQs - Unit-4 - [ PPS ]

PPS MCQs - Unit-5 - [ PPS ]

Object Oriented Programming through Java MCQs - Unit-1 - [ OOP_JAVA ]

Object Oriented Programming through Java MCQs - Unit-2 - [ OOP_JAVA ]

Object Oriented Programming through Java MCQs - Unit-3 - [ OOP_JAVA ]

Object Oriented Programming through Java MCQs - Unit-4 - [ OOP_JAVA ]

Object Oriented Programming through Java MCQs - Unit-5 - [ OOP_JAVA ]

Design and Analysis of Algorithms MCQs - Unit-1 - [ DAA ]

Design and Analysis of Algorithms MCQs - Unit-2 - [ DAA ]

Design and Analysis of Algorithms MCQs - Unit-3 - [ DAA ]

Design and Analysis of Algorithms MCQs - Unit-4 - [ DAA ]

Design and Analysis of Algorithms MCQs - Unit-5 - [ DAA ]

Software Engineering MCQs - Unit-1 - [ SE ]

Software Engineering MCQs - Unit-2 - [ SE ]

Software Engineering MCQs - Unit-3 - [ SE ]

Software Engineering MCQs - Unit-4 - [ SE ]

Software Engineering MCQs - Unit-5 - [ SE ]

Data Mining MCQs - Unit-1 - [ DM ]

Data Mining MCQs - Unit-2 - [ DM ]

Data Mining MCQs - Unit-3 - [ DM ]

Data Mining MCQs - Unit-4 - [ DM ]

Data Mining MCQs - Unit-5 - [ DM ]

Computer Organization and Architecture (COA) Objective Question Bank-Unit-1 - [ COA ]

Computer Organization and Architecture (COA) Objective Question Bank-Unit-2 - [ COA ]

Computer Organization and Architecture (COA) Objective Question Bank-Unit-3 - [ COA ]

Computer Organization and Architecture (COA) Objective Question Bank-Unit-4 - [ COA ]

Computer Organization and Architecture (COA) Objective Question Bank-Unit-5 - [ COA ]

Data Structures Objective Type Question Bank-Unit-1 - [ DS ]

Data Structures Objective Type Question Bank-Unit-2 - [ DS ]

Data Structures Objective Type Question Bank-Unit-3 - [ DS ]

Data Structures Objective Type Question Bank-Unit-4 - [ DS ]

Data Structures Objective Type Question Bank-Unit-5 - [ DS ]

Database Management System Objective Type Question Bank-Unit-1 - [ DBMS ]

Database Management System Objective Type Question Bank-Unit-2 - [ DBMS ]

Database Management System Objective Type Question Bank-Unit-3 - [ DBMS ]

Database Management System Objective Type Question Bank-Unit-4 - [ DBMS ]

Database Management System Objective Type Question Bank-Unit-5 - [ DBMS ]