SAP UI5 Fiverr Skills Тест

Which of the following guidelines should be followed for SAPUI5 application theming?

a. A custom font family and custom color should be defined.
b. Flexible layout concept in CSS should be used.
c. PX should be used as a unit instead of REM/EM.
d. When flexible layouts do not meet UX expectations, media-queries should be used

Which of the following is the correct code snippet of a constructor, which is used for creating a new text control that says "SAPUI5 Example" with tooltip value "Learning SAPUI5" and width "80px"?

a. var oText= new sap.m.Text("testText", text("SAPUI5 Example"), tooltip("Learning SAPUI5"), width("80px"));
b. var oText= new sap.m.Text("testText",
{text : "SAPUI5 Example", tooltip: "Learning SAPUI5", width: "80px"});
c. var oText = new sap.m.Text("testText");
 oText.setValue = "SAPUI5 Example";
 oText.setTooltip = "Learning SAPUI5";
 oText.setWidth = "80px";
d. var oText = new sap.m.Text("testText");
 oText.setValue("SAPUI5 Example");
 oText.setTooltip("Learning SAPUI5");
 oText.setWidth("80px");

In relation to SAP Fiori message handling, which of the following options displays only transient messages in a dialog box after an action has been executed?

a. General
b. Object page
c. List report
d. None of the above.

In relation to SAPUI5 CRUD operations, which of the following ETags are used by OData for optimistic concurrency control?

a. DNS
b. IMAP
c. NTP
d. HTTP

In relation to SAPUI5 architecture, which of the following options is responsible for including controls such as text fields and buttons?

a. Sap.viz
b. Sap.ui.table
c. Sap.ui.ux3
d. Sap.ui.commons

In relation to SAPUI5 controls, which of the following single-sided margins classes should be used in order to clear a 32 px space to the left of a control?

a. sapUiSmallMarginBegin
b. sapUiMediumMarginBegin
c. sapUiMediumMarginEnd
d. sapUiSmallMarginEnd

In relation to module loading in SAPUI5, which of the following syntax are used by all the files?

a. sap.ui.define
b. sap.ui.require
c. sap.ui.table
d. sap.ui.vk

In relation to the sap.ui.core.routing.Router class, which of the following methods is used for attaching a router to the hash changer, @see sap.ui.core.routing.HashChanger?

a. navTo
b. getTargets
c. parse
d. initialize

In relation to frameOptions in SAPUI5, which of the following is the correct syntax for setting frameOptions to deny, when the application is NOT intended to run in a frame?

a. <script id='sap-ui-bootstrap'
data-sap-ui-frameOptions:'deny'>
</script>
b. <script id='sap-ui-bootstrap'
 src='resources/sap-ui-core.js'
 data-sap-ui-frameOptions='deny'>
</script>
c. <script id:sap-ui-bootstrap;
 src:resources/sap-ui-core.js;
 data-sap-ui-frameOptions:deny>
</script>
d. <script id='sap-ui-bootstrap'
 src='resources/sap-ui-core.js'
 data-sap-ui-frameOptions=DENY>
</script>

In SAPUI5, which of the following subsections are used for defining the routing and navigation structure of an application?

a. config
b. routes
c. sample
d. targets
e. coding

In relation to SAPUI5 Fiori framework, which of the following options is used for handling the draft-handling actions?

a. Analysis Path Framework
b. Eclipse Faceted Project Framework
c. Business Object Processing Framework
d. AiE Communication Framework

Suppose that you created an entity Employees with entity data EmployeeId that has a value, 5021, and EmployeeName that has a value, Mathew. Which of the following is the correct syntax for deleting this entity?

a. oModel.remove("/Employees(5021)", {success: mySuccessHandler, error: myErrorHandler});
b. oModel.Delete("Employees(5021)", {success: mySuccessHandler, error: myErrorHandler});
c. oModel.remove("/Employees", 5021 {success: mySuccessHandler, error: myErrorHandler})
d. oModel.remove("Employees(5021)", success: mySuccessHandler, error: myErrorHandler);

While creating an SAPUI5 application project, which of the following code snippets should be added to the createContent function in a JS view, in order to add a control to a user's view?

a. var myExampleControls = [];
 var exampleButton = new sap.ui.commons.Button({
 id : this.create.newId("MyButton"),
 text= "Example JS View"
 });
 myExampleControls.add(exampleButton.attachPress(oController.doIt));
 return myExampleControls;
b. var myExampleControls = [];
 var exampleButton = new sap.ui.commons.Button({
 id : this.createId("MyButton"),
 text : "Example JS View"
 });
 myExampleControls.push(exampleButton.attachPress(oController.doIt));
 return myExampleControls;
