Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Day-2

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

Which one of these is not a feature of python?

a)

Compiled Language

b)

Community Support

c)

Platform Independence

d)

Flexibility

2.

What is the syntax of accessing the camera using OpenCV?

a)

cv2.videocapture

(0)

b)

cv2.VideoCapture (0)

c)

cv3.VideoCapture

(0)

d)

cv2.Videocapture

(0)

3.

How many points on the hand does the hand_landmarks function detect?

a)

10

b)

20

c)

5

d)

None of the above

4.

What is the final datatype of "var" in the given code snippet?

a)

String

b)

Integer

c)

Character

d)

Boolean

5.

How is a code block indicated in python?

a)

Brackets

b)

Indentation

c)

Key

d)

None of the above

6.

Which of the following is not a valid set of operations in python?

a)

Union

b)

Intersection

c)

Difference

d)

None of the abvove

7.

In which language is python written in?

a)

Java

b)

Python

c)

C++

d)

C

8.

What does cv2.waitKey() do in OpenCV?

a)

Allow users to display a window for given milliseconds

b)

Used to open camera

c)

Used to draw a line in the wndow

d)

None of the above

9.

What is the function used in OpenCV for adding text?

a)

cv2.putText()

b)

cv2.Insert()

c)

cv2.PutText()

d)

cv2.Show()

10.

Python is a?

a)

Dynamic language Language

b)

Not Object Oriented Language

c)

Platform dependent Language

d)

Low-Level Language

11.

What is the full-form of mp in mp.hands?

a)

Manipal

b)

Megapixel

c)

Mediapipe

d)

Matplotpib

12.

Why do we use the keyword "with"?

a)

Resource Management

b)

To check if the condition True or False

c)

To increase my chances with her

d)

Encapsulation