Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

What is the use of command left ()? a) Specify the thickness of the line to be drawn on the screen b) To turn the turtle to the right according to given . angle c) To turn the turtle to the left according to the given angle d) None of these

Answer»

c) To turn the turtle to the left according to the given angle

2.

What is the use of the command fd () (a) Move the Turtle to the right (b) Move the Turtle in a circle (c) Mark a point on the graphic screen (d) Specify the color of the line to be drawn on the screen

Answer»

(a) Move the Turtle to the right

3.

From the following which code is used for assigning four colours in variable clr (a) clr = [“blue”, “red”, “green”; “orange”] (b) clr = {blue, red, green, orange} (c) clr = (blue, red, green, orange) (d) None of these

Answer»

(a) clr = [“blue”, “red”, “green”, “orange”]

4.

Noramlly when you execute a general purpose program in IDLE, the output will be shown in window. (a) python shell window (b) python graphic window (c) python editor (d) None of these

Answer»

(a) python shell window

5.

Choose the correct code from the following (a) The instruction begin_fill () and end_fill () should be written in the same tab position (b) The instruction begin_fill () and end_fill () should not be written in the same tab position (c) Both a and b are correct

Answer»

(a) The instruction begin_fill () and end_fill () should be written in the same tab position

6.

From the following choose the right command used to stop filling colours to geometric shapes (a) begin_fill () (b) stop_fill () (c) end_fill () (d) None of these

Answer»

(c) end_fill ()

7.

From the following which in the associated software to create geometric shapes in python (a) Turtle (b) Writer (c) Calc (d) None of these

Answer»

Turtle software to create geometric shapes in python

8.

What is the instructions used for removing everything from the Turtle Graphics window? (a) write () (b) clear ()(c) home () (d) iterate ()

Answer»

(b) clear ()

9.

Which among the following is a loop statement? (a) for (b) print (c) home () (d) iterate

Answer»

for is a loop statement

10.

…. command is used to give different colors to geometric shapes created in python graphic window (a) color () (b) forward ()(c) right () (d) left ()

Answer»

(a) color ()

11.

Which command is used to add in the starting of a python program to work graphic commands (a) from turtle import (b) from input import (c) from Gimp import (d) None of these

Answer»

(a) from turtle import

12.

What is the full form of IDE

Answer»

Integrated Development Environment

13.

From the following select one computer programming language (a) Writer (b) GeoGebra (c) GIMP (d) Python

Answer»

Python is computer programming language

14.

From the following select one that is not a computer programming language (a) Python (b) C++ (c) Java (d) Scanner

Answer»

Scanner is not a computer programming language.

15.

From the following which command is equivalent to right (90) (a) rt (90) (b) rgt (100) (c) rht (90) (d) rgt (90)

Answer»

rt (90) command is equivalent to right (90)

16.

From the following which command is equivalent to forward(100) (a) fw (100) (b) for (100) (c) fd (100) (d) fwd (100)

Answer»

(c) fd (100)

17.

From the following choose the IDE that are used to write programms in python language (a) IDLE (b) Geany (c) Turbo C++(d) VB IDE

Answer»

Answer is a and b

18.

A loop statement contains another loop statement then it is called ……(a) Nested loop (b) Direct loop (c) Indirect loop (d) None of these

Answer»

A loop statement contains another loop statement then it is called Nested loop

19.

From the following choose the right command used to start filling colors to geometric shapes (a) begin_fill () (b) start_fill () (c) end_fill() (d) None of these

Answer»

(a) begin_fill ()

20.

Choose the correct code segment from the following (a) for i in range (): fd (100) rt (90) (b) for i in range (4): fd (100) rt (90) (c) fori in range (4): fd(100) rt (90) (d) for i in range (4): fd (100) rt (90)

Answer»

(b) fori in range (4): 

fd (100) 

rt (90)

21.

What is the use of command right ()? (a) Specify the thickness of the line to be drawn on the screen (b) To turn the turtle to the right according to given angle (c) To turn the turtle to the left according to the given angle (d) None of these

Answer»

b) To turn the turtle to the right according to given angle

22.

What is the purpose of the following instruction? Color (“black”, “red”) (a) For drawing geometric shape in black color and. filling it with red color (b) For drawing geometric shape in red color and filling it with black color (c) To fill a geometric shape with black and red color (d) The instruction is invalid

Answer»

(a) For drawing geometric shape in black color and filling it with red color

23.

What is the use of command pen size () a) Specify the thickness of the line to be drawn on the screenb) To turn the turtle to the right according to given angle c) To turn the turtle to the left according to the given angle d) None of these

Answer»

a) Specify the thickness of the line to be drawn on the screen

24.

What is the use of command dot ()? a) Move the Turtle to the.rightb) Move the Turtle in a circle c) Mark a point on the graphic screen d) Specify the color of the line to be drawn on the screen

Answer»

c) Mark a point on the graphic screen

25.

What is the use of the command pen color ()? a) Move the Turtle to the right b) Move the Turtle in a circle c) Mark a point on the graphic screen d) Specify the color of the line to be drawn on the screen

Answer»

d) Specify the color of the line to be drawn on the screen

26.

What is the use of command circle ()? (a) Move the Turtle to the right (b) Move the Turtle in a circle(c) Mark a point on the graphic screen (d) Specify the color of the line to be drawn on the screen

Answer»

(b) Move the Turtle in a circle

27.

If the output a program written in python is graphical then it appears in a window a) python shell window b) python graphic window c) python editor d) None of these

Answer»

(b) python graphic window