wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

OJET

Total questions: 20

Worksheet time: 20mins

Name
Class
Date
1.

Full form of OJET?

a)

Oracle JavaScript Extension Toolkit

b)

Oracle Java Extension Toolkit

c)

Oracle JavaScript Enterprize Toolkit

d)

Oracle JSX Extension Toolkit

2.

Which Architectural Design Pattern does OJET Supports?

a)

MVVM

b)

MVC

c)

MVP

d)

MFT

3.

OJET manages URL mappings and browsing history using

a)

Router

b)

oj-module

c)

Both Router & oj-module

d)

None

4.

Model layer of OJET can be handled by

a)

Collection

b)

Model

c)

Both Model and Collection

d)

UI Events

5.

OJET uses which open source framework for generating hybrid applications?

a)

Ionic

b)

Phonegap

c)

Apache Cordova

d)

Xamarin

6.

Which third party library is not included in OJET?

a)

Require.Js

b)

Knockout.Js

c)

jQuery

d)

Apache Cordova

e)

RxJS

7.

Select the proper command for creating hybrid app with a starter template using OJET Command Line Interface

a)

ojet create <project-name> --template=<template-name>

b)

ojet create <project-name> hybrid --platform=<platform-name>

c)

ojet create <project-name> --hybrid --platform=<platform-name> --template=<template-name>

d)

ojet add hybrid --platform=<platform-name>

8.

In OJET, which of the following loader libraries of Require.js are not included by default?

a)

Text

b)

CSS

c)

Asynchronous Module Definition

d)

JSON

9.

How to apply a theme which is specific to a platform in OJET application?

a)

--theme=theme

b)

--theme=theme:platform

c)

--theme=platform:theme

d)

--theme=theme --platform=platform

10.

Which source type in OJET has capability of handling RESTFul Web Services?

a)

Array

b)

Collection

c)

Model

d)

Both Collection and Model

11.

Which is correct way of binding a variable to View for allowing a two way access to data (read/write) ?

a)

<oj-component-name attribute="{{varibale}}">

b)

<oj-component-name attribute="[[varibale]]">

c)

<oj-component-name attribute="{varibale}">

d)

<oj-component-name attribute="[[[varibale]]]">

12.

Correct method used for routing from one module to other

a)

router = Router.rootInstance;

router.go('modulename');

b)

router = Router.rootInstance;

router('modulename');

c)

router = oj.Router.rootInstance;

router.go = 'modulename';

d)

router = oj.Router.rootInstance;

router.getState('modulename');

13.

Default data available in moduleConfig params object?

a)

{ojRouter:{..}}

b)

{name: "", ojRouter:{..} }

c)

{params: {ojRouter:{..}}

d)

{config: {ojRouter: {..}}}

14.

Select all the data provider available in OJET Data Collection

a)

ArrayDataProvider

b)

CollectionDataProvider

c)

ArrayTreeDataProvider

d)

All of the above

15.

Select proper syntax for registering a CCA in OJET APP

a)

Composite.register(name: 'my-component', view: view, viewModel:viewModel,metadata:JSON.parse(metadata)});

b)

Composite.register('my-component', { view: view, viewModel:viewModel, metadata:JSON.parse(metadata)});

c)

Component.register('my-component', { view: view, viewModel:viewModel, metadata:JSON.parse(metadata)});

d)

None of the Above

16.

How can you access the properties passed to a Custom Component in CCA ViewModel?

a)

context.properties

b)

properties

c)

context.props

d)

$properties

17.

How can you enable two way data sharing from CCA?

a)

set writeBack attribute to true while declaring properties in CCA metadata

b)

set readOnly attribute to false while declaring properties in CCA metadata

c)

use {{}} binding notation in CCA view

d)

use CCA event bubble to project the value change

18.

While Internationalization of OJET Application, Translation Bundle by default take the language setting from

a)

navigator.language

b)

navigator.locale

c)

html.lang

d)

device.language

19.

How can we fetch the translated value for a specific label in OJET?

a)

Translations.getTranslatedString('section.label');

b)

Translations.getLabel('section.label');

c)

Translations.fetchTranslations('section.label');

d)

None of the Above

20.

How to install/reload all the dependencies needed by OJET application?

a)

ojet restore

b)

npm install

c)

ojet add dependencies

d)

ojet install dependencies