02-03-2012, 08:04 PM
Question No: 37 ( Marks: 3 )
What are the Sub categories of Artificial Intelligence? Briefly explain any two.
1. Expert systems:
Expert system is that system which is in some limited sense, can replace an expert.
2. Robotics:
Robotics is an automatic machine that performs various tasks that were previously done
by humans.
Question No: 38 ( Marks: 5 )
How many ways are there to call a function in a program? Explain with example.
Two Ways of Calling Functions:
Functions do not run automatically. When the page loads, each function waits quietly
until it is told to run.
1. A function calls appearing as a complete statement:
function popUp( message ) {
window.alert( message ) ;
}
popUp( “Warning!” ) ;
2. A function calls appearing as part of a statement. Definitions of such functions
include a ‘return’ statement:
function add( a, b ) {
c = a + b ;
return c ;
}
sum = add( 2, 4 ) ;
document.write( sum ) ;
What are the Sub categories of Artificial Intelligence? Briefly explain any two.
1. Expert systems:
Expert system is that system which is in some limited sense, can replace an expert.
2. Robotics:
Robotics is an automatic machine that performs various tasks that were previously done
by humans.
Question No: 38 ( Marks: 5 )
How many ways are there to call a function in a program? Explain with example.
Two Ways of Calling Functions:
Functions do not run automatically. When the page loads, each function waits quietly
until it is told to run.
1. A function calls appearing as a complete statement:
function popUp( message ) {
window.alert( message ) ;
}
popUp( “Warning!” ) ;
2. A function calls appearing as part of a statement. Definitions of such functions
include a ‘return’ statement:
function add( a, b ) {
c = a + b ;
return c ;
}
sum = add( 2, 4 ) ;
document.write( sum ) ;
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
