Q write 3 questions about linear Regression and 2 questions
Q- write 3 questions about linear Regression, and 2 questions about python scripting language. please provide 7 answer options for EACH Question and the select answer for EACH question .
note :these questions is in the artificial intelligence
Solution
linear regression
1. Which statement is true about neural network and linear regression models?
a.Both models require input attributes to be numeric.
b.Both models require numeric attributes to range between 0 and 1.
c.The output of both models is a categorical attribute value.
d.Both techniques build models whose output is determined by a linear sum of weighted input attribute values.
e. the output of both model depends upon input.
f. we can not construct linear regression using neural network
g.all are true
ans: a
2. An evolutionary approach to data mining.
a.backpropagation learning
b.genetic learning
c.decision tree learning
d.linear regression
e.association rules
f. K-Means algorithm
g. perceptron
ans: b
3. Problems posed for solution by an artificial intelligence technique are often represented using
a.truth space.
b.rule space.
c.state space.
d knowledge space.
e. multidimensional space
f. search space
g. memory space
ans: c
python scripting language
1. What does random.shuffle(x) do when x = [1, 2, 3]?
a) return a list in which the elements 1, 2 and 3 are in random positions
b) do nothing
c) shuffle the elements of the list in-place
d) sort the elements
e) delete all elements
f) none of the mentioned
ans: c
2. What happens if no arguments are passed to the seek function?
a) file position is set to the start of file
b) file position is set to the end of file
c) file position remains unchanged
d) file position is set to middle
e) file position is not important
f) error
ans: f

