FPL-II Unit-4 Android & Embedded C MCQ'sFPL-II Unit-4 Android & Embedded C MCQ's Question-Native...

Post on 28-Dec-2019

118 views 5 download

Transcript of FPL-II Unit-4 Android & Embedded C MCQ'sFPL-II Unit-4 Android & Embedded C MCQ's Question-Native...

FPL-II Unit-4 Android & Embedded C MCQ's

Question-Native development kit is used to develop application in _______language

A) java

B) C

C) C++

D) Both b & C

Hide Answer

Answer- D

Question-________ virtual machine is used to excute application for android that are

developed in java language

A) Java

B) Dalvik

C) Davit

D) None

Hide Answer

Answer- B

Question-Android is______ system

A) Linux-based

B) Windows

C) Mac

D) All

Hide Answer

Answer- A

Question-_____ is used for accesing information over a mobile wireless network

A) MAP

B) WAP

C) LAN

D) WAN

Hide Answer

Answer- B

Question-Android operating System is________

A) Open Source

B) Closed Source

C) Proprietary

D) Licensed

Hide Answer

Answer- A

Question-OHA stands for

A) Oraganization of Handset Alliance

B) Open Handset Association

C) Open Handset Alliance

D) Object Handset Association

Hide Answer

Answer- C

Question-Android framework consist of how many layers

A) 5

B) 4

C) 6

D) 3

Hide Answer

Answer- B

Question-The OHA was established on_____

A) 7-Nov

B) 6-Nov

C) 9-Nov-

D) 05-Nov

Show Answer

Show Answer

Show Answer

Question-The bottom layer of Android is________

A) Library and Runtime layer

B) Application framework layer

C) Application layer

D) kernel Layer

Hide Answer

Answer- D

Question-WAP stands for_______

A) Wireless Application Protocol

B) Wireless Association Paradigm

C) Wireless Application Practical

D) Wireless Asynchronous Protocol

Show Answer

Show Answer

Show Answer

Question-Google purchased the initial developer of software Android Inc.,in the

year______

A) 2003

B) 2005

C) 2006

D) 2007

Show Answer

Show Answer

Show Answer

Question-SDK stands for_______

A) Software Development Knowledge

B) Software Digital Kit

C) Software Development Kit

D) Second digital Knowledge

Hide Answer

Answer- C

Question-WAP Forum was introduced in_______

A) 1997

B) 2003

C) 1998 1994

D) 2004

Show Answer

Show Answer

Show Answer

Question-____is a web browser for mobile devices such as mobile phones

A) DAP browser

B) WAP browser

C) Internet

D) All

Hide Answer

Answer- B

Question-____ is Markup language used in WAP

A) HTML

B) WML

C) Both

D) None

Hide Answer

Answer- B

Question-The Android Platform was introduced by the Open Handset Alliance in

________

A) 1997

B) 2003

C) 1998

D) 2007

Show Answer

Show Answer

Show Answer

Question-Performance of the browser has been enhanced with the use of____

A) WAP

B) java

C) V8 engine

D) None

Hide Answer

Answer- C

Question-_________enables faster loading of Javascript-heavy pages

A) java

B) WAP

C) V8 engine

D) None

Hide Answer

Answer- C

Question-Apple's store is the only method of distribution for_____apps

A) ios

B) Android

C) Both

D) None

Hide Answer

Answer- A

Question-______application are more secure to download

A) Android

B) Apple

C) Both

D) None

Hide Answer

Answer- B

Question-_______application are more easy to download

A) Android

B) Apple

C) Both

D) None

Hide Answer

Answer- A

Question-Android Development can be done on _______

A) Mac

B) Windows

C) Linux

D) All

Hide Answer

Answer- D

Question-_____includes a set of development tools

A) SDK

B) JDK

C) FDK

D) None

Hide Answer

Answer- A

Question-The Android framework consist of____layers

A) Two

B) Three

C) Four

D) Eight

Hide Answer

Answer- C

Question-The top layer of Android framework is ________layer

A) Application

B) Library and Runtime

C) Application Framework

D) kernel Layer

Hide Answer

Answer- A

Question-In_____ layer applications are assembled and situated in framework

A) Applications

B) Library and Runtime

C) Application Framework

D) kernel Layer

Hide Answer

Answer- A

Question-The bottom layer of Android framework is________layer

A) Application

B) Library and Runtime

C) Application Framework

D) kernel Layer