c. var myExampleControls = [{}];
 var exampleButton = new sap.ui.commons.Button({
 id.this.createId("MyButton"),
 text : "Example JS View"
 });
 exampleButton.push(myExampleControls.attachPress(oController.doIt));
 return myExampleControls;
d. None of these

In relation to SAPUI5 browser support, which of the following versions of Mozilla Firefox is supported by sap.ui.vk?

a. Version 15 or higher.
b. Version 33 or higher.
c. Version 39 or higher.
d. Version 40 or higher.

SAPUI5 technology is based on which of the following options?

a. XML
b. JavScript
c. XHTML
d. HTML5
e. CSS

Consider the following attribute selector.
Sizzle attribute selector ([name=value])
Which of the following statements is correct about using the above option in Internet Explorer?

a. The attribute value should be quoted using double quotes (" ").
b. The attribute value should start with the # sign and should NOT be quoted.
c. The attribute value should start with the @ sign and should NOT be quoted.
d. The attribute value should start with a double ## sign.

While creating an application using SAPUI5, which of the following syntax is used for creating a new view folder in a user's application and a new file for the XML view inside the app folder?

a. <mvc:View
xmlns="sap.m"
xmlns.mvc="sap.ui.core.mvc">
<Text content="SAPUI5 Example"/>
..........................
</mvc>
b. <mvc:View
xmlns="sap.m"
xmlns:mvc="sap.ui.core.mvc">
<Text content="SAPUI5 Example"/>
..........................
</mvc:View>
c. <mvc:View
xmlns=sap.m
mvc. xmlns=sap.ui.core.mvc>
<Text content="SAPUI5 Example"/>
...........................
</mvc:View>
d. <mvc:View
xmlns: "sap.m"
xmlns.mvc: "sap.ui.core.mvc">
<Text content:"SAPUI5 Example"/>
.........................
</mvc >

In relation to the sap.ui.core.routing.Route class, under which of the following conditions, the patternMatched event is fired?

a. Only when the current URL hash matches the route's pattern.
b. Only when the current URL hash matches the sub-route's pattern.
c. Only when the current URL hash matches the nested route's pattern.
d. When the current URL hash matches the pattern of either the route or the sub-route.

In relation to the sap.suite.ui.commons.networkgraph.Group class, which of the following options is the default value of the collapsed property?

a. True
b. False
c. 1
d. None of the above.

In relation to card types in SAPUI5, which of the following types of cards is used for displaying in-depth information about a single record?

a. Link List
b. Analytical Chart
c. List
d. Quick View

Which of the following are the correct features of SAP Fiori elements?

a. They provide multi-device support.
b. They provide reused functionality with the help of some specific programming.
c. They provide a common look, feel and UI behaviour for all apps.
d. They support message handling.

Which of the following types of graphs is/are supported by network graphs?
i) Directed graph
ii) Undirected graph
iii) Graphs containing cycles

a. Only option i).
b. Only options i) and iii).
c. Only options i) and ii).
d. All options i), ii) and iii).

In relation to data binding in SAPUI5, which of the following types of models is a server-side model used for defining the business data within a model?

a. JSON
b. XML
c. SQL
d. OData

While creating an application using SAPUI5, which of the following libraries is used for providing the App control, which is the root control of the application?

a. sap.tnt
b. sap.me
c. sap.m
d. sap.ca

In relation to SAPUI5 network graphs, which of the following is the correct syntax for switching the layout algorithm to NoopLayout?

a. <Graph>
 <layoutAlgorithm>
 < NoopLayout>
 </layoutAlgorithm>
...
</Graph>
b. <Graph>
 <layoutAlgorithm>
 <layout:NoopLayout/>
 </layoutAlgorithm>
...
</Graph>
c. <Graph>
 <layoutAlgorithm>
 <setlayout:"NoopLayout"/>
 </layoutAlgorithm>
...
</Graph>
d. None of the above.

In relation to SAPUI5 CRUD operations, which of the following is the correct syntax for creating an entity Employees with entity data EmployeeId that has a value, 5021, and EmployeeName that has a value, Mathew?

a. var oData = {
 new EmployeeId:5021,
 new EmployeeName: "Mathew"
}
oModel.create.dData("/Employees", {success: mySuccessHandler, error:
myErrorHandler});
b. var oData = {
 EmployeeId: 5021,
 EmployeeName: "Mathew"
}
oModel.create("/Employees", oData, {success: mySuccessHandler, error:
myErrorHandler});
c. var oData = {
 EmployeeId = 5021,
 EmployeeName = "Mathew"
}
oModel.create(oData, "/Employees", success= mySuccessHandler, error=
myErrorHandler);
d. var oData = {
 EmployeeId:5021;
 EmployeeName:"Mathew"
}
oModel.create("/Employees", {oData.success: mySuccessHandler, oData.error:
myErrorHandler});

