Type Here to Get Search Results !

Web Technologies Mcq Questions [SET - 4] | Web Technology Mcq Questions and Answers - sanfoundry

 

web technology mcq questions and answers - sanfoundry

1. long form of Ajax is

    Asynchronous java script & xml
    Asynchronous Java program
    Asynchronous xml language

ANSWER= (A)  Asynchronous java script & xml

 

2. long form of WSDL is ___

    web services description language
    Web services deleted language
    Web services define language

ANSWER= (A) web services description language

 

3. long form of UDDI is _______

    Universal description language
    Web services deleted language
    Universal description,discovery language

ANSWER= (C) Universal description,discovery language

 

4. ________ function creates an XMLHttpRequest object, adds the function to beexecuted when the server response is ready, and sends the request off to the server.

    LoadDoc ()
    UDDI
    AjaxStrart()

ANSWER= (A)  LoadDoc ()

 

5. loadDoc() function creates an XMLHttpRequest object, adds the function to beexecuted when the server response is ready, and sends the request off to the server.

     true
    false
    both a and b

ANSWER= (A) true

 

6. long form of UDDI is _______

    Universal description language
    Web services deleted language
    Universal description, discovery language
ANSWER= (C) Universal description, discovery language

 

7. ______is a new technique for creating better, faster, and more interactive web applicationswith the help of XML, HTML, CSS and Java Script.

    Ajax
    XML
    SimpleXML

ANSWER= (A) Ajax

 

8. ______ doesn't define a specific set of tags

    Ajax
    XML
    SimpleXML

ANSWER= (B)  XML

 

9.PHP 5's new ______ module makes parsing an XML document, well, simple. It turns anXML document into an object that provides structured access to the XML.

    Ajax
    XML
    SimpleXML

ANSWER= (C) SimpleXML

 

10. While writing your PHP program, it is a good idea to use PHP-aware editors like ____

    Ajax
    XML
    SimpleXML

ANSWER= (D)  BBEdit

 

11.  Every PHP statement ends with a semicolon (;).

    true
    false
    both a and b

ANSWER= (A)  true

 

12. A class that is inherited from by another class. This is also called a ____

    child class
    class
    member function

ANSWER= (D)  parent Class or base class

 

13. ________ a type of polymorphism in which some or all of operators have differentimplementations depending on the types of their arguments

    overloading
    data Abstraction
    Encapsulation

ANSWER= (A) overloading

 

14.  ____________An array with strings as index. This stores element values in association withkey values rather than in a strict linear index order.

    associative array
    multidimensional array
    Numeric array

ANSWER= (A) associative array

 

15. __________ An array containing one or more arrays and values are accessed usingmultiple indices

    associative array
    multidimensional array
    Numeric array

ANSWER= (B) multidimensional array

 

16. Validation means check the input submitted by the user.


     true
     false
    both a and b

ANSWER= (A) true

 

17.  There are two types of validation are available in PHP. They are as follows −

    true
    Server Side Validation −
    input type validation

ANSWER= (A) only a and b not c

 

18. _________ Validation is performed on the client machine web browsers.

    Client-Side Validation
    Server Side Validation −
     input type validation

ANSWER= (A) Client-Side Validation

 

19. PHP supports the following data types:

     String
    Integer
    Float (floating point numbers - also called double)

ANSWER= (D) all of the above .

 

20. PHP divides the operators in the following groups:

    Increment/Decrement operators
    Logical operators
    String operators

ANSWER= (A) all of the above

 

21. The basic assignment operator in PHP is __________ It means that the left operandgets set to the value of the assignment expression on the right.

    =
    ++
    ==

ANSWER= (A) =

 

22. the _________ statement is used to perform different actions based on differentconditions

    switch
    if condition
    foreach

ANSWER= (B) if condition

 

23.In php, A ___________ is a block of statements that can be used repeatedlyin a program.

    function
    procedure
    block

ANSWER= (A)  function

 

24. Which method scope prevents a method from being overridden by a subclass?

    Abstract
    Protected
     Final

ANSWER= (C)  Final

 

25. Which of the following statements are true is/are true about constructors in PHP?(i) PHP 4 introduced class constructors. (ii) Constructors can accept parameters. (iii) Constructors can call class methods or other functions (iv) Class constructors can call on other constructors.

    All of the mentioned
    None of the mentioned
    only i

ANSWER= (A) All of the mentioned

 

26. An _______ is one that cannot be instantiated, only inherited

     Abstract class
     Interface
     Encapsulation

ANSWER= (A) Abstract class

 

27. Constant name are proceeded by _____ like a normal variable declaration.

    Abstract class
    dollar sign($)
    Encapsulation

ANSWER= (B) dollar sign($)

 

28. _______ is available when a method is called from within an object context


    Abstract class
    dollar sign($)
    $this

ANSWER= (A) $this

 

29. In PHP7, you can create an Array constant using the ____ function.

    define()
    min()
    abs()

ANSWER= (A) define()

 

30. The ____statement is used to perform different actions based ondifferent conditions.

    switch
    min
    abs

ANSWER= (A) switch



Friends if you like this post,kindly comment bellow and do share your responce.Thank You for Visiting.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Top Post Ad

Below Post Ad