Hide Answer

Answer- D

Question-______tools are platform independent

A) SDK

B) JDK

C) Platform

D) None

Hide Answer

Answer- A

Question- Android platform was introduced by________tools are platform independent

A) Alliance Open Handset

B) Open Handset Alliance

C) Open Handset Association

D) Association Open Handset

Hide Answer

Answer- B

Question-WAP Forum ,is group founded by_______

A) Nokia,Ericsson,Phone.com and Motorola

B) Nokia,Ericsson,Phone.com and Google

C) Samsung,Ericsson,Nokia and Motorola

D) Nokia,Google,Samsung

Hide Answer

Answer- A

Question-SDK includes__________

A) Documentation and Tools

B) Complier And APIs

C) Debugger and Tools

D) Tools and APIs

Hide Answer

Answer- D

Question-Dalvik byte code has the extension

A) .dex

B) .dbc

C) .apk

D) .dbk

Hide Answer

Answer- A

Question-Cupcake,Donuts,Gingerbread and Éclair are the versions of ________

A) Linux

B) Windows

C) Android

D) iPhone

Hide Answer

Answer- C

Question-___________ is used to develop open standards for mobile devices

A) WAP

B) OHA

C) API

D) SDK

Hide Answer

Answer- B

Question-Which of the following is a protocol

A) WAP

B) OHA

C) API

D) SDK

Hide Answer

Answer- A

Question-API stands for_________

A) Application Programming Interface

B) Associated Protocol Interface

C) Advanced Programming Integration

D) Advanced Programming Interface

Hide Answer

Answer- A

Question-Android is______ based Operating system

A) Linux

B) Windows

C) Mac

D) All

Hide Answer

Answer- A

Question-Android is designed basically for_______Operating system

A) Desktop computer

B) touch screen mobile

C) Server

D) All

Hide Answer

Answer- B

Question-Android is not useful in________

A) Desktop computer

B) notebook

C) smartbook

D) touch screen mobile

Hide Answer

Answer- A

Question-Android operating System is________

A) Open Source

B) Multitasking

C) unstable

D) All

Hide Answer

Answer- D

Question-WAP browser is a web browser for______

A) Desktop computer

B) mobile devices

C) Server

D) None

Hide Answer

Answer- B

Question-The OHA was lead by_______

A) WAP forum

B) Google

C) Microsoft

D) None

Hide Answer

Answer- B

Question-Google purchased android in______year

A) 2003

B) 2008

C) 2005

D) None

Hide Answer

Answer- C

Question-The Android SDK includes_______major components

A) Three

B) Five

C) Seven

D) Two

Hide Answer

Answer- B

Question-AVD stands for _________

A) Android Virtual Device

B) Android Vehicle Device

C) Analog Virtual Device

D) None

Hide Answer

Answer- A

Question-________ package used for Android application fundamentals

A) android.*

B) dalvik.*

C) java.*

D) javax.*

Hide Answer

Answer- A

Question-________ package used for Dalvik Virtual Machine support classes

A) android.*

B) dalvik.*

C) java.*

D) javax.*

Hide Answer

Answer- B

Question-____protocol works at transport layer

A) WAE

B) WSP

C) WDP

D) WTLS

Hide Answer

Answer- C

Question-Jelly Bean is popular name for Android version_____

A) 5.1X

B) 1.4X

C) 1.5X

D) 4.1X

Show Answer

Show Answer

Show Answer

Question-WAP is a technical standard for accessing information over a______

A) Wired network

B) Bluetooth

C) Mobile Wireless Network

D) None

Hide Answer

Answer- C

Question-Android is licensed under which open source licensing license?

A) Gnu's GPL

B) Apache/MIT

C) OSS

D) Sorceforge

Hide Answer

Answer- B

Question-A device with Android installed is needed to develop apps for Android

A) TRUE

B) FALSE

Show Answer

Show Answer

Show Answer

Question-What part of the Android platform is open source

A) Low-level linux modules

B) The entire stack is an open source platform

C) Native libraries

D) application frame work

Hide Answer

Answer- B

Question-Android releases since 1.5 has been given nicknames derived how?

A) Adjective and strange animal

B) Food

C) Something that starts w/'A'-> something that starts w/'B'….

D) American states

Hide Answer

Answer- B

Question-While developing Android applications,developers can test their apps on____

A) Emulator included in Android SDK

B) Physical Android Phone