In SAPUI5, which of the following statements is correct about two-way data binding?
i) With data binding, the value of the property of a control can be derived from any suitable property in a model.
ii) The transport of data, both from the model to the controls and back from the controls to the model, is automatically handled by SAPUI5.

a. Only statement i) is correct.
b. Only statement ii) is correct.
c. Both statements i) and ii) are correct.
d. Both statements i) and ii) are incorrect.

In relation to SAPUI5 frame option, frameOptionsConfig, what is the default value of the timeout parameter?

a. 5,000 milliseconds
b. 1,000 milliseconds
c. 10,000 milliseconds
d. 50,000 milliseconds

Which of the following statements is/are correct about alterations to a model object's data binding mode in SAPUI5?

a. If the default binding mode of a model is altered then all the binding instances created after that point of time use the altered binding mode unless explicitly specified otherwise.
b. If the default binding mode of a model is altered then it affects the already existing binding instances.
c. Both statements a and b are correct.

Which of the following files is used for containing all the project settings of SAP Web IDE and is created in the root folder of a user's project?

a. sap.ui.vbm
b. neo-app.json
c. manifest.json
d. sap.ui.commons

In relation to creating a new OData service in SAPUI5, which of the following is the correct syntax of the annotation that is used to implicitly generate the CRUD request?

a. @ObjectModel.writeEnabled: true
    @ObjectModel.writeDraftPersistance: '<Name of Business Object>'
b. @ObjectModel.Enabled: true
    @ObjectModel.DraftPersistance: "<Name of Business Object>"
c. @ObjectModel.writeEnabled="1"
    @ObjectModel.writeDraftPersistance="<Name of Business Object>"
d. @ObjectModel.writeEnabled: 1
    @ObjectModel.writeDraftPersistance: Name of Business Object

While creating an application using SAPUI5, which of the following methods can be manually called for setting up the HTML and using other full screen controls such as sap.m.Carousel or sap.m.Page as the root element of your app?

a. jQuery.sap.initMobile()
b. jQuery.sap.getter()
c. jQuery.sap.require()
d. jQuery.sap.resources()

In relation to SAP API evolution, which of the following types of changes are considered compatible with an existing API and can be done anytime?

a. Moving JavaScript artifacts such as namespaces, classes and functions between modules.
b. Adding new values to enumeration types.
c. Eliminating support for configuration entries.
d. Moving properties up in the inheritance hierarchy.

Under which of the following circumstances, the existing read-only annotated OData services can be reused for the list report and object page templates?

a. The OData service models should be derived from the CDS views.
b. The annotations should be stored in the front-end system.
c. The UI annotations should be attached to CDS views using the tags that are defined by the SAP - ABAP Programming Model for SAP Fiori.
d. CDS UI annotations should not be exposed at the front end.

In relation to defining controls in SAPUI5, which of the following is the correct syntax for defining a button control and adding attribute data-text with value "SAPUI5" to it?

a. < div data-sap-ui-type=sap.ui.commons.Button, data-text=SAPUI5></div>
b. < div data-sap-ui-control: sap.ui.commons.Button data-text:"SAPUI5"></div>
c. < div data-sap-ui-type="sap.ui.commons.Button" data-text ="SAPUI5"></div>
d. < div data-sap-ui-type:'sap.ui.commons.Button', data-text:'SAPUI5'></div>

In relation to SAP Fiori elements, which of the following statements is/are incorrect about transient messages?

a. These message are only valid for a short time.
b. These message are only displayed for a short time.
c. These message are saved to the database.
d. Both options a and c are incorrect

While installing the Node.js-based development environment, which of the following commands is used for globally installing the Grunt command line interface?

a. npm install grunt-cli -g
b. npm install grunt-cli -globally
c. npm install -g grunt-cli
d. npm install grunt-g-cli

In relation to logging errors and warning in the developer console of a user's browser, which of the following is considered a bad practice/example?

a. console.log("A message");
b. jQuery.sap.log.info("A message");
c. Both options a and b are considered good practices.

Which of the following is the lowest version of Internet Explorer on which SAPUI5 is supported?

a. Version 6
b. Version 9
c. Version 10
d. Version 11

In SAPUI5, binding is automatically switched to which of the following options while using formatter functions?

a.One-way
b.Two-way
c.Binding is not switched automatically while using the formatter functions.

SAP UI5 Skills Тест Fiverr 2020 часть 2