Customer code



Download 25.59 Kb.
Date30.06.2017
Size25.59 Kb.
#22027

CUSTOMER_CODE

SMUDE

DIVISION_CODE

SMUDE

EVENT_CODE

JULY15

ASSESSMENT_CODE

BCA4030_JULY15



QUESTION_TYPE

DESCRIPTIVE_QUESTION

QUESTION_ID

37829

QUESTION_TEXT

Briefly explain android architecture libraries. Write any eight such native library and the purpose.

SCHEME OF EVALUATION

On top of the kernel are the libraries. Android includes a set of C/C++ libraries written as modules of code that are compiled down to native machine code. It controls the device to handle different kinds of data efficiently. These libraries tell the device how to handle different kinds of data and are exposed to Android developers via Android application framework. It provides some of the common services that are available for applications and various components of the Android system. It exposes its capabilities through Android application framework.

Libraries in Android architecture include the Surface Manager, Media Framework, WebKit, SQLite, OpenGL/ES, FreeType, SGL, SSL, Libc. These native libraries run as processes within the underlying Linux kernel. (2 marks)



Libc: Libc is a standard C library tuned for embedded devices.

SSL: It is a Secure Sockets Layer cryptographic protocol for secure internet communications.

SGL: SGL is a scalable graphic library or also called clear graphic library that gives the underlined 2D graphic engine. In Android graphics platform,you can combine 3D and 2D graphics in the same application.

OpenGL/ES: OpenGL/ES is a 3D library. OpenGL supports the CD graphics which is based on OpenGL1.O, so these libraries either use hardware 3D accelerator if they are available or they use the highly optimized software. They have a software implementation that is hardware acceleratable if the device has a 3D chip on it.

FreeType: Freetype is used for bitmap and vector font rendering.  FreeType is a free, high quality and portable font engine.

WebKit: It is the open source browser engine, used as a core of Android’s browser.

SQLite: It is the basic datastore technology for the Android platform and is very lightweight relational database engine that manages access to display subsystem. It is used as the core of most of its data storage.

Media Frame work: The Media Framework was provided by Packet Video, one of the members of the open handset alliance and that contains the entire codex that make up the core of the media experiences.

Surface Manager: The surface manager is responsible for composing different drawing surfaces on to the screen or you can say that it is responsible for graphics on the device’s screen.

LibWebCore: LibWebCore is a modern web browser engine that gives us embeddable web view.

Media Libraries: It supports playback and recording of many popular audio and video formats, as well as static image file.

Android Runtime

The Android runtime layer also includes set of core java libraries and DVM (Dalvik Virtual Machine) located in same layer.



Core Libraries: Core Libraries are written in the Java programming language.The core library contains all of the collection classes, utilities, I/O, all the utilities and tools that you use.

Dalvik Virtual Machine: Android based systems utilize their own virtual machine (VM), which is known as the Dalvik Virtual Machine (DVM).

The Bionic Library

Compared to Linux, Androids incorporates its own c library known as Bionic library.

(Any 8 – each 1 mark)




QUESTION_TYPE

DESCRIPTIVE_QUESTION

QUESTION_ID

37830

QUESTION_TEXT

With example explain bit manipulation and processor control instructions.

SCHEME OF EVALUATION

Bit manipulation instruction

1.NOT Src

2. AND Des,Src

3. OR Des,Src

4. XOR Des, Src

5. SHL Des, Count

6. SHR Des, Count

7. ROL Des, Count

8. ROR Des, Count

Processor control instruction

1. STC

2. CLC


3. CMC

4. STD


5. CLD



QUESTION_TYPE

DESCRIPTIVE_QUESTION

QUESTION_ID

72246

QUESTION_TEXT

Explain the phases of compiler.

SCHEME OF EVALUATION

There are 5 phases

*     Lexical analysis

*     Syntax analysis

*     Intermediate code generation code optimization

*     Code generation




QUESTION_TYPE

DESCRIPTIVE_QUESTION

QUESTION_ID

72249

QUESTION_TEXT

How does UNIX/Linux OS distinguish and classify devices that are attached to the computer?

SCHEME OF EVALUATION

*     UNIX/Linux OS distinguishes and classifies devices that are attached to the computer devices into three fundamental device types.                                              [1 marks]

*     brief notes on Character devices                                              [ 3 marks]

*     brief notes on Block devices                                                    [ 3 marks]

*     brief notes on Network interfaces.                                              [ 3 marks]





QUESTION_TYPE

DESCRIPTIVE_QUESTION

QUESTION_ID

125399

QUESTION_TEXT

Write down the Advantages and disadvantages of coding in assembly language.

SCHEME OF EVALUATION

Advantages of coding in assembly language are:

•      Provides more control over handling particular hardware components

•      May generate smaller, more compact executable modules

•      Often results in faster execution



Disadvantages:

•      Not portable

•      More complex

•      Requires understanding of hardware details (interfaces)

An assembler does the following:

1.     Generate machine instructions

–      evaluate the mnemonics to produce their machine code

–      evaluate the symbols, literals, addresses to produce their equivalent machine addresses

–      convert the data constants into their machine representations

2.     Process pseudo operations.





QUESTION_TYPE

DESCRIPTIVE_QUESTION

QUESTION_ID

125403

QUESTION_TEXT

What is the data store technology used in Android platform? Explain Android application framework.

SCHEME OF EVALUATION

Data Stroe technology: SQLite (1 mark)

1.     Activity manager: actually manages life cycles of applications.

2.     Window manager: Manages window

3.     Content providers: to enable applications access data from other app.

4.     View system: Contains things like buttons and lists and all the building blocks of UI.

5.     Notification manager: helps us to display custom alerts on status bar.

6.     Package manager: responsible for keeping of what applications you have and what capabilities each of your applications have.

7.     Telephone manager: handler info. About telephony. ABI to build phone App.

8.     Resource manager: gives us access to non-code resources such as localized strings or various other resources in the form of PIING, BMP as well as XML.

9.     Location managers: handles info about location.




Download 25.59 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page