C) Thord-party Emulators

D) All three options will work

Hide Answer

Answer- D

Question-The Android OS comes with many useful system services,which include processes

you can easily ask for things such as yours

A) All of these and more

B) Location

C) Sensor Readings

D) Wifi-Hot Spots

Hide Answer

Answer- A

Question-______is the Member of OHA

A) Google

B) Sony

C) Motorola

D) All

Hide Answer

Answer- D

Question-Android 2.2 is known by the name_____

A) éclair

B) cupcake

C) donut

D) None

Hide Answer

Answer- D

Question-Android 2.1 is known by the name_____

A) éclair

B) cupcake

C) donut

D) None

Hide Answer

Answer- A

Embedded C

Question- Which system software is used to convert a "C" language program in to

language of another processor?

A) Compiler

B) Linker

C) Cross Linker

D) Cross Compiler

Hide Answer

Answer- D

Question- Embedded C programming language support ________ instructions of normal

"C" language.

A) all

B) some

C) specific

D) can not tell Hide Answer

Answer- A

Question- CCS C is ________________.

A) Compiler

B) Linker

C) Cross Linker

D) Cross Compiler

Hide Answer

Answer- D

Question- Cross Compiler converts______________________.

A) Program into C language into binary language

B) Program in C language into another language.

C) Program in C language into program of another processors language.

D) Both A & B

Hide Answer

Answer- C

Question- If we want to write a embedded C program for PIC 18F877 microcontroller,

then which header file should be included in our program?

A) header-16F877A

B) 16F877A.h

C) header.16F877A

D) 16F877A.header

Hide Answer

Answer- B

Question- "int1" is ________________.

A) single bit data type

B) 8 bit data type

C) wrong data type

D) 16 bit data type

Hide Answer

Answer- A

Question- "int8" is ________________.

A) single bit data type

B) 8 bit data type

C) wrong data type

D) 16 bit data type Hide Answer

Answer- B

Question- "int16" is ________________.

A) single bit data type

B) 8 bit data type

C) wrong data type

D) 16 bit data type

Hide Answer

Answer- D

Question- What does the function output_C(255) perform?

A) It outputs data 'C' to port no 255.

B) It outputs some data 255 times to port 'C'.

C) It outputs data 255 to port 'C'.

D) It outputs data 1 to port 'C'.

Hide Answer

Answer- C

Question- What does the function output_high(PIN_C3) perform?

A) Clears port C in pin 3.

B) Clears pin 3 in port C.

C) Sets port C in pin 3.

D) Sets pin 3 of port C. Hide Answer

Answer- D

Question- What does the function input_A() do?

A) It will accept data from port A and store it to register.

B) It will accept data from port A and return it to user

C) It will accept data from port A and display it.

D) It will accept data A from some port.

Answer-

Question- "for" loop can be used in embedded 'C'.

A) True.

B) False.

C) Only on some microcontrollers.

D) Only with some compilers. Hide Answer

Answer- A

Question- Which of the following functions will you use to create delay in microseconds?

A) delayms()

B) delaymicroseconds()

C) delay_ms()

D) delay_microseconds() Hide Answer

Answer- C

Question- What does the function output_low(PIN_D3) perform?

A) Clears port D in pin 3.

B) Clears pin 3 in port D.

C) Sets port D in pin 3.

D) Sets pin 3 of port D.

Hide Answer

Answer- B

Question- ADC stands for ____________.

A) Analog Direct Control

B) Analog to Digital Convertor

C) Analog Direct Convertor

D) Asyncronous to Direct Convertor

Hide Answer

Answer- B

Question- Which of the following is true?

A) ADC is in-built peripheral of PIC microcontroller.

B) ADC is external peripheral of PIC microcontroller.

C) both A & B are true.

D) none of A & B is true. Hide Answer

Answer- A

Question- Which function is used to read the digital output data from ADC?

A) input_adc()

B) read_adc()

C) accept_adc()

D) any of above. Hide Answer

Answer- B

Question- Which of the following functions return a value?

A) setup_ADC()

B) read_adc()

C) set_adc_ports()

D) set_adc_channel()

Hide Answer

Answer- B

Question- Embedded system is designed to

A) execute single program repeatedly

B) execute many programs

C) both

D) none Hide Answer

Answer- A

Question- Embedded system is

A) Reactive

B) Real time

C) none

D) both Hide Answer

Answer- D

Question- Software written for embedded system is called

