Python Programming (2180711) MCQs

MCQs of Advance Topics II

Showing 11 to 20 out of 23 Questions
11.
In which of the following field, we can put our Button?
(a) Window
(b) Frame
(c) Label
(d) All of the above
Answer:

Option (d)

12.
Minimum number of argument we pass in a function to create a rectangle using canvas tkinter ?
(a) 2
(b) 4
(c) 6
(d) 5
Answer:

Option (b)

13.
Tkinter tool in python provide the
(a) Database
(b) OS commands
(c) GUI
(d) All of the above
Answer:

Option (c)

14.
use of the angle attribute are on which widget ?
(a) line
(b) text
(c) Button
(d) All of the above
Answer:

Option (b)

15.
What we use to change the back ground color any widget ?
(a) background
(b) fg
(c) bg
(d) bground
Answer:

Option (c)

16.
Which of the following is clickable in GUI programming ?
(a) Button
(b) Checkbutton
(c) Lable
(d) 1 and 2
Answer:

Option (d)

17.
Which of the following we can able to delete using destroy() function ?
(a) Button
(b) Label
(c) Frame
(d) All of the above
Answer:

Option (d)

18.
The command which helps us to reset the pen (turtle):
(a) turtle.reset
(b) turtle.penreset
(c) turtle.penreset()
(d) turtle.reset()
Answer:

Option (d)

19.
Which of the following functions does not accept any arguments?
(a) position
(b) fillcolor
(c) goto
(d) setheading()
Answer:

Option (a)

20.
Which of the following functions can be used to make the arrow black?
(a) turtle.color(0,1,0)
(b) turtle.color(1,0,0)
(c) turtle.color(0,0,1)
(d) turtle.color(0,0,0)
Answer:

Option (d)

Showing 11 to 20 out of 23 Questions