Showing posts with label Assignment. Show all posts
Showing posts with label Assignment. Show all posts
Monday, April 18, 2011
Friday, April 1, 2011
Solved Assignment CS-60
There are five questions in this assignment. Answer all the questions.
Question 1: (i) Find the complex conjugate of (3+5i)/(1+2i)
Here
z = (3 + 5i)(1 + 2i)
= 3 + 6i + 5i + 10(i x i)
= 3 + 11i – 10
= - 7 + 11i
Then Complex conjugate of – 7 + 11i
= - 7 – 11i
(ii) Differentiate (sin x)x w.r.t. x.
(iii) Find all the seventh roots of (3+4i). (5 Marks)
Solved Assignment CS-60
There are five questions in this assignment. Answer all the questions.
Question 1: (i) Find the complex conjugate of (3+5i)/(1+2i)
Here
z = (3 + 5i)(1 + 2i)
= 3 + 6i + 5i + 10(i x i)
= 3 + 11i – 10
= - 7 + 11i
Then Complex conjugate of – 7 + 11i
= - 7 – 11i
(ii) Differentiate (sin x)x w.r.t. x.
(iii) Find all the seventh roots of (3+4i). (5 Marks)
Thursday, March 31, 2011
Solved Assignment CS-612 III Sem (2011)
There are four questions in this assignment. Answer all the questions. You may use illustrations and diagrams to enhance explanations.
Question 1: (a) What is a worksheet? How to create and format controls on worksheet. (4 Marks)
A worksheet is a sheet of paper, or on a computer, on which problems are worked out or solved and answers recorded.
A worksheet is an object in a spreadsheet program that consists primarily of a grid of cells, organized in rows and column, in which spreadsheet calculations and information are held. A file saved by a spreadsheet program may consist of many worksheets.
Some spreadsheet application
Microsoft Excel
Microsoft Excel is a commercial spreadsheet application written and distributed byMicrosoft for Microsoft Windows and Mac OS X. It features calculation, graphing tools, pivot tables and a macro programming language called Visual Basic for Applications. It has been a very widely applied spreadsheet for these platforms, especially since version 5 in 1993. Excel forms part of Microsoft Office. The current versions are 2010 for Windows and 2011 forMac.
Lotus 123
Lotus 1-2-3 is a spreadsheet program from Lotus Software (now part of IBM). It was the IBM PC's first "killer application"; its huge popularity in the mid-1980s contributed significantly to the success of the IBM PC in the corporate environment.
Open Office Calc
A spreadsheet similar to Microsoft Excel and Lotus 1-2-3. Calc can export spreadsheets to the PDF format. (See ooWriter entry, above, for details of PDF). Calc provides a number of features not present in Excel, including a system which automatically defines series for graphing, based on the layout of the user’s data.
(b) What is need of a web browser? List the advantages and disadvantages of different browsers. (3 Marks)
A web browser or Internet browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by aUniform Resource Identifier (URI) and may be a web page, image, video, or other piece of content. Hyperlinks present in resources enable users to easily navigate their browsers to related resources.
Although browsers are primarily intended to access the World Wide Web, they can also be used to access information provided by Web servers in private networks or files in file systems. Some browsers can also be used to save information resources to file systems.
Mozilla released Firefox 3.0 on 17 June 2008, with performance improvements, and other new features. Firefox 3.5 followed on 30 June 2009 with further performance improvements, native integration of audio and video, and more privacy features.
Google released the Chrome browser for Microsoft Windows on December 11, 2008, using the same WebKit rendering engine as Safari and a faster JavaScript engine called V8. An open sourced version for the Windows, Mac OS X and Linux platforms was released under the name Chromium. According to Net Applications, Chrome had gained a 3.6% usage share by October 2009. After the release of the beta for Mac OS X and Linux, the market share had increased rapidly.
On March 19, 2009, Microsoft released Internet Explorer 8, which added accelerators, improved privacy protection, a compatibility mode for pages designed for Internet Explorer 7 and improved support for various web standards.
During December 2009 and January 2010, StatCounter reported that its statistics indicated that Firefox 3.5 was the most popular browser, when counting individual browser versions, passing Internet Explorer 7 and 8 by a small margin. This is the first time a global statistic has reported that a non-Internet Explorer browser version has exceeded the top Internet Explorer version in usage share since the fall of Netscape Navigator. This feat, which GeekSmack called the "dethron[ing of] Microsoft and its Internet Explorer 7 browser," can largely be attributed to the fact that it came at a time when IE 8 was replacing IE 7 as the dominant Internet Explorer version. No more than two months later IE 8 had established itself as the most popular browser version, a position which it still holds as of March 2011. It should also be noted that other major statistics, such as Net Applications, never report any non-IE browser version as having a higher usage share than the most popular Internet Explorer version, although Firefox 3.5 was reported as the third most popular browser version between December 2009 and February 2010, to be replaced by Firefox 3.6 since April 2010, each ahead of IE7 and behind IE6 and IE8.
On January 21, 2010, Mozilla released Mozilla Firefox 3.6, which allows support for a new type of theme display, 'Personas', which allows users to change Firefox's appearance with a single click. Version 3.6 also improves JavaScript performance, overall browser responsiveness and startup times.
In October 2010, StatCounter reported that Internet Explorer had for the first time dropped below 50% market share to 49.87% in their figures. Also, StatCounter reported Internet Explorer 8's first drop in usage share in the same month.
On February 3, 2011, Google released Chrome 9. New features introduced include: support for WebGL, Chrome Instant, and the Chrome Web Store.
StatCounter global market share figures were as follows for February 2011. Internet Explorer 45%, Firefox 30%, Chrome 17%, Safari 5% and Opera 2%, leaving all the others sharing the remaining 1%.
HLOOKUP()
Searches for a value in the top row of a table or an array of values, and then returns a value in the same column from a row you specify in the table or array. Use HLOOKUP when your comparison values are located in a row across the top of a table of data, and you want to look down a specified number of rows. Use VLOOKUP when your comparison values are located in a column to the left of the data you want to find.
SYNTAX
HLOOKUP(lookup_value,table_array,row_index_num,range_lookup)
Where
Lookup_value :- The value to search in the first column of the table array.
Table_Array :- Two or more columns of data.
row_index :- The row number in table_array from which the matching value must be returned.
Range_lookup :- A logical value that specifies whether you want VLOOKUP to find an exact
match or an approximate match:
If TRUE or omitted, an exact or approximate match is returned. If an exact match is not found, the next largest value that is less than lookup_value is returned.
(b) What is FTP? Explain how it is different from telnet. (3 Marks)
File Transfer Protocol (FTP) is a standard network protocol used to copy a file from one host to another over a TCP-based network, such as the Internet. FTP is built on a client-server architecture and utilizes separate control and data connections between the client and server. FTP users may authenticate themselves using a clear-text sign-in protocol but can connect anonymously if the server is configured to allow it.
The first FTP client applications were interactive command-line tools, implementing standard commands and syntax. Graphical user interface clients have since been developed for many of the popular desktop operating systems in use today.
Both of these applications allow two different computers to communicate with each other. Telnet allows the user to log on to an account on a remote computer and work as if you were there. This is useful if you are traveling or are going to be away from your own computer and your local account but need to have access to the latter. You might be at a conference in another state and suddenly remember that you need some information that is stored on a file in your account back at your home institution. You can log on remotely, telnet to your account, get into your files that are on that server, and retrieve the information. For example, let's say you are at ACTFL and you are supposed to meet some people but you forgot the time and the place. They sent you this information in an e-mail message, and you have that message in your account on the server at your institution. If you can use a computer with Internet access where you are, you can telnet to your account, call up the message, and read the information off the screen. Voilá--you won't miss your dinner date.
Questioon 3: (a) Whhat is Koniggsberg Bridgge problem?? Explain wiith a suitablle diagram. (3 Marks)
Solved Assignment CS-612 III Sem (2011)
There are four questions in this assignment. Answer all the questions. You may use illustrations and diagrams to enhance explanations.
Question 1: (a) What is a worksheet? How to create and format controls on worksheet. (4 Marks)
A worksheet is a sheet of paper, or on a computer, on which problems are worked out or solved and answers recorded.
A worksheet is an object in a spreadsheet program that consists primarily of a grid of cells, organized in rows and column, in which spreadsheet calculations and information are held. A file saved by a spreadsheet program may consist of many worksheets.
Some spreadsheet application
Microsoft Excel
Microsoft Excel is a commercial spreadsheet application written and distributed byMicrosoft for Microsoft Windows and Mac OS X. It features calculation, graphing tools, pivot tables and a macro programming language called Visual Basic for Applications. It has been a very widely applied spreadsheet for these platforms, especially since version 5 in 1993. Excel forms part of Microsoft Office. The current versions are 2010 for Windows and 2011 forMac.
Lotus 123
Lotus 1-2-3 is a spreadsheet program from Lotus Software (now part of IBM). It was the IBM PC's first "killer application"; its huge popularity in the mid-1980s contributed significantly to the success of the IBM PC in the corporate environment.
Open Office Calc
A spreadsheet similar to Microsoft Excel and Lotus 1-2-3. Calc can export spreadsheets to the PDF format. (See ooWriter entry, above, for details of PDF). Calc provides a number of features not present in Excel, including a system which automatically defines series for graphing, based on the layout of the user’s data.
(b) What is need of a web browser? List the advantages and disadvantages of different browsers. (3 Marks)
A web browser or Internet browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by aUniform Resource Identifier (URI) and may be a web page, image, video, or other piece of content. Hyperlinks present in resources enable users to easily navigate their browsers to related resources.
Although browsers are primarily intended to access the World Wide Web, they can also be used to access information provided by Web servers in private networks or files in file systems. Some browsers can also be used to save information resources to file systems.
Mozilla released Firefox 3.0 on 17 June 2008, with performance improvements, and other new features. Firefox 3.5 followed on 30 June 2009 with further performance improvements, native integration of audio and video, and more privacy features.
Google released the Chrome browser for Microsoft Windows on December 11, 2008, using the same WebKit rendering engine as Safari and a faster JavaScript engine called V8. An open sourced version for the Windows, Mac OS X and Linux platforms was released under the name Chromium. According to Net Applications, Chrome had gained a 3.6% usage share by October 2009. After the release of the beta for Mac OS X and Linux, the market share had increased rapidly.
On March 19, 2009, Microsoft released Internet Explorer 8, which added accelerators, improved privacy protection, a compatibility mode for pages designed for Internet Explorer 7 and improved support for various web standards.
During December 2009 and January 2010, StatCounter reported that its statistics indicated that Firefox 3.5 was the most popular browser, when counting individual browser versions, passing Internet Explorer 7 and 8 by a small margin. This is the first time a global statistic has reported that a non-Internet Explorer browser version has exceeded the top Internet Explorer version in usage share since the fall of Netscape Navigator. This feat, which GeekSmack called the "dethron[ing of] Microsoft and its Internet Explorer 7 browser," can largely be attributed to the fact that it came at a time when IE 8 was replacing IE 7 as the dominant Internet Explorer version. No more than two months later IE 8 had established itself as the most popular browser version, a position which it still holds as of March 2011. It should also be noted that other major statistics, such as Net Applications, never report any non-IE browser version as having a higher usage share than the most popular Internet Explorer version, although Firefox 3.5 was reported as the third most popular browser version between December 2009 and February 2010, to be replaced by Firefox 3.6 since April 2010, each ahead of IE7 and behind IE6 and IE8.
On January 21, 2010, Mozilla released Mozilla Firefox 3.6, which allows support for a new type of theme display, 'Personas', which allows users to change Firefox's appearance with a single click. Version 3.6 also improves JavaScript performance, overall browser responsiveness and startup times.
In October 2010, StatCounter reported that Internet Explorer had for the first time dropped below 50% market share to 49.87% in their figures. Also, StatCounter reported Internet Explorer 8's first drop in usage share in the same month.
On February 3, 2011, Google released Chrome 9. New features introduced include: support for WebGL, Chrome Instant, and the Chrome Web Store.
StatCounter global market share figures were as follows for February 2011. Internet Explorer 45%, Firefox 30%, Chrome 17%, Safari 5% and Opera 2%, leaving all the others sharing the remaining 1%.
HLOOKUP()
Searches for a value in the top row of a table or an array of values, and then returns a value in the same column from a row you specify in the table or array. Use HLOOKUP when your comparison values are located in a row across the top of a table of data, and you want to look down a specified number of rows. Use VLOOKUP when your comparison values are located in a column to the left of the data you want to find.
SYNTAX
HLOOKUP(lookup_value,table_array,row_index_num,range_lookup)
Where
Lookup_value :- The value to search in the first column of the table array.
Table_Array :- Two or more columns of data.
row_index :- The row number in table_array from which the matching value must be returned.
Range_lookup :- A logical value that specifies whether you want VLOOKUP to find an exact
match or an approximate match:
If TRUE or omitted, an exact or approximate match is returned. If an exact match is not found, the next largest value that is less than lookup_value is returned.
(b) What is FTP? Explain how it is different from telnet. (3 Marks)
File Transfer Protocol (FTP) is a standard network protocol used to copy a file from one host to another over a TCP-based network, such as the Internet. FTP is built on a client-server architecture and utilizes separate control and data connections between the client and server. FTP users may authenticate themselves using a clear-text sign-in protocol but can connect anonymously if the server is configured to allow it.
The first FTP client applications were interactive command-line tools, implementing standard commands and syntax. Graphical user interface clients have since been developed for many of the popular desktop operating systems in use today.
Both of these applications allow two different computers to communicate with each other. Telnet allows the user to log on to an account on a remote computer and work as if you were there. This is useful if you are traveling or are going to be away from your own computer and your local account but need to have access to the latter. You might be at a conference in another state and suddenly remember that you need some information that is stored on a file in your account back at your home institution. You can log on remotely, telnet to your account, get into your files that are on that server, and retrieve the information. For example, let's say you are at ACTFL and you are supposed to meet some people but you forgot the time and the place. They sent you this information in an e-mail message, and you have that message in your account on the server at your institution. If you can use a computer with Internet access where you are, you can telnet to your account, call up the message, and read the information off the screen. Voilá--you won't miss your dinner date.
Questioon 3: (a) Whhat is Koniggsberg Bridgge problem?? Explain wiith a suitablle diagram. (3 Marks)
Solved Assignment CS-62 IIIrd Sem(2011)
There are three questions in this assignment. Answer all the questions. You may use illustrations and diagrams to enhance your explanations.
Question 1: Write an algorithm for the implementation of a circular doubly linked list (10 Marks)
Operations
1)insertion
2)forward traversal
3)reverse traversal
4)search
#include<iostream.h>
cll*hd;
struct cll
{
private:
int data;
cll *next;
public:
cll* insert_one(int d,cll* c)
{
cll*NEW;
NEW=new cll;
NEW->data=d;
NEW->next=NULL;
if(c==NULL)
{
c=NEW;
c->next=c;
}
else
{
cll*c1=c;
while(c1->next!=c)
c1=c1->next;
c1->next=NEW;
NEW->next=c;
}
return c;
}
cll* delete_one(int,cll*);
void ftraverse(cll* c)
{
if(c==NULL)
{
cout<<"\nlist empty\n";
return;
}
else
{
cll *c1=c;
cout<<c1->data<<"->";
c1=c1->next;
while(c1!=c)
{
cout<<c1->data<<"->";
c1=c1->next;
}
cout<<"NULL\n";
}
}
void rtraverse(cll* c)
{
if(c->next==hd)
{
cout<<c->data<<"->";
return;
}
else
rtraverse(c->next);
cout<<c->data<<"->";
}
void search(int d,cll* c)
{
cll*c1=c;
if(c==NULL)
{
cout<<"\nlist empty\n";
return;
}
else
{
if(c->data == d)
{
cout<<"found\n";
return ;
}
while(c->next !=c1)
{
if(c->data==d)
{
cout<<"found\n";
return ;
}
c=c->next;
}
if(c->data ==d)
{
cout<<"found\n";
return ;
}
cout<<" search unsuccess ful \n";
}
}
void function()
{
cout<<"******************************************\n";
cout<<"program to implement a circular linked list \n";
cout<<"******************************************\n";
cll * head;
head=NULL;
cout<<"\n\nMENU :\n";
cout<<"1)insertion\n"
<<"2forward traversal\n"
<<"3)reverse traversal\n"
<<"4)search\n"
<<"5)exit\n\n";
cout<<"Enter your option :";
int opt;
cin>>opt;
int d;
while(opt!=5)
{
switch(opt)
{
case 1:
cout<<"Enter data to the node :";
cin>>d;
head=insert_one(d,head);
cout<<"inserted\n";
break;
case 2:
cout<<"The forward traversal is :\n";
ftraverse(head);
break;
case 3:
cout<<"The reverse traversal is :\n";
hd=head;
rtraverse(head);
cout<<"NULL\n";
break;
case 4:
cout<<"Enter the element to be searched :";
int d;
cin>>d;
search(d,head);
break;
case 5:
break;
default:
cout<<"invalid option";
break;
}
cout<<"\n\nMENU :\n";
cout<<"1)insertion\n"
<<"2)forward traversal\n"
<<"3)reverse traversal\n"
<<"4)search\n"
<<"5)exit\n\n";
cout<<"Enter your option :";
cin>>opt;
}
}
};
void main()
{
cll list;
list.function();
}
Question 2: What are the advantages of Arrays and Pointers? What is the basis for selection of Arrays or Pointers as data structure in a program. (5 Marks)
POINTERS
Pointers are generally useful in the context where we need a continuous memory allocation. Using pointers dynamic allocation of memory is achieved pointers basically hold the address of a variable. they are mainly used as function parameters to pass values of parameters as references rather than values
ARRAYS
You can use one name for similar objects and save then with the same name but different indexes. Arrays are very useful when you are working with sequences of the same kind of data (similar to the first point but has a different meaning). Arrays use reference type and so.
The principal benefit of a linked list (using pointer) over a conventional array is that the list elements can easily be added or removed without reallocation or reorganization of the entire structure because the data items need not be stored contiguously in memory or on disk. Linked lists (pointer) allow insertion and removal of nodes at any point in the list, and can do so with a constant number of operations if the link previous to the link being added or removed is maintained during list traversal.
On the other hand, simple linked lists by themselves do not allow random access to the data other than the first node's data, or any form of efficient indexing. Thus, many basic operations — such as obtaining the last node of the list (assuming that the last node is not maintained as separate node reference in the list structure), or finding a node that contains a given datum, or locating the place where a new node should be inserted — may require scanning most or all of the list elements.
A pointer can refer to an individual item or to an array of items. In fact, an array is just a way of creating both a list of items and a pointer to that list's first item in one declaration. The array and pointer concepts are more or less completely interchangeable in C.
This means that subscripts can be used with pointers, as if they were arrays held at the address of the pointer. As C does no array bound checking, this is completely unsafe. You may assign the address of a simple int variable to a pointer to int and than access locations following it as if they belonged to an array of ints, as follows.
void main()
{
int i, * ip;
ip = & i;
ip[0] = 3;
ip[1] = 2;
ip[2] = 1;
}
On the other hand, an array can be used as if it was a pointer. We have
seen that arrays are always passed by reference, even though no & is written,
and this is why. The only
difference is that the address of an array cannot be changed by assignment. Thus,
the following would not be allowed:
void main()
{
int i, ia[];
ia = &i;
}
Question 3: What is a row major order? What is a column major order? How will you find the location of an element of an array , if the array is stored using row major order? Answer the question, if the array is stored in column major order. (10 Marks)
Lets now see how the data represented in an array is actually stored in the memory cells of the machine. Because computer memory is linear, a one-dimensional array can be mapped on to the memory cells in a rther straight forward manner. Sotrage for element A[I+1] will be adjacent to storage for element A[I] for I=0,1,2,… N-1. To find the actual address of an element one merely needs to subtract one from the position of the desired entry and then add the result to the address of the first cell in the sequence. Let us see it through an example. Consider an array A of 26 elements. We require to find the addressof A[4]. If the first cell in the sequence A[0] A[1],A[2],….A[25]. Was at address 16, then A[4] would be located at 16+4 = 20, as shown in Firgure. We assume that the size of each elemtn stored is one unit.
Therefore, it is necessary to know the starting address of the space allocated to the array and the size of the each element, which is same for all the elements of an array. We may call the starting address as a base address and denote it by B. then the location of 1th element would be
B + I*S (1)
Where S is the size of each element of array.
Let us now consider storage mapping for multi-dimentional arrays. As we had seen in previous section that in a 2-dimentional array must be simulated we first calculated the amount of storage area needed and allocate a block of contigous memory cells of that size. One way to stoe the data in the cells is row by row. That is, we store first the fist row of the array, then the second row of the aray and then the next and so on. For example the array defined by A, which logically appears as given in Firgure2 appears physically as given in Figure3 such a storage scheme is called Row Major Order.
The other alternative is to store the array column by column. It is called Column Major Order as in Figure 4.
Solved Assignment CS-62 IIIrd Sem(2011)
There are three questions in this assignment. Answer all the questions. You may use illustrations and diagrams to enhance your explanations.
Question 1: Write an algorithm for the implementation of a circular doubly linked list (10 Marks)
Operations
1)insertion
2)forward traversal
3)reverse traversal
4)search
#include<iostream.h>
cll*hd;
struct cll
{
private:
int data;
cll *next;
public:
cll* insert_one(int d,cll* c)
{
cll*NEW;
NEW=new cll;
NEW->data=d;
NEW->next=NULL;
if(c==NULL)
{
c=NEW;
c->next=c;
}
else
{
cll*c1=c;
while(c1->next!=c)
c1=c1->next;
c1->next=NEW;
NEW->next=c;
}
return c;
}
cll* delete_one(int,cll*);
void ftraverse(cll* c)
{
if(c==NULL)
{
cout<<"\nlist empty\n";
return;
}
else
{
cll *c1=c;
cout<<c1->data<<"->";
c1=c1->next;
while(c1!=c)
{
cout<<c1->data<<"->";
c1=c1->next;
}
cout<<"NULL\n";
}
}
void rtraverse(cll* c)
{
if(c->next==hd)
{
cout<<c->data<<"->";
return;
}
else
rtraverse(c->next);
cout<<c->data<<"->";
}
void search(int d,cll* c)
{
cll*c1=c;
if(c==NULL)
{
cout<<"\nlist empty\n";
return;
}
else
{
if(c->data == d)
{
cout<<"found\n";
return ;
}
while(c->next !=c1)
{
if(c->data==d)
{
cout<<"found\n";
return ;
}
c=c->next;
}
if(c->data ==d)
{
cout<<"found\n";
return ;
}
cout<<" search unsuccess ful \n";
}
}
void function()
{
cout<<"******************************************\n";
cout<<"program to implement a circular linked list \n";
cout<<"******************************************\n";
cll * head;
head=NULL;
cout<<"\n\nMENU :\n";
cout<<"1)insertion\n"
<<"2forward traversal\n"
<<"3)reverse traversal\n"
<<"4)search\n"
<<"5)exit\n\n";
cout<<"Enter your option :";
int opt;
cin>>opt;
int d;
while(opt!=5)
{
switch(opt)
{
case 1:
cout<<"Enter data to the node :";
cin>>d;
head=insert_one(d,head);
cout<<"inserted\n";
break;
case 2:
cout<<"The forward traversal is :\n";
ftraverse(head);
break;
case 3:
cout<<"The reverse traversal is :\n";
hd=head;
rtraverse(head);
cout<<"NULL\n";
break;
case 4:
cout<<"Enter the element to be searched :";
int d;
cin>>d;
search(d,head);
break;
case 5:
break;
default:
cout<<"invalid option";
break;
}
cout<<"\n\nMENU :\n";
cout<<"1)insertion\n"
<<"2)forward traversal\n"
<<"3)reverse traversal\n"
<<"4)search\n"
<<"5)exit\n\n";
cout<<"Enter your option :";
cin>>opt;
}
}
};
void main()
{
cll list;
list.function();
}
Question 2: What are the advantages of Arrays and Pointers? What is the basis for selection of Arrays or Pointers as data structure in a program. (5 Marks)
POINTERS
Pointers are generally useful in the context where we need a continuous memory allocation. Using pointers dynamic allocation of memory is achieved pointers basically hold the address of a variable. they are mainly used as function parameters to pass values of parameters as references rather than values
ARRAYS
You can use one name for similar objects and save then with the same name but different indexes. Arrays are very useful when you are working with sequences of the same kind of data (similar to the first point but has a different meaning). Arrays use reference type and so.
The principal benefit of a linked list (using pointer) over a conventional array is that the list elements can easily be added or removed without reallocation or reorganization of the entire structure because the data items need not be stored contiguously in memory or on disk. Linked lists (pointer) allow insertion and removal of nodes at any point in the list, and can do so with a constant number of operations if the link previous to the link being added or removed is maintained during list traversal.
On the other hand, simple linked lists by themselves do not allow random access to the data other than the first node's data, or any form of efficient indexing. Thus, many basic operations — such as obtaining the last node of the list (assuming that the last node is not maintained as separate node reference in the list structure), or finding a node that contains a given datum, or locating the place where a new node should be inserted — may require scanning most or all of the list elements.
A pointer can refer to an individual item or to an array of items. In fact, an array is just a way of creating both a list of items and a pointer to that list's first item in one declaration. The array and pointer concepts are more or less completely interchangeable in C.
This means that subscripts can be used with pointers, as if they were arrays held at the address of the pointer. As C does no array bound checking, this is completely unsafe. You may assign the address of a simple int variable to a pointer to int and than access locations following it as if they belonged to an array of ints, as follows.
void main()
{
int i, * ip;
ip = & i;
ip[0] = 3;
ip[1] = 2;
ip[2] = 1;
}
On the other hand, an array can be used as if it was a pointer. We have
seen that arrays are always passed by reference, even though no & is written,
and this is why. The only
difference is that the address of an array cannot be changed by assignment. Thus,
the following would not be allowed:
void main()
{
int i, ia[];
ia = &i;
}
Question 3: What is a row major order? What is a column major order? How will you find the location of an element of an array , if the array is stored using row major order? Answer the question, if the array is stored in column major order. (10 Marks)
Lets now see how the data represented in an array is actually stored in the memory cells of the machine. Because computer memory is linear, a one-dimensional array can be mapped on to the memory cells in a rther straight forward manner. Sotrage for element A[I+1] will be adjacent to storage for element A[I] for I=0,1,2,… N-1. To find the actual address of an element one merely needs to subtract one from the position of the desired entry and then add the result to the address of the first cell in the sequence. Let us see it through an example. Consider an array A of 26 elements. We require to find the addressof A[4]. If the first cell in the sequence A[0] A[1],A[2],….A[25]. Was at address 16, then A[4] would be located at 16+4 = 20, as shown in Firgure. We assume that the size of each elemtn stored is one unit.
Therefore, it is necessary to know the starting address of the space allocated to the array and the size of the each element, which is same for all the elements of an array. We may call the starting address as a base address and denote it by B. then the location of 1th element would be
B + I*S (1)
Where S is the size of each element of array.
Let us now consider storage mapping for multi-dimentional arrays. As we had seen in previous section that in a 2-dimentional array must be simulated we first calculated the amount of storage area needed and allocate a block of contigous memory cells of that size. One way to stoe the data in the cells is row by row. That is, we store first the fist row of the array, then the second row of the aray and then the next and so on. For example the array defined by A, which logically appears as given in Firgure2 appears physically as given in Figure3 such a storage scheme is called Row Major Order.
The other alternative is to store the array column by column. It is called Column Major Order as in Figure 4.
Solved Assignment FST 2009-2010
BCA 3rd Assignment
FST 2009-10
Battle against germs:
FST 2009-10
Q.1 a) With two examples from industry, explain the role of science in production process.
Ams: Most of the production processes used for most of the products and services generated in the industry, and even in homes is the result of application of theories and principles of science.
For example, let us take the ubiquitous electricity. The knowledge electricity itself we have today is the result of efforts of science. The equipments we use for generate electricity like the modern turbines and generators also cannot be designed, manufactured or operated without modern scientific knowledge.
Within homes let us take the process of washing clothes, The process appears quite simple to us. But the shapes of various components that make the clothes move in different ways so that these are cleaned thoroughly, and the movement of these components has been designed based on very specialized scientific knowledge.
The humble knife you use in the kitchen is most probably made of steel that has been developed and manufactured based on very specialized scientific knowledge. Even the water that you get in your tap is transported from its source to your tap employing a complicated network of pipes, pumps and storage tanks, which have been designed using scientific knowledge of hydraulics. It between the water has been purified using a combination of processes such as filtration, flocculation, and chemical reactions. We need science to understand and use all such processes to use them to serve our needs.
As a matter of fact it will be difficult for us to find a modern production process in which science does not play an important role.
b) Discuss the achievements in the areas of quantitative science and transport during Bronze age.
Ans: Quantitative Science:
With the availability of surplus in agriculture and the production of non-agricultural goods by craftsmen, exchange and trade became a part of life. With the passing of time, exchange dealt with increasingly different types of commodities as well as increasingly large quantities of these commodities. Therefore, what should be exchanged, with what, and in what quantity, could no longer be simply memorized. Some standards, such as numbers and measures of amounts of grain etc. and weights, became necessary so that proper quantities of goods could be set apart or marked off for collection and exchanged.
For the record, the symbol for measure was followed by a picture or shorthand symbol of the particular object which was to be traded. Gradually, symbols were introduced to cover actions as well as objects, and so writing emerged. Writing developed, either as a sketched symbol standing for a whole idea as in Chinese or symbols and sounds going together as in Mesopotamian cuneiform or the Egyptian hieroglyphic.The standardization of exchange in the form of weight led to the use of balance, a scientific invention of great consequence. Exchange also necessitated simple calculations such as addition and subtraction of numbers which led to arithmetic.
The ability to count and calculate found immediate use in certain other areas such as making of calendars and in the consequent development of astronomy.
Transport:
At some early date, the sail was invented making the first use of inanimate power for locomotion. When river transport was extended to the sea, it posed new problems of boat construction and navigation. Stronger winds meant stronger fabrics for making a sail, and construction of heavy frames and structure to hold them. Woodwork had to be very strong and durable too. The river went in a known direction, it was like a road, but one could easily lose one’s way on the high seas. New ways of finding location and direction had to be searched.
The rise of cities would also have required heavy to be transported over short distances by land. This may have been done by the use of sledges to begin with. Heavy sledges could be eased downhill. However, along the plains, tree trunks came in handy as rollers the discovery of wheel revolutionized land transport, it is not possible for us to say, from historic evidence, where the wheel was first invented. It is used for making carts which transported goods and passengers was possibly one of the most significant developments of the Bronze Age.
Q.2 a) Briefly discuss the developments in mathematics and astronomy during Gupta period in India . (5)
Ans: Not only in the traditional Sanskrit literature or in the field of other worldly literature but changes came in the over all social life in the Gupta period with the tremendous development of science during this period. With the growth and intensification in the arena of mathematics, astrology, astronomy, medicine, Chemistry, Metallurgy, Botany, Zoology and Engineering Gupta period gained a striking facet.
Mathematics:
In ancient India , mathematics was treated as a handmaid to astronomy. But Aryabhata treated this as an independent subject. He wrote his work Aryabhtiyam at Pataliputra in 499 A.D. He was the first scholar to discover the decimal system of place values. He has given all his results in the form of finished formulas. Regarding geometry he discussed his work with the area of a triangle, the theorem on similarity of triangles, the area of a circle and the theorem relating to rectangles contained by the segments of chords or a circle. In algebra he discusses the rule of three and a rule for solving examples concerning interest. He has also discussed other mathematical subjects such as arithmetical progression and a formula for the sum of squares and the cubes of natural numbers.
Astronomy:
In Astronomy, Aryabhata was the first to assert that the earth rotates round its axis. He was the first person to utilize sine functions in astronomy. He also calculated the increase and decrease in two consecutive days, he stated calculating accurately the angular diameter of the earth`s shadow at the moon`s orbit and gave a method of finding the duration of an eclipse. These were all new things for the nation as till then they believe in another world.
Varahamihira was another important astronomer of the Gupta period. Most probably he began composing his work Panchasiddhahtika in 505 A.D. He discusses in this work the principles of the five astronomical schools, which were considered as the most authoritative one in his time. Of these five schools the Romaka Siddhanta clearly betrays Western influence. This is expected to happen as a result of active trade contacts between the Roman Empire and the Gupta Empire. The Surya Siddhanta is the most important and complete astronomical work of the period. It seems that Greek astronomy served as the basis of the Surya-siddhahta. The other three schools of astronomy discussed by Varahamihira are the Paitamaha Siddhahta, the Vasistha Siddhahta, and the Paulish Siddhanta. In his work Varahamihira has preserved the essential teachings of these five schools of astronomy, which is a great collection of work.
b) Compare the state of science and technology during Renaissance with that of post Renaissance period in Europe . (5)
Ans: Renaissance:
Science and art were very much intermingled in the early Renaissance, with artists such as Leonardo da Vinci making observational drawings of anatomy and nature. Yet the most significant development of the era was not a specific discovery, but rather a process for discovery, the scientific method. This revolutionary new way of learning about the world focused on empirical evidence, the importance of mathematics, and discarding the Aristotelian "final cause" in favor of a mechanical philosophy. Early and influential proponents of these ideas included Copernicus and Galileo.The new scientific method led to great contributions in the fields of astronomy, physics, biology, and anatomy. With the publication of Vesalius's De humani corporis fabrica, a new confidence was placed in the role of dissection, observation, and a mechanistic view of anatomy.
Post-Renaissance
By the mid-1700s Science was beginning to get more sophisticated. French chemist Antoine-Laurent Lavoisier was most influential in developing an experimental approach, laid the foundation of modern chemistry. In 1789, Lavoisier published a list of pure substances. By the early 1800s, John Dalton's atomic theory and the concept of atomic weights developed. In 1829 Johann Döbereiner noted that there were triplets of elements in which the central species' properties were almost exactly midway between the outer two. In 1860 Stanislao Cannizzaro presented analyses at an international chemistry meeting that, when merged with previously ridiculed hypotheses by fellow Italian Amedeo Avogadro, yielded unambiguous atomic weights.
Q.3 a) With the help of a suitable example, explain how scientific approach can help solve personal problems. (5)
Ans: Scientific method refers to bodies of techniques for investigating phenomena, acquiring new knowledge, or correcting and integrating previous knowledge. To be termed scientific, a method of inquiry must be based on gathering observable, empirical and measurable evidence subject to specific principles of reasoning. A scientific method consists of the collection of data through observation and experimentation, and the formulation and testing of hypotheses.
What is a personal problem? The individual is hesitant to discuss the problem with others including his family members. for example let us take a person afflicted by Hepatitis B. The person does not want to reveal it to anyone but is worried that he may infect his partner if he has sex. How does scientific method help solve this problem?
Scientific studies have proved that it is a sexually transmitted disease and there is no effective cure. There is a lot of research being done on this subject and the person can consult his doctor with the assurance that he will get an advice backed by scientific research. Since scientific studies are based on observations which can be repeated, the person can see for himself/herself the effects of the studies. Gathering information from scientific sources is more reliable than opinions of individuals alone.
b) Describe Kepler’s laws related to planetary motion. (5)
Ans:
Kepler’s 1st law:
(1) Planets move around the Sun in ellipses, with the Sun at one focus.
Orbital movement of Earth and Mars around the Sun
Kepler's 2nd law:
(2) The line connecting the Sun to a planet sweeps equal areas in equal times.
Illustrating Kepler's 2nd law: segments AB and CD take equal times to cover.
Kepler's 3rd Law:
(3) The square of the orbital period of a planet is proportional to the cube of the mean
distance from the Sun.
Let the mean distance of planet from Sun is r and its orbital period is T, then
T2 ∞ r3
Q.4 a) How have optical astronomy and radio astronomy aided in the study of universe? (5)
Ans: Optical astronomy contributed a lion's share to our knowledge of Universe around Earth as of now . Interior of astronomical bodies revealed itself in Spectroscopic studies. Further refinements culminating in measurement of Red shift resulted in the knowledge about the extent of universe due to Hubble's efforts. It also gave clues to the past as light reaching us now must have started years ago or even a million years ago. It gave us the chronology of Universal events.
Then JC Maxwell combined all known laws of electricity & magnetism into a set of 4 equations and derived an expression for speed of Electro magnetic waves. He conjectured that 'these (EM waves) have same speed as that of light waves'. It was established then, that light is a mere sliver in the vast electromagnetic spectrum. Now the activity started to 'see' universe through different parts of the EM spectrum. This thinking led Jansky to conjecture that the noise he heard on radio was actually the emission from the heavenly bodies in sky, just as light that reaches us on Earth. Using well-refined techniques of radio reception more sensitive receiving systems were deviced. The chief feature in these is the sharpness of the beam so that energy from a tiny solid angle can be picked up for energy reception. Antenna systems were designed for that, along with reception methods with devices that add less noise of their own to the natural noise. That way it became possible to distinguish the desired signal from it getting drowned in noise.
There was a constant exchange of approach and attack of the problem between optical & radio segments of spectrum. But the techniques of receiving the energy differed in both. Such a huge body of engineering needed to refine their methds constantly to meet the demands of accuracies required by later generations of astronomers.
Radio methods revealed sources that were optically poor radiators. This is so because surface temperature of some stars belonging to spectral classes R, N & S and certain gaseous regions (Nubelae) are strong radio emitters. This follows Wien's law (for Blackbody radiation) that says wavelength of maximum radiation & temperature is
2.898 X 10^(-3)m K.
Now other windows in EMspectrum are also used like X rays for which sensors are required to be placed above the atmosphere ('Chandra').
b) Discuss the features of planet Mars gathered till date by the scientists.(5)
Ans: Mars is the fourth planet from the Sun in the Solar System. The planet is named after Mars, the Roman god of war. It is also referred to as the "Red Planet" because of its reddish appearance, due to iron oxide prevalent on its surface.
Mars is a terrestrial planet with a thin atmosphere, having surface features reminiscent both of the impact craters of the Moon and the volcanoes, valleys, deserts and polar ice caps of Earth. It is the site of Olympus Mons, the highest known mountain in the Solar System, and of Valles Marineris, the largest canyon. Furthermore, in June 2008 three articles published in Nature presented evidence of an enormous impact crater in Mars's northern hemisphere, 10,600 km long by 8,500 km wide, or roughly four times larger than the largest impact crater yet discovered, the South Pole-Aitken basin. In addition to its geographical features, Mars’ rotational period and seasonal cycles are likewise similar to those of Earth.
Physical characteristics:
Mars has approximately half the radius of Earth. It is less dense than Earth, having about 15% of Earth's volume and 11% of the mass. Its surface area is only slightly less than the total area of Earth's dry land. While Mars is larger and more massive than Mercury, Mercury has a higher density. This results in a slightly stronger gravitational force at Mercury's surface. Mars is also roughly intermediate in size, mass, and surface gravity between Earth and Earth's Moon (the Moon is about half the diameter of Mars, whereas Earth is twice; the Earth is about ten times more massive than Mars, and the Moon ten times less massive). The red-orange appearance of the Martian surface is caused by iron(III) oxide, more commonly known as hematite, or rust.
Geology:
Based on orbital observations and the examination of the Martian meteorite collection, the surface of Mars appears to be composed primarily of basalt. Some evidence suggests that a portion of the Martian surface is more silica-rich than typical basalt, and may be similar to andesitic rocks on Earth; however, these observations may also be explained by silica glass. Much of the surface is deeply covered by finely grained iron(III) oxide dust.
Hydrology:
Liquid water cannot exist on the surface of Mars with its present low atmospheric pressure, except at the lowest elevations for short periods[26][27] but water ice is in no short supply, with two polar ice caps made largely of ice.
Climate:
Of all the planets, Mars's seasons are the most Earth-like, due to the similar tilts of the two planets' rotational axes. However, the lengths of the Martian seasons are about twice those of Earth's, as Mars’ greater distance from the Sun leads to the Martian year being about two Earth years in length. Martian surface temperatures vary from lows of about −140 °C (−220 °F) during the polar winters to highs of up to 20 °C (68 °F) in summers.[26] The wide range in temperatures is due to the thin atmosphere which cannot store much solar heat, the low atmospheric pressure, and the low thermal inertia of Martian soil.
Rotation:
Mars’ average distance from the Sun is roughly 230 million km (1.5 AU) and its orbital period is 687 (Earth) days. The solar day (or sol) on Mars is only slightly longer than an Earth day: 24 hours, 39 minutes, and 35.244 seconds. A Martian year is equal to 1.8809 Earth years, or 1 year, 320 days, and 18.2 hours.
Q.5 a) With the help of an example explain the systems view of life. (2)
Ans: A system is a set of some specific inter-related parts which are organized as one unit for some purpose. The parts work together and the entire combination forms one unit. A car producing company, which is organized to produce transport vehicles, can be viewed as a system too. For the effective functioning of the company, all of its parts, such as the department that purchases raw materials, the factory, the management and the sales department must work in unison. An animal or a plant is also made up of numerous parts which represent a well defined system. For example, in an animal body, the parts concerned with the in-take of food and digesting it, the bones arranged as a skeleton to support the body, the heart circulating blood to different parts of the body through the arteries and veins and the brain receiving signals and giving orders of various kinds together compose the system.
b) Explain the theory of natural selection proposed by Darwin . (3)
Ans: While Darwin ’s theory of Evolution is a relatively young archetype, the evolutionary worldview itself is an old as antiquity. Ancient Greek philosophers such as Anaximander postulated the development of life from non-life and the evolutionary descent of man from animal. Charles Darwin simply brought something new to the old philosophy – a plausible mechanism called “natural selection”. Natural selection acts to preserve and accumulate minor advantageous genetic mutations. Suppose a member of a species developed a functional advantage (it grew wings and learned to fly). Its offspring would inherit that advantage and pass it on to their offspring. The inferior members of the same species would gradually die out, leaving only the superior members of the species. Natural selection is preservation of a functional advantage that enables a species to compete better in the wild. Natural selection is the naturalistic equivalent to domestic breeding. Over the centuries, human breeders have produced dramatic changes in domestic animal populations by selection individuals to breed. Breeders eliminate undesirable traits gradually over time. Similarly, natural selection eliminates inferior species gradually over time.
c) Explain the carbon cycle with the help of a diagram. In what way human activities have altered the balance of carbon cycle? (5)

