Professional Documents
Culture Documents
Entrance Exam
Entrance Exam
Operating system
Networking
• Define these concepts in their respective layers port number, logical addressing (ip)
and physical addressing (mac).
Data base
• Data models
Software engineering
• What is UML?
• Sorting
• Class and objects
Answers
Deadlock occurs when a set of processes are in a wait state, because each process is
waiting for a resource that is held by some other waiting process. Therefore, all
deadlocks involve conflicting resource needs by two or more processes.
Operating system - pre-emptive and non-preemptive scheduling - Jan 07, 2010 at 15:00
PM by Vidya Sagar
NEXT>>
The following are the advantages of a layered architecture:
Layered architecture increases flexibility, maintainability, and scalability. In a Layered
architecture we separate the user interface from the business logic, and the business logic
from the data access logic. Separation of concerns among these logical layers and
components is easily achieved with the help of layered architecture.
Multiple applications can reuse the components. For example if we want a windows user
interface rather than a web browser interface, this can be done in an easy and fast way by just
replacing the UI component. All the other components like business logic, data access and the
database remains the same. Layered architecture allows to swap and reuse components at
will.
Layered architecture enables teams to work on different parts of the application parallely
with minimal dependencies on other teams.
There might be a negative impact on the performance as we have the extra overhead of
passing through layers instead of calling a component directly.
The use of layers helps to control and encapsulate the complexity of large applications, but
adds complexity to simple applications.
Changes to lower level interfaces tend to percolate to higher levels, especially if the relaxed
layered approach is used.
Network architecture is the design of a communications network. It is a framework for the
specification of a network's physical components and their functional organization and
configuration, its operational principles and procedures, as well as data formats used in its
operation.
In telecommunication, the specification of a network architecture may also include a detailed
description of products and services delivered via a communications network, as well as
detailed rate and billing structures under which services are compensated.
The network architecture of the Internet is predominantly expressed by its use of the Internet
Protocol Suite, rather than a specific model for interconnecting networks or nodes in the
network, or the usage of specific types of hardware links.
The following are the disadvantages of a layered architecture:
There might be a negative impact on the performance as we have the extra overhead of
passing through layers instead of calling a component directly.
Development of user-intensive applications can sometime take longer if the layering
prevents the use of user interface components that directly interact with the database.
The use of layers helps to control and encapsulate the complexity of large applications, but
adds complexity to simple applications.
Changes to lower level interfaces tend to percolate to higher levels, especially if the relaxed
layered approach is used.
I've implemented protocols and sat in on a few standards committees to know a little about
each. A protocol specifies the set of rules governing communication between entities;
• a standard is a specification agreed upon and implemented and adopted by an industry
• or vendors;
• a model is simply a well-understood abstract mechanism to reason about things.
• permalink
Divide and conquer
Subject fact
Divide and conquer has definition. The principle of dividing something large into smaller
units, so it can be dealt with more easily
Has benefits
Separate people can work on each part. The original development work can therefore be done
in parallel
An individual software engineer can specialize in his or her component and become expert at
it
Each individual component is smaller, and therefore easier to understand
When one part needs to be replaced or changed, it can hopefully be done without having to
replace or extensively change other parts
is a subtopic of 11.3 - Cost Estimation
is a subtopic of 9.2 - Principles Leading to Good Design
is an instance of design principle
The OSI model is a good place to start to learn more about the differences between physical
and logical addressing. Think of the physical address as the 48-bit MAC address that
manufacturers encode in their network interface cards (NICs). This type of address is unique,
referred to as the Ethernet or hardware address, and cannot be changed but can be spoofed.
The MAC or Ethernet address is associated with Layer 2 (data Link) of the OSI Model.
The logical address is a 32-bit IP address that is not embedded in the network card but it is
assigned to it for the purpose of routing between networks. This type of address operates at
Layer 3 (network) of the OSI Model. The Internet Protocol (IP), in combination with
Transmission Control Protocol (TCP), forms the TCP/IP suite, which is the de facto protocol
(i.e., universal computer language) that connects the network of networks – that is, the
Internet. The OSI Model is a standard developed by the International Standards
Organization (OSI) to provide a blueprint for conformity for software development and
network communications.
A thread is the smallest unit of processing that can be performed in an OS. In most modern
operating systems, a thread exists within a process - that is, a single process may contain
multiple threads.