Sencha MCQs

Sencha MCQs

These Sencha multiple-choice questions and their answers will help you strengthen your grip on the subject of Sencha. You can prepare for an upcoming exam or job interview with these 50+ Sencha MCQs.
So scroll down and start answering.

1: What is Sencha Touch?

A.   An object oriented programming language

B.   A workspace for mobile devices

C.   A communication tool for mobile devices

D.   A high-performance HTML5 mobile application framework

2: What is the great way to allow the user to swipe through multiple full-screen pages?

A.   Using Ext.ScrollView

B.   Using Ext.Carousel

C.   There's no way to allow this feature

D.   Using Ext.ScrollView.PageScrollView

E.   Using Ext.PageScrollView

3: Which of these is a technique for improving page load times when some browsers are not able to make large numbers of simultaneous requests to servers on the same domain?

A.   Domain cutting

B.   Domain cleaving

C.   Domain fracturing

D.   Domain sharding

4: Which of the following would be a proper implementation of createDelayed().

A.   Ext.Function.createDelayed()

B.   Ext.createDelayed()

C.   Function.createDelayed

D.   Ext.createDelayed.Fuction

5: What is the name of the documentation tool provided by Sencha?

A.   JDoc

B.   YARD

C.   Sphinx

D.   JSDuck

6: During runtime applications can use the validate() method on model instance to trigger ____.

A.   all the required validations

B.   validation of Sencha standards

C.   storage of valid data

D.   returns a Boolean value in correspondence to whether an object has valid syntax

7: Which of the following is not a subclass of Text?

A.   DatePicker

B.   Password

C.   Email

D.   checkboxfield

8: Class names should be properly namespaced using which notation?

A.   Object property dot

B.   Class property slash

C.   Double colon object

D.   Function rounded set

9: Jasmine is a JavaScript BDD library. What makes Jasmine special?

A.   It does not require the DOM to work & it does not depend on other libraries

B.   It requires the DOM to work

C.   It does not require the DOM to work

D.   It does not depend on other libraries

10: True or False? Method names may only contain alphanumeric characters.

A.   False

B.   True

11: If we create a container 300px wide with flex configs of 1 and 2, what will be the pixel width of each of the flex items?

A.   300px for item 1 and 0px for item 2

B.   200px for item 1 and 100px for item 2

C.   150px for item 1 and 150px for item 2

D.   100px for item 1 and 200px for item 2

12: Which syntax should you use to get automatic getters and setters and have a much cleaner codebase?

A.   Emptyfn

B.   JS

C.   Applyfl

D.   Config

13: What is app.js?

A.   App.js files control the application

B.   App.js is a file to write the main Class of applications

C.   The main Javascript entry point for your app

D.   Special javascript file to embed Theme and code

14: What are proxies responsible for?

A.   Ensuring that your program will be compatible with all mobile devices

B.   Protecting and encrypting user data

C.   The actual loading and saving of data

D.   Nothing special, they are just glorified arrays

15: The most basic Sencha application consists of, at least, each the following: the Sencha libraries, ___, JavaScript file containing the apps source code.

A.   a controller

B.   profiles

C.   an index.html file

D.   a css file

16: What type of structures does Sencha Touch follow?

A.   Command Line Structure

B.   HTML5/CSS3 Behaviour

C.   All of These

D.   Responsive Designing Behaviour

17: What is the class "decode" shorthand for?

A.   Ext.JSON.parse

B.   Ext.JSON.decode

C.   Ext.AJAX.decode

D.   Ext.Loader.exclude

18: Which of these are methods of every config?

A.   Yes and no

B.   Open and close

C.   Getter and setter

D.   On and off

19: What is the difference between VBox and HBox?

A.   HBox is typically used for much larger file sizes

B.   VBox is the updated version of HBox for Touch 2.0

C.   VBox is vertical instead of horizontal

D.   VBox is used for dynamic elements while HBox is used to static elements

20: Which of these are unique problems in deploying web-based charts on mobile touch devices as opposed to desktop environments?

A.   All of these

B.   Accurately selecting data points in order to get detailed information is difficult with touch input

C.   Hardware limitations make redrawing chart data very expensive

D.   Small screen sizes limit the amount and complexity of data that you can display at once

