G8 Eoy Computing 2023-24
G8 Eoy Computing 2023-24
Candidate Name:
Instructions:
Remarks:
………………………………………………………………………………………………………………..
SECTION -B
2.Program Writing:
a. Write a Python program to
i. Create a list Alphabet=[a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]
ii. Create empty list named Vowel list & consonant list.
iii. Append the element to Vowel list if a vowel is found else append on consonant list.
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………[6]
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………[4]
SECTION- C
3.
a. What are advantages and disadvantages of Machine learning. Give 2 points in each.
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………… [4]
b. What is Cluster?
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………… [2]
…………………………………………………………………………………………………………..
…………………………………………………………………………………………………………..
…………………………………………………………………………………………………………..
…………………………………………………………………………………………………………..
[4]
Diamonds are worth a lot of money. There are pretend diamonds that looks realistic. There are
tests to tell real diamonds from pretended diamonds. Two of the tests are set out in this decision tree.
These tests are heuristics. They give a useful quick answer but they do not produce perfect accuracy.
Use the algorithm to make decision. Izzy wanted to know If the stone in her necklace was a diamond.
Here are the facts about the stone.
i. The stone does not float in water.
ii. The stone does not scratch glass.
Use the decision tree to say if the stone is a real diamond or not. [6]