A) Embedded Software

B) system program

C) operating system

D) All

Hide Answer

Answer- A

Question- Software for embedded system is written in ___________________ .

A) Flash ROM

B) RAM

C) EEPROM

D) All

Hide Answer

Answer- C

Question- Embedded system has ___________.

A) response time constraints

B) strict deadlines

C) both

D) Hide Answer

Answer- C

Question- Operating System used for embedded systems is

A) Single user OS

B) real time OS

C) open source

D) All Hide Answer

Answer- B

Question- Which feature of C language helps in accessing the underlying hardware

A) pointers

B) arrays

C) strings

D) functions

Hide Answer

Answer- A

Question- Which feature of C language helps in accessing the underlying hardware

A) bit manipulation

B) arrays

C) strings

D) functions

Hide Answer

Answer- A

Question- Assembly code embedded within C programs is called

A) inline assembly code

B) External assembly code

C) Embedded Assembly code

D) Standard Assembly Code Hide Answer

Answer- A

Question- A cross compiler is a compiler whose purpose is

A) Compile code for a target CPU that is different from the development CPU

B) Convert high level language code to assembler code

C) Combine both high level lang. and assembler into a single module

D) All

Hide Answer

Answer- A

Question- Execution of single program repeatedly is done by

A) distributed system

B) embedded system

C) both

D) none Hide Answer

Answer- B

Question- Use of pointers in embedded systems is for _______________

A) bit manipulation

B) calling functions

C) Accessing underlying hardware

D) All

Hide Answer

Answer- C

Question- Embedded C requires compilers to create files to be downloaded to the

A) microcontrollers

B) microprocessors

C) operating system

D) A & B Hide Answer

Answer- D

Question- Embedded C is used for

A) microcontrollers

B) desktop computers

C) A & B

D) none

Hide Answer

Answer- A

Question- Following is a embedded system

A) digital camera

B) mobile phone

C) washing machine

D) All Hide Answer

Answer- D

Question- Embedded devices have following resource constraints

A) limited ROM

B) limited RAM

C) limited stack space

D) All Hide Answer

Answer- D

Question- Embedded system programming is to get maximum features in

A) minimum space

B) minimum time.

C) both

D) none

Hide Answer

Answer- C

Question- Embedded systems are programmed using

A) Machine Code

B) Low level language

C) High level language

D) All Hide Answer

Answer- D

Question- Which language provides direct hardware control without sacrificing benefits

of high level languages?

A) C

B) PASCAL

C) FORTRAN

D) All Hide Answer

Answer- A

Question- Compared to other high level languages, C offers more flexibility because

A) C is relatively small

B) structured language

C) Supports low-level bit-wise data manipulation.

D) All Hide Answer

Answer- D

Question- A traffic-light sequencer is an example of

A) desktop

B) embedded system

C) distributed system

D) All

Hide Answer

Answer- B

Question- A remotely-controlled robot is an example of

A) desktop

B) embedded system

C) distributed system

D) none Hide Answer

Answer- B

Question- A controller for a domestic washing machine is an example of

A) desktop

B) embedded system

C) distributed system

D) none Hide Answer

Answer- B

Question- Numbers are stored and transmitted inside a computer in _________________.

A) binary form

B) ASCII code form

C) decimal form

D) alphanumeric form Hide Answer

Answer- A

Question- PSP stands for _____________________.

A) peripheral slave port

B) portable serial peripheral

C) parallel slave port

D) parallel serial port

Hide Answer

Answer- C

Question- To transfer data among the components residing on a single circuit board,

which type of bus is used?

A) USART

B) SPI

C) PSP

D) I2C

Hide Answer

Answer- D

Question- To transfer a character byte into PSP port ____________ function is used.

A) putc(n)

B) output_X(n)

C) psp_writedata(n)

D) psp_write(n)

Hide Answer

Answer- B

Question- Which function is used to set timer mode for any timer X?

A) set_timerx(mode)

B) setup_timerx(mode)

C) timerx(mode)

D) setting_timerx(mode)

Hide Answer

Answer- B

Question- Which function is used to read the contents of any timer X?

A) input_timerx()

B) accept_timerx()

C) get_timerx()

D) set_timerx() Hide Answer

Answer- C

Question- Which function used to write to the content of any timer X

A) input_timerx()

B) accept_timerx()

C) get_timerx()

D) set_timerx() Hide Answer

Answer- D