21: What is the following code doing? Ext.define('App.new.CustomList' {extend: 'Ext.dataview, //...}); Ext.create(App.new.CustomList);

A.   Defining the class App

B.   Defining and instantiating a class App

C.   Instantiating the class App

D.   extending the class App

22: What is the function used to determine how the child Components should be organized and displayed on the screen?

A.   varPanels

B.   Layouts

C.   Wireframes

D.   Mockups

23: What is the function of Controllers?

A.   Controllers manage Views, Views fire events, Controllers respond to them

B.   Controllers control the architect of applications

C.   Controllers control the overall application

D.   Controllers are used to define the Listing functions

24: What is Ext?

A.   Ext is used to access the Classes of Sencha Touch

B.   Ext stands for External Function in Sencha Touch

C.   Ext is a Class name in Sencha Touch

D.   Ext is the global namespace for the whole Sencha Touch framework

25: What is Xtype?

A.   Xtype is used to describe the behavior of a Class

B.   Xtype is function in Sencha Touch

C.   Xtype is a sub Class in Sencha Touch

D.   Xtype is an easy way to create components without having to use the full Class name

26: Which of these are acceptable variable names?

A.   var isGoodName

B.   All are acceptable

C.   var base64encoder

D.   var xmlReader

27: What is a listener?

A.   The initial set of data to apply to the tpl to update the content area of the Component

B.   An object or array of objects that will provide custom functionality for this component

C.   A config object containing one or more event handlers to be added to this object during initialization

D.   The term used to describe users of your program

28: Why is it often a good idea to destroy Components when you know you won't need them any more?

A.   To keep your proprietary code out of the hands of developers

B.   You otherwise run the risk of bricking a users mobile device

C.   Because most mobile devices have a limited amount of memory

D.   You shouldn't ever destroy Components

29: What does MVC stands for?

A.   Multiple Views Controller

B.   Mobile View Controller

C.   Model View Controller

D.   Main View Controller

30: What is Sencha?

A.   A rails framework

B.   A MVC Javascript framework

C.   A scripting language

D.   A Java framework

31: What type of apps are developed through the Sencha Touch Framework?

A.   OOPS based mobile apps that work on both Android and iOS

B.   This framework is only used for Blackberry devices

C.   Android based development apps that work on Androids

D.   HTML5 based mobile apps that work on Android, iOS and Blackberry devices

32: Which of these are capabilities of Components in Sencha Touch?

A.   Render themselves onto the page using a template

B.   Center themselves on the screen

C.   All of these

D.   Show and hide themselves at any time

33: What is Ext.container.Viewport?

A.   A function declared in an App.js file to show the main home page of apps

B.   A specialized container representing the viewable application area

C.   A user defined Class in Sencha Touch

D.   A card layout to which you can add application components

34: Which naming convention should acronyms follow?

A.   Unicase

B.   Orthographic casework

C.   CamelCase

D.   Functiontype

35: True or False? Sencha 2.x has a backwards compatibility feature to assist in migrating your 1.x code.

A.   False

B.   True

36: What web technologies are used in Sencha?

A.   HTML

B.   All of these

C.   CSS

D.   JavaScript

37: Which of these are a valid character to include in a class name?

A.   "~"

B.   "$"

C.   "7"

D.   All are valid

38: What is Sencha.io Scr?

A.   A cloud-based storage center to uploading, editing, and sharing your code

B.   A Component that returns the screen size resolutions

C.   A cloud-based tool to help you dynamically resize images to adapt to changes in device screen size

D.   The source code for Sencha Touch

39: True or False? In Touch Charts, not all CSS style rules behave the same (or even work) in an .scss file.

A.   False

B.   True

40: True or False? Classes that are not distributed by Sencha should never use Ext as the top-level namespace.

A.   True

B.   False

41: To use Sencha.io Src in its default mode, you must prefix your absolute src attribute with:

A.   touch.API.sencha

B.   http://io.sencha.fix.ly/

C.   http://src.sencha.io/

D.   Ext.IO.sencha

42: Which sentence about Ext.data.Store is TRUE?

A.   Stores cannot be sorted and filtered - in both cases either remotely or locally.

B.   Proxy is required to load or read from Store.

C.   The Store class saves any type of data with out any structures.

D.   The Store class encapsulates a client side cache of Model objects.

43: What is the main difference between init() and launch()?

A.   init() is executed before launch()

B.   launch() is executed before init()

C.   nothing

D.   init() initializes objects while launch() sets the objects value equal to something else

44: How long does sencha.io src cache images?

A.   Up to one day

B.   One month

C.   One hour

D.   Seven days

45: In: "src='http://src.sencha.io/x50/http://sencha.com/files/u.jpg'," What does x50 represent?

A.   The image will repeat in a tile format 50 times

B.   The image will be reduced 50 pixels in resolution

C.   The image will only take up 50% of the screen

D.   The image will be 50px by 50px

46: In the Drawing and Charting Package, which class manages both the rendering of each series and how the axes are drawn and defined?

A.   Gradient

B.   Axis

C.   Legend

D.   Chart

47: How are new applications generated in Sencha Touch?

A.   All of These

B.   Direct download from Sencha Touch website

C.   Through Sencha command

D.   Through Sencha Theme designer

48: Sencha's theming subsystem is called Syntactically _____ Stylesheets.

A.   Compiled

B.   Styled

C.   Awesome

D.   Accurate

49: All of the configurations for a given Component are listed in the "Config options" section of which page?

A.   Class docs page

B.   Component feature page

C.   List tools page

D.   Object modify page

50: Unless you tell it otherwise, Sencha.io Src will resize the image to fit the physical screen of the mobile handset visiting your site, based on:

A.   It's user-agent string

B.   The mobile-source string

C.   The version of Sencha you are using

D.   Its functional hardware setup