In the function gmplot.GoogleMapPlotter(a, b, c), what are a, b and c?
Latitude, Longitude, Zoom level
Zoom Level, Latitude, Longitude
x-coordinate of map, y-coordinate of map, zoom level
zoom level, x-coordinate of map, y-coordinate of map
1 point
What is the output shape of the program?
import turtle
t=turtle.Pen()
for i in range(4):
t.forward(60)
t.left(90)
Triangle
Trapezium
Square
Circle
1 point
What is the output of following code snippet?
from PIL import Image
im = Image.open("bride.jpg")
im.rotate(45).show()
Open, rotate, and display the image.
Save the rotated image
Open, display, rotate and display the rotated image
None of the above
1 point
State True or False
Turtle programming is same as that performed in Logo
True
False
1 point
What is the output shape of the following program?
import turtle
polygon = turtle.Turtle()
num_sides = 6
side_length = 70
angle = 360.0 / num_sides
for i in range(num_sides):
polygon.forward(side_length)
polygon.right(angle)
turtle.done()
Triangle
Trapezium
Square
Hexagon
1 point
What is the correct sequence of cells in a 5*5 matrix that should be displayed for spiral traversing animation?
(1,2), (2,2), (3,5), (5,5), (4,5)
(1,1), (1,2), (1,3), (1,4), (2,4)
(1,5), (2,5), (3,5), (5,5), (4,5)
(2,3), (2,4), (2,5), (1,5), (3,5)
1 point
Which of the following scenarios is considered as a win in snakes and ladders?
When one of the players climbs up a ladder, it is considered as a win.
When one of the players rolls a six, it is considered as a win.
When one of the players reaches last cell, it is considered as a win.
None of the above
1 point
Which of the following statements is true about PIL?
PIL stands for Python Imaging Library.
PIL is used to load images with different formats.
PIL is used to manipulate images with different formats.
All of the above
0 Comments