WorksheetsDay-2
Total questions: 12
Worksheet time: 6mins
Which one of these is not a feature of python?
Compiled Language
Community Support
Platform Independence
Flexibility
What is the syntax of accessing the camera using OpenCV?
cv2.videocapture
(0)
cv2.VideoCapture (0)
cv3.VideoCapture
(0)
cv2.Videocapture
(0)
How many points on the hand does the hand_landmarks function detect?
10
20
5
None of the above
What is the final datatype of "var" in the given code snippet?
String
Integer
Character
Boolean
How is a code block indicated in python?
Brackets
Indentation
Key
None of the above
Which of the following is not a valid set of operations in python?
Union
Intersection
Difference
None of the abvove
In which language is python written in?
Java
Python
C++
C
What does cv2.waitKey() do in OpenCV?
Allow users to display a window for given milliseconds
Used to open camera
Used to draw a line in the wndow
None of the above
What is the function used in OpenCV for adding text?
cv2.putText()
cv2.Insert()
cv2.PutText()
cv2.Show()
Python is a?
Dynamic language Language
Not Object Oriented Language
Platform dependent Language
Low-Level Language
What is the full-form of mp in mp.hands?
Manipal
Megapixel
Mediapipe
Matplotpib
Why do we use the keyword "with"?
Resource Management
To check if the condition True or False
To increase my chances with her
Encapsulation
