Home / CSE / Javascript - CS :: Parsing, Benchmarking and Logging

CSE :: Javascript - CS

  1. What does the getInputHtml() return?

  2. A.

     Input

    B.

     Fieldtype’s input HTML

    C.

     Array

    D.

     Value

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. How many arguments does the getInputHtml() accept?

  4. A.

     1

    B.

     2

    C.

     3

    D.

     4

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which is the method used to process on the input’s post data before it is saved to the database?

  6. A.

     prep()

    B.

     settings()

    C.

     defineSettings()

    D.

     prepSettings()

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. What is the purpose of the parameter $name ?

  8. A.

     Document Name

    B.

     Input Name

    C.

     Output Name

    D.

     ID

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What does the method defineSettings() return?

  10. A.

     Array of settings name

    B.

     Array of hash key

    C.

     Array of strings

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. What is the purpose of the parameter $value?

  12. A.

     Field’s expected value

    B.

     Field’s previous value

    C.

     Field’s current value

    D.

     Field’s probability value

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. When does the defineContentAttribute() method return a false?

  14. A.

     Data stored in different table

    B.

     Data stored in its own table

    C.

     Data is not stored at all

    D.

     Data is not obtained

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. How many events does the BaseFieldType provide?

  16. A.

     1

    B.

     2

    C.

     3

    D.

     4

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which method is called right before a field is saved?

  18. A.

     onBeforeSave()

    B.

     BeforeSave()

    C.

     SaveBefore()

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following are JavaScript logging library?

  20. A.

     log

    B.

     loglevel

    C.

     leveljavascript

    D.

     jslogjava

    View Answer

    Workspace

    Discuss Discuss in Forum