Ans:
Human perturbations to the carbon cycle have been both direct and indirect. Obvious direct effects are the addition of new carbon to the active global carbon cycle through the combustion of fossil fuels, and the modification of the vegetation structure and distribution through land-use change. Deforestation, the removal of forest vegetation and replacement by other surface cover, has the largest land-use change impact on the carbon cycle, both through the loss of photosynthetic capacity in forest vegetation and the simultaneous release of large carbon stocks accumulated in forest ecosystems over long periods of time. Indirect human impacts on the carbon cycle include changes in other major global biogeochemical cycles, alteration of the atmospheric composition through the additions of pollutants as well as CO2, and changes in the biodiversity of landscapes and species.
Q.6 a) List any four consequences of deforestation. (2)
Ans: Four consequences of deforestation:
1. Desertification, landslides, loss of biodiversity as a result of land fragmentation and loss of habitat.
2. If this wood is burned it will increase global warming (greenhouse effect)
3. Decrease of Carbon dioxide absorption which increases pollution and also contributes to the greenhouse effect.
4. Evapotranspiration (decrease of atmospheric moisture) water is simply
returned to the oceans instead of being recycled to downwind forests.
b) Explain the role of remote sensing method in resource exploration. (3)
Ans: Remote sensing is a method of collecting information about ground objects like soil, water, vegetation and minerals from a remote place such as an aircraft of a satellite. This technique not only enables us to locate various resources but also helps us to known about their quantity and quality. The method is used to collect information about an object, without physical contact with the object. The orbit of a sun-synchronous satellite is such that it always posses over a particular place on the earth at almost the same local time. It means whenever the satellite passes over a certain place on the earth, the position of the sun relative to that place is always the same. Thus the cameras of that satellite are enable to get photographs of that place always with nearly the same illumination every time it passes over that place.
c) Discuss the ways to manage water resources. (2)
Ans: The ways of managing water resources so as to provide water of right quality available for all kinds of uses are:
1. Need to check on excessive irrigation.
2. Sea water can be distilled by using solar energy, thus fresh water of good quality can be obtained.
3. Flood water can be delivered to areas where there is scarcity of water.
4. Recharging of groundwater is the most important aspect of the water management. The water sheds are covered with vegetation in the mountain and hills. It must be allowed in filtration of rain water, which finds its way to the aquifers.
5. By providing water filters.
d) Describe any three types of agrotechniques used in India . (3)
Ans: The three types of agrotechniques used in India are:
Cropping Systems
Since cultivable land is limited, the only way to meet our growing food needs is by growing two or more crops in a year from the same piece of land. Such multiple-cropping practices would generate more employment in rural areas and also fulfill our food needs. In a relay cropping system, a crop is sown before its preceding crop is harvested. The last irrigation given to a crop also serves as a pre-sowing irrigation to the next crop. This results in saving of water. In mixed cropping, compatible crops like chickpea and mustard are sown in parallel rows with wheat. Pigeonpea, mungbean, groundnut, soybean and cowpea can be grown in between rows of either sorghum, or maize, or sugarcane or cotton. Such intercropping systems have a high production potential and generate additional employment opportunities.
Input of Fertilisers
Nitrogen, phosphorus and potassium are the major nutrients that plants require. In addition, zinc, iron, manganese, boron, molybdenum and cobalt are also needed by plants in small quantities for healthy growth. Deficiency of any of these elements reduces yields, even when all other nutrients are available in adequate amounts. But, the excessive presence of some of these nutrients may prove toxic to plants.
Cereals require more nitrogen than phosphorus and potash. But pulses, whose m t nodules harbour bacteria, that fix nitrogen directly from the atmosphere, need adequate doses of phosphorus. As said earlier, the nutrient needs vary not only from crop to crop but also from soil to soil. It is essential, therefore, that the soil is tested and the required amounts of nutrients supplied according to the needs of the crops. Generalized application of commercially available fertilizer mixtures such as the one having nitrogen, phosphorus and potassium in the ratio of 120:60:40, is often quite wasteful and may even reduce yields. The time and depth of application of fertilizers is also very important. Research has shown that most farmers over-irrigate their crops when water is available. Consequently, not only is water, a precious input is wasted but the yields get depressed. Thus, crop management is as important as the crop variety in realizing optimum yields.
Crop Protection
Several kinds of insects, diseases, weeds, rodents and birds cause immense damage to crops both in the field and in storage. Pests have been there long before man came into existence. It is not possible to eliminate them entirely, either by developing varieties which resist attacks of pests or by using potent pesticides, for pests are adept in their struggle for existence and have always countered man's attempts to exterminate them. The best course for us is to resort to what is called "integrated pest management” that keeps the damage due to pests at the barest minimum. Integrated pest management will be effective if we grow resistant varieties in regions where incidence of pests is severe, ensure that crops grown one after another do not have common pests, instead of chemicals for pest control use biological organisms that attack the pest, apply pesticides only when the pest population has reached its threshold value, and take co-ordinated community action on pest control in adjoining fields over the whole village or block.
The war against pests is so long-drawn-out and difficult that farmers often use very high
I doses of pesticides at frequent intervals. This is a dangerous tendency. Excessive doses of pesticides leave harmful residues (also see Unit 16, Section 16.2) which find their way into the human body either directly from the consumed agricultural produce or through the milk of animals that feed on plants. It is essential, therefore, that pesticides are applied only in recommended doses that are harmless.
Q.7 a) List any five groups of nutrients with one example food group of each. Write their roles in human health. (5)
Ans: Five types of nutrients are:
1 Carbohydrates (example potato)
2. Fat (example Ghee/oil)
3. Protein (example peas)
4. Minerals (example spices)
5. Vitamins (example tomato)
Roles of nutrients in human health:
We cannot live without food. Our hunger can be satisfied by any kind of meal, but to remain healthy and free of disease, our body requires certain kinds of food. The health of an individual is largely determined by the quality of food taken. Moreover, food makes a difference in our appearance, activity, behaviour, and in the quality of life.
Foods vary in their composition and no one type of food contains all we need, in the amounts that we need. A meal lacking in a particular requirement of our body for a prolonged period can result in disease, and even in death. Therefore, a knowledge of the food requirements of our body and various sources of obtaining them is essential. Studies carried out in many countries show that a good diet has promoted proper growth in children and has improved the general health of the people. A study of Japanese children has shown that an improved diet has increased the average height of children, from what it was a few decades ago.
A majority of the children of the developing countries of Asia, Africa and Latin America are generally poorly nourished. Some of them do not get enough to eat, while the diet of others is deficient in some foods that are essential for the body. So, we find a steady retardation in the physical and mental growth of these children and they suffer from various deficiency diseases.
The science of nutrition is a well developed discipline today. We know enough about what kind of nourishment is necessary for our child and adult population. The main problem is to make this information available to our people and to ensure that the food contains dl the necessary ingredients. Of course, the foods must be available to the people.
b) What are infectious diseases? Give the names of two diseases caused by viruses. How does our body battle against germs? (5)
Ans: Infectious Diseases:
An infectious disease is a clinically evident disease resulting from the presence of pathogenic microbial agents, including pathogenic viruses, pathogenic bacteria, fungi, protozoa, multicellular parasites, and aberrant proteins known as prions. These pathogens are able to cause disease in animals and/or plants. Infectious pathologies are usually qualified as contagious diseases (also called communicable diseases) due to their potential of transmission from one person or species to another. Transmission of an infectious disease may occur through one or more of diverse pathways including physical contact with infected individuals. These infecting agents may also be transmitted through liquids, food, body fluids, contaminated objects, airborne inhalation, or through vector-borne spread.
There are many diseases caused by viruses. Some are - chickenpox, measles and influenza.
When germs enters the body, it sends up a red flag causing certain cells in the body to wage war against the intruder. The first soldiers that are sent out are neutrophils or specialized white blood cells. They basically eat up the enemy.
But if these neutrophils aren't saturated with Vitamin C, they have a
difficult time maneuvering in the body and doing their job. If they are saturated with Vitamin C it increases their mobility and allows them to attack the intruding germs with more ease and at a greater speed.
Lymphocytes are another special kind of white blood cell important in the body's immune system and having plenty of Vitamin C also steps up their production levels adding more fighting power to the body's defense system.
But how do these soldiers know where to go to fight the enemy? The body produces a chemical distress signal, and much like a trained police dog tracks the scent of a bad guy, these neutrophils and lymphocytes follow the scent of the distress signal.
One thing that hinders their ability to do their job is that once they receive this distress signal, they may not receive it a second time if another attack is made on the body. They kind of become deactivated. The good news is, if the cells are saturated with Vitamin C, they are able to "hear" the second distress signal and will move on it. But cells that are Vitamin C deficient will not respond to a second call to action. This is often the reason that our bodies just don't fight off germs and invasions the way they should. Our little soldiers don't have the necessary equipment or ability to attack and win the battle.
Q.8 a) Describe the structural components of central nervous system. (6)
Ans: Components of the Nervous System :
The nervous system is composed of both central (brain and spinal cord) and peripheral components, with the latter having both somatic and autonomic (parasympathetic and sympathetic) subdivisions.
When we consider the central nervous system, its major purpose is to receive, process/interpret, and send out information. To accomplish these goals, the brain itself is composed of inter-related but specialized areas of function that are carefully coordinated through a network of connections.
a. Brain. The brain fills the cranium and weighs about three pounds in the average adult. The brain is shaped like a mushroom. The brain consists of four principal parts: the brain stem, the diencephalon, the cerebrum, and the cerebellum. The diencephalon, also known as the forebrainstem, includes the thalamus and hypothalamus.
b.Spinal Cord. The spinal cord is a cylindrical structure which extends from the foramen magnum through the spinal foramina of the vertebral column to the upper portion of the lumbar region. Extension varies from the 12th thoracic vertebra to the 2nd lumbar vertebra. The length of the cord remains fairly constant in adults: 18 inches in males and 16 inches in females. The conus medullaris is the cone-shaped termination of the cord. This portion of the spinal cord weighs about one ounce and is approximately one and one-half inches wide. The spinal cord itself appears wider from right to left than from anterior to posterior. The size and shape, however, do vary depending on the vertebral region. For example, the spinal cord presents cervical and lumbar enlargements, which are areas of nerve origin in the upper and lower lumbar region. The spinal cord is composed of a series of 31 segments. A pair of spinal nerves comes out of each segment. The region of the spinal cord from which a pair of spinal nerves originates is called the spinal segment. Both motor and sensory nerves are located in the spinal cord.
c. Meninges. The meninges are the three membranes that envelop the brain and the spinal cord. The outermost layer is the dura mater. The middle layer is the arachnoid, and the innermost layer is the pia mater. These three spinal meninges cover the spinal nerves to the point where the spinal column goes through the intervertebral foramen. The meninges offer protection to the brain and the spinal cord by acting as a barrier against bacteria.
d. Cerebrospinal Fluid (CSF). The cerebrospinal fluid protects the brain against injury. CSF circulates through the subarachnoid space (the area between the arachnoid and pia mater), around the brain and spinal cord and through the ventricles of the brain. In addition to protecting the brain, this clear fluid nourishes the central nervous system and carries off wastes.
b) Do you think the methodology of reward and punishment helps in learning process? Justify your answer. (4)
Ans:
Among different kinds of learning forms, one form of learning comes about through reward and punishment. For example, if you have a pet puppy and you want to train it to ‘sit down’, he would not understand the words ‘sit down’ as he doesn’t understand English. But if, while giving the command, you physically make him sit down and give him a biscuit, then on the experience being repeated a few times, the puppy will learn to obey the command. The puppy will associate the sound of the command to sit with the reward of a biscuit. After training, the puppy will sit down as soon as he is given the command – ‘sit’ even if he is not given any reward. In some situations, punishment would also lead to the same result. We learn a lot of things by such processes. For example, when a baby is hungry it may cry which attracts the attention of the mother and may result in his being fed some milk. The child will soon learn the trick. Similarly, a student in the math’s class solves a problem correctly. He receives the praise of his teacher. The next time he will approach other math’s problem with greater zeal so as to get the teacher’s approval. All of us are familiar with situations where punishment is used to reduce undesirable behavior. Spanking, reprimands or holding back privileges are common means. For example, the traffic police impose fines on motorists if they cross a red light or parents do not allow their children to watch television if the home work is not done. This principle of reward and punishment is used in the educational field widely performance or good actions and discouraging or punishing poor performance, or activities. The same principle is used in society and public organizations. Bonus for productivity in a factory, or cut in wages if there is low production, are examples or the same kind.
Q.9 a) Discuss the role of any one mass communication medium in promoting education. (5)
Ans: Mass communication is the term used to describe the academic study of the various means by which individuals and entities relay information through mass media to large segments of the population at the same time. It is usually understood to relate to newspaper and magazine publishing, radio, television and film, as these are used both for disseminating news and for advertising.
Many studies have proven that the Internet is one of the most powerful sources of information in the world wide for all races and cultures. Some schools nowa days have eliminated the books and the note books and changed them with laptops and emails. An increasing number of young generations prefer this modern technology over the old ways in studying. Internet can be helpful indeed to both students and teachers in many ways and this is why!!!
First of all, the Students find the Internet a saving time invention. While it takes hours for one to search the library for the information, it takes only an Enter click to find what he is seeking for. Also, it is more fun and interesting to dig in the internet than in books because web sites are usually filled with colors and designs while the books are plain and some are even old.
Another example of Internet's importance in education is the teachers. They can use this giant source in teaching students who are distant, they can up load their courses on the webs so the whole world benefits from it , Also, Internet can be a lie detective for teachers to use and see if their students were cheating !! Internet expands teachers time, instead of correcting in a limited or no time they have all day long by receiving the home works and sending them back to the students to correct their mistakes .
Internet for sure is an affective weapon in education; however we can not replace it or make it a superior to the importance of the book.
b) What is the importance of research and development in the industry? What technological developments have taken place in energy sector till date? (5)
Ans: A developing country like ours aims to reduce its technological dependence on other countries. We shall be able to achieve this by increasing our R & D efforts. Products and processes developed in our own country will be based on local raw materials and will take into consideration other local factors such as weather. In the process, we will also have the requisite manpower for maintenance as well as further improvement of technology. We should match our R & D efforts with the objectives and policies of our country. Apart from the government laboratories, private industry should take more and more active part in research activities. The commercial application of scientific discoveries can be carried out more easily if there is a direct link between the laboratory and industry. In other words it would be better if industrial units have an R & D set up within themselves.
Our indigenous R & D units should try to reduce the threat to our environment through innovations in industrial processes. Pollution of environment by industries is a very serious menace in the developed countries. As you know most of our big industries were set up before the oil prices sky-rocketed in 1973. As a result they rely heavily on oil as their source of energy. With the unprecedented rise in oil prices, and also taking into consideration the limited world reserves of oil. We should try and look for alternative source of energy which will increase our profitability in the long run. Some experiments are being done with solar energy, and it has also been put to use in some places. But we haven't yet tapped its full potential.
It may be noted that the concept of modernization is integrally related to the Improvement of processes and products. But modernization as mere gimmickry. for example, to introduce computers where one can do without them, or installing remote control communication systems and the like can only increase overheads and lead to handicaps in trade. A balanced approach to modernization seems to be the need of the hour, and we need to strengthen our own R & D efforts for this.
Q.10 Write the applications of the following: (2½´4)
a) Fibre optics
Ans: A technology that uses glass (or plastic) threads (fibers) to transmit data. A fiber optic cable consists of a bundle of glass threads, each of which is capable of transmitting messages modulated onto light waves.
Fiber optics has several advantages over traditional metal communications lines:
1. Fiber optic cables have a much greater bandwidth than metal cables. This means that they can carry more data.
2. Fiber optic cables are less susceptible than metal cables to interference.
3. Fiber optic cables are much thinner and lighter than metal wires.
3. Data can be transmitted digitally (the natural form for computer data) rather than analogically.
The main disadvantage of fiber optics is that the cables are expensive to install. In addition, they are more fragile than wire and are difficult to splice.
Fiber optics is a particularly popular technology for local-area networks. In addition, telephone companies are steadily replacing traditional telephone lines with fiber optic cables. In the future, almost all communications will employ fiber optics.
b) Biotechnology
Ans: Biotechnology is perhaps, best defined as the industrial utilization of biological systems or processes. The ability to control and manipulate microbes and use them for various applications has resulted in the current biotechnology. The two main techniques in biotechnology are:
v Genetic engineering and
v Enzyme immobilization
The most ancient biotechnological art is fermentation. Living micro-organisms have been used for centuries to make curds, condiments, cheese and vinegar, to prepare dough for bread and to brew alcohol. But today biotechnology provides much more simple processes with the help of powerful microscopes and carefully done experiments in the laboratory, we have came to understand that the thing microbes involved in these processes are small biochemical factories. And they can be used for a variety of purposes, related to health, medicine, food, pollution control etc.
c) Nuclear fission
Ans: When a nucleus fissions, it splits into several smaller fragments. These fragments, or fission products, are about equal to half the original mass. Two or three neutrons are also emitted.
Nuclear Fission
The sum of the masses of these fragments is less than the original mass. This 'missing' mass (about 0.1 percent of the original mass) has been converted into energy according to Einstein's equation.
Fission can occur when a nucleus of a heavy atom captures a neutron, or it can happen spontaneously.
A chain reaction refers to a process in which neutrons released in fission produce an additional fission in at least one further nucleus. This nucleus in turn produces neutrons, and the process repeats. The process may be controlled (nuclear power) or uncontrolled (nuclear weapons).
If each neutron releases two more neutrons, then the number of fissions doubles each generation. In that case, in 10 generations there are 1,024 fissions and in 80 generations about 6 x 1023 (a mole) fissions.
c)Robotics:
Ans: Robotics can be described as the current pinnacle of technical development. Robotics is a confluence science using the continuing advancements of mechanical engineering, material science, sensor fabrication, manufacturing techniques, and advanced algorithms. The study and practice of robotics will expose a dabbler or professional to hundreds of different avenues of study. For some, the romanticism of robotics brings forth an almost magical curiosity of the world leading to creation of amazing machines. A journey of a lifetime awaits in robotics.
Robotics can be defined as the science or study of the technology primarily associated with the design, fabrication, theory, and application of robots. While other fields contribute the mathematics, the techniques, and the components, robotics creates the magical end product. The practical applications of robots drive development of robotics and drive advancements in other sciences in turn. Crafters and researchers in robotics study more than just robotics.
The promise of robotics is easy to describe but hard for the mind to grasp. Robots hold the promise of moving and transforming materials with the same elan and ease as a computer program transforms data. Today, robots mine minerals, assemble semi-processed materials into automobile components, and assemble those components into automobiles. On the immediate horizon are self-driving cars, robotics to handle household chores, and assemble specialized machines on demand. It is not unreasonable to imagine robots that are given some task, such as reclaim desert into photovoltaic cells and arable land, and left to make their own way. Then the promise of robotics exceeds the minds grasp.

























