InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Why Sapui5 Instead Of Html5? |
|
Answer» As HTML5 world is the new age front TECHNOLOGY ACROSS all aspect of internet applications SAP was kind of trailing in this age because SAP was using age old WebDynpro for building SAP Web Applications which lacks in rich and user-friendly UI. SAP identified this and came up with its own custom HTML5 library i.e. SAPUI5. As HTML5 world is the new age front technology across all aspect of internet applications SAP was kind of trailing in this age because SAP was using age old WebDynpro for building SAP Web Applications which lacks in rich and user-friendly UI. SAP identified this and came up with its own custom HTML5 library i.e. SAPUI5. |
|
| 2. |
What Is The Main Difference Between Html5 And Sap Ui5? |
|
Answer» HTML5 is a markup LANGUAGE and it doesn’t have programming capabilities but SAP UI5 is a framework which is based on MVC approach to build web APPLICATIONS. HTML5 is mainly for the purpose of creating a simple webpage without formatting and LOGIC but UI5 PROVIDES standard style and components to build rich UIs. HTML5 is a markup language and it doesn’t have programming capabilities but SAP UI5 is a framework which is based on MVC approach to build web applications. HTML5 is mainly for the purpose of creating a simple webpage without formatting and logic but UI5 provides standard style and components to build rich UIs. |
|
| 3. |
Why Is Automated Testing Beneficial For App Development? |
Answer»
|
|
| 4. |
Where Does Opa Fit In The Testing Pyramid? |
|
Answer» In component/integration TESTS In component/integration tests |
|
| 5. |
What Is Sinon.js? |
|
Answer» A STANDALONE unit TESTING LIBRARY for JAVASCRIPT that provides spies, stubs, and MOCKS A standalone unit testing library for JavaScript that provides spies, stubs, and mocks |
|
| 6. |
What Do You Have To Do To Be Notified When The Hash Has Changed To A Certain Pattern? |
|
Answer» REGISTER to the patternMatched EVENT of the ROUTE. Register to the patternMatched event of the route. |
|
| 7. |
Which Benefits Does The Hash-based Navigation In Sapui5 Offer? |
Answer»
|
|
| 8. |
What Is The Purpose Of The "static Area" In The Dom? |
|
Answer» To display DIALOGS and POPUP controls over the APPLICATION UI To display dialogs and popup controls over the application UI |
|
| 9. |
What Do You Have To Do To Grant A Dialog Access To The Surrounding View’s Models? |
|
Answer» Add the DIALOG to an aggregation of the view, for EXAMPLE the "DEPENDENT" aggregation. Add the dialog to an aggregation of the view, for example the "dependent" aggregation. |
|
| 10. |
When Should You Put Code From Your View Into A Separate View Or Fragment And Nest It Into The Original View? |
|
Answer» When you realize that you NEED to REUSE this code in SEVERAL other places and VIEWS in your app. When you realize that you need to reuse this code in several other places and views in your app. |
|
| 11. |
Which Options For Code Reuse Are Available In Sapui5? |
| Answer» | |
| 12. |
Which Responsiveness Features Can You Realize By Setting Standard Css Classes Provided By Sapui5? |
| Answer» | |
| 13. |
Which Filter Operation Is Appropriate For A Textual Search In Sapui5? |
|
Answer» sap.ui.model.FilterOperator.Contains sap.ui.model.FilterOperator.Contains |
|
| 14. |
How Can Sap.m.table Behave On Smaller Devices Such As Phones And Tablets? |
| Answer» | |
| 15. |
What Is The Role Of The Application Template In The Development Process? |
|
Answer» To GENERATE an initial set of files that serve as the starting POINT for the DEVELOPMENT of a productive APPLICATION To generate an initial set of files that serve as the starting point for the development of a productive application |
|
| 16. |
How Can You Access The List Item Control In An Event Handler For The Press Event? |
|
Answer» CALL the getSource() METHOD at the EVENT OBJECT PARAMETER. Call the getSource() method at the event object parameter. |
|
| 17. |
How To Sort And Group Your Sap.m.list When Added To The View.xml? |
|
Answer» ITEMS="{ items="{ |
|
| 18. |
How Can You Distinguish Absolute And Relative Binding Paths? |
|
Answer» ABSOLUTE BINDING PATHS ALWAYS START with a "/". Absolute binding paths always start with a "/". |
|
| 19. |
Which Base Class Are You Recommended To Extend When Implementing A Custom Type? |
|
Answer» sap.ui.model.SimpleType sap.ui.model.SimpleType |
|
| 20. |
How Can You Add A Margin All Around A Control? |
|
Answer» CLASS="sapUiSmallMargin" class="sapUiSmallMargin" |
|
| 21. |
What Is The Benefit Of Data Binding Within Sapui5? |
|
Answer» SAPUI5 uses data BINDING to bind two data sources or information sources TOGETHER to keep them in sync. This MEANS: All changes in one source are also reflected in the other one. SAPUI5 uses data binding to bind two data sources or information sources together to keep them in sync. This means: All changes in one source are also reflected in the other one. |
|
| 22. |
What Information Can Be Stored Inside The Manifest.json File Of Your App? |
| Answer» | |
| 23. |
What Is A Component Within Sapui5? |
|
Answer» An INDEPENDENT and REUSABLE part that can be used to structure SAPUI5 APPLICATIONS An independent and reusable part that can be used to structure SAPUI5 applications |
|
| 24. |
Why Is Not All Javascript Code Put In A <script> Tag Directly On The Index.html Page? |
| Answer» | |
| 25. |
What Is The Correct Syntax For Defining Namespaces In Xml Views? |
|
Answer» XMLNS:m="sap.m" xmlns:m="sap.m" |
|
| 26. |
What Is Openui5? |
| Answer» | |
| 27. |
What Do You Have To Consider When Choosing The Sapui5 Version For The Application Template? |
|
Answer» The SAPUI5 VERSION must be AVAILABLE in your TARGET deployment SYSTEM. The SAPUI5 version must be available in your target deployment system. |
|
| 28. |
How Do You Enable The Debugging Option For Sap Netweaver Odata Services? |
|
Answer» USE the URL PARAMETER sap-ds-debug=true. Use the URL parameter sap-ds-debug=true. |
|
| 29. |
What Do You Have To Consider When Defining Control Metadata? |
Answer»
|
|
| 30. |
Which Of The Following Are Part Of The Control Metadata? |
| Answer» | |
| 31. |
Which Options Are Available In Sapui5 If You Want To Create A Custom Control? |
| Answer» | |
| 32. |
Which Testing Features Are Provided By The Sap Fiori Worklist Application Template? |
Answer»
|
|
| 33. |
How Do You Register A Unit Test In Qunit? |
|
Answer» CALL QUnit.test() in your test CODE with a speaking test description and a CALLBACK that CONTAINS at least one assertion. Call QUnit.test() in your test code with a speaking test description and a callback that contains at least one assertion. |
|
| 34. |
How Are Unit Tests For Your App Started In Sap Web Ide? |
Answer»
|
|
| 35. |
What Is The Recommended Place To Configure A "twoway" Binding For The Odata Model So That Data Changes In The View Are Written Back To The Model? |
|
Answer» In the "MODELS" SECTION of the manifest.json FILE In the "models" section of the manifest.json file |
|
| 36. |
What Is The Correct Sequence Of Called Functions / Handled Callbacks Of The Odata Model In The Add Controller? |
|
Answer» on metadataLoaded - createEntry - SUBMIT - on SUCCESS on metadataLoaded - createEntry - submit - on success |
|
| 37. |
How Many Targets Can You Configure Within A Route In The Manifest.json File? |
|
Answer» As many as you like |
|
| 38. |
Which Property Of The Routing Configuration In The Manifest.json File Should You Use To Automatically Display A Target That Is Not Found? |
|
Answer» Bypassed Bypassed |
|
| 39. |
What Happens When You Instantiate A Dialog From A Single-rooted Fragment? |
Answer»
|
|
| 40. |
What Are Dialogs In Sapui5? |
Answer»
|
|
| 41. |
What Are Fragments Primarily Used For? |
|
Answer» To MAKE PARTS of your VIEW REUSABLE To make parts of your view reusable |
|
| 42. |
What Can You Do To Structure Your Application Code Better? |
Answer»
|
|
| 43. |
What Happens In The Dom Tree When Nesting Xml Views? |
|
Answer» Each XML view CREATES its own DOM ELEMENT REGARDLESS of the nesting LEVEL. Each XML view creates its own DOM element regardless of the nesting level. |
|
| 44. |
Why Is It Useful To Have Fragments In Your App? |
|
Answer» To create REUSABLE UI parts without a DESIGNATED controller or other BEHAVIOR code To create reusable UI parts without a designated controller or other behavior code |
|
| 45. |
Which Control Adapts Its Appearance On Touch Devices? |
|
Answer» The PullToRefresh CONTROL: It is represented as a simple BUTTON on non-touch DEVICES, but the user NEEDS to PULL the page content down on touch devices to refresh it. The PullToRefresh control: It is represented as a simple button on non-touch devices, but the user needs to pull the page content down on touch devices to refresh it. |
|
| 46. |
What Information Is Provided By The Sap.ui.device Api? |
| Answer» | |
| 47. |
What Can A “device Model” Be Used For? |
| Answer» | |
| 48. |
What Can You Do To Enable Your Sapui5 Application To Adapt To The User’s Device? |
| Answer» | |
| 49. |
Which Filter Operation Can You Use To Filter Items With A Numeric Value Lower Than X? |
|
Answer» sap.ui.model.FilterOperator.LT sap.ui.model.FilterOperator.LT |
|
| 50. |
Where Are Filters Applied In Sapui5? |
|
Answer» To an AGGREGATION BINDING To an aggregation binding |
|