<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4928947872696753796</id><updated>2011-08-28T23:23:18.646-07:00</updated><title type='text'>Notes  for  M.Sc(Comp. Sc),MCA,BCA</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nareshkumarbhutani.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4928947872696753796/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nareshkumarbhutani.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Naresh Kumar Bhutani</name><uri>http://www.blogger.com/profile/16127420781112113759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/_-gUzLPndoDI/TF-Q5s8Kc6I/AAAAAAAAAAM/jjD_dJqmfiM/S220/Z7lg650.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4928947872696753796.post-6084336575635349553</id><published>2010-09-06T20:58:00.001-07:00</published><updated>2010-09-06T20:58:56.878-07:00</updated><title type='text'>OOPS Notes</title><content type='html'>Q1(a) What is the mean by Dynamic Initialization of objects ? Why it is needed ? How is it accomplished in C++ ? Illustrate&lt;br /&gt;Ans&lt;br /&gt;         &lt;br /&gt;      Dynamic initialization of objects means that we will provide the value at rum time of the program. This is referred as dynamic initialization of object. In C++ a variable can be &lt;br /&gt;Initialized at run time using the expressions at the place of declaration. Dynamic initialization of variable will provide the value at run time that is not fixed at starting time of program. Dynamic programming will provide the value at running condition at run time.&lt;br /&gt;Dynamic initialization means that we will provide the value to a variable when it used for  first  time in the programming.&lt;br /&gt;&lt;br /&gt;The following is the reason that why Dynamic initialization of objects are used&lt;br /&gt;1)	We can provide the value according to the user requirement&lt;br /&gt;2)	We can change the format of  the variable at rum &lt;br /&gt;3)	We can  different types of values at run time&lt;br /&gt;4)	 User can change its value frequently&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  There are three ways to initialize Dynamic objects&lt;br /&gt;1)	Dynamic declaration with new operator&lt;br /&gt;        When we define a variable, we specify a type and a name. When we dynamically allocate an object, we specify a type but do not name the object. Instead, the new expression returns a pointer to the newly allocated object; we use that pointer to access the object:&lt;br /&gt;       int i;              //  uninitialized int variable&lt;br /&gt;       int *pi = new int;  // pi points to dynamically allocated,&lt;br /&gt;                         &lt;br /&gt;&lt;br /&gt;2)	Initialization of  Dynamic objects&lt;br /&gt;                      In these concepts we will provide the value to dynamic objects we will generate. &lt;br /&gt;3)	Default value assign to objects&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q What is exceptional handling ? How the exception handling is useful/preferred than normal error checking codes ? Illustrate&lt;br /&gt;Ans.&lt;br /&gt;    Exceptions are run-time anomalies that a program may detect for example divided by zero. When program is running then exception will arrive that exception can be catch by different  statement provided  by C++. Exceptions can be classified into two category.&lt;br /&gt;1)	System define Exception Handling&lt;br /&gt;2)	User define  Exception handling&lt;br /&gt;&lt;br /&gt;1)	System define exception  handling&lt;br /&gt;                System define exception  handling is an handling in which we will handle errors that has been define by the system. For Example number is divided by zero that means when we will divide a number with zero then this exception will throw by the system catch by the exception placed by the user&lt;br /&gt;2)	User define exception handling&lt;br /&gt;                             User define exception handling is a handling in which we will try to solve the error that will generated by the user program. For Example  we want to add two number and we place a particular condition if any number is negative then it must show an error to us. If any user will give negative number then it will throw an exception.&lt;br /&gt;    User define exception handling will use the following three statements &lt;br /&gt;1.	Trying the normal flow: To deal with the expected behavior of a program, use the try or __try keyword as in the following syntax:&lt;br /&gt;&lt;br /&gt;try {Behavior}&lt;br /&gt;&lt;br /&gt;The try or __try keyword is required. It lets the compiler know that you are attempting a normal flow of your program. The actual behavior that needs to be evaluated is included between an opening curly bracket “{“ and a closing curly bracket “}”. Inside of the brackets, implement the normal flow that the program should follow, at least for this section of the code. &lt;br /&gt;2.	Catching Errors: During the flow of the program as part of the try section, if an abnormal behavior occurs, instead of letting the program crash or instead of letting the compiler send the error to the operating system, you can transfer the flow of the program to another section that can deal with it. The syntax used by this section is:&lt;br /&gt;&lt;br /&gt;catch(Argument) {WhatToDo} &lt;br /&gt;This section always follows the try section and there must not be any code between the try’s closing bracket and the catch section. This means that, if you are using a __finally section, it must not be included before a catch section. The catch keyword is required and follows the try section.&lt;br /&gt;&lt;br /&gt;The catch behaves a little like a function. It uses an argument that may be passed by the previous try section. The argument can be a regular variable or a class. If there is no argument to pass, the catch must at least take a three-period argument as in catch(…). The behavior of the catch clause starts with an opening curly bracket “{“ and ends with a closing curly bracket “}”. The inside of the brackets is called the body of the catch clause. Therefore, use the body of the catch to deal with the error that was caused.&lt;br /&gt;&lt;br /&gt;Combined with the try or __try block, the syntax of an exception would be:&lt;br /&gt;  &lt;br /&gt;try {&lt;br /&gt;	// Try the program flow&lt;br /&gt;}	&lt;br /&gt;catch(Argument)&lt;br /&gt;{&lt;br /&gt;	// Catch the exception&lt;br /&gt;}&lt;br /&gt;3.	Throwing an error: There are two main ways an abnormal program behavior is transferred from the try block to the catch clause. This transfer is actually carried by the throw keyword. Unlike the try and catch blocks, the throw keyword is independent of a formal syntax but still follows some rules. For example, it is usually included in a try or __try section.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;  For  Example&lt;br /&gt;       #include&lt;iostream.h&gt;&lt;br /&gt; void main()&lt;br /&gt;{&lt;br /&gt;	 int a,b;&lt;br /&gt;	 try&lt;br /&gt;	 {&lt;br /&gt;	 cout&lt;&lt;"Enter Two values"&lt;&lt;endl;&lt;br /&gt;	 cin&gt;&gt;a&gt;&gt;b;&lt;br /&gt;	 if(a&lt;=10)&lt;br /&gt;		 throw(a);&lt;br /&gt;	 else&lt;br /&gt;		  cout&lt;&lt;"Addition is "&lt;&lt;a+b;&lt;br /&gt;&lt;br /&gt;	 }catch(int p) { cout&lt;&lt;"Exception handling "&lt;&lt;endl;&lt;br /&gt;	                 cout&lt;&lt;"Value of a is "&lt;&lt;a&lt;&lt;endl;&lt;br /&gt;	 }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;According to this example we are placing the try block on the value which we are accepting from the user. If user is entering wrong value then it will throw an exception that will catched  by catch block that we have placed in the last of the program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantage of Exception Handling&lt;br /&gt;1)	We can handle the error according to the user requirement&lt;br /&gt;2)	We can show  user define message in the case of error.&lt;br /&gt;3)	It will stop the normal execution of the program&lt;br /&gt;4)	We recover from the position from where program has been stopped.&lt;br /&gt;      Disadvantage &lt;br /&gt;1)	It required unnecessary memory space to catch and throw the expected errors to the user.&lt;br /&gt;2)	Multiple try and catch block of exception handling can reduce the performance of the system&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;         &lt;br /&gt;&lt;br /&gt;Q what is object oriented programming? how it is different from procedural language.&lt;br /&gt;&lt;br /&gt;Ans &lt;br /&gt;     Object oriented programming is a programming in which we will focus on objects. As we know that an object is the representation of any thing that we are viewing in the world. For Example  Name of student is an object that contains different types of attributes that will make the different between two objects.The following difference between object oriented and procedural language will clear how both are different from each other.&lt;br /&gt;&lt;br /&gt;Procedural Language	Object Oriented Language.&lt;br /&gt;1) It is Function based Language &lt;br /&gt;	1) It is Object Based language&lt;br /&gt;2) It use top-down design approach	2) It use bottom-up approach&lt;br /&gt;3)  Functions are define earlier	3) functions can define at run time as well design time&lt;br /&gt;4) It does not provide the facility of multiple inheritance	4) It provide multiple inheritance concepts&lt;br /&gt;5) Software complexity can not be managed	5) Software complexity can be managed&lt;br /&gt;6) A large problem is sub-divided into different sub parts	6) A large problem is sub-divided into different sub objects&lt;br /&gt;7) We can not generate multiple instance of the function	7) we can generate the multiple instance of  an object&lt;br /&gt;8) Data hiding can not  be performed	8) Data hiding can be performed&lt;br /&gt;9) No message passing concepts are used between different types of functions	9) Message passing concepts are used to communicate between different objects&lt;br /&gt;10) Access specifier  is not possible	10) Access specifier is possible&lt;br /&gt;11) function abstraction can not be possible	11) We can perform data abstraction &lt;br /&gt;12)  Multiple functions can be combined in single function 	12) Multiple objects are combined into a class&lt;br /&gt;13) We can not use the concepts of inheritance	13) We can use the concepts of inheritance&lt;br /&gt;14) We have to perform static binding of data	14) we can perform static and dynamic binding&lt;br /&gt;&lt;br /&gt;Q What is function overloading? Where and why we use this concept. Explain with the help of example.&lt;br /&gt;Ans :&lt;br /&gt;               Function overloading means that we will use different functions with same name but each function will contains different arguments or data type of argument will be different.In other word we can say that two function will share the same name but the arguments will different from each other.&lt;br /&gt;  For Example&lt;br /&gt;  &lt;br /&gt;#include &lt;iostream.h&gt;&lt;br /&gt;using namespace std;&lt;br /&gt;void f(int i); // integer parameter&lt;br /&gt;void f(int i, int j); // two integer parameters&lt;br /&gt;void f(double k); // one double parameter&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;f(10); // call f(int)&lt;br /&gt;f(10, 20); // call f(int, int)&lt;br /&gt;f(12.23); // call f(double)&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;void f(int i)&lt;br /&gt;{&lt;br /&gt;cout &lt;&lt; "In f(int), i is " &lt;&lt; i &lt;&lt; '\n';&lt;br /&gt;}&lt;br /&gt;void f(int i, int j)&lt;br /&gt;{&lt;br /&gt;cout &lt;&lt; "In f(int, int), i is " &lt;&lt; i;&lt;br /&gt;cout &lt;&lt; ", j is " &lt;&lt; j &lt;&lt; '\n';&lt;br /&gt;}&lt;br /&gt;void f(double k)&lt;br /&gt;{&lt;br /&gt;cout &lt;&lt; "In f(double), k is " &lt;&lt; k &lt;&lt; '\n';&lt;br /&gt;}&lt;br /&gt;This program produces the following output:&lt;br /&gt;In f(int), i is 10&lt;br /&gt;In f(int, int), i is 10, j is 20&lt;br /&gt;In f(double), k is 12.23&lt;br /&gt;&lt;br /&gt;According this example we are using one function with name f  first function is containing with single arguments and second function is containing two arguments and third function contains one arguments with single argument but the different between first function and second function is format of arguments we pass in the function.&lt;br /&gt;&lt;br /&gt;Where  we can use Function overloading&lt;br /&gt;&lt;br /&gt;1)	When we have to use same function on different types of data&lt;br /&gt;2)	When  we need one function that can perform different operation with different types of data&lt;br /&gt;3)	Function overloading will used when we donot know which type of data can be input by the user.&lt;br /&gt;&lt;br /&gt;Why we use the Function Overloading&lt;br /&gt;1)	Improving the interface between functions and use request. In other word we can say that user can use the any arguments without knowing which type argument is required by the function.&lt;br /&gt;2)	Function Overloading will be used when we want to use the same function for different purpose point of view.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantage of   Function overloading&lt;br /&gt;1)	we can use same function multiple times&lt;br /&gt;2)	we can accept different types of values&lt;br /&gt;3)	User can easily switch from one value to another value&lt;br /&gt;4)	Processing of data will be hidden from the user that means user does not know about the working of a function&lt;br /&gt;5)	It will increase the readability of code&lt;br /&gt;6)	Function overloading when we want to call a particular data with different requirements&lt;br /&gt;&lt;br /&gt;Disadvantage of Function overloading&lt;br /&gt;&lt;br /&gt;1)	No Proper decision about which function is about to execute. Suppose we created with two functions that are using same arguments but argument contains same format of data that time function overloading will show an error to us.For Example&lt;br /&gt;// Overloading ambiguity.&lt;br /&gt;#include &lt;iostream.h&gt;&lt;br /&gt;using namespace std;&lt;br /&gt;float myfunc(float i);&lt;br /&gt;double myfunc(double i);&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;// unambiguous, calls myfunc(double)&lt;br /&gt;cout &lt;&lt; myfunc(10.1) &lt;&lt; " ";&lt;br /&gt;// ambiguous&lt;br /&gt;cout &lt;&lt; myfunc(10);&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;float myfunc(float i)&lt;br /&gt;{&lt;br /&gt;return i;&lt;br /&gt;}&lt;br /&gt;double myfunc(double i)&lt;br /&gt;{&lt;br /&gt;return i;&lt;br /&gt;} &lt;br /&gt;       &lt;br /&gt;According to this example we are overloading the function myfunc. If  we provide the value with 10.1 then compiler will be confused which will be executed and which not be executed then it will show an error to us. This is main disadvantage of Function Overloading&lt;br /&gt;&lt;br /&gt;Q What are macros  ? How do they help . Explain with the help  of example.&lt;br /&gt;&lt;br /&gt;Ans &lt;br /&gt;         The macro  is that part of the compiler that performs various&lt;br /&gt;text manipulations on your program prior to the actual translation of your source code into object code. You can give text-manipulation commands to the macro. These commands are called macro  directives and, although not technically part of the C++ language, they expand the scope of its programming environment.The C++ macro  contains the following directives:&lt;br /&gt;&lt;br /&gt;1)	#define&lt;br /&gt;       It  is used to define an identifier and a character sequence that will be substituted  for the identifier each time it is encountered in the source file. The identifier is called a macro name and the replacement process is called macro substitution. The general form of&lt;br /&gt;the directive is #define macro-name character-sequence&lt;br /&gt;Notice that there is no semicolon in this statement. There can be any number of spaces between the identifier and the character sequence, but once the sequence begins, it is terminated only by a newline&lt;br /&gt;&lt;br /&gt;Example&lt;br /&gt;&lt;br /&gt;#define UP 1&lt;br /&gt;#define DOWN 0&lt;br /&gt;According to this example where ver we will use UP that will be converted  by 1 and DOWN will be converted by 0&lt;br /&gt;2)	 #error &lt;br /&gt;When the #error directive is encountered, it forces the compiler to stop compilation.This directive is used primarily for debugging. The general form of the directive is #error error-message The error-message is not between double quotes. When the compiler&lt;br /&gt;encounters this directive, it displays the error message and other information, and then terminates compilation. &lt;br /&gt;3)	#include&lt;br /&gt;&lt;br /&gt; This macro  will  instruct the compiler to include either a&lt;br /&gt;standard header or another source file with the file that contains the #include  directive. The name of the standard headers are enclosed between angle brackets, as shown in the programs throughout this book. For example,&lt;br /&gt;   #include&lt;iostream.h&gt;&lt;br /&gt;     4)  #if #else #elif&lt;br /&gt;      #endif #ifdef #ifndef&lt;br /&gt;&lt;br /&gt;The general idea behind the #if directive is that if the constant expression following the #if is true, then the code between it and an #endif will be compiled; otherwise,the code will be skipped over. #endif is used to mark the end of an #if block.&lt;br /&gt;The general form of #if is&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#if constant-expression&lt;br /&gt;statement sequence&lt;br /&gt;#endif&lt;br /&gt;&lt;br /&gt;If the constant expression is true, the block of code will be compiled; otherwise, it will&lt;br /&gt;be skipped. For example:&lt;br /&gt;&lt;br /&gt;// A simple #if example.&lt;br /&gt;&lt;br /&gt;#include &lt;iostream.h&gt;&lt;br /&gt;#define MAX 100&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;#if MAX&gt;10&lt;br /&gt;cout &lt;&lt; "Extra memory required.\n";&lt;br /&gt;#endif&lt;br /&gt;// ...&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;    5) #undef &lt;br /&gt;The #undef directive is used to remove a previously defined definition of a macro name. The general form is&lt;br /&gt;&lt;br /&gt;#undef macro-name&lt;br /&gt;&lt;br /&gt;        6) #line &lt;br /&gt;The #line directive is used to change the contents of _ _LINE_ _ and _ _FILE_ _,&lt;br /&gt;which are predefined macro names. _ _LINE_ _ contains the line number of the&lt;br /&gt;line currently being compiled, and _ _FILE_ _ contains the name of the file being&lt;br /&gt;compiled. The basic form of the #line command is&lt;br /&gt;#line number “filename” &lt;br /&gt;Here, number is any positive integer, and the optional filename is any valid file&lt;br /&gt;identifier. The line number becomes the number of the current source line, and the&lt;br /&gt;filename becomes the name of the source file. #line is primarily used for debugging&lt;br /&gt;purposes and for special applications.&lt;br /&gt;For example, the following program specifies that the line count will begin with 200.&lt;br /&gt;The cout statement displays the number 202 because it is the third line in the&lt;br /&gt;program after the #line 200 statement.&lt;br /&gt;For Example&lt;br /&gt;&lt;br /&gt;#include &lt;iostream.h&gt;&lt;br /&gt;using namespace std;&lt;br /&gt;#line 200 // set line counter to 200&lt;br /&gt;int main() // now this is line 200&lt;br /&gt;{ // this is line 201&lt;br /&gt;cout &lt;&lt; _ _LINE_ _; // outputs 202&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        7) #pragma&lt;br /&gt;The #pragma directive is an implementation-defined directive that allows various  instructions, defined by the compiler’s creator, to be given to the compiler. The  general form of the #pragma directive is&lt;br /&gt;#pragma name  Here, name is the name of the #pragma you want. If the name is unrecognized by the compiler, then the #pragma directive is simply ignored and no error results.&lt;br /&gt;&lt;br /&gt;Advantage of Macro&lt;br /&gt;1)	single time declaration will perform that will be used multiple time&lt;br /&gt;2)	Single time modification will change the entire program where it has been used.&lt;br /&gt;3)	Compiler will ignore macro when compiler is done&lt;br /&gt;4)	Macro will reduce the workload of processing&lt;br /&gt;5)	We can easily understand the program&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q Differentiate between constructor and destructor&lt;br /&gt;&lt;br /&gt;Constructor	Destructor&lt;br /&gt;1) single class can contains many constructor	1) class contains only one destructor&lt;br /&gt;2) Constructor can contains different arguments 	2) Destructor does not contain any arguments&lt;br /&gt;3) Constructor will be automatically executed or worked when object of the class is generated	3) Destructor will be automatically destroyed when class is destroyed&lt;br /&gt;4) Constructor can be overloaded	4) Destructor can not be overloaded&lt;br /&gt;5) Constructor contains the same name as the class is having	5) It will contain the same name of class but it is preceded by ~ symbol&lt;br /&gt;6) constructor contains different styles &lt;br /&gt;         a) Simple constructor&lt;br /&gt;         b) Constructor with arguments&lt;br /&gt;         c) Copy constructor	6) It contains single type &lt;br /&gt;7) Constructor contains only default arguments	7) It does not contains any default arguments&lt;br /&gt;8) It can not refer to their addresses	8) It will be referred to address of constructor&lt;br /&gt;9) It can be used to initialize different types of variables	9) It can be used to free the memory that is provided to different variable that we have declared in the program&lt;br /&gt;10)  It does not return any type of data to calling program	10) It will return any value but it will terminate the operation of the constructor&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q Define Constructor .what are the properties of a constructor ? Explain the different types of constructors used in C++&lt;br /&gt;&lt;br /&gt;Ans :&lt;br /&gt;            Constructor is a function that will contains the same name as the class is having. The constructor will be executed when we will generate an object of the class.&lt;br /&gt;   There are following properties are used in constructor&lt;br /&gt;1)	constructor should be declared in public section &lt;br /&gt;2)	It should be invoked automatically when we will generate an object of the class&lt;br /&gt;3)	It will return any type of value &lt;br /&gt;4)	We can not refer to their addresses&lt;br /&gt;5)	What ever object of the class that can not be used some where else in the program. for programming&lt;br /&gt;6)	They can have default arguments&lt;br /&gt;7)	Constructor can not be inherited &lt;br /&gt;  There are  different constructor are used in C++&lt;br /&gt;1)	Default Constructor&lt;br /&gt;          &lt;br /&gt;Default Constructor is a constructor. Default Constructor that does not contains any parameter. Default constructor which contains the same name as the class is having&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;    class  abc&lt;br /&gt;        {&lt;br /&gt;          public:&lt;br /&gt;                          abc()   //This is the default constructor&lt;br /&gt;                           {&lt;br /&gt;                           }&lt;br /&gt;}&lt;br /&gt;According to this example abc is the class and abc is constructor  that does not contains any arguments&lt;br /&gt;2)	Parameterized Constructor	&lt;br /&gt;                            Parameterized constructor is the constructor that will contain different parameter that we will pass to constructor. Parameterized constructor will accept the arguments from the user.&lt;br /&gt;Syntax &lt;br /&gt;      class name&lt;br /&gt;     {&lt;br /&gt;          name (arguments list)&lt;br /&gt;               {&lt;br /&gt;                }&lt;br /&gt;}&lt;br /&gt;According to the example there is class name that contains different type of arguments we will pass to the constructor&lt;br /&gt; &lt;br /&gt;3)	Multiple Constructor&lt;br /&gt;Multiple Constructor will contain more than one  constructor. Each constructor will contain different types of arguments.&lt;br /&gt;Class gh&lt;br /&gt;   {&lt;br /&gt;    gh()&lt;br /&gt;{&lt;br /&gt;   }&lt;br /&gt;gh(arguments)&lt;br /&gt;   {&lt;br /&gt;   }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; According to the syntax there is a class gh that contains two constructor one constructor contain no argument and another constructor contains two arguments.&lt;br /&gt;&lt;br /&gt;    &lt;br /&gt;4)	Constructor with default arguments&lt;br /&gt;                           Constructor with default arguments means that we will provide some argument with a constant value or we can say that we will pass a fixed value.&lt;br /&gt;Syntax&lt;br /&gt;             Class gh&lt;br /&gt;               {&lt;br /&gt;                            gh(int g=20)&lt;br /&gt;                            {&lt;br /&gt;                              }&lt;br /&gt;                       }&lt;br /&gt;   According to the example there is a class gh that contains a constructor that contains one argument in which we have given a fixed value.&lt;br /&gt;5)	Copy Constructor&lt;br /&gt;             Copy constructor is a constructor  in which one constructor will work as an object to another constructor. Copy constructor will play very important role when we want to use one constructor in another constructor.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6)	Dynamic Constructor&lt;br /&gt;          Dynamic constructor is a constructor in which we will pass dynamic arguments to the constructor. In other word we can say that we will pass dynamic values to arguments.&lt;br /&gt;   Syntax&lt;br /&gt;       class yu&lt;br /&gt;         {&lt;br /&gt;             yu(dynamic arguments)&lt;br /&gt;                      {&lt;br /&gt;                  }&lt;br /&gt;}&lt;br /&gt;According to the example there is a class yu and there is dynamic arguments we pass in the constructor that will be associated with the constructor. In the  summary form we can say that constructor will be used to initialize variables and constant that is required in the program.&lt;br /&gt;&lt;br /&gt;Q  What is mean by objects ? How these are  created  .Explain with the help of example&lt;br /&gt;  Ans  : &lt;br /&gt;                         As  we know that object is an entity that contains properties and behavior associated with them. With the help of property we can identity the objects.&lt;br /&gt;Objects  can be  created from the  characteristics of  class  and different features associated  with them. In other word we can say that objects can be created from the real  life entity like  name of  any person and any thing name will be included in object.&lt;br /&gt;               Each object contains two parts  inside it  &lt;br /&gt;(a)	Object name&lt;br /&gt;When we are providing the name to object the we have to be careful  about the name of object. The following care we have to taken during providing the name to objects&lt;br /&gt;1)	Name of object should indicate the purpose of task&lt;br /&gt;2)	Two object name should be unique from each other&lt;br /&gt;3)	 Two objects can have same properties.&lt;br /&gt;&lt;br /&gt;(b)	Value that object can store&lt;br /&gt;1)	what ever the value we will store in the objects should be according to the name of an object&lt;br /&gt;2)	Value that will be stored should be relevant enough  to perform the purpose of  the object&lt;br /&gt;&lt;br /&gt;      For Example&lt;br /&gt;          #include&lt;iostream.h&gt;&lt;br /&gt;class  student&lt;br /&gt;{&lt;br /&gt;public:  &lt;br /&gt;	  int rollno;&lt;br /&gt;	  char name[100];&lt;br /&gt;	  char result[10];&lt;br /&gt;};&lt;br /&gt;   void main()&lt;br /&gt;   {&lt;br /&gt;	     student r;&lt;br /&gt;		  cout&lt;&lt;"Enter the rollno of the student"&lt;&lt;endl;&lt;br /&gt;		  cin&lt;&lt;r.rollno;&lt;br /&gt;		  cout&lt;&lt;"Enter the name of the student"&lt;&lt;endl;&lt;br /&gt;		  cin&gt;&gt;r.name;&lt;br /&gt;		  cout&lt;&lt;"Enter the result of the student"&lt;&lt;endl;&lt;br /&gt;		  cin&gt;&gt;r.result;&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to this example  there is a class student that contains three objects inside it  that objects we can use to manipulate the class and different operation we can perform  on the class.&lt;br /&gt;    &lt;br /&gt;				When we  are declaring the objects then we will use the following access mode.&lt;br /&gt;1)	public&lt;br /&gt;public means that what ever the object we declared that can be easy to access from outside of the class .In other word we can say that public objects can used by another class.&lt;br /&gt;2)	Private&lt;br /&gt;Private members are that members that are not easy to access by another class.Private member are accessible by the member of class and class that is inheriting the class&lt;br /&gt;3)	Protected&lt;br /&gt;         Protected object are that object which is accessible by another class member but the other class member should be to make the member of class.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantage of  Objects&lt;br /&gt;1)	We  can easily represent the object&lt;br /&gt;2)	We can see the actual functioning of objects or different objects exist in the world&lt;br /&gt;3)	Objects communicate with each other with the help of message passing between different objects&lt;br /&gt;&lt;br /&gt;   Q What are the important common features supported by Object Oriented languages ? Explain in details&lt;br /&gt;&lt;br /&gt;Ans  :  &lt;br /&gt;Object oriented language provides the following features to us.&lt;br /&gt;1)	Objects &lt;br /&gt;2)	Classes&lt;br /&gt;3)	Inheritance &lt;br /&gt;4)	Abstraction&lt;br /&gt;5)	Polymorphism&lt;br /&gt;6)	Message Passing&lt;br /&gt;7)	Encapsulation&lt;br /&gt;8)	Dynamic Binding&lt;br /&gt;&lt;br /&gt;1)	Objects &lt;br /&gt;               Object represents the basic run-time entity in an object-oriented system. object occupy space in memory that keeps its state and it will perform operation on them. When different objects are combined then it will make a class.&lt;br /&gt;2)	Classes&lt;br /&gt;A class represents a possible set of objects.The object will contain attributes that will make the difference between different objects.&lt;br /&gt;      3) Inheritance&lt;br /&gt;            Inheritance means that we will inherit some feature from existing class.In other word we can say that we will use some objects that are available in previous class.&lt;br /&gt;    Inheritance can be classified into the following category&lt;br /&gt;a)	Simple Inheritance&lt;br /&gt;b)	Multipoint Inheritance&lt;br /&gt;c)	Multiple Inheritance&lt;br /&gt;d)	Hybrid Inheritance&lt;br /&gt;&lt;br /&gt; 4) Abstraction &lt;br /&gt;                 Abstraction is an important features of OOPS in which we will describe the external behavior than internal behavior.&lt;br /&gt;5) polymorphism&lt;br /&gt;                            polymorphism means that we will use one function more than one time with different  types of arguments. Polymorphism will reduce the coding that we have to perform again and again.&lt;br /&gt;7)	Message Passing&lt;br /&gt;          Two objects interacting with each other with the help of message passing between two objects Message Passing is the best way to make the communication.&lt;br /&gt;8)	Dynamic Binding&lt;br /&gt;Dynamic binding means that we will bind the object not in static form but it is bounded  in dynamic form. Dynamic binding will provide different features that will provide different types of flexibility of data acceptance.&lt;br /&gt;&lt;br /&gt;Q What is database ? What qualities a database must processes to be an ideal database ?&lt;br /&gt;Ans &lt;br /&gt;    Database is a collection of records  there are different program available to manipulate them according to user requirement . Database should have the following characteristics&lt;br /&gt;1)	 Inconsistency&lt;br /&gt;         When we will use  database then inconsistency will be removed from the database. &lt;br /&gt;                  For Example&lt;br /&gt;                                       There is one employee in the company who have been &lt;br /&gt;Promoted  from clerk to head clerk then salary of that employee will be increased then salary will be  updated in database that updated database will be shifted to all client who are connected with central database. There will be no confusion between two clients who are connected with central database.&lt;br /&gt;2)	Sharing of data &lt;br /&gt;		When central database is used then data can be shared between clients computers which has been connected with each other..Sharing of data can be done with the help of backup concept of database.&lt;br /&gt;                                    For Example:&lt;br /&gt;                                                 Suppose one client is making a particular application in a particular computer that can be shared with other client.&lt;br /&gt;3)	Security &lt;br /&gt;                     When we use database then we can protect the database from illegal access of database.  Security will be handled by the System administrator who will take care of each and every task is performed by the user.&lt;br /&gt;                        For Example  &lt;br /&gt;                                                   One client who want to access a particular file from the database then system administrator will check rights of  that use then using of file is allowed to that client&lt;br /&gt;4)	Auditing&lt;br /&gt;	  Database can maintain the auditing of different users who log in the system and different task performed by them. Auditing will maintain all details about the user.   &lt;br /&gt;                            For Example  &lt;br /&gt;                                                         One client who log in the system in the at 10:30 and file manipulation will be performed by the client all details will be maintained in the log file.&lt;br /&gt;5)	Data Integrity&lt;br /&gt;                                   Data integrity means that data will be entered in the database will be accurate. In other word we can say that every user will get the accurate data.&lt;br /&gt;                            For Example&lt;br /&gt;                                                   Suppose one client enter the record with amount of 500Rs  then other user will get the amount  500Rs. &lt;br /&gt;6)	Single time implementation&lt;br /&gt;	When we use database then we have to implement the rule at central database that rule will be used by every client who will make transaction with database.&lt;br /&gt;                          For Example &lt;br /&gt;                                            We implement a rule on database that every employee age will be entered greater than 18 then every user enter the age of employee greater than 18.&lt;br /&gt;7)	Query Processing&lt;br /&gt;                                   We can perform query with database. Query is done by the user in the form of simple  English syntax.&lt;br /&gt;                                 For Example&lt;br /&gt;                                       One client want to know about the employee whose name start with ‘l’ then client will make a query that query will move to database.  Database will understand that query and return result back to client.&lt;br /&gt;  8)  Conflict resolve&lt;br /&gt;                    Database will handle the conflict that is arriving between different client request.  &lt;br /&gt;                          For Example  &lt;br /&gt;                                               There are five client who are making interaction with database. One client is requesting about a particular file “abc.dat”  the same is requested by another client  then conflict will arrive. The System administrator will solve this problem  according to the rights provided to clients.&lt;br /&gt;9) Data Independence&lt;br /&gt;                                        Database will provide Data independence. Data Independence indicate that application and data both are separate utility. If any change is performed in data that does not effect application and changes &lt;br /&gt; Performed in application does not change data.&lt;br /&gt;                        For Example&lt;br /&gt;                                       We  write a  resume  and copy that resume to pen drive that does not effect resume.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q Differentiate between the following&lt;br /&gt;1) Links and Associates &lt;br /&gt;2) Public inheritance and private inheritance&lt;br /&gt;3)SA/SD  and Object Modeling&lt;br /&gt;4) Multilevel inheritance and Multiple Inheritance&lt;br /&gt;&lt;br /&gt;1)	Links and Associates&lt;br /&gt;Links	Associates&lt;br /&gt;1) It will show  relation between Objects 	1) It will show relation between classes&lt;br /&gt;2) It will operate on single entity	2) It will work on group of entity&lt;br /&gt;3) 	&lt;br /&gt;4)	Multilevel Inheritance and Multiple Inheritance&lt;br /&gt; &lt;br /&gt;1) In Multilevel Inheritance one class inherit  objects from another class and another class inherit  objects from next another class.	1) In multiple inheritance multiple class inherit the objects from one class.&lt;br /&gt;2)   &lt;br /&gt;&lt;br /&gt;                  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;According to the example Class A inherit the objects from Class B and Class B inherit the objects from Class C. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;	2)      &lt;br /&gt;                     &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to the example class B,C,D inherit the objects from class A.&lt;br /&gt;&lt;br /&gt;3) 	&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q What is method overriding  ? when does it occur. Explain with the help of example&lt;br /&gt;&lt;br /&gt;When a class inherits a base class, it receives all the base class’s public and protected mehtods and properties. However, it does not have to take everything it gets as is. The derived class can override any function to suit the needs of the derived class. In other words, you are not stuck with the functions you inherit. You can  override them. Overwriting a function is not the same as overloading a function. When you overload a function it must have different parameters (either a different number or different types). When you override a function it should have the same parameters, but the actual code in the function will be different. The function declaration (the name, return type, and parameters) is called the interface; the actual code in the function is called the implementation. Thus, your interface will be the same when you override an inherited function, but its implementation will be the same. &lt;br /&gt;For Example&lt;br /&gt;   class baseclass&lt;br /&gt;   {&lt;br /&gt;public:&lt;br /&gt;     void testfunction();&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;void baseclass::testfunction()&lt;br /&gt;{&lt;br /&gt; cout &lt;&lt; "Hey this is the base class!\n";&lt;br /&gt;}&lt;br /&gt;class childclass:public baseclass&lt;br /&gt;{&lt;br /&gt;public:&lt;br /&gt;     void testfunction();&lt;br /&gt;};&lt;br /&gt;void childclass::testfunction()&lt;br /&gt;{&lt;br /&gt; cout &lt;&lt; "Hey this is in the child class!!\n";&lt;br /&gt;}&lt;br /&gt;According to the example there is one class that is baseclass and another is childclass. The baseclass contains one function that is testfunction and childclass contains the same function but child class overriding that function.&lt;br /&gt;&lt;br /&gt;When it occurs&lt;br /&gt;Overridding occurs when we want to use a particular function again and again in different classes.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;1)	We does not required to compile the function&lt;br /&gt;2)	Coding will be saved &lt;br /&gt;3)	We can usa a particular function for different purpose in different classes.&lt;br /&gt;4)	When we want to perform the same operation that is done by the base class.&lt;br /&gt;5)	We can bound the clientclass to provide the arguments that has been given in parentclass&lt;br /&gt;6)	We can easily perform the modification in the method according to the requirement of the class.&lt;br /&gt;Q what is JSD ? Explain this design in details along  with its advantage and disadvantage&lt;br /&gt;Ans.&lt;br /&gt;            Jackson structured development start with the consideration of real world. JSD model will describe the real world in terms of entities, actions and ordering of actions. A Jackson Structured Programming diagram is used to explain the inner workings of a program. At a glance they seem similar to algorithm flowcharts, but the likeness is only superficial. To understand a JSP diagram you must read it properly. With a JSP diagram each step on the same branch is performed top down - left to right.&lt;br /&gt;JSD will diagram concepts to show the flow of control from one data to another data.&lt;br /&gt;1)	Action /Process&lt;br /&gt;2)	Selection&lt;br /&gt;3)	Iteration&lt;br /&gt;4)	Procedure&lt;br /&gt;  &lt;br /&gt;1)	Action/Process&lt;br /&gt; &lt;br /&gt;Action and process indicate that we will take proper action against the entity and process that we are performing in the program&lt;br /&gt;Action is indicated by the following diagram&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2)	Selection&lt;br /&gt;In this step we will take proper selection against the selection done by the user.           &lt;br /&gt;                 &lt;br /&gt;According to this diagram circle indicate that we will make a selection in different options available to us.&lt;br /&gt;&lt;br /&gt;3)	Iteration&lt;br /&gt;In this diagram we will represent iteration of steps that we will take again and again to perform a specific task.&lt;br /&gt; &lt;br /&gt;    This diagram indicate that we will execute number of statements again and again according to the condition given by the user.                  &lt;br /&gt;4)	Procedure&lt;br /&gt;                   In this diagram we will represent procedure of statements that will be executed once a procedure will be executed.&lt;br /&gt;                                         &lt;br /&gt;  This diagram will indicate that  we will make a bundle of statements that will be executed when we will perform a action on entity.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;JSD will use six steps in structured programming&lt;br /&gt;1)	Entity Action Step&lt;br /&gt;2)	Entity Structure Step&lt;br /&gt;3)	Initial Model Step&lt;br /&gt;4)	Function Step&lt;br /&gt;5)	System Timing Step&lt;br /&gt;6)	Implementation Step&lt;br /&gt;&lt;br /&gt;1)	Entity Action Step&lt;br /&gt;                       In this step we will decide what action will be taken by entity. Entity Action Step will ensure that what output will come when we will perform some task on them.&lt;br /&gt;2)	Entity Structure Step&lt;br /&gt;                         In this step we will decide the structure of entity. The structure will include different entities inside it. Structure will include different types of data types and size of different variables we will use in the programming&lt;br /&gt;3) Initial Model Step&lt;br /&gt;                            In this step we will decide initial step that will be used to process the entire model. In this step we will decide memory we will provide to different objects we will include in the programming&lt;br /&gt;4) Function step&lt;br /&gt;    In  this step we will decide the function that entity will perform during the operation. This step will decide different arguments we can pass and different values return by the function.&lt;br /&gt;5) System Timing Step&lt;br /&gt;              In this step we will decide the timing that is required for processing the entities. System timing will be decided by the statements that will be included in the program&lt;br /&gt;7)	Implementation step&lt;br /&gt;             In this step we will implement different entities to perform the task performed by the function or procedure that will be included in the program.&lt;br /&gt;    &lt;br /&gt;Q What do you mean by RDBMS ? Name two popular RDBMS available in the market.&lt;br /&gt;Ans  &lt;br /&gt;                  RDBMS stands for Relational Database Management System. RDBMS is used to store different types of data which is provided by the user. RDBMS  will ensure that data has been entered in the database will be accurate.&lt;br /&gt;RDBMS provides the following advantages to us.&lt;br /&gt;1)	Data Integrity&lt;br /&gt;2)	Data Independence&lt;br /&gt;3)	No more Inconsistency&lt;br /&gt;4)	Security&lt;br /&gt;5)	Resource sharing&lt;br /&gt;6)	Simple to implement&lt;br /&gt;7)	Single time implementation&lt;br /&gt;&lt;br /&gt;There are following software are available in the market.&lt;br /&gt;&lt;br /&gt;4th Dimension &lt;br /&gt;Adabas D &lt;br /&gt;Alpha Five &lt;br /&gt;Apache Derby &lt;br /&gt;BlackRay &lt;br /&gt;CA-Datacom &lt;br /&gt;CSQL &lt;br /&gt;CUBRID &lt;br /&gt;Daffodil database &lt;br /&gt;DataEase &lt;br /&gt;Dataphor &lt;br /&gt;DB-Fast &lt;br /&gt;	Derby aka Java DB &lt;br /&gt;ElevateDB &lt;br /&gt;EnterpriseDB &lt;br /&gt;EffiProz &lt;br /&gt;eXtremeDB &lt;br /&gt;fastDB &lt;br /&gt;FileMaker Pro &lt;br /&gt;Firebird &lt;br /&gt;Gladius DB &lt;br /&gt;Greenplum &lt;br /&gt; Orcle&lt;br /&gt;	H2 &lt;br /&gt;     IBM DB2&lt;br /&gt;SmallSQL &lt;br /&gt;solidDB &lt;br /&gt;SQLBase &lt;br /&gt;SQLite &lt;br /&gt;Sybase Adaptive Server Enterprise &lt;br /&gt;Sybase Adaptive Server IQ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We are explaining two software that are very popular in the market&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1)	Oracle&lt;br /&gt;                          Oracle takes a lead role because of some of the following reasons: &lt;br /&gt;&lt;br /&gt;Oracle is used for almost all large application and one of the main applications in which oracle takes its major presence is banking. In fact ten of the world’s top 10 banks run Oracle applications this is because oracle offers a powerful combination of technology and comprehensive, pre-integrated business applications, including key functionality built specifically for banks. &lt;br /&gt;&lt;br /&gt;Some similar databases like Sybase, SQL-Server one have facilities for using loops, conditions, arrays and so on in a program and also facilities like cursors and temp tables but all this would be used in a convoluted fashion which are very slow and resource consuming operations. The operations are not implemented as in Oracle which is efficient enough. &lt;br /&gt;&lt;br /&gt;Also with the features available in oracle with the earlier versions in market the oracle company keeps upgrading and releasing new products into market, new versions releases which serves better than the earlier versions and thus the performance is improved much in later versions and thereby retaining the market growth and thus proves greater satisfaction to the customers using this technology. Thus the advantage of a higher version is that one would have more features and better capabilities. &lt;br /&gt;&lt;br /&gt;For instance oracle 8i version has many new features which helped users namely like with oracle 8i one could run Java in the database, had features like new features on partitioning to support large database and so on. With the next version 9i oracle had these facilities maintained and had more new facilities added to it namely like new features added to help the DBA to handle change database configuration and so on. &lt;br /&gt;&lt;br /&gt;Oracle is a database that responds very well with excellent performance in demanding environments. Oracle is a major database which along with its added features passes the ACID test, which is important in insuring the integrity of data. This is very important because data is the heart of any system in organization. A reliable and adequate database system has the following properties:&lt;br /&gt;&lt;br /&gt;Atomicity: &lt;br /&gt;That is Results of a transaction's execution are either all committed or all rolled back. &lt;br /&gt;&lt;br /&gt;Consistency: &lt;br /&gt;The database is transformed from one valid state to another valid state. Illegal transactions aren't allowed and, if an integrity constraint can't be satisfied then the transaction is rolled back. &lt;br /&gt;&lt;br /&gt;Isolation: &lt;br /&gt;The results of a transaction are invisible to other transactions until the transaction is complete thus increasing the security on data. &lt;br /&gt;&lt;br /&gt;Durability: &lt;br /&gt;Once committed (completed), the results of a transaction are permanent and survive future system and media failures and thus ensuring maintenance and protection of data.&lt;br /&gt;All the above are well maintained by Oracle database. &lt;br /&gt;The latest version oracle 10g has many features and one new feature is the introduction of recycle bin. This option when enabled could be used by users just like Windows recycle bin or Mac Trash. Dropped tables go "into" the recycle bin, and can be restored from the recycle bin. &lt;br /&gt;&lt;br /&gt;One of the main advantage of oracle over other databases is in its recent version oracle has the concept of Flashback technology. That is we all know that data is the heart of any application or organization and thus this requires careful maintenance. But sometimes application outage can occur and mostly DBA claim the reasons for this as hardware failure and apart from this the reason would be human errors like accidental deletion of valuable data, deleting the wrong data, or dropping the wrong table. So it is very essential to take care of such situation and this is done in oracle's latest technology called flash introduced in its latest version. By Flash technology it helps in recovery by working just on the changed data. Thus Flashback provides an&lt;br /&gt;&lt;br /&gt;•	Efficient recovery from human errors  &lt;br /&gt;•	Faster database recovery  &lt;br /&gt;•	Helps in simplifying the management and administration processes &lt;br /&gt;and so on.   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;solidDB&lt;br /&gt;     &lt;br /&gt;  This software provides the better facility to handle the database perfectly.The Followin software contains the following features to us that why we use this software&lt;br /&gt;1) Achieves Extreme Speed with In-Memory Database Technology&lt;br /&gt;solidDB delivers extreme speed because it keeps data in main memory at all times rather than on disk. Applications can take advantage of its capability through standard ODBC, JDBC, SQL interfaces. solidDB works under the premise that all data to be accessed will be in main memory, all the time. Thus, it has data structures and access methods specifically designed for storing, searching, and processing data in main memory, with efficient concurrency control mechanisms. This has two performance advantages over conventional, disk-based databases. First, solidDB eliminates the need to transfer data blocks from disk to main memory. This is because any data requested by the application is already in main memory. Second, solidDB is faster than disk-based databases, even if the latter cache all data in main memory, since solidDB employs data structures and access methods that are optimized for main memory access.&lt;br /&gt;2) Keeps Data Persistent and Recoverable&lt;br /&gt;While solidDB works under the premise that all data is accessible in main memory, all the time, solidDB also writes updated data to disk, and uses checkpointing and transaction logging mechanisms so that the recoverability of the data is ensured.&lt;br /&gt;3) Provides Extreme Availability&lt;br /&gt;solidDB delivers extreme availability enabling applications to recover from system failures in less than a second providing the extreme data availability required by performance-critical applications. Using a two-node, hot-standby configuration, solidDB maintains copies of the data synchronized between two solidDB nodes. &lt;br /&gt;4) Combines High Availability and Extreme Speed&lt;br /&gt;solidDB can boost performance even further by providing a hot-standby configuration where read operations can be load-balanced across primary and hot-standby solidDB instances transparently to the application. To take advantage of load balancing, an application uses solidDB's ODBC or JDBC drivers that maintain only one logical connection to both primary and hot-standby solidDB instances. In this configuration, write transactions are automatically directed to the primary solidDB node, and read transactions can be directed either only to the hot-standby solidDB node, or load-balanced across primary and hot-standby solidDB instances, without application developers having to write code. Using load-balancing can yield up to a 100% performance improvement, while hot-standby configuration also provides high availability of solidDB nodes with subsecond failover in the event of a failure.&lt;br /&gt;5) Balances Data Safety, Application Throughput and Recovery Time&lt;br /&gt;solidDB offers several high availability configuration options that specify how primary and secondary database servers are synchronized, which can be selected at the system, session and transaction levels. This enables you to balance throughput, durability, and recovery time with unprecedented flexibility.&lt;br /&gt;6) Lowers costs&lt;br /&gt;The extreme speed and extreme availability of solidDB address the need for businesses to always keep data available and accessible, avoiding the costs associated with both planned and unplanned outages and delays. solidDB further reduces costs because it can be controlled by the application and run virtually unattended, letting businesses accelerate deployments and reduce administrative costs resulting in a lower total cost-of-ownership. Furthermore, because solidDB can run on commodity as well as best-of-breed hardware, it provides you with a variety of proven, cost-effective solutions.&lt;br /&gt;Q  Name any two object oriented languages.&lt;br /&gt;&lt;br /&gt;There are many types of languages available in the market but the most popular languages are the following&lt;br /&gt;1)	Actor &lt;br /&gt;2)	Ada 95 (multi-purpose language) &lt;br /&gt;3)	BETA &lt;br /&gt;4)	C++ &lt;br /&gt;5)	C# &lt;br /&gt;6)	Chrome &lt;br /&gt;7)	ChucK &lt;br /&gt;8)	Cobra &lt;br /&gt;9)	ColdFusion &lt;br /&gt;10)	Curl &lt;br /&gt;11)	DASL &lt;br /&gt;1)	C++&lt;br /&gt;                         C++ is object oriented programming language that why it is used frequently with following reasons.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2)	C# &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1)	4th Dimension &lt;br /&gt;2)	Adabas D &lt;br /&gt;3)	Alpha Five &lt;br /&gt;4)	Apache Derby &lt;br /&gt;5)	BlackRay &lt;br /&gt;6)	CA-Datacom &lt;br /&gt;7)	CSQL &lt;br /&gt;8)	CUBRID &lt;br /&gt;9)	Daffodil database &lt;br /&gt;10)	DataEase &lt;br /&gt;11)	Dataphor &lt;br /&gt;12)	DB-Fast &lt;br /&gt;13)	Derby aka Java DB &lt;br /&gt;14)	ElevateDB &lt;br /&gt;15)	EnterpriseDB &lt;br /&gt;16)	EffiProz &lt;br /&gt;17)	eXtremeDB &lt;br /&gt;18)	fastDB &lt;br /&gt;19)	FileMaker Pro &lt;br /&gt;20)	Firebird &lt;br /&gt;21)	Gladius DB &lt;br /&gt;22)	Greenplum &lt;br /&gt;23)	H2 &lt;br /&gt;24)	Helix database &lt;br /&gt;25)	HSQLDB &lt;br /&gt;26)	IBM DB2 &lt;br /&gt;27)	WCE SQL Plus &lt;br /&gt;28)	IBM DB2 Express-C &lt;br /&gt;29)	Informix &lt;br /&gt;30)	Ingres &lt;br /&gt;31)	InterBase &lt;br /&gt;32)	InterSystems Caché &lt;br /&gt;33)	Kognitio &lt;br /&gt;34)	Linter &lt;br /&gt;35)	MaxDB &lt;br /&gt;36)	Mckoi SQL Database &lt;br /&gt;37)	Microsoft Access &lt;br /&gt;38)	Microsoft Jet Database Engine (part of Microsoft Access) &lt;br /&gt;39)	Microsoft SQL Server &lt;br /&gt;40)	Microsoft SQL Server Express &lt;br /&gt;41)	Microsoft Visual FoxPro &lt;br /&gt;42)	Mimer SQL &lt;br /&gt;43)	MonetDB &lt;br /&gt;44)	mSQL &lt;br /&gt;45)	MySQL &lt;br /&gt;46)	Netezza &lt;br /&gt;47)	NonStop SQL &lt;br /&gt;48)	Openbase &lt;br /&gt;49)	OpenLink Virtuoso (Open Source Edition) &lt;br /&gt;50)	OpenLink Virtuoso Universal Server &lt;br /&gt;51)	Oracle &lt;br /&gt;52)	Oracle Rdb for OpenVMS &lt;br /&gt;53)	Pervasive &lt;br /&gt;54)	PostgreSQL &lt;br /&gt;55)	Progress 4GL &lt;br /&gt;56)	RDM Embedded &lt;br /&gt;57)	RDM Server &lt;br /&gt;58)	The SAS system &lt;br /&gt;59)	Sav Zigzag &lt;br /&gt;60)	ScimoreDB &lt;br /&gt;61)	SmallSQL &lt;br /&gt;62)	solidDB &lt;br /&gt;63)	SQLBase &lt;br /&gt;64)	SQLite &lt;br /&gt;65)	Sybase Adaptive Server Enterprise &lt;br /&gt;66)	Sybase Adaptive Server IQ &lt;br /&gt;67)	Sybase SQL Anywhere (formerly known as Sybase Adaptive Server Anywhere and Watcom SQL) &lt;br /&gt;68)	tdbengine &lt;br /&gt;69)	Teradata &lt;br /&gt;70)	TimesTen &lt;br /&gt;71)	txtSQL &lt;br /&gt;72)	Valentina (Database) &lt;br /&gt;73)	Vertica &lt;br /&gt;74)	VistaDB &lt;br /&gt;75)	VMDS &lt;br /&gt;76)	XSPRADA &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4928947872696753796-6084336575635349553?l=nareshkumarbhutani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nareshkumarbhutani.blogspot.com/feeds/6084336575635349553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4928947872696753796&amp;postID=6084336575635349553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4928947872696753796/posts/default/6084336575635349553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4928947872696753796/posts/default/6084336575635349553'/><link rel='alternate' type='text/html' href='http://nareshkumarbhutani.blogspot.com/2010/09/oops-notes.html' title='OOPS Notes'/><author><name>Naresh Kumar Bhutani</name><uri>http://www.blogger.com/profile/16127420781112113759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/_-gUzLPndoDI/TF-Q5s8Kc6I/AAAAAAAAAAM/jjD_dJqmfiM/S220/Z7lg650.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4928947872696753796.post-3070797870896526073</id><published>2010-09-06T20:55:00.000-07:00</published><updated>2010-09-06T20:56:18.621-07:00</updated><title type='text'>Operating System Notes</title><content type='html'>Operating System and UNIX&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q1. Explain the purpose and syntax of any two UINX commands belonging to the following categories of the commands&lt;br /&gt;(a) Process Management&lt;br /&gt;(b) System Management&lt;br /&gt;(c) Directory Commands&lt;br /&gt;(d) File Manipulation commands&lt;br /&gt;(e) Security and Protection&lt;br /&gt;(f) Inter-user Commands&lt;br /&gt;(g) Information commands&lt;br /&gt;Q2(a)  What are the salient features of UNIX Operating System ? Explain .&lt;br /&gt;     (b)  What is the directory structure of UNIX Operating System? Explain&lt;br /&gt;Q3(a)  What do  you understand by an operating System ? What are the major functions performed by an operating System?&lt;br /&gt;(b) Enumerate important characteristics of a good operating system and also discuss the ]&lt;br /&gt;      Responsibilities of an operating system as a resource manager.&lt;br /&gt;(c)  Give an overview of the different types of operating systems.&lt;br /&gt;Q4  what is fragmentation ? What are different types of fragmentation ? How each of these can be overcome ? Explain&lt;br /&gt;Q5(a) What do  you understand by  a  process ? What are the different states of it.&lt;br /&gt;      (b) Explain Process States and its diagram&lt;br /&gt;      (c) Differentiate between long term ,medium term and short term scheduler.&lt;br /&gt;Q6(a) What do  you mean by device Independence ? Discuss the major functions of the device independent software&lt;br /&gt; (b) Explain clock hardware and clock software&lt;br /&gt;Q7 Explain the Following &lt;br /&gt;(a) Device controller&lt;br /&gt;(b) Device Driver&lt;br /&gt;(c) User space I/O Software&lt;br /&gt;(d) Interrupt Handler.&lt;br /&gt;   &lt;br /&gt;Q8(a) Consider swapping system in which memory of the following hole size in memory order&lt;br /&gt;   10K,4K,20K,18k,7K,9K,12K and 15K&lt;br /&gt;    Which hole is taken for successive requests of &lt;br /&gt;                (i) 12K   (ii)  10K  (iii) 9K&lt;br /&gt;   For  first fit ? repeat the same for Best-Fit,Worst-Fit and Next-Fit&lt;br /&gt;Q8( b) Shown below is the workload for 5 job arriving at time zero in the order given below&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                  &lt;br /&gt;Job Burst&lt;br /&gt;1 10&lt;br /&gt;2 29&lt;br /&gt;3 3&lt;br /&gt;4 7&lt;br /&gt;5 12   &lt;br /&gt; Now considering FCFS ,SJF and round robin (RR) [with quantum=1] algorithms for this set of minimum average  time. &lt;br /&gt;(c) Consider a system with a set of a process P1,P2,P3 and P4. Let their arrival times and CPU burst times mentioned as below &lt;br /&gt;Process  Arrival Time CPU Brust Time&lt;br /&gt;P1 0 3&lt;br /&gt;P2 1 6&lt;br /&gt;P3 5 4&lt;br /&gt;P4 6 2&lt;br /&gt;&lt;br /&gt;(1) Draw the Gantt chart using&lt;br /&gt;              (i) First –Come First-Served&lt;br /&gt;        (ii) Sortest Job First&lt;br /&gt;        (iii) Round Robin&lt;br /&gt;                                     [Quantum of time 2 units]&lt;br /&gt;(2) Calculate&lt;br /&gt;         (i) Average Turnround Time&lt;br /&gt;         (ii) Average Wait Time&lt;br /&gt;          (iii) Average Throughput&lt;br /&gt;Q9(a) what is meant by disk scheduling? Explain why disk scheduling is necessay.&lt;br /&gt;     (b) Discuss three disk scheduling algorithms&lt;br /&gt;      (c) State the desirable characteristics of disk scheduling policies and explain briefly the various seek optimization scheduling techniques.&lt;br /&gt;Q10 (a) What is time slicing ? How the time slicing duration affects the overall working of the system.&lt;br /&gt;&lt;br /&gt;(b) write short note on virtual memory.&lt;br /&gt;Q11(a) What is segmentation ? what are its advantages and disadvantages ? Explain&lt;br /&gt;       (b) what is memory management ? Discuss objectives of memory management.&lt;br /&gt;Q12 Write notes on the following&lt;br /&gt;(a) Highest Response Ratio Next Scheduling&lt;br /&gt;(b) Shortest Remaining Time Scheduling&lt;br /&gt;(c) Thrashing&lt;br /&gt;(d) System Calls&lt;br /&gt;Q13. Explain the following allocation algorithms&lt;br /&gt;(a) First Fit&lt;br /&gt;(b) Best  Fit&lt;br /&gt;(c) Worst Fit&lt;br /&gt;(d) Buddy’s System&lt;br /&gt;(e) Next fit&lt;br /&gt;Q14(a) when does a page fault occur ? Explain various page replacement strategies/algorithms&lt;br /&gt;    (b) What factors can lead to the degradation of the performance of round robin scheduling&lt;br /&gt;Q15(a) Differentiate the following&lt;br /&gt;(a) Networking Operating System and Distributed operating System&lt;br /&gt;(b) Batch Operating System and Real Time Processing System.&lt;br /&gt;(c) Multitasking and Multithreading&lt;br /&gt;(d) Real  Time System and Timesharing System&lt;br /&gt;(e) Multiprocessing and Multiprogramming&lt;br /&gt;(f) Preemptive and non-preemptive scheduling&lt;br /&gt;(g) Paging and segmentation&lt;br /&gt;Q16(a) what is an operating system structure ? Compare important operating system structures.&lt;br /&gt;    (b) how layered structure approach differs from kernel approach ? Explain&lt;br /&gt;Q17(a) what is File-System ? What are the main responsibilities of a file-system located in layered organization of operating system?&lt;br /&gt;Q17(b) what do you understand by file protection and security ? Explain the various file protection methods / strategics&lt;br /&gt;&lt;br /&gt;Q18  what are deadlock ? When do these occurs ? Suggest three basic methods for preventing these&lt;br /&gt;Q19  what are the benefits of multi-programming .&lt;br /&gt;  Q19(b) What are the benefits of Multiprocessing /Parallel systems.&lt;br /&gt;Q20 what do you mean by paging ? how address mapping is performed in paging technique? Also enumerate the advantages and disadvantages of paging.&lt;br /&gt;Q21 (a) what are the different objectives which must be considered in the design of scheduling discipline?&lt;br /&gt;   Q21(b) what are semaphores ? How do semaphores solve the problem of mutual exclusion ? Explain what are the benefits and limitations of semaphores.&lt;br /&gt; &lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Network Operating System Distributed Operating System&lt;br /&gt;1)  In Network Operating system we have to know the IP Address of a particular system to access the resources.  1) In Distributed Operating system we will male simple query to server. The server will check the entire clients computer the return the result back to client computer.&lt;br /&gt;2)  Any user can access any computer  after providing user name and password 2) One user can not access any computer without the permission of administrator&lt;br /&gt;3)  Any hardware disturbance will slow down the process of the computer 3) Any hardware disturbance will not slow down the process of the computer&lt;br /&gt;4)  It is not reliable  4) It is reliable&lt;br /&gt;5)  One user can know about the location of a particular user easily 5) One user can not know about the location from where the result is coming&lt;br /&gt;6)  Updation process is cheap Updation process is costly.&lt;br /&gt;7)   Backup process is costly 7) Backup process is not costly.&lt;br /&gt;8)   if server is not working  then entire process will be break down 8)  if  server is not working then backup server or recovery server manage all  process.&lt;br /&gt;9) Controlling of all system is done by System administrator 9) Controlling of all System is done by  System automatically&lt;br /&gt;10)  resources can be shared between different system 10) Resource can not be shared between  System because one user can not login into another system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Batch Processing System Real Time Processing System&lt;br /&gt;1) all processes are collected and processed in  a particular fashion 1) all processes are collected and processed in the  order in which it is inserted in system&lt;br /&gt;2)  It is the oldest method for processing 2) It is the latest processing Concepts&lt;br /&gt;3) we can perform sorting to get the desired result 3) we does not required sorting of processing&lt;br /&gt;4) Result is provided without any time limit 4) Result is provided within time Limit&lt;br /&gt;5)  Processing request is done by the user. 5) Processing request is done by the event which we perform on an application.&lt;br /&gt;6) order of processing can be changed according to user requirement 6) Order of processing  will be depend on the order in which request is entered in the system.&lt;br /&gt;7) Last process in the batch will take more time to get the final output 7) Real time processing system will provide same time for each processing&lt;br /&gt;8) It is cheap processing System 8) It is costly processing System&lt;br /&gt;9) There is no specific time limit 9) there is a Time limit&lt;br /&gt;10) It is measurement oriented 10) It is action Oriented&lt;br /&gt;11)  For Example&lt;br /&gt;                   Payroll ,forecasting 11) for Eample&lt;br /&gt;            Scientific Experiement&lt;br /&gt;12) Processes are handled in a batch 12) Processes are not handled in a batch&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;                      Multitasking and Multithreading&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MultiTasking MultiThreading&lt;br /&gt;1) In Multitasking more then one program is executed with in same CPU 1) In Multithreading multi tasking is performed  within a single program&lt;br /&gt;2) Different tasks can be taken from different users 2) Single task is  taken from single user at a time&lt;br /&gt;3) we can handle complex processes  3) we can handle simple process&lt;br /&gt;4) Each program contains Individual address memory space 4) every program will use same memory space&lt;br /&gt;5) each process  can not perform separate task without using any resources. 5) In this process process can perform the task  without using resources.&lt;br /&gt;6) In multitasking stack is used  6) In multithreading stack is used but sequentially is executed&lt;br /&gt;7) It can handle different users request 7) It can not handle Different user request&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Real Time System and  TimeSharing System&lt;br /&gt;Real Time System Time sharing System&lt;br /&gt;1) Program is executed according to event we perform 1) Program is executed according to time slice is given to each program&lt;br /&gt;2) We can handle one process at a time 2) We can handle multi program at a time&lt;br /&gt;3) User can see the result according to query performed by the user. 3) User can change ,upgrade as well modify the  program&lt;br /&gt;4) User get the result of query with in the time limit given by the user. 4) time is already decided by the user.&lt;br /&gt;5) Processing time is less because no context switching is performed 5) It will take more time because more context  switch is taken&lt;br /&gt;6)  Real Time System can be classified into two category&lt;br /&gt;          a) flexible&lt;br /&gt;          b) Fixed 6) Time sharing system will be depend on the Time slice is given to each process&lt;br /&gt;7) One time can be processed at a time 7) Multiple task can be processed at a time&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  Preemptive and Non-Preemptive &lt;br /&gt;Preemptive Non-Preemptive&lt;br /&gt;1) Time is allocated to each process 1) Time is not allocated to each process&lt;br /&gt;2) In Preemptive shifting is done from one process to another process 2) shifting is not performed from one process to another process&lt;br /&gt;3) It is best for Multiprogramming  environment 3) It is best for UniProcessor System&lt;br /&gt;4) We need a special hardware to perform Preemptive 4) We does not required special hardware&lt;br /&gt;5) It will increase the utilization of  CPU Utilization 5) It will not increase the CPU  Utilization&lt;br /&gt;6) It is costly because we have to prepare scheduled 6) It is not costly .&lt;br /&gt;7) Time is limit given by the user 7) Time limit is not given&lt;br /&gt;8) Deadlock condition can not happens 8) deadlock condition can come&lt;br /&gt;9) Time Interval equally given to each process 9) Time Interval is not given equally to each process&lt;br /&gt;10) It will shift from one process to another process until the entire tasks are not completed 10) It will shift from one process to another process&lt;br /&gt;&lt;br /&gt;Paging and Segmentation&lt;br /&gt;&lt;br /&gt;Paging  Segmentation&lt;br /&gt;1) This is the physical arrangement of Information 1) This is the logical arrangement of Information&lt;br /&gt;2) User can not see the limit of paging 2) User can view the limit of paging&lt;br /&gt;3)  Paging always performed in Fixed size 3) segmentation size can be changed according to the size of an application &lt;br /&gt;4)  Size of physical will be decided by the machine architecture 4) Size is not decided by the machine architecture&lt;br /&gt;5) we have to rearrange the physical blocks 5) We donot have to rearrange the physical blocks&lt;br /&gt;6) we have to decide the frame to handle the  paging 6) we do not required frame to handle segmentation&lt;br /&gt;7) Paging can be used to shift from one block to another block 7) Segmentation can not be used to shift from one location to another location&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q18.  What are deadlock? When these do occur? Suggest three basic methods for preventing these.&lt;br /&gt;&lt;br /&gt;Ans.  Deadlock means that one process is requesting one resource the is hold by another process.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;                   According to the diagram there are four process P1,P2,P3,P4. Process P1 is requesting the resource that has been hold by another process P2 and P2 is requesting the resource that has been hold by the process P3 and p3 is requesting the resource that is hold by the P4 process . In this condition no one process will be satisfied  that means no one will satisfied. This will lead to Deadlock  condition.&lt;br /&gt;&lt;br /&gt;There are four conditions that must be true for a particular deadlock&lt;br /&gt;&lt;br /&gt;1) Mutual Exclusion &lt;br /&gt;   In this condition one particular resource is allocated to particular process and other process will  wait until the resource is not free up by the first process. &lt;br /&gt;  &lt;br /&gt;           &lt;br /&gt;According to the diagram P1 is using the resource R and p2 is also demanding the same resource R.In this case P2 will wait until p1 does not release the resource R.&lt;br /&gt;2) Hold and Wait&lt;br /&gt;In This condition one process hold one resource and demanding another resource that has been hold by another process.&lt;br /&gt;3) No Pre-emptive &lt;br /&gt;In This condition  one process hold a particular resource and other processes are waiting for that resources.In other word we can say that one process  hold  a particular resource for unlimited time. that will bring other process to deadlock condition&lt;br /&gt; ‘&lt;br /&gt;4) Circular –wait :&lt;br /&gt;                    In this condition one process wait for a particular resource that is hold by another process and another process is waiting for a resource for a resource that is hold by some another process. That means no one has been satisfied.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to this diagram P1 is waiting the resource that has been held by the process P2 and P2 is requesting the resource that has been held by the process P3 that process requesting the resource that has been held by the process P4.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Deadlock handling:&lt;br /&gt;   Deadlock handling is the concepts in which we will handle the deadlock with different techniques. There are different techniques are available to handle the deadlock condition.&lt;br /&gt;1) Deadlock Prevention&lt;br /&gt;                         This method will ensure that we will prepare some protocol to ensure the system does not enter into deadlock situation. The following conditions must be ensure the deadlock should not be entered&lt;br /&gt;a) Mutual Exclusion&lt;br /&gt;b) Hold and Wait&lt;br /&gt;c) No Preemptive&lt;br /&gt;d) Circular Wait&lt;br /&gt;&lt;br /&gt;2) Banker’s Algorithms&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q9 (a) Disk Scheduling is concept in which we will decide how we will access the data from disk. Disk Scheduling will use different methods to access the data from storage. Disk Scheduling will take the data from requested track and sector on which data has been stored.&lt;br /&gt; For Example  &lt;br /&gt;                        There are four request arriving from different different  user then  which one process will be processed first or which one will be processed last that will be decided by the Disk Scheduling. Finally we can say that Disk Scheduling will arrange different request arriving from different users.&lt;br /&gt;&lt;br /&gt;Disk Scheduling is required with following reasons&lt;br /&gt;1) Time should be taken to access the data should be less&lt;br /&gt;2) Reducing the seek Time to move to desired Sector or track&lt;br /&gt;3) Providing the proper execution time to each process that are arriving for the process&lt;br /&gt;4) Deciding which operation we want to perform on disk&lt;br /&gt;5) Handling the proper address for  data transfer&lt;br /&gt;6) Handling the proper number of bytes for  transfer&lt;br /&gt;7) Proper arrangement of different proper that has been stored in System Queue.&lt;br /&gt;8) Proper utilization of CPU&lt;br /&gt;&lt;br /&gt;There are different Methods are used for disk scheduling&lt;br /&gt;1) First Come First Server&lt;br /&gt;In this scheduling we will process the request that arrive first then move to process that arrive later. This is the simplest disk scheduling technique. This technique is fair enough to process the request.This technique does not provide fatest service to process the request that arrive to the CPU.  For Example&lt;br /&gt;    &lt;br /&gt;Process Block&lt;br /&gt;P1 92&lt;br /&gt;P2 152&lt;br /&gt;P3 82&lt;br /&gt;P4 30&lt;br /&gt;P5 20&lt;br /&gt;P6 50&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;According to this example the starting position of head at 20. during the first process head will move to block 92 then it will move to block 182 this is the forward movement of head then it will go back to block 81 this is backward movement of head. All processes processing required  &lt;br /&gt;242 blocks to be traveled.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;&lt;br /&gt;a) It is the simple scheduling technique&lt;br /&gt;b) It will follow the order of request. It means that First In First Out will be &lt;br /&gt;    followed up&lt;br /&gt;c) As the request will be placed in queue that will be processed without observing the higher order or lowest order.&lt;br /&gt;d) This technique can be implemented easily.&lt;br /&gt;&lt;br /&gt;  Disadvantage&lt;br /&gt;   a)  It does not provide fastest service to us&lt;br /&gt;   b)  Reading and Writing time to the disk will take more time. Because &lt;br /&gt;         switching from one block from one block.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;2) Shortest Seek Time First&lt;br /&gt;Shortest Seek Time First is a scheduling in which job will be processed first which contains less time from the current head location.This scheduling technique will ensure that process which will take less time will be processed first.&lt;br /&gt;  &lt;br /&gt;Process Block&lt;br /&gt;P1 92&lt;br /&gt;P2 152&lt;br /&gt;P3 82&lt;br /&gt;P4 30&lt;br /&gt;P5 20&lt;br /&gt;P6 50&lt;br /&gt;According to the example the starting head location is 80 . It will check which one process will take less time to process. From starting position it will move to process P3  after that it will check that which block is very near to the current block location.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;a) Shortest Time taking process will be executed first then other process will be processed.&lt;br /&gt;b) It will not consider the order of insert.&lt;br /&gt;c) It is the best technique when we have short time process in the queue.&lt;br /&gt;                        Disadvantage &lt;br /&gt;                                  a) This technique will take us to starvation condition. For example &lt;br /&gt;                                       we are at block no. 20 and next block location is 220 . &lt;br /&gt;                                       According to this technique process at block location 220 will          &lt;br /&gt;                                       remain in wait condition .&lt;br /&gt;3) SCAN Scheduling&lt;br /&gt;             In this scheduling technique we will start from one block then we will move to another block. In other word we can say that head will start moving from one block to another block the request that arrive between starting to ending location of memory that will be processed. In this scheduling the process will executed in a specific order.&lt;br /&gt;  For Example&lt;br /&gt;&lt;br /&gt;Process Block&lt;br /&gt;P1 56&lt;br /&gt;P2 78&lt;br /&gt;P3 18&lt;br /&gt;P4 120&lt;br /&gt;P5 220&lt;br /&gt;P6 250&lt;br /&gt;&lt;br /&gt;The Processing will performed in the following order.&lt;br /&gt;  First of all starting position of the head will be considered . Then first location P1 will be processed then P2,P4,P5,P6 in the last when head will be restarted the process no. P3 will be processed.&lt;br /&gt;Advantage &lt;br /&gt;a) It is the simple  disk scheduling technique&lt;br /&gt;b) It is faster technique than FCFS,SSTF technique.&lt;br /&gt;c) It is Better technique to avoid starvation of process.&lt;br /&gt;Disadvantage&lt;br /&gt;a) if any process arrive before the head position then process will have to wait until the head position reach to that location.&lt;br /&gt;b) It is not best when you want to execute a process immediately.&lt;br /&gt;                 &lt;br /&gt;4) C-SCAN Scheduling&lt;br /&gt;         C-SCAN scheduling in which head will move in circular condition. that means when head reach to end of the disk then it will be started automatically to the starting of the disk.&lt;br /&gt;  For Example &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;      &lt;br /&gt;Process Block&lt;br /&gt;P1 56&lt;br /&gt;P2 78&lt;br /&gt;P3 88&lt;br /&gt;P4 120&lt;br /&gt;P5 220&lt;br /&gt;P6 250&lt;br /&gt;According to this example there are six processes from P1 to P6 and head position start from block no. 109 then it will process in the following order&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Process number Process Name&lt;br /&gt;1 P4&lt;br /&gt;2 P5&lt;br /&gt;3 P6&lt;br /&gt;4 P1&lt;br /&gt;5 P2&lt;br /&gt;6 P3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This example  indicate the process will be started with P4  and ending with  with P3.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;a) This scheduling with ensure every request will be processed&lt;br /&gt;b) This is the simple technique to process different types of request&lt;br /&gt;c) The request will be processed in a particular sequence&lt;br /&gt;Disadvantage&lt;br /&gt;a) The process request before the head position will have to wait for their term&lt;br /&gt;b) Waiting for execution can create starvation condition for different types of processes.&lt;br /&gt;&lt;br /&gt;LOOK Scheduling&lt;br /&gt;&lt;br /&gt;In This scheduling head will move in any direction according to request done by the user. In this scheduling head will move in any direction it can be forward or backward.&lt;br /&gt;&lt;br /&gt;For Example&lt;br /&gt;    &lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Process Block&lt;br /&gt;P1 92&lt;br /&gt;P2 152&lt;br /&gt;P3 82&lt;br /&gt;P4 30&lt;br /&gt;P5 20&lt;br /&gt;P6 50&lt;br /&gt;According to the example user make a request for a particular block then head will be automatically shifted to that block.&lt;br /&gt;Advantage &lt;br /&gt;a) request will be processed fast&lt;br /&gt;b) Priory can be given according to the user request&lt;br /&gt;c) This is the simple techniques for scheduling&lt;br /&gt;Disadvantage&lt;br /&gt;a) Unrequired blocks can be read by the head because moving from one location to another location that will travel lot of blocks from one location to another location.&lt;br /&gt;Q2(a) What are the salient features of UNIX operating system ? Explain&lt;br /&gt;  There are following features provided by UNIX&lt;br /&gt; a) Multitasking&lt;br /&gt;                           UNIX provide more than one job at a time.  For Example&lt;br /&gt;    You are typing  a letter in text editor at the same time you can copy,modify,delete another file according to user requirement. This indicate that multiple taks can be performed at the same time.&lt;br /&gt;b) Software Development&lt;br /&gt;         UNIX Operating system provide excellent environment for developing the software with the help of different types of tools provided by the UNIX with the help of UNIX we can utilize the hardware at maximum level to get the proper out to us.&lt;br /&gt;c) Networking&lt;br /&gt;     UNIX operating system provides different types of programs by which we can perform the networking between different types of computers.&lt;br /&gt;d) Security&lt;br /&gt;             UNIX provide a particular user a user name and password to provide proper security to the user.&lt;br /&gt;e) Rights &lt;br /&gt;      UNIX operating system provides proper rights to each user and file. There are three types of rights provided by the UNIX operating system (Read,Write,Execute)&lt;br /&gt;f) Flexible &lt;br /&gt;     UNIX Operating system provides flexible environment to modify,change the environment according to user requirement&lt;br /&gt;g) File Structure&lt;br /&gt;    UNIX Operating system provides File structure by which we can organize different types of files easily.&lt;br /&gt;h) Format &lt;br /&gt;   UNIX operating system use a uniform format of file that format can be modified easily.&lt;br /&gt;   Format  will be accepted globally&lt;br /&gt;i) User Interface&lt;br /&gt;      UNIX  operating system use a simple user interface that means user can interface with the system easily&lt;br /&gt;j) hideness &lt;br /&gt;     UNIX operating system hide the hardware information from the user. That means user can not view the hardware details from the system&lt;br /&gt;k) Primitives&lt;br /&gt;   UNIX Operating System provides different types of primitives that provides the facility to make simple and complex program easily.&lt;br /&gt;l) Independent &lt;br /&gt;    UNIX operating system is machine independent that means UNIX operating system can run on  any system without any hardware specifications&lt;br /&gt;m) Portable&lt;br /&gt;      UNIX operating system is portable so that we can shift from one system to another system easily&lt;br /&gt;n) Multi-support&lt;br /&gt;      UNIX Operating system support character interface and user interface.&lt;br /&gt;&lt;br /&gt;     (b) what is the directory structure  of UNIX operating system ? Explain&lt;br /&gt;&lt;br /&gt;Ans   : As we know that directories are files that give the file system a hierarchical structure.In a directory the data is put in a sequence of entires.Each such entry contains an node number and name of a file present in the directory and pathname is a null terminated character string. The pathname is divided into separate parts by “/” character.Each component will contains directory name by which it will be identified.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to the diagram  there is single root tha is called root. Every leaf is called directory.This diagram contains one root and following directories inside it.&lt;br /&gt;a) /dev&lt;br /&gt;            This directory will contains all device files. This directory will contains files that are associated with printer,monitor and other devices which we have attached with the system&lt;br /&gt;    For Example          /dev/console This directory indicate that dev is the directory that contains directory console inside it. That will handle all operation that we will perform on monitor&lt;br /&gt;b) /bin&lt;br /&gt;                    This directory will contains the executable files for most UNIX commands. As we know that all UNIX commands are executable that has been written in “C” language or script .UNIX provide shell script that will contain single name by which file will be identified.we have to type one name of the file for execution&lt;br /&gt;c) /usr&lt;br /&gt;                This directory will contains all files that can be private or public to every one. This directory will contains all work perform by a single user or group of users.&lt;br /&gt;&lt;br /&gt;d) /tmp&lt;br /&gt;                This directory will contains all temporary files that will stored for  temporary operation or different other operation we perform on a particular file.&lt;br /&gt;e) /etc&lt;br /&gt;                      This directory will contains all additional files that are used to handle additional work that we perform on the system.This directory will contains all files that are associated with Devices,Pheripheral Devices that we have attached with the system.&lt;br /&gt;                      &lt;br /&gt;f) /lib&lt;br /&gt;&lt;br /&gt;      This directory will contains all library functions that is provided by UNIX for the programmers.We can use library functions by making system calls to library from where we want to access the function.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;a) We can arrange different files in different directories&lt;br /&gt;b) We can easily identified different files&lt;br /&gt;c) We can easily arrange different files with in a single directory&lt;br /&gt;d) We can provide index to different files that are placed in a particular directory.&lt;br /&gt;Disadvantage&lt;br /&gt;a) We have to provide path to switch from one directory to another  directory &lt;br /&gt;b) We have to provide long path to access a particular file.&lt;br /&gt;Q13  Explain the following allocation algorithms&lt;br /&gt;(a) First Fit&lt;br /&gt;This  allocation algorithm will scan the free list until a large enough hole is found. This algorithm  find the perfectly fit block of memory if perfectly block of memory is found then it will be allocated to process otherwise process will wait for memory allocation&lt;br /&gt;For Example&lt;br /&gt;          List of available Memory block&lt;br /&gt;Block Size&lt;br /&gt;B1 128&lt;br /&gt;B2 152&lt;br /&gt;B3 421&lt;br /&gt;B4 322&lt;br /&gt;B5 22&lt;br /&gt;      Now the request arrive for a process with size of 150 then block B2 will be selected  to fit the memory block.&lt;br /&gt;              Advantage &lt;br /&gt;a) It is fastest algorithm because list of free space is also maintained&lt;br /&gt;b) It  can be implemented easily&lt;br /&gt;              Disadvantage &lt;br /&gt;a) If any change happens in any memory block then we have to change the list according to the changes done in memory&lt;br /&gt;b) Every time we have to update the list to get the better output&lt;br /&gt;c) If there is no large space is available then process  will move to starvation condition&lt;br /&gt;                  &lt;br /&gt;(b) Best Fit&lt;br /&gt;                    This allocation technique will place the process in smallest block of unallocated memory. This algorithm will find  all list of small holes in memory then it will check which is best to fit the process  request done by the user.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For Example&lt;br /&gt;          List of available Memory block&lt;br /&gt;Block Size&lt;br /&gt;B1 128&lt;br /&gt;B2 152&lt;br /&gt;B3 54&lt;br /&gt;B4 42&lt;br /&gt;B5 47&lt;br /&gt;      Now the request arrive for a process with size of 150 then smallest block B4 then B5 and last B3 will be occupied.&lt;br /&gt;&lt;br /&gt;Advantage&lt;br /&gt;   a) Smallest block of memory will utilize perfectly&lt;br /&gt;   b) We can arrange small and large block easily&lt;br /&gt;Disadvantage&lt;br /&gt;  a)  We require list of free memory block to get the best fit memory blocks.&lt;br /&gt;  b)  This algorithms will generate large number of small holes &lt;br /&gt;  c) Searching in list will take lot of time&lt;br /&gt;&lt;br /&gt;(c) Worst Fit&lt;br /&gt;                   This allocation technique will place process in available largest block of unallocated memory .This algorithm will make a large hole once the allocation has been done.&lt;br /&gt;For Example&lt;br /&gt;          List of available Memory block&lt;br /&gt;Block Size&lt;br /&gt;B1 128&lt;br /&gt;B2 152&lt;br /&gt;B3 54&lt;br /&gt;B4 42&lt;br /&gt;B5 47&lt;br /&gt;      Now the request arrive for a process with size of 150 then largest  block B2  will be occupied.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;     a) This algorithm will generate large hole of memory&lt;br /&gt;     b)  This algorithm will arrange large blocks of memory perfectly&lt;br /&gt;Disadvantage &lt;br /&gt;    a) Once larger block of memory occupied then same size memory can not be prepared.&lt;br /&gt;    b) This technique is best when we have large number of memory blocks&lt;br /&gt;&lt;br /&gt;(d) Buddy’s System&lt;br /&gt;          Buddy’s System is System in which different memory blocks are arrange with the size of multiply with 2. This system will handle memory block fast because allocation address calculation is an easy process. When ever user make a request then request will be processed with power of 2.&lt;br /&gt;For Example&lt;br /&gt;          List of available Memory block&lt;br /&gt;Block Size&lt;br /&gt;B1 128&lt;br /&gt;B2 152&lt;br /&gt;B3 54&lt;br /&gt;B4 42&lt;br /&gt;B5 48&lt;br /&gt;      Now the request arrive for a process with size of 150 then   block B2  will be occupied.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;   a) Calculation of memory address is an easy&lt;br /&gt;   b) Searching is an easy process&lt;br /&gt;   c)  Entire list is not searched&lt;br /&gt;&lt;br /&gt;Disadvantage&lt;br /&gt;a) This is not best for memory allocation. For Example we want to allocate a memory block at address 35 but this technique use the address with power of 2 that will store them on address 36 that will waste the memory block.&lt;br /&gt;b) Extra space is leaved between two memory allocation&lt;br /&gt;        &lt;br /&gt;(e) Next Fit&lt;br /&gt;                      This allocation technique will allocate the process in free partition of memory. In this algorithm processing will be started from the same place from where the processing has been leaved off.&lt;br /&gt;  For Example&lt;br /&gt;          List of available Memory block&lt;br /&gt;Block Size&lt;br /&gt;B1 128&lt;br /&gt;B2 152&lt;br /&gt;B3 54&lt;br /&gt;B4 42&lt;br /&gt;B5 47&lt;br /&gt;      Now the request arrive for a process with size of 150 then largest  block B2  will be occupied again the request will be arrived then process will be started from block B2 will be started.&lt;br /&gt;&lt;br /&gt;Advantage&lt;br /&gt;a) It will take less time &lt;br /&gt;b) Block allocation is fast &lt;br /&gt;c) Proper arrangement of memory can be performed&lt;br /&gt;                 Disadvantage&lt;br /&gt;a) Once allocation of block is performed then we can not go to that block&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q5(a) what do you understand by a process ? what are the different states of it?&lt;br /&gt;          Ans &lt;br /&gt;                             Execution of a program from a particular context is known as process. In other word we can say that we will run a block of code that code can effect or it can effected by another process. There are different system that support single process at a time that is called uniprogramming and the system with multiple process is called multiprogramming.&lt;br /&gt;                                    The following process control block is used&lt;br /&gt;                                             Process Control Block&lt;br /&gt;                                             &lt;br /&gt;Execution State&lt;br /&gt;Scheduling Information&lt;br /&gt;Accounting and Miscellaneous&lt;br /&gt;&lt;br /&gt;Execution State &lt;br /&gt;                            This part of Process control block indicate that the state of a particular process. There are following state of process is used&lt;br /&gt;a) New State&lt;br /&gt;                        In this state new process will be created or new process is generated&lt;br /&gt;b) Ready State&lt;br /&gt;                        In this state process will be in ready state to accept input and output to any devices that we have attached with the system. Ready state will use ready queue that will contain all process that has been started or generated by the user.&lt;br /&gt;c) Running State&lt;br /&gt;                    In this state program will in execution state in which program will be ready to accept input and output from the external devices that we have attached with the system. Running state will ensure that program is in running state.&lt;br /&gt;d) Suspended State&lt;br /&gt;              In this state process will be stop by the user. due to lack of resources or other reasons . For Example one process is processed by the CPU during this processing another higher priority arrive then current process will be suspended and focus will move to new process with higher priority.  &lt;br /&gt;e) Terminate State&lt;br /&gt;             In this state the process will be terminated by the user . After this state program execution will be stopped and terminated.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to diagram there is new process that will move to ready state. Ready state will ensure that process is ready to run on the system. Ready state will send the process to running state this state will execute the program that has been by the user. During running state process can be terminated or it can be send to suspended state. Once the state has been send to suspended state should be reprocessed as term will come.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Scheduling Information&lt;br /&gt; &lt;br /&gt;In this step we will decide the scheduling information that will decide how the process will be executed. Scheduling information will be depend on the scheduling algorithm we will apply on the process.Scheduling information will provide information about the processing details.&lt;br /&gt;Scheduling information will provide the following details&lt;br /&gt;1) Process Name&lt;br /&gt;2) Process Identification&lt;br /&gt;3) Process Ready Date&lt;br /&gt;4) Process Last Access details&lt;br /&gt;Accounting and Miscellaneous&lt;br /&gt; In this step we will maintained the following details&lt;br /&gt;1) List of resources&lt;br /&gt;2) Number of resources used&lt;br /&gt;3) Priority details of each process&lt;br /&gt;4) Scheduling details of each process&lt;br /&gt;5) Different modification has been performed on the process&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q5(b) Differentiate between long term, medium term and short term scheduler&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Long Term Scheduler Medium Term Scheduler Short Term Scheduler&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q5(c) Scheduler &lt;br /&gt;      Operating System must select the process from the queue in some fashion and selection of processes will be depend on the scheduler that will carries out the process in other word we can say that scheduler is a mechanism that carries out the  scheduling activities&lt;br /&gt;&lt;br /&gt;The scheduler can be classified into three categories&lt;br /&gt;1) Long term scheduler&lt;br /&gt;   Long term scheduler which determines which programs are admitted to the system for execution and when and which ones should be executed. Long term scheduler will control the degree of multiprogramming and decides on which job or jobs to accept and turn into processes. The more jobs created and it make smaller to process a particular process. Long term scheduler provides satisfactory services to the current set of processes.&lt;br /&gt;2) Middle term scheduler&lt;br /&gt;Middle term scheduler will decide which processes suspended and resumed. Middle term scheduler will process based on resources they require. This scheduler will suspend the processes if no proper resource is found then process is suspended. It will act as medium term scheduler between resource and memory.&lt;br /&gt;3) Short term scheduler&lt;br /&gt;Short term scheduler shares the processor among the ready or running processes.the scheduler is very fast scheduler. if any process requires a resource that it is removed from the ready list and use a ready list data structure to identify ready processes.&lt;br /&gt;&lt;br /&gt;There are following criteria to evaluate the scheduler&lt;br /&gt;a) Scheduler Efficiency&lt;br /&gt;                                    As we know that scheduler will perform the process activities of the operating system. Scheduler is efficient then processes will be performed in perfect way. Scheduler should be able to take the overhead of the different processes that arrives in the Operating System&lt;br /&gt;b) Waiting Time &lt;br /&gt;                             The time is spent between Ready to run state of a particular process.In other word we can say that time between Ready State and Running State should be less. If time is less then processing will be fast otherwise system will be slow in processing of process.&lt;br /&gt;c) Response Time&lt;br /&gt;                            Response time is the time between Submission of request and first response to request. If the time between submission and first response to request is less then processing will be fast otherwise System performance will be down.&lt;br /&gt;d) Throughput &lt;br /&gt;                              Throughput means that number of processes will be completed per unit time. We can say that how many processes can be completed according to time period provided by the system.&lt;br /&gt;e) Turnaround &lt;br /&gt;                           Turnaround means that time has been between submission to completing the process. Turnaround time is less that mean system is performing the process fast and quickly.&lt;br /&gt;f) CPU Utilization&lt;br /&gt;                         In this criteria will design the scheduling in which CPU can be utilize in perfect way.&lt;br /&gt;g) Proper Response&lt;br /&gt;                         Scheduler should provide proper response to each process that mean each process should utilize the system resources.&lt;br /&gt;h) Independent&lt;br /&gt;                      Scheduler should treat each process as independent and each process  can use the system resources properly. In other word we can say that each process should be handled individually.&lt;br /&gt;i) Distribution&lt;br /&gt;Scheduler should distribute the CPU Resource properly and fair that means scheduler should treat each process equally manner.&lt;br /&gt;j) Proper Separation&lt;br /&gt;                                 Scheduler perform the proper separation between IO Bound process and CPU bound   &lt;br /&gt;                                process efficiently.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Scheduling Techniques&lt;br /&gt;&lt;br /&gt;Scheduling is a technique that will decide how the process will be shifted from ready queue to CPU.Scheduling  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q10(a) What is time slicing ? How the time slicing duration affects the overall working of the system?&lt;br /&gt;&lt;br /&gt;Ans .  The  period of time for which a process is allowed to run in a preemptive multitasking system is known as time-slicing.the scheduler is run once every time slice to choose the  next process to run.if time slice is short then scheduler will consume  too much processing time.&lt;br /&gt;Time slicing improve the performance of the system in the following ways.&lt;br /&gt;&lt;br /&gt;1) Prediction&lt;br /&gt;                Time-Slice will decide the time-period for all processes that will appear for the processing.Time  given to each process is predicted earlier.&lt;br /&gt;2) Equality&lt;br /&gt;         With the help of time slicing resources are provided to each process in equal manners.In other word we can say that fairness is provided to each process.&lt;br /&gt;3) Minimize Overhead&lt;br /&gt;Time-Slice will  reduce the overhead of the process because time limit is given to each process.&lt;br /&gt;4) Balance of Resources.&lt;br /&gt;Time slicing will maintain the proper balance between different types of resources.&lt;br /&gt;5) Enforcement of Rules&lt;br /&gt;With the help of time slicing we can implement the rules on different resources required by each process.&lt;br /&gt;6) Balance &lt;br /&gt;Time-Slicing will maintain the balance between response and utilization from resources.&lt;br /&gt;7) Throughput&lt;br /&gt;          Time –Slicing will increase the output of CPU&lt;br /&gt;8) Avoid starvation&lt;br /&gt;Time-Slicing will reduce the starvation of proceses. Time-Slicing will provide a time period to each process that has been placed in the ready queue.&lt;br /&gt;9) Handle complex  process&lt;br /&gt;                          With the help of Time-slicing we can handle complex processes easily.&lt;br /&gt;10) Reliable&lt;br /&gt;                          Time-Slicing will provide reliable time allocation to each process in the case of any process failure.&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;10(b) Write short note on Virtual Memory&lt;br /&gt;&lt;br /&gt;                Virtual memory is the combination of RAM and temporary space available on your harddisk.When  RAM  get low then it will move the data from RAM to paging file that will free up the RAM. The virtual memory memory subsystem of a processor that will implements the virtual address spaces to each process&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q1 Explain the purpose and syntax of any two UNIX commands belonging to the following categories of commands&lt;br /&gt;(a) Process Mangement&lt;br /&gt;(b) System Administrator&lt;br /&gt;(c) Directory Command&lt;br /&gt;(d) Security and Protection&lt;br /&gt;(e) Inter-user Communication&lt;br /&gt;(f) Information Commands&lt;br /&gt;(g) File Manipulation Commands&lt;br /&gt;(a) Process Management &lt;br /&gt; As we know that every process has a process identification number that is used as the index to the process table. The UNIX Operating System provides a number of System Calls for process management. In Unix Operating System fork system is used to create an identical copy of process. The Created process is called the child process and original process is called as the parent process. The process management use the following commands&lt;br /&gt;i) kill Command&lt;br /&gt;This command will send the specified signal to the specified process or grou&lt;br /&gt;P of process. If signal is not specified the TERM signal is sent then TERM signal will terminate the process.&lt;br /&gt;   Syntax of kill command&lt;br /&gt;           kill  Signal&lt;br /&gt;    In This command we can use the following options &lt;br /&gt;&lt;br /&gt;                kill –s          This will specify the signal to send.The signal may be given as a signal name or number&lt;br /&gt;                kill –l This command will print a list of signal names.&lt;br /&gt;                kill –a  This command will not restrict the commandname to process id conversion.&lt;br /&gt;               kill –p This command will print only process id and it will not send any signal&lt;br /&gt;                                  (ii) nice command&lt;br /&gt; This command will run a program with changing or modified scheduling                         &lt;br /&gt;                                                               Priorty.This command will be used to change the priority of a process.       &lt;br /&gt;                                                                 Syntax&lt;br /&gt;         Nice options&lt;br /&gt;     This command can contains different options with it.&lt;br /&gt;      (i) –n  &lt;br /&gt;  this option will increment the priority according to the number given by     &lt;br /&gt;   us.&lt;br /&gt;   (ii) –help  &lt;br /&gt;    This option will show the entire details about the nice command&lt;br /&gt;   (iii) – version  &lt;br /&gt;                                                                  This option output version and exit&lt;br /&gt;Finally we can say the process management is an important to find out the status of any process as well as working of any process that is working in the system.&lt;br /&gt;(b) System Administrator&lt;br /&gt; System administration play very important role when system is accessed by different users. The System administrator will perform the following task&lt;br /&gt;                              i) Efficient utilization of the System’s Resources.&lt;br /&gt;                              ii) Focus on different task performed by the user.&lt;br /&gt;         In System Administration we use the following commands&lt;br /&gt;      i) fsck &lt;br /&gt;                       This command will check consistency and interactively repairs the file systems. This command has two components &lt;br /&gt;         1)generic component : This will contains all commands that can be applied to each file systems.In other word we can say that it can be implemented on each file system.&lt;br /&gt;        2) component It will conain specific commands that can be applied on selected file systems.&lt;br /&gt;    &lt;br /&gt;                                  Syntax of  fsck command&lt;br /&gt;                                          fsck  [file system]&lt;br /&gt;                                                 This command contains the following options inside it&lt;br /&gt;                                        &lt;br /&gt;Options Description&lt;br /&gt;-f This option will specify the file system. If type is not specified than it will take the file system from predefine directory&lt;br /&gt;-v This option will echo the completed command line.It will show the information about different devices that we have attached with the system.&lt;br /&gt;-m This option will check the file system first of all. This option will return a code.If it is zero the file system is clean otherwise file system is not clean .&lt;br /&gt;-y This command will give answering yes or no to all prompts provided by the command&lt;br /&gt;&lt;br /&gt;w This option will check the file system has write access or not&lt;br /&gt;p This option will run the command automatically in silent mode.&lt;br /&gt;                                 &lt;br /&gt;ii) wall  command&lt;br /&gt;  This command will send a message to everybody’s terminal. The client who have login into the system will get the message send by the user.&lt;br /&gt;                                          Syntax of  Wall command&lt;br /&gt;                                                  Wall [Message]&lt;br /&gt;       This command will send the message to everyone user login in the system. The limit of message send to each user will be limited upto 20 characters.&lt;br /&gt;&lt;br /&gt;(c) Directory Command&lt;br /&gt;   Directory commands are that commands that will work on the directory that is available in the system. We include the following commands inside the directory commands&lt;br /&gt;i) rm&lt;br /&gt;This command is used to remove files or directories. We can remove a file or group of files.&lt;br /&gt;  Syntax&lt;br /&gt;       rm [options] filename,directoryname&lt;br /&gt;&lt;br /&gt;   In this command we include the following options&lt;br /&gt;   &lt;br /&gt;Options Description&lt;br /&gt;-d This option will remove the directory. If it is empty directoy&lt;br /&gt;-f This option will ignore nonexistence files &lt;br /&gt;-i This option will show a message before every file removal&lt;br /&gt;-r This option will remove the contents of directories recursively&lt;br /&gt;-help This option will provide the help about this command&lt;br /&gt;-version This option will show the &lt;br /&gt; &lt;br /&gt;      &lt;br /&gt;ii) mkdir&lt;br /&gt;                   this command will make  a directory on the path that is given by the user.&lt;br /&gt;           Syntax of  mkdir&lt;br /&gt;                     mkdir [option] directory&lt;br /&gt;&lt;br /&gt;  In this command we can specify the following options&lt;br /&gt;Options Description&lt;br /&gt;-m This option will decide the mode of directory which we want to create&lt;br /&gt;-p If there is parent directory the  it will return true otherwise it will return false&lt;br /&gt;-v This option will be used to provide the version&lt;br /&gt;-help  This option will provide the help about the command&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   The above two commands will be used to handle the directory&lt;br /&gt;&lt;br /&gt;(d) Security and protection&lt;br /&gt;As we know that UNIX is multi-user operating system in which each user generate a file and directory and we have to provide security and protection over the files and directories.There are three types of permissions given in UNIX operating system.&lt;br /&gt;i) read Access&lt;br /&gt;ii) Write Access&lt;br /&gt;iii) Execute Access&lt;br /&gt;       Permissions are defined for three types of users&lt;br /&gt;i) the owner of file&lt;br /&gt;ii) the group that the owner belongs to&lt;br /&gt;iii) other users&lt;br /&gt;  Security and protection use the following commands&lt;br /&gt;(i) chmod&lt;br /&gt;           This command is used to modify the permissions.&lt;br /&gt;        Syntax f chmod&lt;br /&gt;                     chmod  permissions&lt;br /&gt;(ii) chgrp &lt;br /&gt;               This command is used to change group ownership&lt;br /&gt;    Syntax &lt;br /&gt;      chgrp [option] group file&lt;br /&gt;&lt;br /&gt;In this command we use the following options&lt;br /&gt;Options Description&lt;br /&gt;-c This option will report about the changes performed in files&lt;br /&gt;-d It will the difference the file&lt;br /&gt;-h It will report about the no difference between two files or directory&lt;br /&gt;-f This option will show the error messages&lt;br /&gt;-r This option will perform recursive option&lt;br /&gt;-help  This option will provide the help about this command&lt;br /&gt;&lt;br /&gt;(e) Inter-User Communication&lt;br /&gt; Inter-user communication means that two user will communicate with each other. Inter-User communication will ensure that two user are communicate with each other. Inter-User Communication will use the following commands&lt;br /&gt;&lt;br /&gt;(i) mail&lt;br /&gt;     This command is used to send and receive the mail from one user to another user.&lt;br /&gt;              Syntax  &lt;br /&gt;   mail username&lt;br /&gt;In this command we will provide the following options&lt;br /&gt;Options Description&lt;br /&gt;-v This option will display details of delivery performed on user’s terminal&lt;br /&gt;-i This option will ignore tty interrupt signals&lt;br /&gt;_I This option will forces mail to run in interactive mode&lt;br /&gt;-n This option will start reading the mail as we will start &lt;br /&gt; The system&lt;br /&gt;-s  This option is used when we have to specify the subject at command line of UNIX&lt;br /&gt;-c This option will send carbon copies to different users.&lt;br /&gt;-b This option will send carbon copy to different users.&lt;br /&gt;-f This option is used to forcely read the contents of a mail&lt;br /&gt;(ii) mesg&lt;br /&gt;                 This command is used to control write access to your terminal. This command will control the working and controlling of write operation on files,&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;             mesg  (Y/N)&lt;br /&gt;&lt;br /&gt;     This command is very important to get the control over write access to a particular file or directory.&lt;br /&gt;&lt;br /&gt;(f) Information commands&lt;br /&gt; Using this command we will get the information about the system we are using . These commands are very important when we have to handle different facility provided by the system.&lt;br /&gt;&lt;br /&gt;(i) cal  &lt;br /&gt;                This command will show the calendar according the option provided by the user.&lt;br /&gt;Syntax&lt;br /&gt;       cal –smjy13 [month][year]&lt;br /&gt;&lt;br /&gt;In this command we will use the following options        &lt;br /&gt;Options Description&lt;br /&gt;-1 This option will show single month name&lt;br /&gt;-3 This option will display prev/current/next month output&lt;br /&gt;-s This option will display Monday as the first day of the week&lt;br /&gt;-m This option is used to show Monday of week&lt;br /&gt;-j This option will display julian daes&lt;br /&gt;-y This option will display a calendar for the current year.&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;(g) File manipulation commands&lt;br /&gt;                          This command will be used to manipulate the files according to user requirement. File manipulation will include the following operations.&lt;br /&gt;(a) Copying the files&lt;br /&gt;(b) Renaming the file&lt;br /&gt;(c) Modifying the file&lt;br /&gt;(d) Delete the file&lt;br /&gt;&lt;br /&gt;In File manipulation use the following commands&lt;br /&gt;(i) cp command&lt;br /&gt;                              This command is used to copy the file from one location to another location.&lt;br /&gt;Syntax&lt;br /&gt;    cp  source destination&lt;br /&gt;&lt;br /&gt;  In this command we apply the following options&lt;br /&gt;Options Description&lt;br /&gt;-b This option will make the backup of different files we car copying from one location to another location&lt;br /&gt;-i This option will make a prompt before each file copying from one location to another location&lt;br /&gt;-l This option will make the link between different files that we want to copy from one location to another location&lt;br /&gt;-u This option will used if any file we are copying from one location to another location but that file is already exists.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(ii)mv command&lt;br /&gt;&lt;br /&gt;    This command is used to move the file from one location to another location.This command will shift the files from one location to another location. File or Directory is totally removed from the source from where it is copied.&lt;br /&gt;Syntax&lt;br /&gt;    mv source destination&lt;br /&gt;In This command we can implement the following options&lt;br /&gt;Options Description&lt;br /&gt;-i This will put prompt before each file or directory moving &lt;br /&gt;-reply This option will reply about the files that has been reached to destination&lt;br /&gt;-help This option will display help about this command&lt;br /&gt;-version This option will  handle the version of  different files that we are using during file operations.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q12 &lt;br /&gt;   Write short notes on the following&lt;br /&gt;   (a) Highest Response Ratio Next Scheduling&lt;br /&gt;&lt;br /&gt;                                   HRRN is a non preemptive scheduling algorithm. This algorithm is similar to Shortest Job Next algorithm. In this algorithm priority is provided according to time required by each process to execute a particular process. This scheduling algorithm will optimized the normalized turnaround value. This algorithm is best for long processes that are waiting for processing for long time.&lt;br /&gt;                                   HRRN is calculated with the following formulae&lt;br /&gt;                                      HRRN=1+Waiting time/Estimated run time&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Job Name Arrival Time Service Time Start Time Finish Time Turnaround Time Waiting Time Response Time&lt;br /&gt;A 0 10 0 10 10 0 1.0&lt;br /&gt;B 1 29 32 61 60 31 2.1&lt;br /&gt;C 2 3 10 13 11 8 3.7&lt;br /&gt;D 3 7 13 20 17 10 2.4&lt;br /&gt;E 4 12 20 32 28 16 2.3&lt;br /&gt;Mean     25 13 2.3&lt;br /&gt;&lt;br /&gt;According to this example there are five processes A,B,C,D,E are there and each process contains a specific  arrival time,service time and starting time and finish time after getting all details we can get easily the HRRN that will give the best ratio process  to us.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;1) The task with the greatest response ratio is dispatched&lt;br /&gt;2) No Starvation will happen for different processes.&lt;br /&gt;3) This algorithm will prevent indefinite postponement.&lt;br /&gt;Disadvantage&lt;br /&gt;1) Every time service time is calculated when a service is processed.&lt;br /&gt;2) Waiting time and response time is recalculated every time when one task has been dispatched&lt;br /&gt;3) It will increase the overhead of the processor.&lt;br /&gt;(b) Shortest Remaining Time Scheduling&lt;br /&gt;                                          This scheduling algorithm is a preemptive version of shortest job next algorithm. In this algorithm scheduler always dispatches the process the ready process which has the shortest expected remaining time to complete. The dispatching decision will be depend  when a new process is submitted then current process remaining time will be compared with new process  time which one is short will be processed first. If the new process contains short time then current process will be blocked and new process will sent to dispatching and processing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Process Arrival Time Burst Time&lt;br /&gt;P1 0.0 7&lt;br /&gt;P2 2.0 4&lt;br /&gt;P3 4.0 1&lt;br /&gt;P4 5.0 4&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;     Gantt. Chart&lt;br /&gt;           &lt;br /&gt;P1 P3 P2 P4&lt;br /&gt;0                                        7                                           8                                            12                                       16&lt;br /&gt;&lt;br /&gt;Average Waiting Time=(0+(8-2)+(7-4)+(12-5)/4=4&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;1) Short processes are handled very quickly&lt;br /&gt;2) The system will take less overhead when new process arrived for processing&lt;br /&gt;3) It will decreases the average turnaround time&lt;br /&gt;&lt;br /&gt;Disadvantage&lt;br /&gt;1) It can generate process starvation for the process that contains large time for completing&lt;br /&gt;2) When two process contains the same remaining time then it will increase the overhead for the processor&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(c) Thrashing&lt;br /&gt;                                      Thrashing will happens when we have limited number of resources that are not satisfying the request arrives from different user. when a process make a request to operating system for a particular resource then operating system will try to find that resource which has been taken already by another process at this time new process will not be satisfied. This condition will take to thrashing .&lt;br /&gt;&lt;br /&gt;Reason for  Thrashing&lt;br /&gt;                                                   There are basically two reasons for Thrashing&lt;br /&gt;a) Insufficient memory at a given level in memory hierarchy&lt;br /&gt;b) The program does not understand the location of the reference then memory system will replace one block again and again that will reduce the performance of the system.&lt;br /&gt;&lt;br /&gt;     Protection from Thrashing&lt;br /&gt;a) Thrashing can be protected by reducing the level of multiprogramming&lt;br /&gt;b) Thrashing can be reduced by adding more memory &lt;br /&gt;c) Implement Local Page Replacement Algorithms&lt;br /&gt;d) Providing the frame according to the requirement of the user.&lt;br /&gt;e) Reducing the Access time can protect the Thrashing&lt;br /&gt;&lt;br /&gt;                           Finally we san say the as the uses of system resources increases that will reduce the performance of the system. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(d) System Call&lt;br /&gt;              System call is a mechanism by which we will make a request to operating system for performing a particular task .The request will be performed in predefine manner that is easy to understand by operating system. The System call will make an interface between a process and operating system.&lt;br /&gt;&lt;br /&gt;Advantage provided by System call&lt;br /&gt;&lt;br /&gt;a) We can activate any program easily&lt;br /&gt;b) We can perform different operation on different files associated with file&lt;br /&gt;c) We can Terminate any ongoing program &lt;br /&gt;d) We can use System call to switch the data from one system to another system easily&lt;br /&gt;e) We can perform read, write operation on a particular device.&lt;br /&gt;&lt;br /&gt;Types of System Call&lt;br /&gt;&lt;br /&gt;1) Process Controlling System call&lt;br /&gt;The process Controlling System call is system calling in which we perform the following task&lt;br /&gt;a) Starting of any process&lt;br /&gt;b) Ending of process&lt;br /&gt;c) Loading of program&lt;br /&gt;d) Executing the program&lt;br /&gt;e) Changing the attributes of process&lt;br /&gt;f) Retrieving the attributes of process&lt;br /&gt;g) Providing memory to program&lt;br /&gt;h) Free up the memory from program&lt;br /&gt;Finally we can say that process controlling System call can be used to handle different task that are related to the process.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;2) Device maintaining System call&lt;br /&gt;                           Device Maintaining System call is that call by which we will manipulate different types of devices according to user requirement.In device maintaining System call we can perform the following task&lt;br /&gt;a) Sending data to different devices&lt;br /&gt;b) Receiving data from different devices&lt;br /&gt;c) Attaching device with system&lt;br /&gt;d) Logically disconnect the device&lt;br /&gt;e) Changing device functions&lt;br /&gt;f) Manipulate device function&lt;br /&gt;&lt;br /&gt;3) File Manipulation System call&lt;br /&gt;                                     File Manipulation System call that call by which we can manipulate the file according to user requirement. With the help of file manipulation System call we can perform the following task&lt;br /&gt;a) Creating a file&lt;br /&gt;b) Renaming a file&lt;br /&gt;c) Deleting a file&lt;br /&gt;d) Opening a file&lt;br /&gt;e) Reading from a file&lt;br /&gt;f) Writing to a file&lt;br /&gt;g) Changing a file attributes&lt;br /&gt;h) Getting a file attributes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4) Interfacing System call&lt;br /&gt; Interfacing System call is that call by which we will make interface with different system or different users. Interface system call perform the following tasks&lt;br /&gt;a) Creating the communication &lt;br /&gt;b) Removing the communication&lt;br /&gt;c) Sending the message&lt;br /&gt;d) Receiving the message&lt;br /&gt;e) Exchange the information between users&lt;br /&gt;f) Communication between remote computer and general computer&lt;br /&gt;g) Exchange status information between systems&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;5) System resources manipulation System call&lt;br /&gt;                                      System Resources manipulation System call is that call by which we will perform the manipulation of system resources.In this call we can perform the following functions&lt;br /&gt;&lt;br /&gt;                                                  &lt;br /&gt;a) Getting System date and time&lt;br /&gt;b) Setting System date and time&lt;br /&gt;c) Getting process file&lt;br /&gt;d) Setting process file &lt;br /&gt;e) Getting system date&lt;br /&gt;f) Setting System date&lt;br /&gt;&lt;br /&gt;Q19(a) What are the benefits of multi-programming ?&lt;br /&gt;&lt;br /&gt;   Ans  :-&lt;br /&gt;                                 Multi-programming is a method in which different program running at the same time.&lt;br /&gt;       Or we can say that we will allocate system resources to more than one concurrent application ,job or users.&lt;br /&gt;    Multi programming provides the following advantages&lt;br /&gt;1) More efficient use of computer time:&lt;br /&gt;                                        If we have one computer that is running a single process and there are different types of input and output is required then CPU will remain idle most of time. But in multiprogramming more than one program are running concurrently suppose one program is accepting the input from the user then CPU will remain busy with another process processing. This will utilize the CPU time to get the better and best result from the CPU.&lt;br /&gt;2) Increased Throughput&lt;br /&gt;                                        Multiprogramming will provide the throughput better and best because CPU will not wait for a particular process to provide the output. When CPU will process multiple user request then output will be much better and fast. Suppose there are two jobs that arrived for processing with different types of length then CPU will process them with efficient manner with proper utilization of system resources.&lt;br /&gt;3) Multiple user&lt;br /&gt;                                  Multiprogramming support multiple user request that arrive for processing , Multiprogramming will treat the individual user request as a single process. we can say simply multiple user request can be processed.&lt;br /&gt;4) Memory Management&lt;br /&gt;                                             Multiprogramming will use the memory in proper way. In multiprogramming we will provide separate memory to each process that arrived for processing. Multiprogramming will handle the memory according to the application size and memory requirement&lt;br /&gt;advan     &lt;br /&gt;5) Efficient Resource Utilization&lt;br /&gt;                    With the help of Multiprogramming we can use the resources efficiently. Multiprogramming will use the system resources better in the comparison of  uniprogramming  For Example&lt;br /&gt;&lt;br /&gt;Resources Uniprogramming Multiprogramming&lt;br /&gt;Processor Use 20% 40%&lt;br /&gt;Memory Use 33% 67%&lt;br /&gt;Disk Use 33% 67%&lt;br /&gt;Printer Use 33% 68%&lt;br /&gt;Elapsed Time 30Min 15Min&lt;br /&gt;Throughput 6jobs/hr 12jobs/hr&lt;br /&gt;Mean Response Time 18 min 10 min&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to the example  we can see easily the difference between Uniprogramming and multi programming&lt;br /&gt;In uniprogramming Resources are remain idle for  time period and in multiprogramming resources are used in proper way and best utilization of resources is done&lt;br /&gt;&lt;br /&gt;6) Mean response time&lt;br /&gt; Mean Response Time means that how time is taken to execute the program and show the final output to the user. When multiprogramming is used then mean response time is reduced.&lt;br /&gt;7) Elapsed time Reduction&lt;br /&gt; When we use the multiprogramming then Elapsed time is reduced. In multi programming time will be reduced to half of time that is taken by uni-programing.&lt;br /&gt;8) Better scheduling&lt;br /&gt; When we use multi-programming then we can perform better scheduling of  processes . CPU has better choice to take better scheduling to get the final output to us.&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q19(b) What are the advantages of “Multiprocessing/Parallel systems”&lt;br /&gt;Ans  &lt;br /&gt;     Parallel Systems&lt;br /&gt;                                       In Parallel system we will use multiple resources to solve  a computational problem.&lt;br /&gt;In Parallel system Multiple CPU is used and each problem is breeaken into different parts and each part is solved separately. When a problem is sub divided then sub-part is again sub divided into instruction and instruction will be executed on individual system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to the diagram a single problem is sub-divided into five different parts and each part is handled separately. When a problem is sub-divided then processing will be fast.&lt;br /&gt;&lt;br /&gt;Advantage of Parallel System&lt;br /&gt;&lt;br /&gt;1) Multi Task&lt;br /&gt;                                                 With the help of multi-tasking we can execute multiple task at the same time.&lt;br /&gt;                    As we know that when we have multiple CPU the multiple task can be performed&lt;br /&gt;&lt;br /&gt;2) Save Time&lt;br /&gt;                                   Multi-processing will save the time that we will waste in processing multiple task separately. In other word we can say the time which we will waste to process each process separately the will be processed at the same time.&lt;br /&gt;&lt;br /&gt;3) Save Money&lt;br /&gt;                           Multi-processing can be implemented with cheap, commodity components.&lt;br /&gt;                           Because single resource can be shared by multiple users.&lt;br /&gt;&lt;br /&gt;4) Solve large problems&lt;br /&gt;                           With the help parallel system we can solve large problem easily by dividing the problem into small parts and each part is handled separately.&lt;br /&gt;&lt;br /&gt;5) Provide Concurrency&lt;br /&gt;    &lt;br /&gt;                                   Parallel processing will provide concurrency to process multiple process equally.&lt;br /&gt;6) use of non-local resources&lt;br /&gt;                                     Parallel processing provide the facility to use the non-local resources that is used in remote computer&lt;br /&gt;7) Limits to serial computing&lt;br /&gt;  Parallel system will limit the serial computing that means we can process multiple task equally.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q20&lt;br /&gt;        What do you mean by paging? How address mapping is performed in paging technique? Also enumerate the advantages and disadvantages of paging.&lt;br /&gt;&lt;br /&gt;       &lt;br /&gt;Ans :&lt;br /&gt;  Paging is the algorithm that divides computer memory into small partitions and allocates memory using a page as the basic building block. The paging will perform the following task&lt;br /&gt;1) Paging will make all chunk of memory the same size and each chunk will be 512 bytes&lt;br /&gt;2) Paging will define the base address in page table about a particular process along with&lt;br /&gt;Complete details about read and write operation&lt;br /&gt;3) Paging will handle page number that will come directly from the address&lt;br /&gt;4) Each page is free then it is automatically assign to the requested process&lt;br /&gt;5) Swapping will happens between the pages when a particular process happens&lt;br /&gt;&lt;br /&gt;                                              Paging&lt;br /&gt; &lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to the diagram paging will contains virtual address that contains two parts one part is page number and other part is offset address of the virtual memory. Virtual memory entry will be done in Page Table Entry that will contain the address details of Virtual Memory. Virtual Memory will contain the offset address of memory where the block of virtual memory will be stored.The physical memory will contain page table entry and offset address of virtual memory.&lt;br /&gt;&lt;br /&gt;For Example&lt;br /&gt;       &lt;br /&gt;Page Number Program allocated to  Physical Memory Address&lt;br /&gt;0 Program A.0 1000:0000&lt;br /&gt;1 Program B.1 1000:1000&lt;br /&gt;2 Program C.2 1000:2000&lt;br /&gt;3 Program D.3 1000:3000&lt;br /&gt;4 Program E.4 1000:4000&lt;br /&gt;5 Program F.5 1000:5000&lt;br /&gt;6 Program G.6 1000:6000&lt;br /&gt;7 Program H.7 1000:7000&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; According to this example each page allocation size is   four kilobytes . Then allocation can be performed in the following order.&lt;br /&gt;1. Program A requests 3 pages of memory&lt;br /&gt;2. Program B requests 2 pages of memory&lt;br /&gt;3. Program D requests 2 pages of memory&lt;br /&gt;4. Program C terminates leaving 2 empty pages&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;     Advantage of Paging&lt;br /&gt;&lt;br /&gt;1) Single address space&lt;br /&gt;                    Paging will use single address space to maintain the address of different types of memory&lt;br /&gt;2) Swapping &lt;br /&gt;          In paging swapping is performed from page table to physical memory available to us.&lt;br /&gt;    &lt;br /&gt;3) A process can thrash at disk speed&lt;br /&gt;                      A Process can be increased according to the disk speed. If disk speed is good that means processing will be fast other wise processing will be slow.&lt;br /&gt;&lt;br /&gt;4) Security achieved by assigning pages to tasks and comparing&lt;br /&gt;                                                  We can achieved the security by assigning the pages to disk when we will call the specific address that will be compared with specific address&lt;br /&gt;5) Simple bit wise substitution&lt;br /&gt;                  Simple bit wise substitution is performed that means we can manipulate a particular address according to the requirement of an application&lt;br /&gt;6) Fixed size simplifies allocation and placement&lt;br /&gt;                             What ever the block is prepared that will be fixed size and fixed size will be allocated to the individual process. &lt;br /&gt;7) External fragmentation &lt;br /&gt;   In Paging external Fragmentation is not a problem&lt;br /&gt;8) Valid Identification&lt;br /&gt;            Paging will use valid bit to detect references to page-out pages&lt;br /&gt;Disadvantage of Paging&lt;br /&gt;1) One shared virtual address space&lt;br /&gt;            Single Shared Virtual Address Space is used that will create a problem for different address to be maintained in the memory&lt;br /&gt;2) Locality is slightly diminished&lt;br /&gt;                       What ever the address will be allocated that will occupy the memory space that will diminish the local memory&lt;br /&gt;3) Fixed size wastes space&lt;br /&gt;               When fixed size memory space is used. Suppose fixed size size of memory is 4Kilobytes then address stored there should of 4 bytes.if stored address size is less then it will waste the memory space.&lt;br /&gt;4) Problem was so big it lead to a second approach                    &lt;br /&gt;                                   When any critical problem arrive then it will move another approach.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q3(a) What do you understand by an operating System ? What are the major functions performed by an operating sytem.&lt;br /&gt;&lt;br /&gt;Ans  :&lt;br /&gt;  An operating System is a collection of programs that are executed continuously to perform a specific task. An Operating System will perform different types of tasks. Operating System will manage different resources available on the system.  As we know that a computer is an hardware that does not perform any specific task without the help of operating system. An operating system will accept request that is arriving from different resources and devices that has been attached with the system. An Operating system will handle different types of hardware which we attached with the system.&lt;br /&gt;There are following functions performed by the Operating System.&lt;br /&gt;&lt;br /&gt;a)  One or more user interface shells, which can be either graphical user interfaces (GUIs) or commandline&lt;br /&gt;interfaces (CLIs),&lt;br /&gt;&lt;br /&gt;b)  The facility to load and execute (and, if necessary, to abort and recover from) user processes,&lt;br /&gt;&lt;br /&gt;c) One or more application program interfaces (APIs), a set of system call functions,&lt;br /&gt;&lt;br /&gt;d)  The facility to communicate with a variety of input/output (I/O) devices, one or more file systems,&lt;br /&gt;&lt;br /&gt;e) The facility to share the computer’s resources between two or more user processes in a fair way,&lt;br /&gt;&lt;br /&gt;f) A communications infrastructure to support message passing between processes,&lt;br /&gt;&lt;br /&gt;g) Background record-keeping that keeps track of resource usage per user process,&lt;br /&gt;&lt;br /&gt;h) Protection and security so that user processes and Data are kept as free as possible from undesired interference.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q3 (b) Enumerate important characteristics of a good operating system and also discuss the responsibilities of an operating system as a resource manager.&lt;br /&gt;Ans.&lt;br /&gt;&lt;br /&gt;   There are following characteristics are used for operating system.&lt;br /&gt;a) Layered  Structure &lt;br /&gt;                       Operating system will use different types of layered concepts.&lt;br /&gt;b) Microlernel Architecture &lt;br /&gt;              As we know that operating system use Microkernel Architecture is used to handle different types of       &lt;br /&gt;               hardwares we attached with the system. It will handle address space, inter process communication and basic scheduling used in operating system. User can implement different other types of services.&lt;br /&gt;c) Multithreading&lt;br /&gt;   Operating system should be capable to handle different processes simultaneously.&lt;br /&gt;d) Threading&lt;br /&gt;    As we know that thread dispatchable unit of work and executed sequentially. Thread is executed as interrupted is activated.&lt;br /&gt;e) Symmetric multiprocessing&lt;br /&gt;             In symmetric processing multiple processors will be implemented on the system. That can process multiple task equally and all processes share the input and output that has been attached with the system.&lt;br /&gt;f) Distributed Operating System&lt;br /&gt;                   Operating system can handle different types of processes that are arriving from different types of user or we can say that resources are distributed to different users. Distributed  Operating System will distribute file system and shared memory.&lt;br /&gt;g) Object Oriented Design&lt;br /&gt;                      Operating System will add modular concepts to small microkernel system. When modular concepts are added then we can handle different requests arrives from different users.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are following responsibilities performed by the Operating System.&lt;br /&gt;a) Services &lt;br /&gt;                               Different types of Services that operating system provides to programs. Services will include  providing resources and different input and output devices.&lt;br /&gt;b) Program execution &lt;br /&gt;                               Operating System will provide the services to execute different types of programs. Providing memory to different programs &lt;br /&gt;c)Input Outpput  operations&lt;br /&gt;     Operating System perform Input Output operations  with different types of peripheral devices we have attached with system.Operating Directly take input and output to peripheral devices.As we know that any program can not access peripheral devices directly that why operating system service is required by any devices.&lt;br /&gt;d) File system manipulation&lt;br /&gt;                         With the help of operating system we can perform different types of file manipulation task. Like file creation, deletion, reading, writing, and directory &lt;br /&gt;e)  Communication &lt;br /&gt;                                  Operating System will communicate with different system as well as it will exchange the data between processes. Operating System will use message passing service between processes and share the memory between them. &lt;br /&gt;f) Fault detection &lt;br /&gt;                               In this function we will find the fault that can arrive with CPU,Input output devices and different types of user programs. Operating System will perform a appropriate reactions to that fault.&lt;br /&gt;g) Orientation &lt;br /&gt;                     Operating System will design for the function of the system.It will not be user-oriented.&lt;br /&gt;h) Resource allocation and freeing &lt;br /&gt;                    Operating System  will handle the process of resource allocation and freeing the resources that has been  allocated to different processes.&lt;br /&gt;   i) Accounting &lt;br /&gt;                             Operating System will maintain the account how long a particular resource has been used and what ever resources has been for a particular process. &lt;br /&gt;   j) Protection and security &lt;br /&gt;                               Operating System will protect the System resources and different devices we attached with the system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                       &lt;br /&gt;&lt;br /&gt;Q Give an overview of different types of operating system&lt;br /&gt;Ans .&lt;br /&gt;                           There are following types of operating System available.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q what is an operating system structure ? Compare important operating system structures.&lt;br /&gt;Ans :&lt;br /&gt;     &lt;br /&gt;Operating System structure will decide how an operating system has been design to handle different resources has been installed. Structure will include different parts included in operating system.&lt;br /&gt; &lt;br /&gt;According to the diagram  there are different parts included in operating system structure.&lt;br /&gt;1) Command Interpreter&lt;br /&gt;Command Interpreter will understand different commands issued by the user. The command can be given in the form of  event and action on the window.&lt;br /&gt;2) Error Handling&lt;br /&gt; Error Handling means that there is any error in an operating system then it can be handled easily.&lt;br /&gt;Error handling can be related to hardware and software.&lt;br /&gt;3) Protection System&lt;br /&gt;Protection System means that we use some authentication concepts to protect the system from illegal access of operating system.&lt;br /&gt;4) Process Management&lt;br /&gt;Process management means that how process will be handled and how the process will be arranged to execute them in a particular sequence.&lt;br /&gt;5) Input Output System&lt;br /&gt;Input Output System means that input and output will be handled perfectly. Input can be taken from input devices and it can be taken from external file. Output can be processed in the form of  report and report can be display on printer.&lt;br /&gt;6) Memory Management&lt;br /&gt;Memory Management means that we will handle memory. Memory management will include memory operation  like memory allocation,replication,recovery,removing and different other operation we can perform.&lt;br /&gt;7) Accounting&lt;br /&gt;Accounting means that operating system  will maintain different types of account like userid,user rights, user access list.&lt;br /&gt;8) Networking&lt;br /&gt;Networking structure we will handle networking which we perform between different computers.&lt;br /&gt;&lt;br /&gt;There are following types of operating system structures.&lt;br /&gt;1) Layered Structure Approach&lt;br /&gt;The components  of layered operating system are organized into modules and layers them one on top of the other. Each module provide a set of functions that other module can call. Interface functions at any particular level can invoke services provided by lower layers but not the other way around. The layered operating system structure with hierarchical organization of modules&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;According to diagram application program will interface with system services. System services will understand user mode and kernel mode. Kernel mode will be understand by System Services. System services will make interface with File System. File System will handle memory and input and output management. Memory and input/Output management will make interface with processor scheduling and hardware we attached with the system.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;1) Each layer will provide access to only to lower-level interface&lt;br /&gt;2) It required limited amount of code&lt;br /&gt;3) N layer provides (N+1) services&lt;br /&gt;4) It will starting debugging at lowest level until the whole system works correctly.&lt;br /&gt;5) It will enhance the performance of operating system&lt;br /&gt;6) Individual Layer can be replaced without effecting others parts of the system&lt;br /&gt;           Disadvantage &lt;br /&gt;1) It provide  low application performance&lt;br /&gt;2) Making the difference between different layers if typical task.&lt;br /&gt;&lt;br /&gt;2) Virtual Machine&lt;br /&gt;&lt;br /&gt;Virtual Machine is next logical step of layered approach of operating system. Virtual machine in which any layer which are looking as hardware is best for current layer. Virtual machine will provide an interface that is identical to actual hardware, in other words we can say that it will provide an interface to different hardware in equal manner. Virtual machine will provide illusion of many processes which can be run at their own memory space. Virtual machine provides the facility to handle many processes that contains its own memory allocation. Client operating system in virtual machines is very simple because it perform single task and it is single user only. The resources of physical computer are divided into different parts and each part will create a virtual machine. In Virtual machine processors are shared between users then user will feel they have their own processor. Virtual machine provides the facility of card reader, disks and printers facility provided by virtual machine. Virtual machine will share disks between different processes and virtual machines. Virtual machine will use virtual network interface for communicating between virtual machines.Virutal machines will use Para virtualization that will provide compensate for virtual machines.&lt;br /&gt;&lt;br /&gt;Advantage.&lt;br /&gt;1) Protection &lt;br /&gt;       Virtual machines will provide perfect protection of system resources because machines are isolated virtually from each other.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;2) Powerful base &lt;br /&gt;   It will provide powerful base for operating system research and development.&lt;br /&gt;3) Efficient use&lt;br /&gt;            With the help of virtual machine we efficiently use the hardware attached with the system.&lt;br /&gt;&lt;br /&gt;Disadvantage&lt;br /&gt;1) No Direct Sharing of Data&lt;br /&gt;    With the virtual machine we can not share different resources or data directly.&lt;br /&gt;2) Implementation&lt;br /&gt;   Implementation of virtual machine is complex task,&lt;br /&gt;3) Cost &lt;br /&gt;   Virtual machine will increase the cost of implementation of virtual machines.&lt;br /&gt;  &lt;br /&gt;3) Client-Server Model&lt;br /&gt;                       This is new concept in operating system. The basic idea behind client-server model is to divide the operating system into several processes, each of which implements a single set of services. For Example Input output server ,memory server and process server, thread interface server. Each server runs in user mode , provides services to the requested client. The client which can be either another operating system component or application program. The client will request a service by a message. The message will be identified by operating system and service is provided according to the message.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to this model there are three layer&lt;br /&gt;a) User Interface&lt;br /&gt;                       User interface will include the following options inside it.&lt;br /&gt;                             i) Client Application&lt;br /&gt;                                 Client application is an application by which user will interface with hardware that has been attached with the system. Client application will contains all common options that can be used by a user easily.&lt;br /&gt;         ii) PEACE  threads interface &lt;br /&gt;                It will provide threads interface facility by message passing between two process,&lt;br /&gt;                             iii)  File Server&lt;br /&gt;                                    File Server is a server that will maintain different types of files that will placed by the user. File server will perform the following operations.&lt;br /&gt;1) File Creation&lt;br /&gt;2) File Deletion&lt;br /&gt;3) File Updation&lt;br /&gt;4) File Modification&lt;br /&gt;                  iv)  Display Server&lt;br /&gt;                    Display server will handle all processes that is required to display objects on the window. Display server will accept the input from the keyboard and process them and show the output to the window.&lt;br /&gt;&lt;br /&gt;b) Microkernel&lt;br /&gt;          Microkernel Approach&lt;br /&gt;Microkernel approach by which we will make direct interface with system hardware. Kernel Approach  &lt;br /&gt;Will be used to Create, Delete any process with user requirement. With the Microkernel approach we can handle process management, memory management, file management and input/output management will be handled by kernel approach. Microkernel approach will make interprocess communication that means one process can interact with other process by sending message from one process to another process. As we know that Unix operating system use three layers to interact with hardware.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;  1) Easier to extend&lt;br /&gt;                           With the help of Microkernel approach we can extend the hardware and different other services that has been attached with the system.&lt;br /&gt;  2) Easier to port to a new architecture&lt;br /&gt;                              Microkernel approach provides the facility by which we can shift from one port to another port without any type of specific software requirement. In other word we can say that we can easily port to new architecture.&lt;br /&gt;3) More Robust&lt;br /&gt;                          If there any error in kernel that can be removed easily because there are less code available in kernel. Due to less coding we can easily detect numbers of errors arriving in kernel&lt;br /&gt;4) More Secure&lt;br /&gt;                         It is more secure because proper authentication is performed. The authentication will be done with the help of user name and password assign to the process.&lt;br /&gt; 5) Simplified based Operating System&lt;br /&gt;                    Microkernel approach is simplified operating system in which we can use simple commands to make interface with system.&lt;br /&gt;               6) Improved Reliability&lt;br /&gt;                               Microkernel approach will improve reliability of the system that means if one process is not working the other process will handle the work load of that process.&lt;br /&gt;               7) Message Passing facility&lt;br /&gt;                       Microkernel provides message passing facility between different processes. All process will communicate with another process by sending the message to that process.&lt;br /&gt;               8) Base for modulation and portable extension&lt;br /&gt;                      Microkernel provides that base for modulation and portable features of an operating system. Using this facility we can divide a operating system into different sub parts and each sub part will perform a specific task. Portability means that any device can be added to the operating system without any type of specific software requirement.&lt;br /&gt;c) Hardware&lt;br /&gt;                  Hardware is electronics devices that can accept input and process the output according to the requirement of the user.&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Q  How layered structure approach differs from kernel approach Explain.&lt;br /&gt;Layered Approach Kernel Approach&lt;br /&gt;1) Operating System is divided into layers 1) Operating System is not divided into layers.&lt;br /&gt;2) Each Layer will use the service of lower layer 2) It will communicate with different hardware we has attached with the system&lt;br /&gt;3) It will contain six Layers&lt;br /&gt;  i) Application Programs&lt;br /&gt;  ii) System Services&lt;br /&gt;  iii) File System&lt;br /&gt;  iv) Memory and I/O Device Management&lt;br /&gt;v) Process Scheduling&lt;br /&gt;vi) Hardware 3) It will use three parts&lt;br /&gt;    i) User Mode&lt;br /&gt;    ii) Kernel Mode&lt;br /&gt;    iii) Hardware&lt;br /&gt;4)It can not be extended easily 4) It can be extended easily.&lt;br /&gt;5) It will contains more coding  5) It will contain less coding&lt;br /&gt;6) Debugging process is slow 6) Debugging process is fast.&lt;br /&gt;7) It can not be converted into new architecture 7) It can be converted into new architecture&lt;br /&gt;8)It is less secure 8) It is more secure&lt;br /&gt;9)Modularity concept is used 9) Modularity concept is not used.&lt;br /&gt;10) Message passing is not used. 10) Message passing is used.&lt;br /&gt;11) modules can not  be moved from kernel to user level  11) Modules can be moved from kernel to user level.&lt;br /&gt;12) For Example  OS/2 12) For Example MacOS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q What is fragmentation? What are different types of fragmentation? How each of these can be overcome? Explain.&lt;br /&gt;&lt;br /&gt;Ans &lt;br /&gt;A condition in which individual files on a disk are not contiguous but are broken up in pieces scattered around the disk and  a condition in which the free space on a disk consists of little bits of free space here and there rather than only one or a few free spaces. Fragmentation is process in which file or data will occupy the memory space that space is not in continuously manner. In other word we can say that memory space will be occupied by a particular file in scatter manner.&lt;br /&gt;   Fragmentation can be classified into two categories&lt;br /&gt;      a) External Fragmentation&lt;br /&gt;              External Fragmentation exists when there is sufficient space to satisfy a request but the available space not in continuous manner. In External Fragmentation small memory space exits in memory that can not full fill the requirement of a particular request. A large storage is divided into different small holes.&lt;br /&gt;      b) Internal Fragmentation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q What is file system? What are the main responsibilities of a file system? Where is file system located in layered organization of operating system?&lt;br /&gt;&lt;br /&gt;Ans:&lt;br /&gt;File system contains different types of utility programs that are executed as privileged applications. Input to file can be given from a particular file or it can be accepted from any input device attached with the system and output from file system will be stored in a file. The file in which we will store the output can be used for long-term storage.&lt;br /&gt;                                                           File System In Layered Form&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to this diagram there are different types of layered is used in file system.&lt;br /&gt;1) Application Programs&lt;br /&gt;                                                         This is program that will be  executed by the user to perform interaction between file and storage device in                                                     &lt;br /&gt;                                                         which we have store the file. Application Programs can be design according to the requirement of the user. &lt;br /&gt;2) Logical File System&lt;br /&gt;      Logical File System is a system in which we will decide how a particular file will be arranged on physical    &lt;br /&gt;      storage. Logical File System will decide format ,accessing techniques and different other concepts that are &lt;br /&gt;      related to file.&lt;br /&gt;3) File Organization Module&lt;br /&gt;      File Organization module will decide which concepts we are using to store  a particular file on the storage.   &lt;br /&gt;     We are storing a file in sequential order,index order ,random way.&lt;br /&gt;4) Basic file System&lt;br /&gt;Basic file system will decide which types of operation we can perform on file system.&lt;br /&gt;5) Input output Control&lt;br /&gt;In input output control we will handle input  that is given to a particular file and output will be handled by a  proper file system. Input and output control will be decide by Operating system we will implement on the system&lt;br /&gt;6) Devices&lt;br /&gt;We  will implement different types of devices attached with the system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Main responsibilities of file system&lt;br /&gt;     &lt;br /&gt;      1) It will provide a convenient naming system for files&lt;br /&gt;       2) It will provide standardized set of input and output interface routines.&lt;br /&gt;       3) It will enforce access control in a multi-user environment&lt;br /&gt;       4) It will optimize the performance of file access&lt;br /&gt;       5) It will handle variety of storage devices.&lt;br /&gt;       6) It will maintain the consistency of files.&lt;br /&gt;       7)  It will reduce the chance of losing data or files.&lt;br /&gt;       8) It will support System administrator for system backup&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q what do you understand by file protection and security? Explain the various file protection methods/strategies.&lt;br /&gt;&lt;br /&gt;Ans &lt;br /&gt;     File Protection &lt;br /&gt;                                  File Protection means we will protect the file system from mischievous, intentional violation of an access restriction by a user. Protection is done to improve the reliabilities of  system.&lt;br /&gt;&lt;br /&gt;Principles behind protection&lt;br /&gt;1)  least privilege&lt;br /&gt;                    It will decide the program,users and even systems has been given enough privileges to work on them.&lt;br /&gt;2)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4928947872696753796-3070797870896526073?l=nareshkumarbhutani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nareshkumarbhutani.blogspot.com/feeds/3070797870896526073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4928947872696753796&amp;postID=3070797870896526073' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4928947872696753796/posts/default/3070797870896526073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4928947872696753796/posts/default/3070797870896526073'/><link rel='alternate' type='text/html' href='http://nareshkumarbhutani.blogspot.com/2010/09/operating-system-notes.html' title='Operating System Notes'/><author><name>Naresh Kumar Bhutani</name><uri>http://www.blogger.com/profile/16127420781112113759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/_-gUzLPndoDI/TF-Q5s8Kc6I/AAAAAAAAAAM/jjD_dJqmfiM/S220/Z7lg650.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4928947872696753796.post-7822215214240769733</id><published>2010-09-06T20:51:00.000-07:00</published><updated>2010-09-06T20:52:35.291-07:00</updated><title type='text'>Multi Media Notes</title><content type='html'>Q1  What do you mean by multimedia ? What are important multimedia components . Discuss the role of each components&lt;br /&gt;&lt;br /&gt;Ans  :&lt;br /&gt;       Multimedia is the media that uses multiple forms of information content and   information processing (e.g. text, audio, graphics, animation, video, interactivity) to inform or entertain the user. Multimedia also refers to the use of electronic media to store and experience multimedia content. Multimedia is similar to traditional mixed media in fine art, but with a broader scope. The term "rich media" is synonymous for interactive  multimedia.&lt;br /&gt;&lt;br /&gt;Categories of Multimedia&lt;br /&gt;&lt;br /&gt;Multimedia may be broadly divided into linear and non-linear categories.&lt;br /&gt; Linear  : &lt;br /&gt;active content progresses without any navigation control for the viewer such as a cinema  presentation.&lt;br /&gt; Non-linear : &lt;br /&gt;content offers user interactivity to control progress as used with a computer game or used in self-paced computer based training. Non-linear content is also known as hypermedia content. Multimedia presentations can be live or recorded. A recorded presentation may allow interactivity via a navigation system. A live multimedia presentation may allow  interactivity via interaction with the presenter or performer.&lt;br /&gt;&lt;br /&gt;Multimedia Building Blocks&lt;br /&gt;Any multimedia application consists any or all of the following components :&lt;br /&gt;&lt;br /&gt;(a) Text : Text and symbols are very important for communication in any medium.&lt;br /&gt;With the recent explosion of the Internet and World Wide Web, text has become&lt;br /&gt;more the important than ever. Web is HTML (Hyper text Markup language)&lt;br /&gt;originally designed to display simple text documents on computer screens, with&lt;br /&gt;occasional graphic images thrown in as illustrations.&lt;br /&gt;&lt;br /&gt;(b) Audio : Sound is perhaps the most element of multimedia. It can provide the&lt;br /&gt;listening pleasure of music, the startling accent of special effects or the ambience&lt;br /&gt;of a mood-setting background.&lt;br /&gt;&lt;br /&gt;(c) Images : Images whether represented analog or digital plays a vital role in a&lt;br /&gt;multimedia. It is expressed in the form of still picture, painting or a photograph&lt;br /&gt;taken through a digital camera.&lt;br /&gt;&lt;br /&gt;(d) Animation : Animation is the rapid display of a sequence of images of 2-D&lt;br /&gt;artwork or model positions in order to create an illusion of movement. It is an&lt;br /&gt;optical illusion of motion due to the phenomenon of persistence of vision, and can&lt;br /&gt;be created and demonstrated in a number of ways.&lt;br /&gt;&lt;br /&gt;(e) Video : Digital video has supplanted analog video as the method of choice for&lt;br /&gt;making video for multimedia use. Video in multimedia are used to portray real&lt;br /&gt;time moving pictures in a multimedia project.&lt;br /&gt;&lt;br /&gt;Text in Multimedia&lt;br /&gt;Words and symbols in any form, spoken or written, are the most common system&lt;br /&gt;of communication. They deliver the most widely understood meaning to the greatest&lt;br /&gt;number of people. Most academic related text such as journals, e-magazines are available in the Web&lt;br /&gt;browser readable form&lt;br /&gt;&lt;br /&gt; Fonts and Faces in Multimedia&lt;br /&gt;&lt;br /&gt;A typeface is family of graphic characters that usually includes many type sizes&lt;br /&gt;and styles. A font is a collection of characters of a single size and style belonging to a&lt;br /&gt;particular typeface family. Typical font styles are bold face and italic. Other style&lt;br /&gt;attributes such as underlining and outlining of characters, may be added at the users&lt;br /&gt;choice.The size of a text is usually measured in points. One point is approximately 1/72&lt;br /&gt;of an inch i.e. 0.0138. The size of a font does not exactly describe the height or width of&lt;br /&gt;its characters. This is because the x-height (the height of lower case character x) of two&lt;br /&gt;fonts may differ.  Typefaces of fonts can be described in many ways, but the most common&lt;br /&gt;characterization of a typeface is serif and sans serif. The serif is the little decoration at&lt;br /&gt;the end of a letter stroke. Times, Times New Roman, Bookman are some fonts which&lt;br /&gt;comes under serif category. Arial, Optima, Verdana are some examples of sans serif&lt;br /&gt;font. Serif fonts are generally used for body of the text for better readability and sans&lt;br /&gt;serif fonts are generally used for headings. The following fonts shows a few categories&lt;br /&gt;of serif and sans serif fonts.&lt;br /&gt;         F F&lt;br /&gt;                                                      (Serif Font) (Sans serif font)&lt;br /&gt;                                                    Selecting Text fonts&lt;br /&gt;It is a very difficult process to choose the fonts to be used in a multimedia&lt;br /&gt;presentation. Following are a few guidelines which help to choose a font in a multimedia&lt;br /&gt;presentation.&lt;br /&gt;1. As many number of type faces can be used in a single presentation, this concept&lt;br /&gt;2. of using many fonts in a single page is called ransom-note topography.&lt;br /&gt;3. For small type, it is advisable to use the most legible font.&lt;br /&gt;4. In large size headlines, the kerning (spacing between the letters) can be adjusted&lt;br /&gt;5. In text blocks, the leading for the most pleasing line can be adjusted.&lt;br /&gt;6. Drop caps and initial caps can be used to accent the words.&lt;br /&gt;7. The different effects and colors of a font can be chosen in order to make the text look in a distinct manner.&lt;br /&gt;8. Anti aliased can be used to make a text look gentle and blended.&lt;br /&gt;9. For special attention to the text the words can be wrapped onto a sphere or bent like a wave.&lt;br /&gt;10. Meaningful words and phrases can be used for links and menu items.&lt;br /&gt;11. In case of text links(anchors) on web pages the messages can be accented.&lt;br /&gt;12. The most important text in a web page such as menu can be put in the top 320 pixels.&lt;br /&gt;&lt;br /&gt;Character set and alphabets&lt;br /&gt;&lt;br /&gt;ASCII Character set&lt;br /&gt;The American standard code for information interchange (SCII) is the 7  bit character coding system most commonly used by computer systems in the  United states and abroad. ASCII assigns a number of value to 128 characters,  including both lower and uppercase letters, punctuation marks, Arabic numbers    and math symbols. 32 control characters are also included. These control characters are used for device control messages, such as carriage return, line feed,  tab and form feed.&lt;br /&gt;&lt;br /&gt;The Extended Character set&lt;br /&gt;A byte which consists of 8 bits, is the most commonly used building block  for computer processing. ASCII uses only 7 bits to code is 128 characters; the 8th  bit of the byte is unused. This extra bit allows another 128 characters to be   encoded before the byte is used up, and computer systems today use these extra  128 values for an extended character set. The extended character set is commonly&lt;br /&gt;filled with ANSI (American National Standards Institute) standard characters, including frequently used symbols.&lt;br /&gt;&lt;br /&gt;Unicode&lt;br /&gt;Unicode makes use of 16-bit architecture for multilingual text and  character encoding. Unicode uses about 65,000 characters from all known  languages and alphabets in the world.  Several languages share a set of symbols that have a historically related derivation, the shared symbols of each language are unified into collections of   symbols (Called scripts). A single script can work for tens or even hundreds of  languages.Microsoft, Apple, Sun, Netscape, IBM, Xerox and Novell are participating&lt;br /&gt;in the development of this standard and Microsoft and Apple have incorporated Unicode into their operating system.&lt;br /&gt;              &lt;br /&gt;Font Editing and Design tools&lt;br /&gt;&lt;br /&gt;There are several software that can be used to create customized font. These tools help an multimedia developer to communicate his idea or the graphic feeling. Using  these software different typefaces can be created.  In some multimedia projects it may be required to create special characters. Using the&lt;br /&gt;font editing tools it is possible to create a special symbols and use it in the entire text.&lt;br /&gt;Following is the list of software that can be used for editing and creating fonts:&lt;br /&gt;1 Fontographer&lt;br /&gt;2 Fontmonger&lt;br /&gt;3 Cool 3D text&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Special font editing tools can be used to make your own type so you can&lt;br /&gt;communicate an idea or graphic feeling exactly. With these tools professional&lt;br /&gt;typographers create distinct text and display faces.&lt;br /&gt;&lt;br /&gt;(a) Fontographer&lt;br /&gt;&lt;br /&gt;It is macromedia product; it is a specialized graphics editor for both Macintosh and Windows platforms. You can use it to create postscript, true type and bitmapped fonts for Macintosh and Windows.&lt;br /&gt;&lt;br /&gt;(b) Making Pretty Text:&lt;br /&gt;&lt;br /&gt;To make your text look pretty you need a toolbox full of fonts and special graphics applications that can stretch, shade, color and anti-alias your words into real artwork. Pretty text can be found in  bitmapped drawings where characters have been tweaked, manipulated and blended into a&lt;br /&gt;graphic image.&lt;br /&gt;&lt;br /&gt;(c) Hypermedia and Hypertext&lt;br /&gt;&lt;br /&gt;Multimedia is the combination of text, graphic, and audio elements into a  single collection or presentation – becomes interactive multimedia when  you give the user some control over what information is viewed and when  it is viewed. When a hypermedia project includes large amounts of text or symbolic  content, this content can be indexed and its element then linked together to&lt;br /&gt;afford rapid electronic retrieval of the associated information.  When text is stored in a computer instead of on printed pages the computer’s powerful processing capabilities can be applied to make the&lt;br /&gt;text more accessible and meaningful. This text can be called as hypertext.&lt;br /&gt;&lt;br /&gt;(d) Hypermedia Structures&lt;br /&gt;Two Buzzwords used often in hypertext are link and node. Links are  connections between the conceptual elements, that is, the nodes that consists of text, graphics, sounds or related information in the knowledge  base.&lt;br /&gt;&lt;br /&gt;(e) Searching for words:&lt;br /&gt;Following are typical methods for a word searching in hypermedia  systems: Categories, Word Relationships, Adjacency, Alternates,  Association, Negation, Truncation, Intermediate words, Frequency.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q2 what are minimum hardware and software required for  a good multimedia system? Explain&lt;br /&gt;&lt;br /&gt;Ans :&lt;br /&gt;   The hardware required for multimedia PC depends on the personal preference,&lt;br /&gt;budget, project delivery requirements and the type of material and content in the project.&lt;br /&gt;Multimedia production was much smoother and easy in Macintosh than in Windows. But&lt;br /&gt;Multimedia content production in windows has been made easy with additional storage&lt;br /&gt;and less computing cost.  Right selection of multimedia hardware results in good quality multimedia&lt;br /&gt;presentation.&lt;br /&gt;&lt;br /&gt;Multimedia Hardware&lt;br /&gt;&lt;br /&gt;The hardware required for multimedia can be classified into five. They are&lt;br /&gt;(a) Connecting Devices&lt;br /&gt;Among the many hardware – computers, monitors, disk drives, video projectors,  light valves, video projectors, players, VCRs, mixers, sound speakers there are enough  wires which connect these devices. The data transfer speed the connecting devices  provide will determine the faster delivery of the multimedia content. The most popularly used connecting devices are:&lt;br /&gt;a) SCSI&lt;br /&gt;b) USB&lt;br /&gt;c) MCI&lt;br /&gt;d) IDE&lt;br /&gt;e) USB&lt;br /&gt;&lt;br /&gt;(b) Input devices&lt;br /&gt;Often, input devices are under direct control by a human user, who uses them to  communicate commands or other information to be processed by the computer, which  may then transmit feedback to the user through an output device. Input and output  devices together make up the hardware interface between a computer and the user or  external world. Typical examples of input devices include keyboards and mice. However,  there are others which provide many more degrees of freedom. In general, any sensor  which monitors, scans for and accepts information from the external world can be  considered an input device, whether or not the information is under the direct control of a user.&lt;br /&gt;Classification of Input Devices&lt;br /&gt;&lt;br /&gt;Input devices can be classified according to:-&lt;br /&gt;1 the modality of input (e.g. mechanical motion, audio, visual, sound, etc.)&lt;br /&gt;&lt;br /&gt;2 whether the input is discrete (e.g. keypresses) or continuous (e.g. a mouse'sposition, though digitized into a discrete quantity, is high-resolution enough to be  thought of as continuous)&lt;br /&gt;&lt;br /&gt;3 the number of degrees of freedom involved (e.g. many mice allow 2D positional  input, but some devices allow 3D input, such as the Logitech Magellan Space Mouse)&lt;br /&gt;Pointing devices, which are input devices used to specify a position in space&lt;br /&gt;&lt;br /&gt;4 Whether the input is direct or indirect. With direct input, the input space coincides  with the display space, i.e. pointing is done in the space where visual feedback or the cursor appears. Touchscreens and light pens involve direct input. Examples  involving indirect input include the mouse and trackball.&lt;br /&gt;&lt;br /&gt;5 Whether the positional information is absolute (e.g. on a touch screen) or relative&lt;br /&gt;(e.g. with a mouse that can be lifted and repositioned)&lt;br /&gt;&lt;br /&gt;Keyboards&lt;br /&gt;&lt;br /&gt;A keyboard is the most common method of interaction with a computer.  Keyboards provide various tactile responses (from firm to mushy) and have various  layouts depending upon your computer system and keyboard model. Keyboards are  typically rated for at least 50 million cycles (the number of times a key can be pressed  before it might suffer breakdown).  The most common keyboard for PCs is the 101 style (which provides 101 keys),  although many styles are available with more are fewer special keys, LEDs, and others  features, such as a plastic membrane cover for industrial or food-service applications or  flexible “ergonomic” styles. Macintosh keyboards connect to the Apple Desktop Bus  (ADB), which manages all forms of user input- from digitizing tablets to mice.&lt;br /&gt;Examples of types of keyboards include&lt;br /&gt;1. Computer keyboard&lt;br /&gt;2. Keyer&lt;br /&gt;3. Chorded keyboard&lt;br /&gt;4. LPFK&lt;br /&gt;&lt;br /&gt;Pointing devices&lt;br /&gt;&lt;br /&gt;A pointing device is any computer hardware component (specifically human  interface device) that   allows a user to input spatial (ie, continuous and multi-dimensional)data to a computer. CAD systems and graphical user interfaces (GUI) allow the user to control and provide data to the computer using physical gestures - point, click, and drag - typically by moving a hand-held mouse across the surface of the physical desktop and  activating switches on the mouse. While the most common pointing device by far is the mouse, many more devices  have been developed. However, mouse is commonly used as a metaphor for devices that  move the cursor. A mouse is the standard tool for interacting with a graphical user  interface (GUI). All Macintosh computers require a mouse; on PCs, mice are not required  but recommended. Even though the Windows environment accepts keyboard entry in lieu&lt;br /&gt;of mouse point-and-click actions, your multimedia project should typically be designed with the mouse or touchscreen in mind. The buttons the mouse provide additional user  input, such as pointing and double-clicking to open a document, or the click-and-drag  operation, in which the mouse button is pressed and held down to drag (move) an object, or to move to and select an item on a pull-down  menu, or to access context-sensitive help. The Apple mouse has one button; PC mice may have as many as three.  Examples of common pointing devices include&lt;br /&gt;1. mouse&lt;br /&gt;2. trackball&lt;br /&gt;3. touchpad&lt;br /&gt;4. spaceBall - 6 degrees-of-freedom controller&lt;br /&gt;5. touchscreen&lt;br /&gt;6. graphics tablets (or digitizing tablet) that use a stylus&lt;br /&gt;7. light pen&lt;br /&gt;8. light gun&lt;br /&gt;9. eye tracking devices&lt;br /&gt;10. steering wheel - can be thought of as a 1D pointing device&lt;br /&gt;11. yoke (aircraft)&lt;br /&gt;12. jog dial - another 1D pointing device&lt;br /&gt;13. isotonic joysticks - where the user can freely change the position of the stick,&lt;br /&gt;14. with more or less constant force&lt;br /&gt;15. joystick&lt;br /&gt;16. analog stick&lt;br /&gt;17. isometric joysticks - where the user controls the stick by varying the amount&lt;br /&gt;18. of force they push with, and the position of the stick remains more or less&lt;br /&gt;19. constant&lt;br /&gt;20. pointing stick&lt;br /&gt;21. discrete pointing devices&lt;br /&gt;22. directional pad - a very simple keyboard&lt;br /&gt;23. dance pad - used to point at gross locations in space with fee&lt;br /&gt;&lt;br /&gt;High-degree of freedom input devices&lt;br /&gt;Some devices allow many continuous degrees of freedom to be input, and could&lt;br /&gt;sometimes be used as pointing devices, but could also be used in other ways that don't&lt;br /&gt;conceptually involve pointing at a location in space.&lt;br /&gt;1 Wired glove&lt;br /&gt; 2 Shape Tape&lt;br /&gt;&lt;br /&gt;Imaging and Video input devices&lt;br /&gt;                                &lt;br /&gt;1 . Flat-Bed Scanners&lt;br /&gt;&lt;br /&gt;A scanner may be the most useful piece of equipment used in the course of  producing a multimedia project; there are flat-bed and handheld scanners. Most  commonly available are gray-scale and color flat-bed scanners that provide a  resolution of 300 or 600 dots per inch (dpi). Professional graphics houses may use  even higher resolution units. Handheld scanners can be useful for scanning small&lt;br /&gt;images and columns of text, but they may prove inadequate for the multimedia development. Be aware that scanned images, particularly those at high resolution and in  color, demand an extremely large amount of storage space on the hard disk, no  matter what instrument is used to do the scanning. Also remember that the final  monitor display resolution for your multimedia project will probably be just 72 or  95 dpi-leave the very expensive ultra-high-resolution scanners for the desktop  publishers. Most expensive flat-bed scanners offer at least 300 dpi resolution, and  most scanners allow to set the scanning resolution.  Scanners helps make clear electronic images of existing artwork such as&lt;br /&gt;photos, ads, pen drawings, and cartoons, and can save many hours when you are incorporating proprietary art into the application. Scanners also give a starting  point for the creative diversions. The devices used for capturing image and video  are:&lt;br /&gt;1. Webcam&lt;br /&gt;2. Image scanner&lt;br /&gt;3. Fingerprint scanner&lt;br /&gt;4. Barcode reader&lt;br /&gt;5. 3D scanner&lt;br /&gt; medical imaging sensor technology&lt;br /&gt;1. Computed tomography&lt;br /&gt;2. Magnetic resonance imaging&lt;br /&gt;3. Positron emission tomography&lt;br /&gt;4. Medical ultrasonograph&lt;br /&gt;&lt;br /&gt;Audio input devices&lt;br /&gt;&lt;br /&gt;The devices used for capturing audio are&lt;br /&gt;1 Microphone&lt;br /&gt;2 Speech recognition&lt;br /&gt;&lt;br /&gt;Touchscreens&lt;br /&gt;Touchscreens are monitors that usually have a textured coating across the glass  face. This coating is sensitive to pressure and registers the location of the user’s finger  when it touches the screen. The Touch Mate System, which has no coating, actually  measures the pitch, roll, and yaw rotation of the monitor when pressed by a finger, and  determines how much force was exerted and the location  where the force was applied.Other touchscreens use invisible beams of infrared light that crisscross the front of the  monitor to calculate where a finger was pressed. Pressing twice on the screen in quick&lt;br /&gt;and dragging the finger, without lifting it, to another location simulates a mouse clickand- drag. A  keyboard is sometimes simulated using an onscreen representation so users can input names, numbers, and other text by pressing “keys”. Touchscreen recommended for day-to-day computer work, but are excellent for  multimedia applications in a kiosk, at a trade show, or in a museum delivery systemanything involving public input and simple tasks. When your project is designed to use a&lt;br /&gt;touchscreen, the monitor is the only input device required, so you can secure all other&lt;br /&gt;system hardware behind locked doors to prevent theft or tampering.&lt;br /&gt;&lt;br /&gt;3. Output devices&lt;br /&gt;Presentation of the audio and visual components of the multimedia project requires  hardware that may or may not be included with the computer itself-speakers, amplifiers,  monitors, motion video devices, and capable storage systems. The better the equipment,  of course, the better the presentation. There is no greater test of the benefits of good  output hardware than to feed the audio output of your computer into an external amplifier  system: suddenly the bass sounds become deeper and richer, and even music sampled at low quality may seem to be accept&lt;br /&gt;&lt;br /&gt;1. Audio devices&lt;br /&gt;&lt;br /&gt; All Macintoshes are equipped with an internal speaker and a dedicated sound clip, and they are capable of audio output without additional hardware and/or software. To take advantage of built-in stereo sound, external speaker are required. Digitizing sound  on the Macintosh requires an external microphone and sound editing/recording software such as SoundEdit16 from Macromedia, Alchemy from Passport, or SoundDesingner from DigiDesign.&lt;br /&gt; Amplifiers and Speakers&lt;br /&gt;Often the speakers used during a project’s development will not be adequate for its presentation. Speakers with built-in amplifiers or attached to an external amplifier are important when the project will be presented to a large audience or in a noisy setting.&lt;br /&gt;&lt;br /&gt;Monitors&lt;br /&gt;The monitor needed for development of multimedia projects depends on the type of  multimedia application created, as well as what computer is being used. A wide variety of monitors is available for both Macintoshes and PCs. High-end, large-screen graphics  monitors are available for both, and they are expensive.Serious multimedia developers will often attach more than one monitor to  heircomputers, using add-on graphic board. This is because many authoring systems allow towork with several open windows at a time, so we can dedicate one monitor to viewing the work we are creating or designing, and we can perform various editing tasks in windows on other monitors that do not block the view of your work. Editing windows that overlap a work view when developing with  Macromedia’s authoring environment,director, on one monitor. Developing in director is best with at least two monitors, one toview the work the other two view the “score”. A third monitor is often added by director developers to display the “Cast”.&lt;br /&gt;&lt;br /&gt;Video Device&lt;br /&gt;&lt;br /&gt;No other contemporary message medium has the visual impact of video. With a  video digitizing board installed in a computer, we can display a television picture on your  monitor. Some boards include a frame-grabber feature for capturing the image and   turning it in to a color bitmap, which can be saved as a PICT or TIFF file and then used   as part of a graphic or a background in your project.  Display of  video on any computer platform requires manipulation of an enormous amount of data. When used in conjunction with videodisc players, which give precise  control over the images being viewed, video cards you place an image in to a window on  the computer monitor; a second television screen dedicated to video is not required. And   video cards typically come with excellent special effects software.    There are many video cards available today. Most of these support various videoin-&lt;br /&gt;a-window sizes, identification of source video, setup of play sequences are segments,  special effects, frame grabbing, digital movie making; and some have built-in television tuners so you can watch your favorite programs in a window while working on other  things. In windows, video overlay boards are controlled through the Media Control  Interface. On the Macintosh, they are often controlled by external commands and  functions (XCMDs and XFCNs) linked to your authoring software.&lt;br /&gt;Good video greatly enhances your project; poor video will ruin it. Whether you&lt;br /&gt;delivered your video from tape using VISCA controls, from videodisc, or as a QuickTime or AVI movie, it is important that your source material be of high quality&lt;br /&gt;&lt;br /&gt;Projectors&lt;br /&gt;When it is necessary to show a material to more viewers than can huddle around a  computer monitor, it will be necessary to project it on to large screen or even a whitepainted   wall. Cathode-ray tube (CRT) projectors, liquid crystal display (LCD) panels  attached to an overhead projector, stand-alone LCD projectors, and light-valve projectors are available to splash the work on to big-screen surfaces.&lt;br /&gt;CRT projectors have been around for quite a while- they are the original “bigscreen”  televisions. They use three separate projection tubes and lenses (red, green, and blue), and three color channels of light must “converge” accurately on the screen. Setup,  focusing, and aligning are important to getting a clear and crisp picture. CRT projectors  are compatible with the output of most computers as well as televisions.  LCD panels are portable devices that fit in a briefcase. The panel is placed on the&lt;br /&gt;glass surface of a standard overhead projector available in most schools, conference  rooms, and meeting halls. While they overhead projectors does the projection work, the  panel is connected to the computer and provides the image, in thousands of colors and,  with active-matrix technology, at  speeds that allow full-motion video and animation.Because LCD panels are small, they are popular for on-the-road presentations, often connected to a laptop computer and using a locally available overhead projector.  More complete LCD projection panels contain a projection lamp and lenses and do&lt;br /&gt;not recover a separate overheads projector. They typically produce an image brighter and shaper than the simple panel model, but they are some what large and cannot travel in a  briefcase.&lt;br /&gt;Light-valves complete with high-end CRT projectors and use a liquid crystal  technology in which a low-intensity color image modulates a high-intensity light beam.  These units are expensive, but the image from a light-valve projector is very bright and  color saturated can be projected onto screen as wide as 10 meters.&lt;br /&gt;&lt;br /&gt;Printers&lt;br /&gt;With the advent of reasonably priced color printers, hard-copy output has entered  the multimedia scene. From storyboards to presentation to production of collateral  marketing material, color printers have become an important part of the multimedia  development environment. Color helps clarify concepts, improve understanding and  retention of information, and organize complex data. As multimedia designers already  know intelligent use of colors is critical to the success of a project. Tektronix offers both  solid ink and laser options, and either Phases 560 will print more than 10000 pages at a  rate of 5 color pages or 14 monochrome pages per minute before requiring new toner.&lt;br /&gt;Epson provides lower-cost and lower-performance solutions for home and small business users; Hewlett Packard’s Color LaserJet line competes with both. Most printer  manufactures offer a color model-just as all computers once used monochrome monitors but are now color, all printers will became color printers.&lt;br /&gt;&lt;br /&gt;4. Storage devices&lt;br /&gt;&lt;br /&gt;To estimate the memory requirements of a multimedia project- the space required&lt;br /&gt;on a floppy disk, hard disk, or CD-ROM, not the random access sense of the project’s&lt;br /&gt;content and scope. Color images, Sound bites, video clips, and the programming code&lt;br /&gt;that glues it all together require memory; if there are many of these elements, you will&lt;br /&gt;need even more. If you are making multimedia, you will also need to allocate memory for&lt;br /&gt;storing and archiving working files used during production, original audio and video&lt;br /&gt;clips, edited pieces, and final mixed pieces, production paperwork and correspondence,&lt;br /&gt;and at least one backup of your project files, with a second backup stored at another&lt;br /&gt;location.&lt;br /&gt;&lt;br /&gt;Random Access Memory (RAM)&lt;br /&gt;&lt;br /&gt;RAM is the main memory where the Operating system is initially loaded and the  application programs are loaded at a later stage. RAM is volatile in nature and every  program that is quit/exit is  removed from the RAM. More the RAM capacity, higher will be the processing speed.&lt;br /&gt;If there is a budget constraint, then it is certain to produce a multimedia project on  a slower or limited-memory computer. On the other hand, it is profoundly frustrating to  face memory (RAM) shortages time after time, when you’re attempting to keep multiple  applications and files open simultaneously. It is also frustrating to wait the extra seconds  required oh each editing step when working with multimedia material on a slow  processor. On the Macintosh, the minimum RAM configuration for serious multimedia  production is about 32MB; but even64MB and 256MB systems are becoming common, because while digitizing audio or video, you can store much more data much more&lt;br /&gt;quickly in RAM. And when you’re using some software, you can quickly chew up available RAM – for example, Photoshop (16MB minimum, 20MB recommended); After  Effects (32MBrequired), Director (8MB minimum, 20MB better); Page maker (24MB  recommended); Illustrator (16MB recommended); Microsoft Office (12MB recommended). In spite of all the marketing hype about processor speed, this speed is ineffective if  not accompanied by sufficient RAM. A fast processor without enough RAM may waste  processor cycles while it swaps needed portions of program code into and out of memory. In some cases, increasing available RAM may show more performance improvement on  your system than upgrading the processor clip. On an MPC platform, multimedia authoring can also consume a great deal of  memory. It may be needed to open many large graphics and audio files, as well as your)  authoring system, all at the same time to facilitate faster copying/pasting and then testing  in your authoring software. Although 8MB is the minimum under the MPC standard,  much more is required as of now&lt;br /&gt;&lt;br /&gt;Read-Only Memory (ROM)&lt;br /&gt;&lt;br /&gt;Read-only memory is not volatile, Unlike RAM, when you turn off the power to a ROM chip, it will not forget, or lose its memory. ROM is typically used in computers to  hold the small BIOS program that initially boots up the computer, and it is used in  printers to hold built-in fonts. Programmable ROMs (called EPROM’s) allow changes to be made that are not forgotten. A new and inexpensive technology, optical read-only  memory (OROM), is provided in proprietary data cards using patented holographic  storage. Typically, OROM s offer 128MB of storage, have no moving parts, and use only&lt;br /&gt;about 200 mill watts of power, making them ideal for handheld, battery-operated devices. &lt;br /&gt;&lt;br /&gt;Floppy and Hard Disks&lt;br /&gt;&lt;br /&gt;Adequate storage space for the production environment can be provided by largecapacity  hard disks; a server-mounted disk on a network; Zip, Jaz, or SyQuest removable cartridges; optical media; CD-R (compact disc-recordable) discs; tape; floppy disks;  banks of special memory devices; or any combination of the above.  Removable media (floppy disks, compact or optical discs, and cartridges) typically  fit into a letter-sized mailer for overnight courier service. One or many disks may be required for storage and archiving each project, and it is necessary to plan for backups&lt;br /&gt;kept off-site.   Floppy disks and hard disks are mass-storage devices for binary data-data that can&lt;br /&gt;be easily read by a computer. Hard disks can contain much more information than floppy&lt;br /&gt;disks and can operate at far greater data transfer rates. In the scale of things, floppies are,&lt;br /&gt;however, no longer “mass-storage” devices.  A floppy disk is made of flexible Mylar plastic coated with a very thin layer of  special magnetic material. A hard disk is actually a stack of hard metal platters coated  with magnetically sensitive material, with a series of recording heads or sensors that&lt;br /&gt;hover a hairbreadth above the fast-spinning surface, magnetizing or demagnetizing spots  along formatted tracks using technology similar to that used by floppy disks and audio  and video tape recording. Hard disks are the most common mass-storage device used on  computers, and for making multimedia, it is necessary to have one or more large-capacity  hard disk drives.  As multimedia has reached consumer desktops, makers of hard disks have been  challenged to build smaller profile, larger-capacity, faster, and less-expensive hard disks.  In 1994, hard disk manufactures sold nearly 70 million units; in 1995, more than 80  million units. And prices have dropped a full order of magnitude in a matter of months. By 1998, street prices for 4GB drives (IDE) were less than $200. As network and Internet   servers increase the demand for centralized data storage requiring terabytes (1 trillion&lt;br /&gt;bytes), hard disks will be configured into fail-proof redundant array offering built-in&lt;br /&gt;protection against crashes.&lt;br /&gt;&lt;br /&gt;Zip, jaz, SyQuest, and Optical storage devices&lt;br /&gt;SyQuest’s 44MB removable cartridges have been the most widely used portable  medium among multimedia developers and professionals, but Iomega’s inexpensive Zip  drives with their likewise inexpensive 100MB cartridges have significantly penetrated SyQuest’s market share for removable media. Iomega’s Jaz cartridges provide a gigabyte of removable storage media and have fast enough transfer rates for audio and video  development. Pinnacle Micro, Yamaha, Sony, Philips, and others offer CD-R “burners”  for making write-once compact discs, and some double as quad-speed players. As blank  CD-R discs become available for less than a dollar each, this write-once media competes&lt;br /&gt;as a distribution vehicle. Magneto-optical (MO) drives use a high-power laser to heat tiny spots on the  metal oxide coating of the disk. While the spot is hot, a magnet aligns the oxides to provide a 0 or 1 (on or off) orientation. Like SyQuests and other Winchester hard disks,  this is rewritable technology, because the spots can be repeatedly heated and aligned. Moreover, this media is normally not affected by stray magnetism (it needs both heat and  magnetism to make changes), so these disks are particularly suitable for archiving data. The data transfer rate is, however, slow compared to Zip, Jaz, and SyQuest technologies. One of the most popular formats uses a 128MB-capacity disk-about the size of a 3.5-inch  floppy. Larger-format magneto-optical drives with 5.25-inch cartridges offering 650MB to 1.3GB of storage are also available&lt;br /&gt;&lt;br /&gt;Digital versatile disc (DVD)&lt;br /&gt;&lt;br /&gt;In December 1995, nine major electronics companies (Toshiba, Matsushita, Sony, Philips, Time Waver, Pioneer, JVC, Hitachi, and Mitsubishi Electric) agreed to promote a  new optical disc technology for distribution of multimedia and feature-length movies called DVD.&lt;br /&gt;With this new medium capable not only of gigabyte storage capacity but also fullmotion&lt;br /&gt;video (MPEG2) and high-quantity audio in surround sound, the bar has again  risen for multimedia developers. Commercial multimedia projects will become more expensive to produce as consumer’s performance expectations rise. There are two types  of DVD-DVD-Video and DVD-ROM; these reflect marketing channels, not the  technology. DVD can provide 720 pixels per horizontal line, whereas current television (NTSC) provides 240-television pictures will be sharper and more detailed. With Dolby AC-3 Digital surround Sound as part of the specification, six discrete audio channels can&lt;br /&gt;be programmed for digital surround sound, and with a separate subwoofer channel, developers can program the low-frequency doom and gloom music popular with Hollywood. DVD also supports Dolby pro-Logic Surround Sound, standard stereo and mono audio. Users can randomly access any section of the disc and use the slow-motion and freeze-frame features during movies. Audio tracks  can be programmed for as many as 8 different languages, with graphic subtitles in 32 languages. Some manufactures such  as Toshiba are already providing parental control features in their players (user’s select lockout ratings from G to NC-17).&lt;br /&gt;&lt;br /&gt;CD-ROM Players&lt;br /&gt;&lt;br /&gt;Compact disc read-only memory (CD-ROM) players have become an integral part&lt;br /&gt;of the multimedia development workstation and are important delivery vehicle for large,&lt;br /&gt;mass-produced projects. A wide variety of developer utilities, graphic backgrounds, stock&lt;br /&gt;photography and sounds, applications, games, reference texts, and educational software&lt;br /&gt;are available only on this medium. CD-ROM players have typically been very slow to access and transmit data  (150k per second, which is the speed required of consumer Red Book Audio CDs), but&lt;br /&gt;new developments have led to double, triple, quadruple, speed and even 24x drives  designed specifically for computer (not Red Book Audio) use. These faster drives spool  up like washing machines on the spin cycle and can be somewhat noisy, especially if the inserted compact disc is not evenly balanced. &lt;br /&gt;&lt;br /&gt;CD Recorders&lt;br /&gt;With a compact disc recorder, you can make your own CDs using special CDrecordable (CD-R) blank optical discs to create a CD in most formats of CD-ROM and  CD-Audio. The machines are made by Sony, Phillips, Ricoh, Kodak, JVC, Yamaha, and  Pinnacle. Software, such as Adaptec’s Toast for Macintosh or Easy CD Creator for  Windows, lets you organize files on your hard disk(s) into a “virtual” structure, then  writes them to the CD in that order. CD-R discs are made differently than normal CDs  but can play in any CD-Audio or CD-ROM player. They are available in either a “63&lt;br /&gt;minute” or “74 minute” capacity for the former, that means about 560MB, and for the latter, about 650MB. These write-once CDs make excellent high-capacity file archives  and are used extensively by multimedia developers for premastering and testing CDROM  projects and titles.&lt;br /&gt;&lt;br /&gt;Videodisc Players&lt;br /&gt;&lt;br /&gt;Videodisc players (commercial, not consumer quality) can be used in conjunction with the computer to deliver multimedia applications. You can control the videodisc  player from your authoring software with X-Commands (XCMDs) on the Macintosh and  with MCI commands in Windows. The output of the videodisc player is an analog  television signal, so you must setup a television separate from your computer monitor or use a video digitizing board to “window” the analog signal on your monitor.&lt;br /&gt;&lt;br /&gt;5. Communicating devices.&lt;br /&gt;Many multimedia applications are developed in workgroups comprising  instructional designers, writers, graphic artists, programmers, and musicians located in  the same office space or building. The workgroup members’ computers typically are  connected on a local area network (LAN). The client’s computers, however, may be thousands of miles distant, requiring other methods for good communication. Communication among workshop members and with the client is essential to the efficient and accurate completion of project. And when speedy data transfer is needed, immediately, a modem or network is required. If the client and the service provider are  both connected to the Internet, a combination of communication by e-mail and by FTP  (File Transfer Protocol) may be the most cost-effective and efficient solution for both  creative development and project management. In the workplace, it is necessary to use quality equipment and software for the communication setup. The cost-in both time and money-of stable and fast networking will be returned to the content developer.                                                     &lt;br /&gt;&lt;br /&gt;Modems&lt;br /&gt; &lt;br /&gt;Modems can be connected to the computer externally at the port or internally as a separate board. Internal modems often include fax capability. Be sure your modem is  Hayes-compatible. The Hayes AT standard command set (named for the ATTENTION  command that precedes all other commands) allows to work with most software communications packages. Modem speed, measured in baud, is the most important consideration. Because the multimedia file that contains the graphics, audio resources, video samples, and progressive versions of your project are usually large, you need to move as much data as possible in as short a time as possible. Today’s standards dictate at least a V.34 28,800  bps modem. Transmitting at only 2400 bps, a 350KB file may take as long as 45 minutes to send, but at 28.8 kbps, you can be done in a couple of minutes. Most modems follows the CCITT V.32 or V.42 standards that provide data compression algorithms when communicating with another similarly equipped modem. Compression saves significant transmission time and money, especially over long distance. Be sure the modem uses a standard compression system (like V.32), not a proprietary one.&lt;br /&gt;According to the laws of physics, cpper telephone lines and the switching  equipment at the phone companies’ central offices can handle modulated analog signals  up to about 28,000 bps on “clean” lines. Modem manufactures that advertise data  transmission speeds higher than that (56 Kbps) are counting on their hardware-based  compression algorithms to crunch the data before sending it, decompressing it upon arrival at the receiving end. If we have already compressed the data into a .SIT, .SEA,  .ARC, or .ZIP file, you may not reap any benefit from the higher advertised speeds&lt;br /&gt;because it is difficult to compress an already-compressed file. New high-speed/hightransmission over telephone lines are on the horizon.&lt;br /&gt;&lt;br /&gt;ISDN&lt;br /&gt;&lt;br /&gt;For higher transmission speeds, you will need to use Integrated Services Digital  Network (ISDN), Switched-56, T1, T3, DSL, ATM, or another of the telephone companies’ Digital Switched Network Services.  ISDN lines are popular because of their fast 128 Kbps data transfer rate-four to five times faster than the more common 28.8 Kbps analog modem. ISDN lines (and the  required ISDN hardware, often misnamed “ISDN modems” even though no modulation/demodulation of the analog signal occurs) are important for Internet access, networking, and audio and video conferencing. They are more expensive than conventional analog or POTS (Plain Old Telephone Service) lines, so analyze your costs  and benefits carefully before upgrading to ISDN. Newer and faster Digital Subscriber Line (DSL) technology using copper lines and promoted by the telephone companies may overtake ISDN.&lt;br /&gt;&lt;br /&gt;Cable Modems&lt;br /&gt;&lt;br /&gt;In November 1995, a consortium of cable television industry leaders announced agreement with key equipment manufacturers to specify some of the technical ways cable  networks and data equipment talk with one another. 3COM, AT&amp;T, COM21, General Instrument, Hewlett Packard, Hughes, Hybrid, IBM, Intel, LANCity, MicroUnity,  Motorola, Nortel, Panasonic, Scientific Atlanta, Terrayon, Toshiba, and Zenith currently supply cable modem products. While the cable television networks cross 97 percent of  property lines in North America, each local cable operator may use different equipment,&lt;br /&gt;wires, and software, and cable modems still remain somewhat experimental. This was a call for interoperability standards. Cable modems operate at speeds 100 to 1,000 times as fast as a telephone modem, receiving data at up to 10Mbps and sending data at speeds between 2Mbps and 10 Mbps.They can provide not only high-bandwidth Internet access but also streaming audio and video for television viewing. Most will connect to computers with 10baseT Ethernet connectors.Cable modems usually send and receive data asymmetrically – they receive more (faster) than they send (slower). In the downstream direction from provider to user, the date are modulated and placed on a common 6 MHz television carrier, somewhere between 42 MHz and 750 MHz. the upstream channel, or reverse path, from the user back to the provider is more difficult to engineer because cable is a noisy  environment with  interference from HAM radio, CB radio, home appliances, loose connectors, and poor home installation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q3 Explain different types of multimedia application&lt;br /&gt;&lt;br /&gt;Ans&lt;br /&gt;&lt;br /&gt;A few application areas of multimedia are listed below:&lt;br /&gt;&lt;br /&gt;1. Creative industries&lt;br /&gt;&lt;br /&gt;Creative industries use multimedia for a variety of purposes ranging from fine arts, to entertainment, to commercial art, to journalism, to media and software   services provided for any of the industries listed below. An individual multimedia  designer may cover the spectrum throughout their career. Request for their skills range from technical, to analytical and to creative.&lt;br /&gt;&lt;br /&gt;2. Commercial&lt;br /&gt;&lt;br /&gt;Much of the electronic old and new media utilized by commercial artists is  multimedia. Exciting presentations are used to grab and keep attention in  advertising. Industrial, business to business, and interoffice communications are   often developed by creative services firms for advanced multimedia presentations  beyond simple slide shows to sell ideas or liven-up training. Commercial multimedia developers may be hired to design for governmental services and  nonprofit services applications as well.&lt;br /&gt;&lt;br /&gt;3. Entertainment and Fine Arts&lt;br /&gt;In addition, multimedia is heavily used in the entertainment industry,  especially to develop special effects in movies and animations. Multimedia games  are a popular pastime and are software programs available either as CD-ROMs or  online. Some video games also use multimedia features.&lt;br /&gt;Multimedia applications that allow users to actively participate instead of just  sitting by as passive recipients of information are called Interactive Multimedia.&lt;br /&gt;&lt;br /&gt;4. Education&lt;br /&gt;In Education, multimedia is used to produce computer-based training  courses (popularly called CBTs) and reference books like encyclopaedia and  almanacs. A CBT lets the user go through a series of presentations, text about a  particular topic, and associated illustrations in various information formats.&lt;br /&gt;Edutainment is an informal term used to describe combining education with entertainment, especially multimedia entertainment.&lt;br /&gt;&lt;br /&gt;5. Engineering&lt;br /&gt;&lt;br /&gt;Software engineers may use multimedia in Computer Simulations for  anything from entertainment to training such as military or industrial training.  Multimedia for software interfaces are often done as collaboration between creative professionals and software engineers.&lt;br /&gt;&lt;br /&gt;6. Industry&lt;br /&gt;&lt;br /&gt; In the Industrial sector, multimedia is used as a way to help present information to shareholders, superiors and coworkers. Multimedia is also helpful for providing employee training, advertising and selling products all over the  world via virtually unlimited web-based technologies. &lt;br /&gt;&lt;br /&gt;7. Mathematical and Scientific Research&lt;br /&gt;&lt;br /&gt;In Mathematical and Scientific Research, multimedia is mainly used for modeling and simulation. For example, a scientist can look at a molecular model  of a particular substance and manipulate it to arrive at a new substance. Representative research can be found in journals such as the Journal of Multimedia.&lt;br /&gt;&lt;br /&gt;8. Medicine&lt;br /&gt;&lt;br /&gt;In Medicine, doctors can get trained by looking at a virtual surgery or they can simulate how the human body is affected by diseases spread by viruses and  bacteria and then develop techniques to prevent it.&lt;br /&gt;&lt;br /&gt;9. Multimedia in Public Places&lt;br /&gt;&lt;br /&gt;In hotels, railway stations, shopping malls, museums, and grocery stores,  multimedia will become available at stand-alone terminals or kiosks to provide information and help. Such installation reduce demand on traditional information   booths and personnel, add value, and they can work around the clock, even in the middle of the night, when live help is off duty. A menu screen from a supermarket kiosk that provide services ranging  from meal planning to coupons. Hotel kiosk list nearby restaurant, maps of the city, airline schedules, and provide guest services such as automated checkout. Printers are often attached so users can walk away with a printed copy of the  information. Museum kiosk are not only used to guide patrons through the exhibits, but when installed at each exhibit, provide great added depth, allowing visitors to browser though richly detailed information specific to that display.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q4   Explain Hypermedia Information&lt;br /&gt;&lt;br /&gt;Ans&lt;br /&gt;     Hypermedia is used as a logical extension of the term hypertext, in whichgraphics, audio, video, plain text and hyperlinks intertwine to create a generally nonlinear medium of information. This contrasts with the broader term multimedia, which may be used to describe non-interactive linear presentations as well as hypermedia.Hypermedia should not be confused with hypergraphics or super-writing which is not a  related subject. The World Wide Web is a classic example of hypermedia, whereas a noninteractive cinema presentation is an example of standard multimedia due to the absence of hyperlinks. Most modern hypermedia is delivered via electronic pages from a variety of systems. Audio hypermedia is emerging with voice command devices and voice browsing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Types and uses of hypermedia&lt;br /&gt;Hypermedia documents can either be static (prepared and stored in advance) or dynamic (continually changing in response to user input). Static hypermedia can be used to cross-reference collections of data in documents, software applications, or books on CD.A well-constructed system can also incorporate other user-interface conventions, such as menus and command lines. Hypermedia  can develop very complex and dynamic systems of linking and cross-referencing. The most famous implementation of hypermedia is the World Wide Web.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The user will use linearization to the document and that document will be de-linearization the converted into a format that can read by reader of the document .&lt;br /&gt;  When a document is read by the reader then we will follow the two steps.&lt;br /&gt;1) Linearization&lt;br /&gt;2) De-linearization&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;According to the diagram text documents can be represented  in the form of graph and diagram can be represented .This diagram contains four diagram inside it first diagram indicate the text. The text contains the link between chart and object and maps of text.&lt;br /&gt; &lt;br /&gt;Adantage&lt;br /&gt;1) Hypermedia provide highly interactive environment by which we can generate interactive applications.&lt;br /&gt;2) With the help of hypermedia we can see the information what is required by the user.&lt;br /&gt;3) Hypermedia can combine different objects like text, video, audio, graphics.&lt;br /&gt;4) Hypermedia provide the facility by which we can generate student learning program.&lt;br /&gt;5) Hypermedia provides non-linear organization &lt;br /&gt;6) Hypermedia can be used to connect different type of document with each other.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hypermedia development tools&lt;br /&gt;&lt;br /&gt;There are following development tools available in the market to develop hypermedia application&lt;br /&gt;1) Adobe&lt;br /&gt;2) Flash&lt;br /&gt;3) Director&lt;br /&gt;4) Authorware&lt;br /&gt;5) Visual foxpro&lt;br /&gt;6) Filemaker&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q 5  Differentiate between JPEG and MPEG compression techniques with their relative merits and demerits in details.&lt;br /&gt;&lt;br /&gt;JPEG MPEG&lt;br /&gt;1) JPEG stands for Joint Photographic Expert Groups 2) MPEG stands for Moving Pictures Experts Group&lt;br /&gt;2) It use compression standard for still images 2) It use compression standard for moving images.&lt;br /&gt;3) JPEG use small memory that why it is used on web sites. 3) It is still used on video related web sites.&lt;br /&gt;4) JPEG it does provide high quality 4) MPEG contains high quality of picture&lt;br /&gt;5) JPEG will compress the still images one by one in a particular sequence 5) MPEG will compress moving image at a time.&lt;br /&gt;6) The latest version of JPEG is 2.0  6) The latest version of MPEG is 4.0&lt;br /&gt;7) It will improve the quality of picture 7) It will improve the quality of images by reducing the gap between pixels.&lt;br /&gt;8) Tradeoff easily between compression and&lt;br /&gt;image quality 8) Tradeoff is not easy between compression and image quality.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q6  what do you understand by authoring? Explain the entire process involved in authoring.&lt;br /&gt;&lt;br /&gt;Ans:&lt;br /&gt;        Authoring is concept that we will use to generate Graphical Application. Using authoring tool we will combine different elements like Audio, Text, Picture, Animation, Text and other objects that can be used in multimedia.Authoring tool will use some concepts that will be used by any graphical application to develop the required application. In other word we can say that we will organized all elements to generate to required application.&lt;br /&gt;&lt;br /&gt;With the help of authoring tool we can generate the following options.&lt;br /&gt;1) Animation&lt;br /&gt;2) Games&lt;br /&gt;3) Interactive application&lt;br /&gt;4) Simulation&lt;br /&gt;5) Computer based training &lt;br /&gt;6) Presentations of documents&lt;br /&gt;7) Different video production &lt;br /&gt;8) Effects on different objects&lt;br /&gt;&lt;br /&gt;There are following steps are used to generate application&lt;br /&gt;Step 1 :&lt;br /&gt;      Problem will be decided. For Example we want to generate an animation application or graphical application&lt;br /&gt;Step 2: &lt;br /&gt;    In this step we will decide how many objects are available in library or we have to import objects from external library.&lt;br /&gt;Step  3:&lt;br /&gt;    All objects will be collected from different resources. all objects will arranged according to the requirement of the user.&lt;br /&gt;Step 4:&lt;br /&gt;    In this step we will decide the framing of different objects &lt;br /&gt;Step 5:&lt;br /&gt;   In this step we will decide different types of action script for particular objects that we want to use in an application&lt;br /&gt;Step 6:&lt;br /&gt;      In this step we will execute the program and final output will appear to the user.&lt;br /&gt;Step 7:&lt;br /&gt;       Once we will see the final output of the program then  we will convert the program to executable file that can be run on every system on which we will store that file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Authoring tools&lt;br /&gt;&lt;br /&gt;1) Card Based Authoring tool&lt;br /&gt;Card Based Authoring tool is a tool by which we will arrange different multimedia elements.in card based authoring tool we  will arrange different elements in a particular page. Card Based Authoring tool will show different objects in a particular card and different cards are arranged to get the final output according to the user. HyperCard is the software by which we will arrange different cards to get the final output to the user. HyperCard is an interactive way to represent different types of objects&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;1) We can arrange large information into different sub parts each sub part will show a specific information to us.&lt;br /&gt;2) We  can easily shift from one page to another page.&lt;br /&gt;3) We can interlink one card with another card&lt;br /&gt;&lt;br /&gt;           Disadvantage &lt;br /&gt;We can not show large information on a single page.&lt;br /&gt;1) Some time single card does not show the sufficient information to user.&lt;br /&gt;&lt;br /&gt;2) Page based Authoring tool&lt;br /&gt;Page based authoring tool by which we will arrange different content on a single page. In this tool we can shift from one page to another page with the help of link from one page to another page. Page Based authoring tool will arrange different objects in a single page.&lt;br /&gt;&lt;br /&gt;   Advantage&lt;br /&gt;1) We  show different information on a single page&lt;br /&gt;2) One page  can contains information Plus images &lt;br /&gt;3) One page can be arranged to get the final output to us&lt;br /&gt;&lt;br /&gt;Disadvantage&lt;br /&gt;1) we can not generate complex page because it will occupy more physical space on the memory&lt;br /&gt;2) page based is not best when we want to show the information in moving objects&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3) Icon based authoring tool&lt;br /&gt;Icon based authoring tool is a tool by which we will generate different objects with the help of  icons. Icon based authoring tool are an important because we can easily represent the appearance and working of an object.&lt;br /&gt;For Example  :     Authorware is an icon-based authoring tool that allows you to develop a chart of how objects are linked together Authorware 5 Attain includes many Knowledge Objects that you can use right away. Knowledge Objects developed by Macromedia are organized into the following categories: &lt;br /&gt;1) New File&lt;br /&gt;Using this object we will generate different new icons.&lt;br /&gt;2) File&lt;br /&gt;   Using this option we can perform different operation on them&lt;br /&gt;3) Internet&lt;br /&gt;This option will provide the facility to use an icons or other objects from internet&lt;br /&gt;4) Interface Components&lt;br /&gt;In this components we will decide how two icons will interface with each other.&lt;br /&gt;5) Knowledge Objects created by independent developers &lt;br /&gt;              Knowledge objects are that objects that will be used to indicate the working of different objects which we want to place on an application.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Advantage &lt;br /&gt;&lt;br /&gt;1) we easily represent an object&lt;br /&gt;2) we can easily show the working of an object&lt;br /&gt;3) we can link two icons with each other&lt;br /&gt;4) different icons can be display on a single window.&lt;br /&gt;5) Icons can be grouped according to working of an icon.&lt;br /&gt;&lt;br /&gt;Disadvantage &lt;br /&gt;1) we are only limited to icons&lt;br /&gt;2) we can only show different types of icons.&lt;br /&gt;3) we can not accept the input from the user.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4) Time based authoring tool&lt;br /&gt;            Time based authoring tool in which time play very important role to handle the appearance of different objects appear on the window.Time based authoring tool will use the concept of timer that will decide the sequence of objects. Time based authoring tool will decide the sequence of different object. For Example  We generate animation application that will contains different objects that will appear in the sequence decided by the user.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;1) action on an object is performed automatically&lt;br /&gt;2) objects are shifted from one location to another location according to action script we place  for time based authoring tool&lt;br /&gt;3) we can perform multi-tasking perfectly.&lt;br /&gt;&lt;br /&gt;Disadvantage&lt;br /&gt;1) This authoring tool required more system resources.&lt;br /&gt;2) It will slow down the process of the system&lt;br /&gt;&lt;br /&gt;5) Object Oriented authoring tool&lt;br /&gt;         &lt;br /&gt;            Object oriented authoring tool will use the concepts of object oriented programming. In this concept we will make a class using the following concepts inside it&lt;br /&gt;1) Encapsulation&lt;br /&gt;2) Inheritance&lt;br /&gt;3) Polymorphism&lt;br /&gt;4) Abstraction&lt;br /&gt;5) Overloading&lt;br /&gt;6) Overriding&lt;br /&gt; Different other concepts available that we can apply to generate a graphical application.&lt;br /&gt;&lt;br /&gt;Advantage&lt;br /&gt;  1)  We can arrange different objects according to user requirement&lt;br /&gt;  2)  We can easily use predefine objects &lt;br /&gt; 3)   We can perform different types of operation on objects&lt;br /&gt; 4)   We can reuse different objects&lt;br /&gt;&lt;br /&gt;Disadvantage&lt;br /&gt;1) We can not inter-relate two different types of an object.&lt;br /&gt;&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q7 What are multimedia stream protocol? Discuss their significance&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans&lt;br /&gt;             Multimedia Streaming :    Clients request audio/video files from servers and pipeline reception over the network        and display &lt;br /&gt; &lt;br /&gt;According to the diagram Raw Video and Raw Audio is stored in the storage. The storage will store video and audio in compression mode. Multimedia streaming protocols will identify compressed Video and Compressed Audio. Multimedia Streaming protocol will make the interface with transport protocol. Transport protocols will make the interface Internet and internet will decode the compressed video and audio to show the final output.&lt;br /&gt;&lt;br /&gt;Challenges we are facing in Multimedia Streaming Protocol&lt;br /&gt;1) Sending data rate will be depend on the available bandwidth in the network&lt;br /&gt;2)  TCP/UDP/IP suite provides best-effort, no guarantees on expectation or variance of packet delay&lt;br /&gt;3)  Error can not handled properly.&lt;br /&gt;4)  Some time transport protocols does not transmit the data properly.&lt;br /&gt;&lt;br /&gt;Multimedia  streaming protocol  use a protocol that is called Real Time Protocol&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to the diagram sender will send request with the help of internet. The receiver will receive the request with the help of internet. Sending and receiving request will be handled by Real Time Protocol&lt;br /&gt;&lt;br /&gt;Advantage of Multimedia Streaming &lt;br /&gt;&lt;br /&gt;l) We can send and receive the video and audio from one system to another system&lt;br /&gt;2) We interface with large collection of video and audio or we can say that we are interfacing with large library of media and audio.&lt;br /&gt;3) We can perform Video-conferencing &lt;br /&gt;4) We can play any song in the form of audio or video on-demand&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q8  What do you mean by workstation operating system? How it is useful and used . What are its limitations ? Explain briefly&lt;br /&gt;&lt;br /&gt;Ans&lt;br /&gt;&lt;br /&gt;     For the processing of audio and video, multimedia application demands that&lt;br /&gt;humans perceive these media in a natural, error-free way. These continuous media data&lt;br /&gt;originate at sources like microphones, cameras and files. From these sources, the data are&lt;br /&gt;transferred to destinations like loudspeakers, video windows and files located at the same&lt;br /&gt;computer or at a remote station.  The major aspect in this context is real-time processing of continuous media data. Process management must take into account the timing requirements imposed by the&lt;br /&gt;handling of multimedia data. Appropriate scheduling methods should be applied. In&lt;br /&gt;contrast to the traditional real-time operating systems, multimedia operating systems also&lt;br /&gt;have to consider tasks without hard timing restrictions under the aspect of fairness. &lt;br /&gt;The communication and synchronization between single processes must meet&lt;br /&gt;the restrictions of real-time requirements and timing relations among different media.&lt;br /&gt;The main memory is available as shared resource to single processes.   In multimedia systems, memory management has to provide access to data with a guaranteed timing delay and efficient data manipulation functions. For instance, physical data copy operations must be avoided due to their negative impact on performance; buffer management operations (such as are known from communication systems) should be used.  Database management is an important component in multimedia systems.  However, database management abstracts the details of storing data on secondary media storage. Therefore, database management should rely on file management services&lt;br /&gt;provided by the multimedia operating system to access single files and file systems. &lt;br /&gt;Since the operating system shields devices from applications programs, it must  provide services for device management too. In multimedia systems, the important issue is the integration of audio and video devices in a similar way to any other input/output device. The addressing of a camera can be performed similar to the addressing of a keyboard in the same system, although most current systems do not apply this technique.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Workstation operating system provides the following uses&lt;br /&gt;1) We can handle multimedia data easily&lt;br /&gt;2) With the help of workstation operating system we can interact with different types of processes&lt;br /&gt;3) With the help of workstation operating system we can handle the manipulation of memory&lt;br /&gt;4) Workstation operating system provides the facility to handle database that maintain the data related to different clients are attached with the system&lt;br /&gt;5) Workstation can handle different audio and video devices perfectly.&lt;br /&gt;6) Workstation can convert the file from one format to another format&lt;br /&gt;7) Secure interaction between application on which we are working.&lt;br /&gt;&lt;br /&gt;How it used&lt;br /&gt; Workstation are used in the following fields&lt;br /&gt;&lt;br /&gt;(a) Resource Management&lt;br /&gt;&lt;br /&gt;Multimedia systems with integrated audio and video processing are at the limit of  their capacity, even with data compression and utilization of new technologies. Current  computers do not allow processing of data according to their deadlines without any  resource reservation and real-time process management. Resource management in distributed multimedia systems covers several computers and the involved communication networks. It allocates all resources involved in the data transfer process between sources and sinks. In an integrated distributed multimedia system, several applications compete for system resources. This shortage of resources requires careful allocation. The system management must employ adequate scheduling algorithms to serve the requirements of the applications. Thereby, the resource is first allocated and then managed. Resource management in distributed multimedia systems covers several&lt;br /&gt;computers and the involved communication networks. It allocates all resources involved&lt;br /&gt;in the data transfer process between sources and sinks.&lt;br /&gt;&lt;br /&gt;(b) Process Management&lt;br /&gt;&lt;br /&gt;Process management deals with administration of the resource main processor. The capacity of this resource is specified as processor capacity. The process manager  maps single processes onto resources according to a specified scheduling policy such that  all processes meet their requirements. In most systems, a process under control of the process manager can adopt one of the following states:&lt;br /&gt;1)  In the initial state, no process is assigned to the program. The process is in the  idle state.&lt;br /&gt;2)  If a process is waiting for an event, i.e., the process lacks one of the necessary  resources for processing, it is in the blocked state.&lt;br /&gt;3)  If all necessary resources are assigned to the process, it is ready to run. The  process only needs the processor for the execution of the program.&lt;br /&gt;4)  A process is running as long as the system processor is assigned to it. &lt;br /&gt;The process manager is the scheduler. This component transfers a process into the ready-to-run state by assigning it a position in the respective queue of the dispatcher,  which is the essential part of the operating system kernel. The dispatcher manages the transition from ready-to-run to run. In most operating systems, the next process to run is chosen according to priority policy. Between processes with the same priority, the one with the longest ready time is chosen.&lt;br /&gt;&lt;br /&gt;(c) File Systems&lt;br /&gt;&lt;br /&gt;Files are stored in secondary storage, so they can be used by different  applications. The life-span of files is usually longer than the execution of a program. In  traditional file systems, the information types stored in files are sources, objects, libraries and executables of programs, numeric data, text payroll records, etc. In multimedia systems, the stored information also covers digitized video and audio with their related real-time “read” and “write” demands. Therefore, additional requirements in the design  and implementation of file systems must be considered.  The file system provides access and control functions for the storage and retrieval  of files. From the user’s viewpoint, it is important how the file system allows file  organization and structure. The internals, which are more important in our context, i.e.,  the organization of the file system, deal with the representation of information in files, their structure and organization in secondary storage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Limitation of Workstation Operating system&lt;br /&gt;1) Timely response to different request is not an easy task.&lt;br /&gt;2) Interaction between real and non-real application does not share the resources&lt;br /&gt;3) Workstation does not provide overload handling concepts&lt;br /&gt;4) When multiple program run at the same time then system performance will be down&lt;br /&gt;5) Real time activities can be performed perfectly because we have to switch from one process to another process&lt;br /&gt;6) The bandwidth demand of continuous media is not always that stringent&lt;br /&gt;      7)   The fault-tolerance requirements of multimedia systems are usually less strict&lt;br /&gt;             than those of real-time systems that have a direct physical impact. &lt;br /&gt;8) the time limit for a particular application is not given then it will create a problem when  another request will arrive for processing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q9  Explain the framework for multimedia system.&lt;br /&gt;Ans&lt;br /&gt;        Framework of multimedia system will describe the overall picture of Distributed Multimedia Systems from which we can develop a good system architecture. Framework  will contains four interrelated models.&lt;br /&gt;1) Multimedia Information Model&lt;br /&gt;2) Multimedia Distributed Processing Model&lt;br /&gt;3) Multiserver Network Model&lt;br /&gt;4) Multimedia Conferencing Model&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1) Multimedia Information Model&lt;br /&gt;                                        Multimedia Information Model is a model that will be used to organized multimedia documents, presentations and other information. As we know that there is another model that can arrange different multimedia objects.&lt;br /&gt;This model will describe the interrelation between different multimedia objects.&lt;br /&gt;This model will describes logical structure of multimedia documents as well as it  will process many forms and tools.&lt;br /&gt;&lt;br /&gt;Advantage&lt;br /&gt;1) We can process different types of multimedia documents&lt;br /&gt;2) We can provide a sequence to different objects that will appear on the application&lt;br /&gt;3) We can  create logical link between two multimedia documents or objects&lt;br /&gt;&lt;br /&gt;2) Multimedia Conferencing Model&lt;br /&gt;                                     This model will describe the communication between different computers with the help of telephony and communications channels. Existing model use the concepts of OSI model and TCP/IP model. Now-a-days mail system and shared windowing system are used to make multimedia conferencing between different types of user.&lt;br /&gt;&lt;br /&gt;Advantage&lt;br /&gt;&lt;br /&gt;1) We can view different users on-line&lt;br /&gt;2) We can share our view on different topics&lt;br /&gt;3) We can also handle the data between users&lt;br /&gt;4) We can also share picture, images and other data between the user.&lt;br /&gt;&lt;br /&gt;3) Multimedia Distributed Processing Model&lt;br /&gt;&lt;br /&gt;In this model we will handle the distributed processing of data between the user.&lt;br /&gt;This model will describes how data will be shared between different clients computers.&lt;br /&gt;Multimedia Distributed Processing Model use the following layers&lt;br /&gt;&lt;br /&gt;1) Script language&lt;br /&gt;             This language is used for controlling multimedia documents, presentationa and applications. Script language will contain different syntax by which we can handle the working and appearance of an object&lt;br /&gt;&lt;br /&gt;2) Media Device Control&lt;br /&gt;This is the combination of toolkit functions, programming abstractions and services which provide application programs access to multimedia peripheral   equipment&lt;br /&gt;&lt;br /&gt;3) Interchange&lt;br /&gt;We can exchange the format between different types of systems. Suppose one document we have written in word that can be converted into text file.&lt;br /&gt;&lt;br /&gt;4) Conferencing service&lt;br /&gt;Multimedia Distributed Processing model will provide conferencing service by which two users can interact with each other. &lt;br /&gt;&lt;br /&gt;5) Hypermedia Engine&lt;br /&gt;Hypermedia Engine is an engine that will understand the hypertext and hypermedia that will make interactive application that we can use for different purpose&lt;br /&gt;&lt;br /&gt;6) Real-Time Scheduler &lt;br /&gt;Real-Time Scheduler in which we will handle the real time thread requirement of the user. Real-Time Scheduler will decide that which process will be processed first then second process will be executed.&lt;br /&gt;&lt;br /&gt;            Advantage &lt;br /&gt;1) We handle different objects according to user requirement&lt;br /&gt;2) We can handle different types of hypermedia objects&lt;br /&gt;3) We can handle real time scheduler to get the proper response from the user.&lt;br /&gt;4) We can handle different types of communication between users.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4) Multiservice Network Model&lt;br /&gt;                                      Multiservice network model is a model in which we will understand the multiservice provided by multimedia operating system.Multiservice Network Model in which we will decide the which protocol we will use to inherit and modify them. Multiservice Network model use the following protocol to handle the interface with different clients.&lt;br /&gt;&lt;br /&gt;Advantage&lt;br /&gt;1) We can share different types of services with each other&lt;br /&gt;2) We ca also handle the resource&lt;br /&gt;3) We can also ensure the working of the system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q10  What is Compression ? Explain in detail JPEG compression&lt;br /&gt;&lt;br /&gt;Ans.&lt;br /&gt;                 &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Compression is a technique by we will compress an image to fit on the page. compression techniques can be classified into two category.&lt;br /&gt;&lt;br /&gt;1)Model Method&lt;br /&gt;                  In this technique we will compress an image according to the model.There are different models available. There are different model available&lt;br /&gt;a) LPC&lt;br /&gt;b) AR&lt;br /&gt;c) ARMA&lt;br /&gt;d) Polynomial Fitting&lt;br /&gt;e) Object Based Model&lt;br /&gt;f) Fractals&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                    2) Waveform Model&lt;br /&gt;                                                               In this model we use some waveform model to compress a &lt;br /&gt;                           particular image. There are different models  available&lt;br /&gt;&lt;br /&gt;a) Lossless&lt;br /&gt;&lt;br /&gt;                         In this techniques we will compress an image .When image is compressed the compressed image will be equal to actual image. Lossless techniques is used when we don’t want to loss the actual pixel of the picture. Lossless compression technique will be classified into two category.&lt;br /&gt;i) Statistical&lt;br /&gt;      In this method we will use some statistical methods to compress am image, audio. This method is scientific method to compress an image and audio. &lt;br /&gt;ii) Universal&lt;br /&gt;     This method will be applied universally on all types of images .This method will use algorithms that are accepted globally.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;b) Lossy&lt;br /&gt;                 In this method image will be compressed but actual size and appearance will be lost. This method can be classified in to two categories.&lt;br /&gt;i) Time Domain&lt;br /&gt;This method is very important method the use the concepts of time domain that are very important for performing calculation based on time interval that is provided to particular frame. Time Domain will specify that how the frame will be shifted from one frame to another frame.&lt;br /&gt;ii) Frequency Domain&lt;br /&gt;       In this method frequency will be identified .Frequency means that how the pattern  &lt;br /&gt;       will be repeated again and again in the image. What ever the pattern has been used       &lt;br /&gt;       will be removed that will compress an image with sufficient amount of memory space.&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;         JPEG   Standards&lt;br /&gt;                       &lt;br /&gt;            This is the standard for still image. JPEG stands for Joint Photo Graphics Experts.This standard will be implement on color picture as well as black &amp; white picture. JPEG standard contains an extension “.jpg” that will be used for different multimedia application..&lt;br /&gt;There are three types of  JPEG&lt;br /&gt;&lt;br /&gt;a) Progressive JPEG &lt;br /&gt;        In this JPEG image will be stored  in series of scan with image.As scaning will be increased then sharpen to the image will progressive, in other word we can say the image get sharper when scanning increase from one part to another part of an image.&lt;br /&gt; &lt;br /&gt;b) Lossless JPEG  &lt;br /&gt;                             In this method we will use DCT method to transform an image. Lossless will an image in sharper form from the previous form of an image.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There is totally different between normal image compression and JPEG image compression.&lt;br /&gt;In normal image compression image will be transform and divided into different parts and different parts will be compared with symbol encoding  table. In JPEG same three steps are used but the difference between normal and JPEG the quality of compression. In JPEG First of all DCT Transform is performed and Quantization is performed the Huffman encoding algorithm is applied after that final compressed image will appears before us. When DCT transform is performed then image is sub divided into 8×8 parts and each part will handled separately.&lt;br /&gt;  &lt;br /&gt;                      Picture without                                 Picture with DCT Transform&lt;br /&gt;                       DCT Transform&lt;br /&gt;     The difference is clear by sharpness to an image. The picture without DCT transform having some distortion in an image and Image with DCT transform having less picture distortion in an image.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;3)   JPEG 2000 &lt;br /&gt;                              The JPEG (Joint Photographic Experts Group) 2000 standard, finalized in 2001, defines a new image-coding scheme using state-of-the-art compression techniques based on wavelet technology. Its architecture is useful for many diverse applications, including Internet image distribution, security systems, digital photography, and medical imaging.&lt;br /&gt;&lt;br /&gt;A lot of confusion exists as to what JPEG 2000 is and how it compares with other compression standards such as MPEG (Moving-Picture Experts Group) -2, MPEG-4, and the earlier JPEG. With brief comparisons to other compression standards, this article is primarily intended to highlight some of the often misunderstood and rarely mentioned potential-become-actual benefits of JPEG 2000.&lt;br /&gt;&lt;br /&gt;There are following area where JPEG 2000 are used.&lt;br /&gt;&lt;br /&gt;a) Digital Still Images&lt;br /&gt;                                  JPEG 2000 can be used to manage Digital Still Images. Digital Still can  be used in the following areas.&lt;br /&gt;Military&lt;br /&gt;a) Satellite Images&lt;br /&gt;b)High-Quality Transmission&lt;br /&gt;c)High-Quality Storage&lt;br /&gt;d)Remote Sensing&lt;br /&gt;Industrial&lt;br /&gt;a)High-Quality Storage&lt;br /&gt;b) Remote Sensing &lt;br /&gt;Medical&lt;br /&gt;a)High-Qualitystorage&lt;br /&gt;b)High-Qualityprocessing&lt;br /&gt;Consumer&lt;br /&gt;a)Mobilephones&lt;br /&gt;b)Palmpilots&lt;br /&gt;&lt;br /&gt;2)  Office Automation&lt;br /&gt; a) Copier&lt;br /&gt; b) Network&lt;br /&gt; c) Scanners&lt;br /&gt; d) Servers&lt;br /&gt;&lt;br /&gt;3) CCTV Security&lt;br /&gt; a) Motion Detection&lt;br /&gt; b) Network  Distribution&lt;br /&gt; c)  Storage&lt;br /&gt;4) Internet&lt;br /&gt; a) Image Databases&lt;br /&gt; b) Streaming Video&lt;br /&gt; c) Video  Servers&lt;br /&gt;&lt;br /&gt;JPEG Standard provides the following advantages to us&lt;br /&gt;&lt;br /&gt;1) It will unique standard to understand the format of an image&lt;br /&gt;2) This standard will be accepted globally.&lt;br /&gt;3) This standard will contains different version by which we can easily understand the format of an image&lt;br /&gt;4) This standard will DCT transform to get the better an image&lt;br /&gt;5) This standard will use an Huffman algorithm to convert them to sharpen picture.&lt;br /&gt;6) This standard provides better quality at high compression&lt;br /&gt;7) Using this standard we can easily control  rate control &lt;br /&gt;8) This standard provides flexible code stream features&lt;br /&gt;9) Using this standard we will improve the  Regions of Interest &lt;br /&gt;10)  This standard provides new file format &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q11  What is MPEG Standard&lt;br /&gt;       &lt;br /&gt;&lt;br /&gt;Ans .&lt;br /&gt;&lt;br /&gt;MPEG stands  for Moving Picture Experts Group. This is the standard for moving pictures. One of the best-known audio and video streaming techniques is the standard called MPEG (initiated by the Motion Picture Experts Group in the late 1980s). This paper focuses on the  video part of the MPEG video standards.Simply described, MPEG’s basic principle is to compare two compressed images to betransmitted over the network, and using the first compressed image as a reference frame (called  an I-frame), only sending the parts of following images (B- and P-frames) that differ from the  reference image. The network viewing station will then reconstruct all images based on the reference image and the “difference data” contained in the B- and P-frames. A typical sequence of I-, B-, and P-frames may look as below. Note that a P-frame may only reference a foregoing I- or P-frame, while a B-frame may reference both foregoing&lt;br /&gt;and coming I- and P-frames:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;At the cost of higher complexity, the result of applying MPEG video compression is that the amount of data transmitted across the network is less than that of Motion JPEG. This is  illustrated below where only information about the differences in the second and third frames is transmitted&lt;br /&gt;MPEG contains the following Standards&lt;br /&gt;a) MPEG-1&lt;br /&gt;b) MPEG-2&lt;br /&gt;c) MPEG-4&lt;br /&gt;d) MPEG-7&lt;br /&gt;e) MPEG-21&lt;br /&gt;&lt;br /&gt;a) MPEG-1&lt;br /&gt;&lt;br /&gt;The MPEG-1 standard was released in 1993 with the target application of storing digital video onto CDs. Therefore, most MPEG-1 encoders and decoders are designed for a target bit-rate of about 1.5Mbit/s at CIF resolution. For MPEG-1, the focus is on keeping the bit-rate relatively constant at the expense of a varying image quality, typically comparable to VHS video quality. The frame rate in MPEG-1 is   locked at 25 (PAL)/30 (NTSC) fps. &lt;br /&gt;  b)   MPEG-2&lt;br /&gt;MPEG-2 was approved in 1994 as a standard and was designed for high quality digital video  (DVD), digital high-definition TV (HDTV), interactive storage media (ISM), digital broadcast  video (DBV), and cable TV (CATV). The MPEG-2 project focused on extending the MPEG-1 &lt;br /&gt;compression technique to cover larger pictures and higher quality at the expense of a lower  compression ratio and higher bit-rate. MPEG-2 also provides additional tools to enhance the video quality at the same bit-rate; thus producing very high image quality when compared to other compression technologies. The frame rate is locked at 25 (PAL)/30 (NTSC) fps, just as in   MPEG- &lt;br /&gt;c) MPEG-4&lt;br /&gt;The MPEG-4 standard was approved in 2000 and is a major development from MPEG-2. In this section we’ll take a close look MPEG-4 to better understand terms and aspects such as: &lt;br /&gt;•   MPEG-4 profiles &lt;br /&gt;•   MPEG-4 short header and MPEG-4 long header &lt;br /&gt;•   MPEG-4 and MPEG-4 AVC &lt;br /&gt;MPEG-4 constant bit-rate (CBR) and MPEG-4 variable bit-rate (VBR) &lt;br /&gt;&lt;br /&gt;Because of the large number of techniques (tools) available in MPEG (especially MPEG-4) to reduce the bit-rate, the varying complexity of these tools, and the fact that not all tools are applicable to all applications, it would have been unrealistic and unnecessary to specify that all MPEG encoders and decoders should support all available tools. Therefore subsets of these tools for different image formats and target bit-rates have been defined.  There are a number of different subsets defined for each of the MPEG versions. Such a subset of tools is called an MPEG Profile. A specific MPEG Profile specifies exactly which tools the MPEG decoder shall support. In fact the requirements are in the decoder and the encoder does not have to make use of all available tools.  Furthermore, each profile exists at different Levels. The Level specifies parameters such as maximum bit-rate and supported resolutions. By specifying the MPEG Profile and Level, it’s possible to design a system that only uses the tools in MPEG that are applicable to the target application. MPEG-4 has a number of different profiles. Among them Simple Profile and Advanced Simple &lt;br /&gt;Profile are the most commonly used in security applications. While many tools are used by both of these profiles, there are some differences. For example, Simple Profile supports I-, and P-VOPs (frames), while I-, B-, and P-VOPs (frames) need to be supported by &lt;br /&gt;Advanced Simple Profile.&lt;br /&gt;                                Another difference between Simple Profile and Advanced Simple Profile is the supported range of  resolutions  and  bit-rates,  denoted  by  the  Level.  While  Simple  Profile  goes  up  to  CIF resolution and 384 kbit/s (at the L3 level), Advanced Simple Profile goes up to 4CIF resolution and 8000 kbit/s (at the L5 level).&lt;br /&gt;d) MPEG-21&lt;br /&gt;            MPEG -21   This standard is still under processing for image compression . This standard will be used to         &lt;br /&gt;           understand different vision technology and strategy available. This standard will provide different functions         &lt;br /&gt;         by which we will understand digital item declaration and digital item identification and description.    MPEG- &lt;br /&gt;         21 contains the following elements&lt;br /&gt; &lt;br /&gt;a. Vision, Technologies and Strategy&lt;br /&gt;b. Digital Item Declaration&lt;br /&gt;c. Digital Item Identification and Description&lt;br /&gt;d.    Rights Data Dictionary and Rights Expression Language&lt;br /&gt;&lt;br /&gt;Application of MPEG&lt;br /&gt;&lt;br /&gt;i) MPEG can be used for internet Video Streaming&lt;br /&gt;ii) It can be used for video content distribution&lt;br /&gt;iii) We can perform internet multimedia&lt;br /&gt;iv) We can prepare interactive video games&lt;br /&gt;v) Interpersonal Communication ( video conferencing and chatting etc.)&lt;br /&gt;vi) Networked Database Services( For Example ATM)&lt;br /&gt;vii) We can prepare Wireless Multimedia Application.&lt;br /&gt;&lt;br /&gt;                                     &lt;br /&gt;&lt;br /&gt;Advantage of MPEG&lt;br /&gt; i)  Graceful degradation: if bandwidth is reduced, image quality is maintained at the cost &lt;br /&gt;      of a lower frame rate &lt;br /&gt;ii)   Constant image quality: quality remains constant regardless of image complexity &lt;br /&gt;iii)  Interoperability: standard compression/decompression available on all PCs &lt;br /&gt;iv)  Low complexity: low-cost coding and decoding. Faster and simpler to perform content &lt;br /&gt;      searches and do image manipulation &lt;br /&gt;v)   less  computation-intensive:  many  channels  can  be  decoded  and  shown  on  a  PC &lt;br /&gt;      monitor &lt;br /&gt;vi)   Low latency: encoding and decoding relatively simple and resultant low latency means &lt;br /&gt;      it’s good for live video &lt;br /&gt;vii)  Clear individual images &lt;br /&gt;viii)   Resiliency: fast image stream recovery in the event of packet loss &lt;br /&gt;&lt;br /&gt;Disadvantage of  MPEG&lt;br /&gt;   i)     High bandwidth consumption at frame rates &gt; 5 fps &lt;br /&gt;   ii)    High storage requirements at frame rates &gt; 5fps&lt;br /&gt;   iii)   No support for synchronized sound. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q12 What do you understand by Intelligence Multimedia System ? What are its salient features of Intelligence Multimedia System.&lt;br /&gt;&lt;br /&gt;Ans.&lt;br /&gt;  As we know that multimedia system is the collections of different objects. Each objects will perform a specific task. In intelligence Multimedia System a Intelligence agent is used to perform the dialog between an application and user’s requirement. In intelligence Multimedia System two different models communicate with each other to share different types of resources attached with each computer. For Intelligence Multimedia System should have the following capabilities.&lt;br /&gt;&lt;br /&gt;1) System should be able to dialogue with the user.&lt;br /&gt;2) System would understand the rule of communication between user and system&lt;br /&gt;3) System should be capable to understand the input provided by the user.&lt;br /&gt;4) System should be enable to understand different types of dialogue happens between two system communication&lt;br /&gt;5) What ever the task will perform should have sufficient knowledge&lt;br /&gt;6) System should be capable to guide the user how to perform a particular task.&lt;br /&gt;7) Media should be handled according to the format of data accepted by the user.&lt;br /&gt;8) System should be capable to handle the interaction between different  objects.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Architecture of Intelligence Multimedia System&lt;br /&gt;      &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;                                                  Architecture of Intelligence Multimedia System &lt;br /&gt;According to the diagram  there are different types of devices that has been attached with the system for example Speech Input Device, Keyboard Device, Mouse Pointing Device,Mono Display and different other devices we attached with system. What ever the input we will provide that will be handled by input Coordinator and input coordinator will interact with multimedia interpreter. Interpreter will use knowledge sources that will contain different parts inside it, different parts inside it will understand input provided by the user. After understand the input output is generated the transmitted to output device.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Intelligence Multimedia System provides the following advantages&lt;br /&gt;&lt;br /&gt;1) It can understand different types of input&lt;br /&gt;2) It can convert one format to another format&lt;br /&gt;3) It will use the Intelligence with the help of Knowledge &lt;br /&gt;4) It can under user interaction &lt;br /&gt;5) It can perform the searching text and object&lt;br /&gt;6) It can provide the flexibility from one media to another media.&lt;br /&gt;7) It will provide different expression to understand the format of input.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q13   Explain DVI Technology&lt;br /&gt;Ans.&lt;br /&gt;The Digital Visual Interface (hereinafter DVI) specification provides a high-speed digital connection for visual data types that is display technology independent.   The interface is primarily focused at providing a connection between a computer and its display device.   The DVI specification meets the needs of all segments of the PC industry (workstation, desktop, laptop, etc) and will enable these different segments to unite around one monitor interface specification.&lt;br /&gt;&lt;br /&gt;The DVI interface enables:&lt;br /&gt;1) Lossless Creation &lt;br /&gt;                        When we use DVI technology the image is not loosed from creation to consumption. The lossless Creation will not affect resolution of an image. &lt;br /&gt;&lt;br /&gt;2) Display technology independence&lt;br /&gt;         Display Technology Independence means that DVI can be shifted from one location to another location.DVI will understand the format of different types.&lt;br /&gt;&lt;br /&gt;3) Plug and play through hot plug detection, EDID and DDC2B&lt;br /&gt;                    DVI will understand plug and play technology that will understand and detect the hardware that will attached with the system. Plug and Play will detect automatically different devices which we attached with the system.&lt;br /&gt;&lt;br /&gt;4) Digital and Analog support in a single connector&lt;br /&gt;DVI will use single connector to identify digital and analog signal that means conversion can be possible from one format to another format.&lt;br /&gt;&lt;br /&gt;              DVI technology can be classified into two category&lt;br /&gt;&lt;br /&gt;a) DVI Production Level Compression&lt;br /&gt;&lt;br /&gt;Production  Level Compression is an asymmetric approach where a large computer perform the compression and DVI hardware decompression. Production level compression can be used to compress Video that is generated by video player and other device that we attached with the system. Production level compress will compress the video at initial level of video that we take from initial state. When video is composed then different filter are applied on the  motion picture and animation. Production level compression will provide still image in start of dynamic image and fixed time is provided to each frame that will come after the first frame. DVI will perform the compression from frame to frame.&lt;br /&gt;&lt;br /&gt;Production Level Compression Provides the following advantages to us&lt;br /&gt;1) We can compress the video at initial level of video&lt;br /&gt;2) We can modify the resolution of image according to user requirement&lt;br /&gt;3) We can change the format of an image.&lt;br /&gt;4) We can easily change the size that is required by an image&lt;br /&gt;5) Production Level will identify the still image from one frame to another frame&lt;br /&gt;&lt;br /&gt;b) DVI Real Time Compression&lt;br /&gt;   DVI Real Time Compression will compress real time picture And video to get the proper output from video that we want to produced Real Time Compression will be applied on the Audio And Video. Image compression in Real Time Compression will done by a special hardware that  is implemented in device that has been attached with the system.&lt;br /&gt;1) Continous data stream :&lt;br /&gt;                                                       When we use real time compression that required small buffer space to store different block of data shifted for compression&lt;br /&gt;2) Fast &amp; efficient  &lt;br /&gt;                                        Real Time Compression is fast and efficient compression techniques.&lt;br /&gt;   3)  Required data is transmitted &lt;br /&gt;                                   Data  transmitted rate will be high if there is high speed server is available the required data can is compressed and transmitted for compression will be fast.&lt;br /&gt;    4) Reliability&lt;br /&gt;                                           If any packed is lost then other packet will not lost that will skip the lost packet and move to next packet.&lt;br /&gt;     5)Quality&lt;br /&gt;                  We can improve the quality of image by compression .&lt;br /&gt;&lt;br /&gt;    6) Fully supports interactivity Real time compression will support interactively to different other format in which we want to transfer the data.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Disadvantages&lt;br /&gt;1)  Requires special server technologies Real time compression technique required special server technologies.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q14  What do you understand by Desktop Virtual Reality.? Explain with the help of example&lt;br /&gt;Ans&lt;br /&gt;The term virtual reality was coined by Jargon Lanier in 1989.Virtual reality is synonymous with William Gibson’s concept of cyberspace and computer mediated communication (CMC) &lt;br /&gt;.Virtual reality is an ‘almost’ reality that exists in the realm of cyberspace, it is a reality created and mediated by computer technology. Virtual reality has no geographical location but it looks and feels real. Virtual reality is interactive, it immerses the participant&lt;br /&gt;&lt;br /&gt;Virtual Reality contains the following types.&lt;br /&gt;&lt;br /&gt;1) Entry VR&lt;br /&gt;&lt;br /&gt;                       This type of VR will contains simple computer with basic equipments. EVR will use VR Studio to make VR runtime and virtual environment.&lt;br /&gt;&lt;br /&gt;2) Basic VR&lt;br /&gt;&lt;br /&gt;                        This type of VR will contains some advanced features of Desktop. This type will add interactive and display enhancement. This type will add Stereographic viewer and input/output devices has been added like Gloves, Multi dimensional mouse or joystick.&lt;br /&gt;&lt;br /&gt;3) Advanced VR&lt;br /&gt;&lt;br /&gt;         In this type of VR we added rendering acceleration and frame buffer parallel processor for input handling etc. The main advantage has been done in the area of Display card. In this type of VR VGA and SVGA has been introduced that has change the entire view of display.&lt;br /&gt;&lt;br /&gt;4) Immersion VR&lt;br /&gt;                In this type of VR some new type of immersive display system has been added like HMD,a Boom or multiple large projection type display. This type of system has added more touch feedback to screen. The physical body is more fully engaged in terms of sensorial feedback. The physical body has some limited movement but is still constrained and is encumbered by technology .The body in VR is still a virtual body. More senses are catered to but the experience is still limited when compared to the rich sensorial environment of the real world&lt;br /&gt;&lt;br /&gt;5) Big Time VR&lt;br /&gt;Many of the more advanced system are being designed as software toolkits of operating system for VR. This workbench approach allows them to make the difference device rendering system. Some this type pf   system runs us distributed processors over a network of computers.&lt;br /&gt;&lt;br /&gt;Advantage of   VR&lt;br /&gt;&lt;br /&gt;a) Training&lt;br /&gt;                          Virtual Reality can be used for providing the training to employee of company,students, doctors and different other persons who required training . Training  can be related to  military training simulations [SIMNET], flight simulators, medical simulations, etc&lt;br /&gt;&lt;br /&gt;b) Risk-free experience&lt;br /&gt;                    As we know that VR will represent actual item.If we perform any operation on them that is totally Risk-Free Experience.&lt;br /&gt;&lt;br /&gt;c) Experiencing things you wouldn’t normally be able to experience&lt;br /&gt;                                     We can easily experience things easily by viewing demo on the system. Actually  the item on which we are performing experiment is not easy but we can perform easily on that item.&lt;br /&gt;&lt;br /&gt;d) Entertainment; fun, artistic expression&lt;br /&gt;                        VR can be used for fun ,entertainment  and different types of artistic expression. With the help of VR we can generate a animated movie and different other applications that can be used for fun point of view. Fun , Entertainment  will include games, sports simulations, virtual museums, virtual actors, virtual travel&lt;br /&gt;&lt;br /&gt;e) Telepresence applications&lt;br /&gt;                                           VR will provide the help to make Telepresence Application that are very popular now-a-days. Telepresence applications will include bomb defusing, remote operations in space or on the battlefield and in other dangerous or inaccessible locations &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Disadvantage of  VR&lt;br /&gt;a) Disengagement with real world&lt;br /&gt;               VR does not replace the real world object. Because real world objects contain sense but VR does not contains sense.&lt;br /&gt;b) VR replacing reality&lt;br /&gt;               Some time VR create confusion in the mind of user. because VR will replace reality of the world.&lt;br /&gt;c) People preferring VR to reality&lt;br /&gt;             People prefer VR to reality because VR totally indication of real world&lt;br /&gt;d) Addiction&lt;br /&gt;              As we know that we can make games and Fun Movies with the help of VR .The person who work on VR will be addicted&lt;br /&gt;e) Difficulty of distinguishing between virtual and real, ‘false realities represented in VR&lt;br /&gt;&lt;br /&gt;f) Psychological damage&lt;br /&gt;                Some time VR impact on psychological . There are some game who put effect on the mind of player who are playing on that game.&lt;br /&gt;g) Possible impacts on real body?&lt;br /&gt;                 Some time VR put effect on real world object by having animation on different objects.&lt;br /&gt;  &lt;br /&gt;                                       &lt;br /&gt;Limitation of VR&lt;br /&gt;&lt;br /&gt;a. Cost&lt;br /&gt;                        The Cost of  Virtual Reality System is High. Because it required large number of &lt;br /&gt;                         Devices that are costly.&lt;br /&gt;&lt;br /&gt;b. User disorientation and discomfit&lt;br /&gt;                   VR can not satisfy each and every user.In other word we can say that it is user &lt;br /&gt;                   Disorientation and  user will feel discomfit. Suppose one user like red color it may be  &lt;br /&gt;                    possible other user does not like that color.&lt;br /&gt;&lt;br /&gt;c. Non-intuitive interfaces&lt;br /&gt;                            Interface in VR will not be Intuitive. That means user can not understand &lt;br /&gt;                             interface because it is very complex and very typical.&lt;br /&gt;&lt;br /&gt;d. The key to improving the VR experience is improving the human computer interface&lt;br /&gt;                               It we want to improve VR system that means we have to improve Human &lt;br /&gt;                               Computer Interface. That required lot of research on Human Computer &lt;br /&gt;                                Interface.&lt;br /&gt;                     &lt;br /&gt;e. Making the technology external to the body&lt;br /&gt;                             Virtual Reality System is related to intelligence system of the human being. That &lt;br /&gt;                             is the limitation of Virtual Reality.&lt;br /&gt;                                                   &lt;br /&gt;&lt;br /&gt;Q15  What is digital audio/video? Why it is preferred over analog audio/video? Explain&lt;br /&gt;&lt;br /&gt;Ans ;&lt;br /&gt;            Digital Audio&lt;br /&gt;a digital audio system works by sampling (measuring) the instantaneous   voltage level of an analog signal at a single point in time  and then converting these samples  into an encoded word that digitally represents that voltage level. By successively measuring  changes  in  an  analog  signal’s  voltage  level (over  time)  this  stream  of  representative &lt;br /&gt;words can be stored in a form that represents the original analog signal. Once stored, the data &lt;br /&gt;can then be processed and reproduced ways that have changed the face of audio production &lt;br /&gt;forever. &lt;br /&gt;The Basics of Digital Audio &lt;br /&gt;The basic of Digital Audio contains two components&lt;br /&gt;  1)  Sampling &lt;br /&gt;In the world of analog audio, signals are passed, recorded, stored, and reproduced as changes   in voltage levels that continuously change over time . The digital recording pro-&lt;br /&gt;cess, on the other hand, doesn’t operate in a continuous manner; rather, digital recording  takes periodic samples of a changing audio waveform  and transforms these sampled signal levels into a representative stream of binary words that can be manipulated or stored for later processing and/or reproduction. Within  a  digital  audio  system,  the  sampling  rate  is  defined  as  the  number  of  measure- ments (samples) that are taken of an analog signal in one second. Its reciprocal (sampling time) &lt;br /&gt;is the elapsed time that occurs between each sampling period. For example, a sample rate   of 48 kHz corresponds to a sample time of 1/48,000th of a second. Because sampling is tied directly to the component of time, the sampling rate of a system determines its overall bandwidth, meaning that a system with higher sample rates is capable of storing more frequencies at its upper limit.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to this diagram this is the sample &lt;br /&gt;Rate for  a particular amplitude That is                                                                        Time &lt;br /&gt;Happing at high level&lt;br /&gt;                                                                                              Sampling&lt;br /&gt;                                                                                               Period&lt;br /&gt;Sample rate at small level of amplitude                                                                        Time&lt;br /&gt;&lt;br /&gt;                                                                                                Sampling Rate                                                                       &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sample rate at very small level of amplitude                                                                  &lt;br /&gt;                                                                                               Sampling Rata                       Time&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Quantization &lt;br /&gt;                  &lt;br /&gt;Quantization represents the amplitude component of the digital sampling process. It is used &lt;br /&gt;to translate the voltage levels of a continuous analog signal (at discrete sample points over &lt;br /&gt;time) into binary digits (bits) for the purpose of manipulating and/or storing audio data in the &lt;br /&gt;digital domain. By sampling the amplitude of an analog signal at precise intervals over time, &lt;br /&gt;it becomes the job of the converter to determine the exact voltage level of the signal (during the &lt;br /&gt;sample interval, when the voltage level is momentarily held) and then output an analogous &lt;br /&gt;set of binary numbers (as a grouped word of n-bits length) that represents the originally &lt;br /&gt;sampled voltage level. The resulting word is used to encodes the original voltage &lt;br /&gt;level with as high a degree of accuracy as can be permitted by the word’s bit length and the &lt;br /&gt;system’s overall design. &lt;br /&gt;&lt;br /&gt;         &lt;br /&gt;           Full Scale = 5V&lt;br /&gt;                                                                                                                       &lt;br /&gt;                                                                                                                                   Voltage at  Selected &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                                                                                                                                                     Voltage 2.5V&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                                                                                                                    Full Scale=5V&lt;br /&gt;                        &lt;br /&gt;                                                                                                      Selected Voltage&lt;br /&gt;                                                                                                                     Current Voltage=3.475&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                                                                                                              Voltage 2.5 V&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                                                                                                              Full Voltage =5V   &lt;br /&gt;                                                                                                                      Current Level =4.475&lt;br /&gt;                                                                                                       Selected Level of Voltage=3.98&lt;br /&gt;&lt;br /&gt;                                                       &lt;br /&gt;                                                                                                                                Voltage =2.5v                                                      &lt;br /&gt;                     According to the diagram we will decide the following concepts&lt;br /&gt;Using the ‘‘comparator’’ circuit, during each sample and hold period, the converter compares the input signal level with a given set of reference voltages (which are successively reduced in scale by one-half for each ‘‘bit’’) until an equivalent digital word has been determined.&lt;br /&gt; (a) If the signal is greater than the first reference voltage, the first bit gets a ‘‘1,’’ and if it’s lower than &lt;br /&gt;        thefirst reference voltage, the first bit gets a ‘‘0.’’ &lt;br /&gt;&lt;br /&gt;(b) If the signal is greater than the second reference voltage, the second bit gets a ‘‘1,’’&lt;br /&gt;              and if it’s lower than the second reference  voltage, the second bit gets a ‘‘0.’’ &lt;br /&gt;&lt;br /&gt;(c) If the signal is greater than the third reference voltage, the second bit gets a ‘‘1,’’ and if it’s&lt;br /&gt;              lower than the second reference voltage, the second bit gets a ‘‘0.’’ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Digital Video&lt;br /&gt;&lt;br /&gt;Digital video (DV) refers to the storage, manipulation and capture of video in digital formats. A digital video camera is a video camera that captures and stores images in digital format. These formats can be displayed on a television, computer or digital projector. Historically, analog video has been the primary format used. Digital video cameras are available in three various formats a)   DV tape, b) Hard drive and c) DVD.  DV tape is the most common format for Digital video cameras. The recorded images are stored onto a small digital video tape. Hard drive digital video cameras have the ability to store the recorded footage internally on the camera and do not require the purchase of additional media formats to store the video. DVD cameras have the ability to record the video footage onto a miniature DVD disk which upon completion of filming can be instantly watched on a DVD machine.  &lt;br /&gt;Digital video cameras enable users to capture, produce and edit broadcast-quality video. High quality images and digital video clips can be stored and reproduced on a computer, CD or writeable DVD or on the internet without any loss of quality. Analog video, on the other hand, has the quality of a videotape and this degrades each time it is reproduced. &lt;br /&gt;Possible Educational Uses &lt;br /&gt;&lt;br /&gt;Digital video cameras have enormous potential for impacting on pupil creativity, team building and higher-order thinking skills. They can be used to: &lt;br /&gt;      a) Record  school  excursions,  field  trips,  school  events  &lt;br /&gt;      b) Produce video clips for use in multimedia creations and for  inclusion on the school Web site&lt;br /&gt;      c) Prepare educational clips on subjects such as safety (road &lt;br /&gt;  safety, safety in the playground, etc.)&lt;br /&gt;      d) Record  student  role-playing  exercises,  e.g.,  in  difficult &lt;br /&gt; social  situations  for  subjects  such&lt;br /&gt;     e) Assist in language learning&lt;br /&gt;     f) Record interviews with visiting speakers, such as local historians, dignitaries, etc.,&lt;br /&gt;     Compile still images over a long period in order to produce time-lapse movies for  analysis&lt;br /&gt;    g) ncrease student awareness of the manipulative techniques used in advertising&lt;br /&gt;     Prepare mini-documentaries or news reports&lt;br /&gt;Technical Considerations &lt;br /&gt; &lt;br /&gt;PC Specifications &lt;br /&gt;A high specification PC or Mac is needed to edit video. It should have: &lt;br /&gt;a)    At least 500 MB of RAM (1 GB of RAM is recommended) &lt;br /&gt;b)    A relatively recently purchased PC or Mac with a fast processor &lt;br /&gt;c)    A minimum of 80GB of hard drive space, or 100GB or more if possible &lt;br /&gt;d)    A DVD Burner &lt;br /&gt;&lt;br /&gt;Hard Drive &lt;br /&gt;Recording digital video to the hard drive typically consumes 3.6MB per second. In other &lt;br /&gt;words, 9 minutes of video will fill about 2 gigabytes of disk space. The fastest spin speed &lt;br /&gt;available (usually 7,200 rpm) is recommended, as data needs to be moved from the hard disk &lt;br /&gt;to memory very quickly during editing. It is possible to install two hard drives and this could be &lt;br /&gt;a viable option for some schools. A smaller drive (20GB) can be used to hold the operating &lt;br /&gt;system and program files, and a larger, high-speed drive (100GB or higher) installed for the &lt;br /&gt;video files. &lt;br /&gt;Software &lt;br /&gt;Video-capturing software is required to edit video on the computer. This is often supplied with the digital video camera.  Presently there is basic digital video editing software on both contemporary Apple and Microsoft operation systems. &lt;br /&gt;Quality &lt;br /&gt;Video quality can generally be considered in terms of its horizontal resolution. This denotes the amount of discernable detail across the screen's width. Measured in lines, higher the number of lines, the better the picture quality. The quality of the different video formats varies quite considerably, as the list below illustrates: &lt;br /&gt;                                            •    Super VHS (SVHS) or Hi8 — approx. 400 lines &lt;br /&gt;•    Digital Video (MiniDV) or Digital 8 — approx. 500 lines &lt;br /&gt;Video-editing Card &lt;br /&gt;To edit video on a computer a video-editing card, such as the IEEE 1394 Card (FireWire or &lt;br /&gt;iLink) or equivalent is needed. However, most recent laptops and desktop computers come &lt;br /&gt;with the IEEE 1394 Card installed as standard. A portable TV can be connected to this card in &lt;br /&gt;order to view the video as it is being edited on computer, before it is outputted to digital video &lt;br /&gt;or VHS. &lt;br /&gt;Analog Input Connection &lt;br /&gt;Some digital video cameras have an analog input connection and this provides a means for &lt;br /&gt;analog video to be transferred across to a digital environment. If footage from TV or older &lt;br /&gt;VHS videos is likely to be used in video-editing exercises, it may be necessary to capture &lt;br /&gt;analog video first. In such instances, an analog input connection would be required. &lt;br /&gt;&lt;br /&gt;Digital Audio /Video Analog Audio /Video&lt;br /&gt;1) Digital Audio and video does not required any type of conversion 1) Analog Audio/Video required lot of conversion&lt;br /&gt;2) There is less chance of data lost 2) There is chance of data lost due to lack of conversion&lt;br /&gt;3) This is best for long time storage 3) It is used for shor time storage&lt;br /&gt;4) We can easily access the data that has been formatted in Digital Audio /Video 4) It required little bit of time to access Analog Audio/Video&lt;br /&gt;5) Digital Audio/Video Recording is good 5) Analog Audio/video Recording is not so good&lt;br /&gt;6) There is less chance of Disturbance from outside 6) There is chance of disturbance from out side&lt;br /&gt;7) It contains superior quality of sound and video 7) It does not contains superior quality&lt;br /&gt;8) Digital Audio/Video can be store on reliable storage medium 8)It can not be stored on reliable storage medium&lt;br /&gt;9) Compression of Audio/Video can be done at good level 9) Compression can not be done at good level&lt;br /&gt;10) Digital Audio/Video can be used for additional effects 10) Analog Audio/Video can not be used for additional Effects&lt;br /&gt;11) We can perform different types of manipulation on Audio/Video 11) We can not perform good manipulation of Audio/Video&lt;br /&gt;12) When storage medium of Digital Audio/Video is changed then quality of Audio/Video does not change 12) Quality of Audio/Video change every time storage medium is changed.&lt;br /&gt;13) We change Time Instants between Video and Audio 13) We can not change Time Instants between Video and Audio&lt;br /&gt;14) In digital Audio /Video we use a&lt;br /&gt;Nyquist Theorem to represent  Audio/Video 14) We can use Huffman/LWZ algorithms to show analog Audio/Video&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q16  Explain speech recognition and generation systems.&lt;br /&gt;&lt;br /&gt;Ans :&lt;br /&gt;      Speech Recognitio&lt;br /&gt;        Speech recognition is an alternative to traditional methods of interacting with a  computer, such as textual input through a keyboard. An effective system can   replace, or reduce the reliability on, standard keyboard and mouse input. This can  especially assist the following:&lt;br /&gt;&lt;br /&gt;    i)   people who have little keyboard skills or experience, who are slow typists, or do&lt;br /&gt;             not have the time or resources to develop keyboard skills.&lt;br /&gt;    ii) dyslexic people, or others who have problems with character or word use and&lt;br /&gt;            manipulation in a textual form.&lt;br /&gt;    iii)  people with physical disabilities that affect either their data entry, or ability to&lt;br /&gt;             read (and therefore check) what they have entered.&lt;br /&gt;&lt;br /&gt;A speech recognition system consists of the following:&lt;br /&gt;a)  a microphone, for the person to speak into.&lt;br /&gt;b) speech recognition software.&lt;br /&gt;c) a computer to take and interpret the speech.&lt;br /&gt;d) a good quality soundcard for input and/or output.&lt;br /&gt;&lt;br /&gt;Speech recognition systems used by the general public e.g. phone-based automated  timetable information, or ticketing purchasing, can be used immediately – the user  makes contact with the system, and speaks in response to commands and questions. However, systems on computers meant for more individual use, such as for personal  word processing, usually require a degree of “training” before use. Here, an individual user “trains” the system to understand words or word fragments ,this training is often referred to as “enrolment”. At the heart of the software is the translation part. Most speech recognition software breaks down the spoken words into phonemes, the basic sounds from   which syllables and words are built up. These are analyzed to see which string of these units best&lt;br /&gt;“fits” an acceptable phoneme string or structure that the software can derive from its  Dictionary. It is a common misassumption that such a system can just be used “out of the box”  for work purposes. The system has to trained to recognize factors associated with  the users voice e.g. speed, pitch. Even after this training, the user often has to speak  in a clear and partially modified manner in order for his or her spoken words to be  both recognised and correctly translated. Most speech recognition software is configured or designed to be used on a standalone computer. However, it is possible to configure some software in order to be  used over a network&lt;br /&gt;                              &lt;br /&gt;                                            &lt;br /&gt;                                             Speech Recognition System&lt;br /&gt;&lt;br /&gt;According to the diagram speech is given by the user that will move for signal processing after signal processing pattern matching will be performed. Pattern matching will be done with the help of Template Dictionary and finally we will get the required result.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Speech Recognition use the following steps to understand the speech given by the user.&lt;br /&gt;Step 1:&lt;br /&gt;                       Speech Recognition System will understand the Speech and break them into different parts.&lt;br /&gt;Step 2:&lt;br /&gt;                     Each part will be considered as parameter that will be passed to model which we are using to understand the speech&lt;br /&gt;Step 3:&lt;br /&gt;                     Speech Recognition System will activate all templates that contain the format of speech.&lt;br /&gt;Step 4:&lt;br /&gt;                       Parameters that will be produced from the speech will be compared with template.&lt;br /&gt;Step 5:&lt;br /&gt;                      Temple will contain spectral data that is compared with speech parameters.&lt;br /&gt;Step 6 :&lt;br /&gt;                    If parameters are match with template then proper signal are transmitted to device otherwise no action is taken.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantage of Speech Recognition&lt;br /&gt;&lt;br /&gt;a) We can understand the input given by the user in the form of sound&lt;br /&gt;b) We translate the voice given by the user&lt;br /&gt;c) We can make the difference between different types of voices.&lt;br /&gt;d) It is best for user who are not able to see the object&lt;br /&gt;e) It is best for individual words.&lt;br /&gt;&lt;br /&gt;   Disadvantage &lt;br /&gt;a) We have maintain different vocabulary &lt;br /&gt;b) Two person voice may be different that can create a problem  for system&lt;br /&gt;c) There are many words that contains different meaning Like “Sona” that means it is metal or sleeping state. At this moment system will be confused about the word that will make system process complex.&lt;br /&gt;d) It is not best when we are using connected word.&lt;br /&gt;e) Handling arbitrary user from population is very typical task.&lt;br /&gt;&lt;br /&gt;Speech Generation&lt;br /&gt;&lt;br /&gt;Speech is generate when voiced sound occurs when the vocal produce a more or less regular waveform. The speech will be depend on sound wavelength. If sound wavelength is good then sound will be good otherwise sound will not be good. Speech Generation can be performed with the following software&lt;br /&gt;1) Text to speech Software&lt;br /&gt;2) Encoding &lt;br /&gt;&lt;br /&gt;1) Text to Speech Software&lt;br /&gt;                                             This is software in which text is already given in the system. The text will be in machine-readable format such as ASCII format. The Text can be taken from character recognition system. Text to Speech system will convert the text symbols into a parameter stream representing sounds. &lt;br /&gt;&lt;br /&gt;Advantage of TTS&lt;br /&gt;a) This is the best way to hear the input that has been by the user.&lt;br /&gt;b) This is best software for blind people who can hear the sound&lt;br /&gt;c) TTS can be implemented on different languages.&lt;br /&gt;&lt;br /&gt;Disadvantage&lt;br /&gt;a) Multiple language will create a problem &lt;br /&gt;b) Two meaning word will create a problem for TTS&lt;br /&gt;c) Sound wave will create a  problem for TTS &lt;br /&gt;d) Generating multi language software is not so easy task.&lt;br /&gt;&lt;br /&gt;2) Encoding                                            &lt;br /&gt;       Encoding is a technique in which System will understand the text from user and convert that text in to different sounds. The text given by the user will be converted into different parameters of sound. The sound will be compared with already stored data stored   in template. Finally the speech will be generated according to text given by the user. Encoding will use a format that will be decided by system.&lt;br /&gt;&lt;br /&gt;Advantage&lt;br /&gt;1) We can convert a text into specific sound&lt;br /&gt;2) We can modify the text according to language required by us.&lt;br /&gt;&lt;br /&gt;Disadvantage&lt;br /&gt;1) Multi-language is biggest problem&lt;br /&gt;2) Different word with same meaning will create a problem.&lt;br /&gt; &lt;br /&gt;  &lt;br /&gt;Application Area of Speech Generation&lt;br /&gt;1) Speech generation can be used in Education system&lt;br /&gt;2) Speech generation can be used by railway reservation&lt;br /&gt;3) It can be used to announce text on sound devices&lt;br /&gt;4) It can be used when we can not understand the format of data.&lt;br /&gt;5) It can be used to understand the coding of data which we have accepted from the user.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                          &lt;br /&gt;Q17   Explain the Following Terms&lt;br /&gt;1) Temporal Instants&lt;br /&gt;2) Temporal Intervals&lt;br /&gt;3) Parallel and Sequential Relations&lt;br /&gt;4) Temporal Access Control&lt;br /&gt;5) Incomplete Timing&lt;br /&gt;&lt;br /&gt;Ans.&lt;br /&gt;1) Temporal Instants&lt;br /&gt;&lt;br /&gt;  The concepts will associates a unique sequential code to each frame associated with motion picture. Temporal Instants will synchronize image and audio with each other.In this scheme we will provide time interval to each elements. When we will use this scheme two problem will be faced by us.&lt;br /&gt;1) Time interval between audio and image is disturbed than other frame will be disturbed because of earlier disturbance. As we know that video is the combination of image and audio both are appear according to time interval provided by the user.&lt;br /&gt;2) Time difference between image and audio will create a problem to show video in proper manner. &lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;   Video with image and audio synchronization to show a video in proper order.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;      Video without image and audio synchronization will not show video in proper order&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Finally we can say that time Instants are important to decide the sequence of image and sound. &lt;br /&gt;&lt;br /&gt;2) Temporal Intervals&lt;br /&gt;                     Temporal Intervals can be used to represent different types of elements with a specific time interval. With the help of Temporal Intervals we can decide the sequence of audio and video which we want to place in   application. In earlier application time interval was decided based on one object, it means that one object time interval will decide the time interval for another object. Earlier temporal Intervals make parallel and sequential relationships between objects. When we use temporal interval then we can decide forward and reverse order of different types of audio and video.&lt;br /&gt;&lt;br /&gt;           &lt;br /&gt;   &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;     Final Picture                                                                     Object 2                     Object1                              &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to the diagram what ever time interval we will provide that will be depend on the user requirement. First of all object1 will be moved to object2 and finally picture will appear in the front of user.&lt;br /&gt;&lt;br /&gt;Advantage of Temporal Intervals&lt;br /&gt;1) We can decide the time interval between different elements of multimedia&lt;br /&gt;2) We can prepare the sequence of objects according to user requirement&lt;br /&gt;3) We  slow or fast the sequence of frame that has been placed in animation or multimedia application&lt;br /&gt;Disadvantage &lt;br /&gt;1) It will waste the system time&lt;br /&gt;&lt;br /&gt;c) Parallel and Sequential Relations&lt;br /&gt;         Parallel relations are that relation in which one object will make a relation with another object that contains the same number of objects and elements. Parallel relations in which we will compare the equality between two objects.&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;                  Parallel Relations Between two objects. According to the diagram Object1 part A contains the link with object2’s part D . same relation will be generated between two objects.&lt;br /&gt;Sequential Relations&lt;br /&gt;In Sequential Relations one object contains the link with another object in sequential manner, that means one object make a link with linked list between two objects.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;   &lt;br /&gt;According to the diagram object A contain the relationship with another object B and object B contain the relationship with C and C with D.&lt;br /&gt;&lt;br /&gt;Advantage &lt;br /&gt;1) Parallel relation will be used to check objects can be combined with each other or not&lt;br /&gt;2) Sequential relation will ensure the one object can be associated with another object with in the same class of object.&lt;br /&gt;&lt;br /&gt;d) Temporal Access Control&lt;br /&gt;  Temporal Access Control will provide the functionality on which time-based application can be developed Temporal Access Control provides the following identies&lt;br /&gt;1) Reverse&lt;br /&gt;2) Fast-Forward&lt;br /&gt;3) Fast-Backward&lt;br /&gt;4) Mid-Point Suspension&lt;br /&gt;5) Mid-Point Resumption&lt;br /&gt;6) Random Access&lt;br /&gt;7) Looping&lt;br /&gt;8) Sequential Access&lt;br /&gt;These operations can be implemented in various ways. For example Fast-Backward can be used to back the frame or back the entire frames at once.&lt;br /&gt; &lt;br /&gt;According to the diagram we forward or backward the frame according to user requirement.&lt;br /&gt;&lt;br /&gt;e)  Incomplete Timing&lt;br /&gt;&lt;br /&gt;Incomplete timing means that we will play time-dependent data are to be played in parallel with static ones Suppose  we want to display a particular picture without time interval then audio will not display according to time interval. Incomplete timing will not synchronized image and audio that means image and audio are not matching according to time interval given by the user. Incomplete time will display a picture for continuously with any type of audio disturbance or any another external problem.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q18. Explain Digital representation of sound&lt;br /&gt;Ans &lt;br /&gt;  Before a continuous, time-varying signal such as sound can be manipulated or analyzed with a digital computer, the signal must be acquired or digitized by an analog-to-digital (A/D) converter. The A/D converter repeatedly measures or samples the instantaneous voltage amplitude of an input signal at a particular sampling rate, typically thousands or tens of thousands of times per second. The digital representation of a signal created by the converter thus consists of a sequence of numeric values representing the amplitude of the original waveform at discrete, evenly spaced points in time. &lt;br /&gt;&lt;br /&gt;             &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This diagram indicate sample will be started at high level once it get down and up according to the sample given by the audio. When we represent the sound the we will consider the following options.&lt;br /&gt;1) Sample Rate&lt;br /&gt;   Canary’s Sound Recording dialog enables you to choose the sampling rate at which a signal is to be digitized. The choices available are determined by the A/D converter hardware and the program (called a device driver) that controls the converter; most converters have two or more sampling rates available.  The highest frequency available with the Macintosh built-in A/D converter depends on which model of Macintosh you are using. Commercial digital audio applications use higher sampling rates (44.1 kHz for audio compact discs, 48 kHz for digital audio tape). Once a signal is digitized, its sampling rate is fixed. The more frequently a signal is sampled, the more precisely the digitized signal represents temporal changes in the amplitude of the original signal. The sampling rate that is required to make an acceptable representation of a waveform depends on how rapidly the signal amplitude &lt;br /&gt;changes (i.e., on the signal’s frequency). More specifically, the sampling rate must be more than twice as high as the highest frequency contained in the signal. Otherwise, the digitized signal will have frequencies represented in it that were not actually present in the original at all. This appearance of phantom frequencies as an artifact of inadequate sampling rate is called aliasing . The highest frequency that can be represented in a digitized signal without aliasing is called the Nyquist frequency, which is half the frequency at which the signal was digitized. The highest frequency in a spectrogram or spectrum calculated by Canary is always the Nyquist frequency of the digitized signal. If the only energy above the Nyquist frequency in the analog signal is in the form of low-level, broadband noise, the effect of aliasing is to increase the noise in the digitized signal. However, if the spectrum of the analog signal contains any peaks above the Nyquist frequency, the spectrum of the digitized signal will contain spurious peaks below the &lt;br /&gt;Nyquist frequency as a result of aliasing. The usual way to guard against aliasing is to pass the analog signal through a low-pass filter (called an anti-aliasing filter) before digitizing it, to remove any energy at frequencies greater than the Nyquist frequency. (If the original signal contains no energy at frequencies above the Nyquist frequency or if it contains only low-level broadband noise, this step is unnecessary.) &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Aliasing as a result of inadequate sample rate. The same analog waveform is shown in both figures. Vertical lines indicate times at which samples are taken. &lt;br /&gt;&lt;br /&gt;(a) Sampling frequency approximately five times the signal frequency. &lt;br /&gt;&lt;br /&gt;(b) Sampling frequency approximately 1.5 times the signal frequency. The resulting digitized signal (gray waveform) exhibits aliasing: it portrays a waveform of lower frequency than the original analog signal. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Sample Size&lt;br /&gt;The precision with which a sample represents the actual amplitude of the waveform at the instant the sample is taken depends on the sample size or number of bits used in the binary representation of the amplitude value. Some A/D converters can take samples of one size only; others allow you to choose (usually through software) between two or more sample sizes. Some Macintosh models provide only 8-bit sampling capability; others allow you to choose between 8-bit and 16-bit samples. An 8-bit sample can resolve 256 (=28) different amplitude values; a 16-bit converter can resolve 65,536   (=216) values. Sound recorded on audio CDs is stored as 16-bit samples. When a sample is taken, the actual value is rounded to the nearest value that can be represented by the number of bits in a sample. Since the actual analog value of signal amplitude at the time of a sample is usually not exactly equal to one of the discrete values that can be represented exactly by a sample, there is some error inherent in the process of digitizing, which results in quantization noise in the digitized &lt;br /&gt;signal. The more bits used for each sample, the less quantization noise is contained in the &lt;br /&gt;digitized signal. &lt;br /&gt;                  &lt;br /&gt;                 &lt;br /&gt;&lt;br /&gt;Digitizing error with a hypothetical 2-bit sample size. 2-bit samples can &lt;br /&gt;represent only four different amplitude levels. At each sample time (vertical lines), &lt;br /&gt;the actual amplitude levels are rounded to the nearest value that can be represented &lt;br /&gt;by a 2-bit sample (horizontal lines). The amplitude values stored for most samples &lt;br /&gt;(black dots) are slightly different from the true amplitude level of the signal at the time &lt;br /&gt;the sample was taken.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q19 Explain the Quality of Service (QOS) based Resource Control, QOS-based memory management. Timed I/O management and Programming support. &lt;br /&gt;Ans&lt;br /&gt;           Quality of Service:&lt;br /&gt;     Parameterization  of  the  services  is  defined  in  ISO (International  Standard Organization)  standards  through  the  notion  of  Quality of Service (QoS).  The  ISO standard defines QoS as a concept for specifying how “good” the offered networking services are.   QoS can be characterized by a number of specific parameters. There are several important issues which need to be considered with respect to QoS&lt;br /&gt;&lt;br /&gt;Quality of service Based resource Management:&lt;br /&gt;QoS guarantees must be met in the application, system and network to get the  acceptance of the users of MCS.   There are several constraints which must be satisfied to  provide guarantees during multimedia transmission:&lt;br /&gt; (1) Time constraints which include delays&lt;br /&gt;     Time constraints means that what ever the task is going on should be performed in a particular time.&lt;br /&gt;Time constraints can be classified into two categories.&lt;br /&gt;a) Preemptive&lt;br /&gt;     Preemptive means that we will provide a specific time to each multimedia process that we want to &lt;br /&gt;      execute or process.&lt;br /&gt;b) Non-Preemptive&lt;br /&gt;    Non-Preemptive means that we will not provide any time to any process. Any process will wait until   &lt;br /&gt;    the first process is not over.&lt;br /&gt;     This constraint will handle the time delay that is coming during the transmission of data from one location to another location. QOS will ensure that continuous multimedia application should be capable to maximize or minimize the execution time of an application.&lt;br /&gt;&lt;br /&gt; (2) Space constraints such as system buffers&lt;br /&gt;                             This constraints we will consider the storage space required to run and store continuous multimedia application. In this constraints we will decide the memory allocation ,buffer allocation to multimedia application.   &lt;br /&gt;&lt;br /&gt;(3) Device constraints such as frame grabber’s allocation&lt;br /&gt;       In this constraint we will consider the device features about to display proper application on the device or not. We will check different types of errors that can come during the display of a particular picture, image and animation.&lt;br /&gt; (4) Frequency constraints which include network bandwidth and system bandwidth for data transmission  &lt;br /&gt;   In this constraint we will check network bandwidth and system bandwidth for data transmission. If both are good the data will be transmitted quickly and fast. Network bandwidth will decide the sharing of data between two systems and system bandwidth will decide the resource sharing among different parts of the system.&lt;br /&gt;(5) Reliability constraints. &lt;br /&gt;                       The reliability constraints means that if any system is not working then other system can share the work load that has been placed on that system.&lt;br /&gt;&lt;br /&gt;These constraints can be specified if proper resource management is available at the end-points, as well as in the network&lt;br /&gt; QOS based Memory Management&lt;br /&gt;&lt;br /&gt;           Quality of Service Memory Management will ensure the multimedia system will take proper memory and format of storage. QOS based memory management will consider the following factors&lt;br /&gt;1) Windows Size Adjustment&lt;br /&gt;                Windows size adjustment will ensure that memory will be adjusted according to the size of the window. If window size is large then it will occupy more memory otherwise it will occupy less memory. In QOS we have to be careful about memory allocation&lt;br /&gt;&lt;br /&gt;2) Time Adjustment&lt;br /&gt;Time Adjustment means that time should be taken for accessing the data from memory should be less as well time taken to process the data should be less.&lt;br /&gt;&lt;br /&gt;3) Sub query &lt;br /&gt;                      We use perform a sub query then memory should be able to understand the sub query and return the result back to user. Sub Query should be written in a manner to get output quickly and fast&lt;br /&gt;&lt;br /&gt;4) Sub Metadata&lt;br /&gt;            QOS will ensure that what the data we are providing that must be capable to handle the metadata we enter in the multimedia database.&lt;br /&gt;&lt;br /&gt;Timed I/O management&lt;br /&gt;                                            As we know that importance of right input and output in continuous media application. Time Input output management we will consider the following factors&lt;br /&gt;1) input format&lt;br /&gt;QOS will ensure that what ever the input are providing to multimedia continuous system should be able to understand that format.&lt;br /&gt;2) output format&lt;br /&gt;QOS will ensure that what ever the output will come from the Multimedia Continuous System should be according to user requirement.&lt;br /&gt;3) proper processing&lt;br /&gt;System should be able to process the input and produce the proper output to the user.&lt;br /&gt;&lt;br /&gt;Programming Support&lt;br /&gt;                QOS programming Support means that program which has written should be good. Programming support should have the following options.&lt;br /&gt;1) Thread&lt;br /&gt;                QOS will ensure that thread which we want to execute should be able to perform the task that has been assign to the thread. QOS will ensure that multiple thread can be execute equally.&lt;br /&gt;2) Error&lt;br /&gt;If there is any error in the program or thread should be handled easily. If any part of program is effected by error should be removed without effecting other parts of the program.&lt;br /&gt;3) Time Constraints&lt;br /&gt;Time Constraints means that thread should be executed with in the time limit given by the user. Time Constraints will be depend on the coding that we have given in the thread.&lt;br /&gt;Q20 Explain Media Stream Protocol&lt;br /&gt;&lt;br /&gt;Ans:&lt;br /&gt;        Media Stream Protocol is such protocol which has the purpose to convey media along with required information for time-critical delivery, regulation. Media stream protocol will handle media data of an opaque entity in which no data is visible to the user.&lt;br /&gt;Media Stream Protocol contains the following options inside it.&lt;br /&gt;&lt;br /&gt;1) Time Stamp&lt;br /&gt;               Time stamp indicate that on which date data has been transmitted from one computer to another computer. Time Stamp will vary from transaction to another transaction.  Time Stamp will provide the information about the data and related metadata&lt;br /&gt;&lt;br /&gt;2) Duration&lt;br /&gt;          Media Stream Protocol will check duration of data transmission from one location to another location. Duration is an important because duration is high the data transmission will be slow otherwise data transmission will be fast.&lt;br /&gt;&lt;br /&gt;3) Priority&lt;br /&gt;Priority means that which will be passed first and which will be passed second. Priority will be given based on format of data which we want to transfer from one computer to another computer.&lt;br /&gt;&lt;br /&gt;4) Dependency Information&lt;br /&gt;Dependency information means that whether one data is dependent on another data or not. Dependency information will provide enough information to know about the data.&lt;br /&gt;&lt;br /&gt;Q21 Explain an application of multimedia in Manufacturing&lt;br /&gt;&lt;br /&gt;Ans.&lt;br /&gt;&lt;br /&gt;It has now been widely accepted that the future of  manufacturing organizations will need to be information- oriented, knowledge driven and much of the daily operations should be automated around the  global information network that connects everyone  together.&lt;br /&gt;As scientific visualization enables engineers and scientists to examine data efficiently with a large degree of comprehension, multimedia in conjunction with visualization can be the vehicle for information  and knowledge exchange and the Internet would be  there to enable connection to globally distributed  resources and personnel.&lt;br /&gt;The Internet is proving itself to be a powerful medium for business communications. It appears as a&lt;br /&gt;Shimmering ocean of digital information. Professional journals, literary classics, national news services,  stock reports, virtual communities, image  databases, and digital libraries are just some of the  wonders awaiting the uninitiated.&lt;br /&gt;Graphical browsers provide intuitive point-and-click access.&lt;br /&gt;Powerful search tools combine with intelligent software agents to put a global network of information at users’ fingertips.&lt;br /&gt; In the past few years, a diverse range of tools for resource discovery on the Internet have become available. Each tool serves a slightly different purpose. These tools carry the searcher into the brave new information society of tomorrow. &lt;br /&gt; With the advancement of production automation, the involvement of digital computers in the design  and manufacture of products is increasing rapidly. &lt;br /&gt; The use of computers in design and manufacturing constitutes the most significant opportunity for substantial productivity gains in industry today. CAD, CAM and CNC play an important role in this con- text. Computer-aided design_CAD.can be described as any design activity that involves the effective use  of the computer to create or modify an engineering design. &lt;br /&gt;There are two basic reasons for using the computer in the design of a product: &lt;br /&gt;&lt;br /&gt;(1) to increase the productivity of the designer &lt;br /&gt;(2) to create a database for manufacturing. &lt;br /&gt;The product designer uses the interactive graphics system to establish the geometry, dimensions, and tolerances for the various parts. These same design data can be displayed for the process planner to use in preparing generating the NC part program. &lt;br /&gt;Though there are many advantages of&lt;br /&gt;computer integrated manufacturing, it is evident that  the unit cost will be much higher if the system&lt;br /&gt;capacity is not properly utilised. &lt;br /&gt;To achieve proper  utilisation of the facilities, sufficient and continuous  demand from the customer is a necessary condition.    In such situations the Internet can help users, retailers  and the manufacturers, to find the appropriate  facility and users. Based on their long term plan,  external demand and cost-benefit analysis, the manufacturer may have the option of purchasing the facility and establishing it in their own site or fabricating  from elsewhere using the Internet. It is like a make  or buy decision. In addition, the users and manufacturing  companies wishing to fabricate their products&lt;br /&gt;using distant facilities may also search for the fabrication  service providers through the Internet according&lt;br /&gt;to their requirements.  CAD and CAM technology has been successfully  diffused within the manufacturing industry, resulting&lt;br /&gt;in significant improvements in productivity and competitiveness  during the past two decades. Though  CAD and CAM technology was developed in 1970s,  this is still a single user application tool. The capability  of CAD and CAM technology has been increased in  recent years. The recent trend towards global manufacturing has led to sharp increases in multinational and multi-location enterprises. The number of multinational  companies has increased from 7000 in 1969 to 24 000 in 1995 w18x. &lt;br /&gt;This is also the trend in manufacturing globalization. The increased trend towards manufacturing&lt;br /&gt;globalization has led to the need for collaborative  CADrCAM systems w23x. In collaborative CAD and CAM, a combination of communication tools including e-mail, multimedia, video conferencing,  WWW hypertext browser and viewer, 3D CAD geometry  viewer and annotator w15x is essential. These tools can together form a feasible multimedia conferencing&lt;br /&gt;environment through the Internet w27x. The  developed model can be exchanged among the geographically&lt;br /&gt;dispersed designers via e-mail after making  annotations. However, the designers cannot concurrently and interactively coedit the CAD geometry.  This is because the file size for a CAD model is usually very big, while e-mail is not designed for  sending large files. The present focus of collaborative CAD and CAM research is to develop a system for&lt;br /&gt;coediting CAD geometry interactively and using  CAM for remote manufacturingw18–20,23x.  With the advancement of manufacturing technology and communication tools, a product designed on  one side of the world can be tested, analyzed and manufactured in another part of the world on a real  time basis. Considering this, an attempt has been made to investigate the uses of the Internet and multimedia in distance design and manufacturing,  and the scope for future research. It is expected that the use of the Internet and multimedia in manufacturing will increase the productivity of this sector and &lt;br /&gt;&lt;br /&gt; The benefits of  multimedia in manufacturing are&lt;br /&gt;&lt;br /&gt;a)  Elimination of travel time and associated expenditure&lt;br /&gt;&lt;br /&gt;b)  Availability of world wide experts&lt;br /&gt;&lt;br /&gt;c)  Maximum possible use of scare expertise&lt;br /&gt;&lt;br /&gt;d)  Elimination of design duplication and excessive design costs&lt;br /&gt;&lt;br /&gt;e)  Reduced design and production lead time&lt;br /&gt;&lt;br /&gt;f)  The production of the right product at the right  place&lt;br /&gt;&lt;br /&gt;g)  Elimination of product shipment time and costs&lt;br /&gt;&lt;br /&gt;h)  Better utilization of manufacturing capacity in remote locations&lt;br /&gt;&lt;br /&gt;i)  Increased competitiveness and profit, etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q22 .Explain an application of multimedia in Education&lt;br /&gt;&lt;br /&gt;Ans .&lt;br /&gt;                   There are following areas where we can use Multimedia&lt;br /&gt;a) Virtual Lesson  &lt;br /&gt;                With the help of multimedia we can prepare Virtual Lessons for the students who are not be &lt;br /&gt; able to attend the classes. Or the students who are staying at remote area where education is not possible. With the help of Multimedia we prepare different lessons of basic knowledge that can be given to students easily.&lt;br /&gt;b) Books on CD&lt;br /&gt;                         We can prepare CD that contains different lessons on a single CD. One student can purchase a single CD that will contain different lessons inside it.&lt;br /&gt;c) Encyclopedia  &lt;br /&gt;                              With the help of Multimedia we can prepare Encyclopedia that will contain different types of information that can guide a student, person to know about the different facts available in the world.&lt;br /&gt;d) Internet &lt;br /&gt;                                 With the help of multimedia we can prepare different animation ,picture or interactive text that can display on the web pages.  Multimedia contains different software by which we can prepare interactive application that can be uploaded on internet.&lt;br /&gt;e) Learning&lt;br /&gt;                                   With the help of multimedia we can prepare different learning program for kids, , new user ,expert user or different types of user. Learning program can be related to programming , software ,hardware etc.&lt;br /&gt;f) Smart Classes &lt;br /&gt;                              With the help of multimedia we can prepare smart classes the can teach a particular student much better than normal class.&lt;br /&gt;g) Online Journals and Magazine &lt;br /&gt;                                                     we can use different types of journals and magazine available on the internet. We can download  or view the document online with the help of different web browser available to us.&lt;br /&gt;h) On-line learning&lt;br /&gt;                                      There are different programs available that provide on-line learning to us.&lt;br /&gt;i) On-line exam.&lt;br /&gt;                                    Multimedia provides the facility by which we give on-line examination of different examination.&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;                                     &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q23. Explain Bit stream Syntax of MPEG&lt;br /&gt;&lt;br /&gt;Ans  The bit stream Syntax of MPEG play very important role to handle motion pictures.&lt;br /&gt;The bit stream Structure contains the following six layers that play very important role.&lt;br /&gt;&lt;br /&gt;1) Sequence Layer &lt;br /&gt;                                       This layer of bit stream will decide the sequence of different frames. This layer will decide the time interval that is given to each frame. This layer will handle the frame according to the time constraints provided by the programming&lt;br /&gt;2) Group of  Pictures Layer&lt;br /&gt;This layer will contains a group of pictures that will appear on motion video. As we know that motion picture is the sequence of different frames that come one by one. This layer responsibility to increase the level of picture one by one according to the time interval&lt;br /&gt;3) Picture Layer&lt;br /&gt;This layer is responsible to display a picture according to the group of pictures. This layer will show the picture according to the sequence decided by the user.&lt;br /&gt;4) Slice Layer  &lt;br /&gt;                                     This layer will divide a picture into different sub-pictures and each sub-picture will perform a specific task. As well as we can implement different types of animation on them.&lt;br /&gt;      5)  Macro block Layer&lt;br /&gt;                                      This layer will make 16×16 blocks to adjust the picture. This layer will not disturb the picture or we can say that picture will remain in real form in which it has been placed.&lt;br /&gt;6) Block Layer &lt;br /&gt;                                This layer will make 8×8 block of memory to adjust an image to intracode ,composed ,interpolated different parts of the picture.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantage of BitStream Structure&lt;br /&gt;&lt;br /&gt;1) This structure will provide a sequence to different frames which we want to display in MPEG&lt;br /&gt;2) This structure will follow a sequence that will design a animation or picture&lt;br /&gt;3) This structure can be implemented on group of images or pictures.&lt;br /&gt;4) This structure will improve the performance of  multimedia application&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q24  Explain various stages for multimedia application development&lt;br /&gt;&lt;br /&gt;Ans     Stages of Multimedia Application Development&lt;br /&gt;&lt;br /&gt;A Multimedia application is developed in stages as all other software are being&lt;br /&gt;developed. In multimedia application development a few stages have to complete before&lt;br /&gt;other stages being, and some stages may be skipped or combined with other stages.&lt;br /&gt;Following are the four basic stages of multimedia project development :&lt;br /&gt;&lt;br /&gt;1. Planning and Costing : This stage of multimedia application is the first stage  which begins with an  idea or need. This idea can be further refined by outlining its messages and objectives. Before starting to develop the multimedia project, it is necessary to plan what writing skills, graphic art, music, video and other  multimedia expertise will be required.  It is also necessary to estimate the time needed to prepare all elements of multimedia and prepare a budget accordingly. After preparing a budget, a&lt;br /&gt;prototype or proof of concept can be developed.&lt;br /&gt;&lt;br /&gt;2. Designing and Producing : The next stage is to execute each of the planned  tasks and create a finished product. &lt;br /&gt;&lt;br /&gt;3. Testing : Testing a project ensure the product to be free from bugs. Apart from  bug elimination another aspect of testing is to ensure that the multimedia  application meets the objectives of the project. It is also necessary to test whether the multimedia project works properly on the intended deliver platforms and they meet the needs of the clients.&lt;br /&gt;&lt;br /&gt;4. Delivering : The final stage of the multimedia application development is to pack&lt;br /&gt;the project and deliver the completed project to the end user. This stage has&lt;br /&gt;several steps such as implementation, maintenance, shipping and marketing the&lt;br /&gt;product.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       &lt;br /&gt;Q25  Explain Breifly&lt;br /&gt;(a) Hybrid System&lt;br /&gt;    Ans   &lt;br /&gt;      By using existing technologies, integration and interaction between analog and&lt;br /&gt;digital environments can be implemented. This integration approach is called the hybrid&lt;br /&gt;approach.  The main advantage of this approach is the high quality of audio and video and all&lt;br /&gt;the necessary devices for input, output, storage and transfer that are available. The  hybrid approach is used for studying application user interfaces, application  programming interfaces or application scenarios.&lt;br /&gt;&lt;br /&gt;Integrated Device Control&lt;br /&gt;One possible integration approach is to provide a control of analog input/output   audio-video components in the digital environment. Moreover, the connection between   the sources (e.g., CD player, camera, microphone) and destinations (e.g., video recorder,  write-able CD), or the switching of audio-video signals can be controlled digitally. &lt;br /&gt;&lt;br /&gt;Integrated Transmission Control&lt;br /&gt;A second possibility to integrate digital and analog components is to provide a&lt;br /&gt;common transmission control. This approach implies that analog audio-video sources and&lt;br /&gt;destinations are connected to the computer for control purposes to transmit continuous&lt;br /&gt;data over digital networks, such as a cable network.&lt;br /&gt;&lt;br /&gt;Integrated Transmission&lt;br /&gt;The next possibility to integrated digital and analog components is to provide a&lt;br /&gt;common transmission network. This implies that external analog audio-video devices are&lt;br /&gt;connected to computers using A/D (D/A) converters outside of the computer, not only for&lt;br /&gt;control, but also for processing purposes. Continuous data are transmitted over shared&lt;br /&gt;data networks.&lt;br /&gt;&lt;br /&gt;(b) Multimedia Workstation&lt;br /&gt; Ans &lt;br /&gt;&lt;br /&gt; A multimedia workstation is designed for the simultaneous manipulation of discrete&lt;br /&gt;and continuous media information. The main components of a multimedia workstation&lt;br /&gt;are:&lt;br /&gt;1) Standard Processor(s) for the processing of discrete media information.&lt;br /&gt;2) Main Memory and Secondary Storage with corresponding autonomous  controllers.&lt;br /&gt;3) Universal Processor(s) for processing of data in real-time (signal processors).&lt;br /&gt;4) Special-Purpose Processors designed for graphics, audio and video media&lt;br /&gt;5) Graphics and video Adapters.&lt;br /&gt;6) Communications Adapters (for example, the Asynchronous Transfer Mode Host Interface.)&lt;br /&gt;7) Further special-purpose adapters.&lt;br /&gt;&lt;br /&gt;(c) Application of multimedia in medical&lt;br /&gt;&lt;br /&gt;  There are following areas of medical where we can use multimedia&lt;br /&gt;1) we provide  the training to new doctors with the help of multimedia For Example MYCIN expert system&lt;br /&gt;2) We transfer the information from one system to another system with the help of internet&lt;br /&gt;3) We can also discuss different critical medical problem with other experts who are working in remote country. We can communicate with that doctor with the help Video-Conferencing, Chatting.&lt;br /&gt;4) We can prepare different types of presentation for physicians ,cardiologists and other medical professionals.&lt;br /&gt;5) Doctor can perform the operation without sitting with patient .doctor can sit in one room and patient can be another room.&lt;br /&gt;6) With the help of multimedia we can see the working of human body.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                BCA 6th Semester Examination&lt;br /&gt;MULTIMEDIA AND APPLICATIONS&lt;br /&gt;Paper-BCA-308&lt;br /&gt;&lt;br /&gt;Time : 3 Hours        M.M : 75&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Attempt any five questions. All questions carry equal marks.&lt;br /&gt;&lt;br /&gt;1. a) What are Multimedia Computers? Explain the hardware requirement for &lt;br /&gt;multimedia computers.&lt;br /&gt; b) What are multimedia and presentation devices? Give two examples of each.&lt;br /&gt; c) What are Multimedia Communication systems?&lt;br /&gt;2. a) Explain the frame work for Multimedia System. &lt;br /&gt; b) Explain the entertainment devices and entertainment computers.&lt;br /&gt;3. a) What is graphical representation of digital and analog sound waves?&lt;br /&gt;  b)      Explain the speech generation and recognition in multimedia.&lt;br /&gt; 4. a) Explain Motion Picture Coding Expert Group (MPECG) of motion video&lt;br /&gt;  compression standard.&lt;br /&gt;b) Explain the Digital Video Interactive (DVI) of motion video compression technique.&lt;br /&gt;5. a) explain the parallel and sequential rotation, incomplete timing, temporal access control and temporal transformation. &lt;br /&gt; b) Explain the multimedia software environments.&lt;br /&gt;6. a) Explain goals and functions of multimedia system services. &lt;br /&gt;    b) Explain Operating system support for continuous media &lt;br /&gt; application for multimedia.&lt;br /&gt;7. a) Explain the multimedia file system and traditional file system.&lt;br /&gt; b) Explain data model for multimedia and Hypermedia information.&lt;br /&gt;8. a) Describe in detail the intelligent multimedia system.&lt;br /&gt; b) Explain virtual reality operating system.  &lt;br /&gt; c) Describe the distributed virtual environment system. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BCA 6th SEMESTER EXAMINATION&lt;br /&gt;MULTIMEDIA AND APPLICATIONS&lt;br /&gt;PAPER-BCA-308&lt;br /&gt;&lt;br /&gt;Time: 3 Hours        M. M.: 75&lt;br /&gt;&lt;br /&gt;Note:- Attempt any five questions. All questions carry equal marks.&lt;br /&gt; &lt;br /&gt;1. a) What is multimedia? Explain about multimedia computers.&lt;br /&gt;b) Explain multimedia devices for communication&lt;br /&gt;2.  What are entertainment devices? Explain the working and use of any two entertainment devices.&lt;br /&gt;3. a) Describe the media creation tools and explain with two examples.&lt;br /&gt;     b) Explain the digital presentation of sound.&lt;br /&gt;4. a) Explain the transmission of digital sound wages.&lt;br /&gt;    b) Describe the graphical presentation of sound waves.&lt;br /&gt;5. a) Explain in detail temporal interval, temporal access control and temporal &lt;br /&gt;transmission.&lt;br /&gt;b) Explain the limitation of workstation operating systems.&lt;br /&gt;6. a) Explain the application of multimedia and intelligent multimedia systems.&lt;br /&gt;    b) Describe in detail media stream protocol.&lt;br /&gt;7. a) Differentiate between digital file system and multimedia file system.&lt;br /&gt;    b) Describe in detail virtual reality operating system.&lt;br /&gt;8. a) Describe in detail data models for multimedia and hypermedia information.&lt;br /&gt;    b) Explain the application of multimedia environments in business and &lt;br /&gt;education. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BCA 6TH SEMESTER EXAMINATION&lt;br /&gt;MULTIMEDIA AND APPLICATIONS&lt;br /&gt;PAPER-BCA-308&lt;br /&gt;&lt;br /&gt;Time: 3 Hours        M.M.: 75&lt;br /&gt;&lt;br /&gt;Note: Attempt any five questions. All questions carry equal marks.&lt;br /&gt;&lt;br /&gt;1.  a) Explain the multimedia and multimedia computers.&lt;br /&gt;b) Explain the multimedia communication and entertainment devices.&lt;br /&gt;2.  a) Explain the multimedia multi service network model.&lt;br /&gt;b) Explain the multimedia conferencing model.&lt;br /&gt;3.  a) Describe the media creation tools and explain with two examples.&lt;br /&gt;b) Explain the digital representation of sound.&lt;br /&gt;4.  a) Explain the graphical representation of sound waves.&lt;br /&gt;b) Explain the transmission of digital sound.&lt;br /&gt;5.  a) Described MPEG motion video compression standard.&lt;br /&gt;b) Explain the digital image and video compression method.&lt;br /&gt;6.  a) Explain the goals of multimedia system services.&lt;br /&gt;b) Explain the Quality of Service (QOS) based Resource Control, QOS-based memory management. Timed I/O management and Programming support. &lt;br /&gt;7. a) Explain the goals of multimedia system services.&lt;br /&gt;b) Described in detail multimedia file system and traditional file system.&lt;br /&gt;8. a) Explain the virtual environment display.&lt;br /&gt;b) Describe the data models for multimedia and hypermedia information.&lt;br /&gt;c) Explain the intelligent multimedia systems.&lt;br /&gt; &lt;br /&gt;BCA 6TH SEMESTER EXAMINATION&lt;br /&gt;MULTIMEDIA AND APPLICATIONS&lt;br /&gt;PAPER-BCA-308&lt;br /&gt;&lt;br /&gt;Time  : 3 Hours        M. M.: 75&lt;br /&gt;&lt;br /&gt;Note: Attempt any five questions. All questions carry equal marks.&lt;br /&gt;&lt;br /&gt;Q.1 a) What is multimedia? What are its various components? Explain in detail.&lt;br /&gt; b) Discuss the concept of Multimedia computers briefly.&lt;br /&gt;Q.2 a) Write and describe the framework for Multimedia system.&lt;br /&gt;b) What is graphical representation of digital and analog sound waves? Explain through examples. &lt;br /&gt;Q.3 a) What do you mean by time-based media representation and delivery? &lt;br /&gt;Explain in detail through an exmple.&lt;br /&gt; b) Describe media stream protocol briefly.&lt;br /&gt;Q.4  Define Authoring. Explain its various steps in detail with an example. Also &lt;br /&gt;describe authoring tools briefly. &lt;br /&gt;Q.5 a) Describe the speech generation and recognition in multimedia briefly.&lt;br /&gt; b) Explain the Multimedia Communication systems briefly.&lt;br /&gt;Q.6 a) Describe data model for Multimedia and Hypermedia information in detail.&lt;br /&gt; b) What is virtual reality operating system? How it is useful in multimedia? &lt;br /&gt;Explain briefly.&lt;br /&gt;Q.7 a) Describe the parallel and sequential rotations, incomplete timing, temporal &lt;br /&gt;access control and temporal transformation briefly. &lt;br /&gt; b) Explain the distributed virtual environment system briefly. &lt;br /&gt;Q,.8 a) Write short notes on the following :&lt;br /&gt;i) DVI video compression.&lt;br /&gt;ii) MPEG video compression.&lt;br /&gt;iii) JPEG image compressions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BCA 6TH SEMESTER EXAMINATION&lt;br /&gt;MULTIMEDIA AND APPLICATIONS&lt;br /&gt;PAPER-BCA-308&lt;br /&gt;Time: 3 Hours        M. M.: 75&lt;br /&gt;&lt;br /&gt;Note: Attempt any five questions. All questions carry equal marks.&lt;br /&gt;&lt;br /&gt;Q.1 a) What is Multimedia? Explain the multimedia system.&lt;br /&gt; b) Explain the Multimedia Entertainment Devices with examples.&lt;br /&gt;Q.2 a) Explain in detail Multimedia Services and the Windows Systems.&lt;br /&gt; b) Explain the Multimedia Authoring Systems.&lt;br /&gt;Q.3 a) Explain the Object Oriented Framework for Multimedia.&lt;br /&gt;b) Describe in detail Routing in Hybrid Networks and Temporal  Coordination and Composition.&lt;br /&gt;Q.4 a) Explain in detail encoding and transmitting speech.&lt;br /&gt; b) Describe in detail speech recognition and speech synthesis.&lt;br /&gt;Q. 5 a) Explain with diagram MPEG Layered Bitstream structure.&lt;br /&gt;b) Explain the multimedia operating system support for continuous media applications.&lt;br /&gt;Q.6 a) Explain the DVI production level compression technique and performance.&lt;br /&gt;b) Describe in detail Virtual reality Operating System and Virtual Environment displays and Orientation Tracking.&lt;br /&gt;Q.7 a) Explain in detail the Deadline and Recovery Management.&lt;br /&gt; b) Describe the Temporal Instants and temporal Intervals.&lt;br /&gt;Q.8 a) Explain the QOS based Memory Management.&lt;br /&gt;b) Describe in detail application of Multimedia environment in Manufacturing and Education.&lt;br /&gt;BCA 6TH SEMESTER EXAMINATION&lt;br /&gt;MULTIMEDIA AND APPLICATIONS&lt;br /&gt;PAPER-BCA-308&lt;br /&gt;Time : 3 Hours        M. M.: 75&lt;br /&gt;&lt;br /&gt;Note: Attempt any five questions. All questions carry equal marks.&lt;br /&gt;&lt;br /&gt;Q.1 a) Define Multimedia. Explain its various components briefly.&lt;br /&gt; b) Write a short note on Multimedia authoring.&lt;br /&gt;Q.2 Describe various applications of Multimedia in different fields briefly.&lt;br /&gt;Q.3 What do you mean by image compression? How is it useful ? What are its &lt;br /&gt; techniques ? Explain briefly.&lt;br /&gt;Q.4 Describe the following briefly :-&lt;br /&gt;i) Media stream protocol.&lt;br /&gt;ii) Multimedia file system.&lt;br /&gt;Q.5 What do you mean by workstation operating system? How is it useful and used ?&lt;br /&gt; What are its limitations ? Explain briefly.&lt;br /&gt;Q.6 Explain the following briefly :-&lt;br /&gt;i) Intelligent Multimedia system.&lt;br /&gt;ii) Digital representation of sound.&lt;br /&gt;iii) Multimedia devices.&lt;br /&gt;Q.7 What is virtual reality ? How is it useful and used in Multimedia environment ? Also&lt;br /&gt; discuss virtual reality operating system.&lt;br /&gt;Q.8 Write short notes on the following :&lt;br /&gt;i) DVI technology.&lt;br /&gt;ii) Hypermedia information.&lt;br /&gt;iii) Speech recognition.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4928947872696753796-7822215214240769733?l=nareshkumarbhutani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nareshkumarbhutani.blogspot.com/feeds/7822215214240769733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4928947872696753796&amp;postID=7822215214240769733' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4928947872696753796/posts/default/7822215214240769733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4928947872696753796/posts/default/7822215214240769733'/><link rel='alternate' type='text/html' href='http://nareshkumarbhutani.blogspot.com/2010/09/multi-media-notes.html' title='Multi Media Notes'/><author><name>Naresh Kumar Bhutani</name><uri>http://www.blogger.com/profile/16127420781112113759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/_-gUzLPndoDI/TF-Q5s8Kc6I/AAAAAAAAAAM/jjD_dJqmfiM/S220/Z7lg650.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4928947872696753796.post-1397703058405013906</id><published>2008-04-14T21:28:00.000-07:00</published><updated>2008-04-14T21:29:09.292-07:00</updated><title type='text'></title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4928947872696753796-1397703058405013906?l=nareshkumarbhutani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nareshkumarbhutani.blogspot.com/feeds/1397703058405013906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4928947872696753796&amp;postID=1397703058405013906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4928947872696753796/posts/default/1397703058405013906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4928947872696753796/posts/default/1397703058405013906'/><link rel='alternate' type='text/html' href='http://nareshkumarbhutani.blogspot.com/2008/04/blog-post.html' title=''/><author><name>Naresh Kumar Bhutani</name><uri>http://www.blogger.com/profile/16127420781112113759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/_-gUzLPndoDI/TF-Q5s8Kc6I/AAAAAAAAAAM/jjD_dJqmfiM/S220/Z7lg650.jpg'/></author><thr:total>0</thr:total></entry></feed>
