Professional Documents
Culture Documents
9CS Quarterly QP
9CS Quarterly QP
SCHOOL
QUARTERLY EXAM
CLASS : IX MARKS: 50
SUBJECT : COMPUTER SCIENCE TIME:1.30 HOURS
-------------------------------------------------------------------------------------------------------------------------
I. Choose the correct answer: (5 x 1 =5)
1. Which one of the following is the library involved in image processing?
a) Scikit-image b) OpenCV c) Mahotas d) Pillow e)All the Above
2. The addWeighted() method generate an output for a __bit colour image.
a) 8 b) 16 c) 24 d) 6
3. The sub module scipy.ndimage provides functions that work on ___ dimensions.
a) 2 b) 3 c) 4 d) n
4. In using GaussianBlur() method, sigmaX and SigmaY, need to be specified,which are X and Y
___respectively.
a) sides b) degrees c) directions d) variables
5. new_img=a*original_img+b
In this equation, whenever 'a' value is greater than one it indicates____ contrast.
a) greater b) no c) less d) equal
Find the output for the given Python codes: (10 x 1 =10)
1.The output for the following coding is:
x,y,z=5,6,7
print(x)
print(y)
print(z)
a)5 b)7 c)6 d)7
6 6 5 5
7 5 7 6
2. The output for the following coding is:
F_name=”Computer”
L_name=”Science”
print(F_name+L_name)
a)ComputerScience b)Science Computer c)Computer Science d)Computer+Science
3.course=[Engineering, Medical, Nursing, Psycology]
print(course[2])
a) Engineering b) Medical c) Nursing d) Psycology
4. x=50
y=5
z=x%y
print(z)
a)5 b)2 c)0 d)3
5. n1=input(“Enter first number:”)
n2=input(“Enter second number:”)
ans=n1**n2
print(“The answer is “+ans)
a)Enter the first number:3 b)Enter the first number:6 c)Enter the first number:7 d)Enter the first number:3
Enter the second number:2 Enter the second number:8 Enter the second number:4 Enter the second number:4
9 The answer is 14 The answer is 74 34
6. i=1
while(i<=5):
print(i)
i+=1
a)1 b)0 1 2 c)1 2 3 4 5 d)error
7. age=input(“Enter Ur age:”)
Here, in the above coding, what type of data will be got as input?
a)int b)str c)bool d)float
8. Which of the following is a valid variable name?
a) 1stName b)@gmail c)kith&kim d)L_name
9. Which symbol is used for commenting?
a)# b)@ c)$ d)!
10.