Linear Layout Vs Relative Layout, Embedded Linux

Q.7 Write Short Notes on (ANY TWO)
a) Linear Layout Vs Relative Layout
b) Embedded Linux
c) 802.11


Ans.

a) Linear Layout Vs Relative Layout
LinearLayout arranges all child control in vertically or horizontally. You can provide the layout direction with the android:orientation attribute. In this layout all the controls are placed in single row or single column. By default the layout orientation is horizontal. You can change it as vertical by using the following code:

android:orientation="vertical"

Some of the important attribute of < LinearLayout > are as follows:



RelativeLayout

In this layout child views (Controls) are positioned relative to each other. For example if you have placed a TextView control in this layout then you can place another control to the left, right or below the TextView.

Some of the important attribute of < RelativeLayout > are as follows:


b) Embedded Linux

Linux is an operating system just like other operating system but it more secure than other. It that manages all of the hardware resources and other software associated with your system (Desktop, Laptop, and other devices). Linus is one of the most reliable computer system now a days and it is an open source.
The Linux kernel is written in the C programming language, and it supports nearly all major computer architectures.

Embedded Linux enables you to customize it according to the size and hardware constraints of embedded devices. Embedded Linux are usually compiled on one platform but executed on another.

The following are the main component of OS:

The Bootloader: It is a small application that is executed when you start the computer.

The kernel: The Linux kernel is the heart of any Linux Operating System. It provides the core services such as memory management, process and thread creation, scheduling, data exchange with hardware and peripheral devices.

Daemons: These are the program that runs in the background. These services runs either starts up during boot or after you log into the system.

The Shell: It is a program that takes your command and provides it to Linux OS to perform. Previously it was the only user interface available on a Unix OS but nowadays, it provides graphical user interfaces (GUIs) for this purpose.

Graphical Server: It that displays the graphics on your monitor.

Applications: Linux offers n numbers of high-quality software that can be easily found and installed. Lots of App Store-like tools are included in modern Linux distributions that centralize and simplify application installation. For example you can use Ubuntu Software Center which allows you to quickly search the apps and install them.

c) 802.11
IEEE has developed specification for a wireless LAN and known as IEEE 802.11
A wireless LAN (WLAN ) is a transmission system that uses radio waves rather than a cable infrastructure for communication between computing devices.

Advantages for WLAN

- Increased mobility.
- Cost-effective network setup.
- Real-time access.
- Access the LAN during movement.

IEEE defines two kinds of services:

- Basic service set (BSS)
- Extended service set (ESS)

802.11 LANs use the BSS as the standard building block. A basic service set is made of mobile devices and an optional central base station, known as the access point (AP).An Access Point (AP) is works as bridge between Wireless and Wired Network. A BSS without an Access Point is called as ad hoc architecture. The BSS without an AP cannot send data to other BSSs.



Ad hoc network (BSS without an AP)

Extended Service Set

An extended service set (ESS) is created by using two or more BSSs with APs. BSSs are connected through a distribution system that is called as wired LAN.



Communication between two devices in two different BSSs usually occurs through the two access points.
Post your comment

    Discussion

  • Mca optimized techniques 2014 solvled questio paper -prashant (04/21/15)
  • Where is ot solved question paper.. Plz send me link
  • RE: Linear Layout Vs Relative Layout, Embedded Linux -Aamir Ukaye (04/18/15)
  • Thanks sir really it is usefull for MCA student..
    An d please upload STQA paper answer also
  • NOT FOUNT QUESTION PAPERS MCA -PRASAD (04/15/15)
  • Hii sir i am found paper Optimization Technique Avinash Singh Chauhan
  • MCA 2012(May) Otimization Technique (MT-41)(Semester IV) -Avinash Singh Chauhan (04/06/15)
  • Customer arrive at a window drive in bank according to poisson distribution with mean 10 per hour. Service time per customer is exponential with mean 5 minutes.
    i.) What is the probability that an arriving customer can walk directly to the space in front of the window?
    ii.)How long an arriving customer expected to wait before starting service?
    iii.)What is the probability that an arriving customer will have to wait?