Q1. KO performs following operations
- Automatic Refresh
- Two way Binding
- Templating
- All of the above
Q2. On which event bindings in KO fire notification
- Change event
- Update event
- On Any event
- None of the above
Q3. Value of computed observable is determined at
- Time of creation
- Time of update
- Time of DOM loading
- Depends on implementation
Q4. ko.toJSON is used for following purpose
- convert objects that include observables to a JSON string
- to convert string to object
- to consume JSON service
- to consume any service
Q5. How we can add reference of KO in project
- using local reference
- using CDN
- using Nuget package
- all of the above
Q6. On which value of ViewModel property visible binding will be set to block?
- Null
- Undefined
- Zero
- All of the above
Q7. ViewModel can be created as
- Object literal
- Function
- Both
- None of the above
Q8. Click binding can be bind to what kind of property in ViewModel
- Function
- Boolean
- Array
- All of the above
Q9. For what purpose we use foreach binding in KO
- To duplicates section of markup for each entry in array
- To duplicates section of markup for each entry in ViewModel
- To duplicates section of markup for each entry in Model
- None of the above
Q10. The Value binding should be used with
- <input> , <select> , <textarea>
- <span>, <div>
- <radiobutton> <table>
- All of the above combination
Filed under: Knockout
