WorksheetsOJET
Total questions: 20
Worksheet time: 20mins
Full form of OJET?
Oracle JavaScript Extension Toolkit
Oracle Java Extension Toolkit
Oracle JavaScript Enterprize Toolkit
Oracle JSX Extension Toolkit
Which Architectural Design Pattern does OJET Supports?
MVVM
MVC
MVP
MFT
OJET manages URL mappings and browsing history using
Router
oj-module
Both Router & oj-module
None
Model layer of OJET can be handled by
Collection
Model
Both Model and Collection
UI Events
OJET uses which open source framework for generating hybrid applications?
Ionic
Phonegap
Apache Cordova
Xamarin
Which third party library is not included in OJET?
Require.Js
Knockout.Js
jQuery
Apache Cordova
RxJS
Select the proper command for creating hybrid app with a starter template using OJET Command Line Interface
ojet create <project-name> --template=<template-name>
ojet create <project-name> hybrid --platform=<platform-name>
ojet create <project-name> --hybrid --platform=<platform-name> --template=<template-name>
ojet add hybrid --platform=<platform-name>
In OJET, which of the following loader libraries of Require.js are not included by default?
Text
CSS
Asynchronous Module Definition
JSON
How to apply a theme which is specific to a platform in OJET application?
--theme=theme
--theme=theme:platform
--theme=platform:theme
--theme=theme --platform=platform
Which source type in OJET has capability of handling RESTFul Web Services?
Array
Collection
Model
Both Collection and Model
Which is correct way of binding a variable to View for allowing a two way access to data (read/write) ?
<oj-component-name attribute="{{varibale}}">
<oj-component-name attribute="[[varibale]]">
<oj-component-name attribute="{varibale}">
<oj-component-name attribute="[[[varibale]]]">
Correct method used for routing from one module to other
router = Router.rootInstance;
router.go('modulename');
router = Router.rootInstance;
router('modulename');
router = oj.Router.rootInstance;
router.go = 'modulename';
router = oj.Router.rootInstance;
router.getState('modulename');
Default data available in moduleConfig params object?
{ojRouter:{..}}
{name: "", ojRouter:{..} }
{params: {ojRouter:{..}}
{config: {ojRouter: {..}}}
Select all the data provider available in OJET Data Collection
ArrayDataProvider
CollectionDataProvider
ArrayTreeDataProvider
All of the above
Select proper syntax for registering a CCA in OJET APP
Composite.register(name: 'my-component', view: view, viewModel:viewModel,metadata:JSON.parse(metadata)});
Composite.register('my-component', { view: view, viewModel:viewModel, metadata:JSON.parse(metadata)});
Component.register('my-component', { view: view, viewModel:viewModel, metadata:JSON.parse(metadata)});
None of the Above
How can you access the properties passed to a Custom Component in CCA ViewModel?
context.properties
properties
context.props
$properties
How can you enable two way data sharing from CCA?
set writeBack attribute to true while declaring properties in CCA metadata
set readOnly attribute to false while declaring properties in CCA metadata
use {{}} binding notation in CCA view
use CCA event bubble to project the value change
While Internationalization of OJET Application, Translation Bundle by default take the language setting from
navigator.language
navigator.locale
html.lang
device.language
How can we fetch the translated value for a specific label in OJET?
Translations.getTranslatedString('section.label');
Translations.getLabel('section.label');
Translations.fetchTranslations('section.label');
None of the Above
How to install/reload all the dependencies needed by OJET application?
ojet restore
npm install
ojet add dependencies
ojet install dependencies
