Saturday 23 December 2017

Download Latest CS101 Solved Final Term Subjective Past Papers

Question No: 31 (Marks: 1)
What is heuristic?
Heuristic is a procedure that usually, but not always, works or that gives nearly
the right
answer.

Question No: 32 (Marks: 1)
In programming, what is an object?
Object is a named collection of properties (data, state) & methods (instructions,
behavior).

Question No: 33 (Marks: 2)
What is spreadsheet? List any two jobs that it can do.
A spreadsheet is a grid that organizes data into columns and rows. Spreadsheets
make it
easy to display information, and people can insert formulas to work with the data.
Electronic replacement for ledgers
Charts
Financial-forecasting.

Question No: 34 (Marks: 2)
In JavaScript, what is event handling? What are the two types of events?
In JavaScript capturing events and responding to them is event handling. The
system
sends events to the program and the program responds to them as they arrive.
1. Events can include things a user does - like clicking the mouse.
2. Events that the system itself does - like updating the clock.

Question No: 35 ( Marks: 3 )
Explain how many ways businesses monitor their employees?
• Systems are available that monitor almost every key stroke that an employee
makes on
a computer.
• Systems are available that read and censor all incoming and outgoing eMail.
• It is quite straight forward to monitor where you surf the web.
Question No: 36 ( 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: 37 ( 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 ) ;

Question No: 38 ( Marks: 5 )
Elaborate the ‘+ ’ operator and its constraints with the help of examples.
The + Operator Used on Strings. The + operator can also be used to add string
variables
or text values together. To add two or more string variables together, use the +
operator.
Example:
txt1="What a very";
txt2="nice day";
txt3=txt1+txt2;
Now txt3 will be having this value "What a very nice day".

txt3=txt1+txt2; this statement due to + sign.

Download Cs101 Solved Subjective Past Papers


No comments:

Post a Comment