Company: ICICI_MCQ
Difficulty: medium
What is the output of the following Python code: import nltk from nltk.tokenize import sent_tokenize text = "I love natural language toolkit. It's fascinating!" sentences = sent_tokenize(text.lower()) print(sentences) ['I love natural language toolkit.', "It's fascinating!"] ['i love natural language toolkit.', "it's fascinating!"] ['I love natural language toolkit', '.', "It's fascinating", '!'] ['i love natural language toolkit', '.', "it's fascinating", '!'] Which of the following keywords is used to inherit one interface from another interface in Java? extends implements extend None of these What is the output of the following Python code: import cv2 image = cv2.imread('image.jpg') rotated_image = cv2.rotate(image, cv2.ROTATE_90_CLOCKWISE) cv2.imshow('rotated_image', rotated_image) cv2.waitKey(0) cv2.destroyAllWindows() Display the rotated image with 1.571 radians clockwise rotation Display the rotated image with 3.142 radians clockwise rotation Display the rotated image with 1.571