8 TH
8 TH
Computer Stencil
2|Page
29. Variable created outside a function are called global variable.
30. Variable created inside a function are called Local Variable.
31. sentiment analysis known as opinion mining.
Ans : A function is an organized block of reusable code used to carry out a specific task.
There are two types of functions 1) Built – in functions 2) User defined functions
Ans : Built in functions : These are predefined function which can be used anytime.
For example : input( ) , print ( ) etc.
User Define Functions : These functions are manually created by user to perform
specific task.
3|Page
Ans : It is used to make decisions and they determine whether a specific condition is
true or false.
Ans : Loops are used to perform reparative task and loop will get terminated when the
specific condition get occurred.
16. What is AI ?
Ans : It enables computer and machines to perform task that typically require human
intelligence.
Ans : It tells computer what are the steps to be taken to solve the problem or to
complete task.
Ans : It helps in diving a sentence into a list where each word becomes a single item in
the list.
a. ML : Machine Learning
b. AI : Artificial Intelligence
c. SA : Sentiment Analysis
4|Page