Quiz on PyQt
FREE Online Courses: Enroll Now, Thank us Later!
Time limit: 0
Quiz Summary
0 of 15 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Quiz complete. Results are being recorded.
Results
0 of 15 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- Current
- Review / Skip
- Answered
- Correct
- Incorrect
-
Question 1 of 15
1. Question
- Which of the following is not true about the PyQt framework?
CorrectIncorrect -
Question 2 of 15
2. Question
- Which of the following module is used to get many of the widgets in PyQt?
CorrectIncorrect -
Question 3 of 15
3. Question
- Which of the following is the correct code to set the title to the GUI window ‘win’?
CorrectIncorrect -
Question 4 of 15
4. Question
- Which of the following is the correct code to set the position of a widget ‘wid’ to position (x,y)?
CorrectIncorrect -
Question 5 of 15
5. Question
- What does the below code do?
button.clicked.connect(f1)
CorrectIncorrect -
Question 6 of 15
6. Question
- Which module should be imported to use the methods setText() and getText() related to the text box?
CorrectIncorrect -
Question 7 of 15
7. Question
- What is the output of the below code?
- QMessageBox.question(self, ‘Message’, “Welcome!”, QMessageBox.Yes | QMessageBox.No, QMessageBox.Yes)
CorrectIncorrect -
Question 8 of 15
8. Question
- Which of the following is the correct code to add option ‘Opt1’ to the menu bar need ‘menu’?
CorrectIncorrect -
Question 9 of 15
9. Question
- Find the output of the below code?
-
label=QLabel(self)
pixmap=QPixmap(‘pic.png’)
label.setPixmap(pixmap)
CorrectIncorrect -
Question 10 of 15
10. Question
- Which of the following opens the color dialog box?
CorrectIncorrect -
Question 11 of 15
11. Question
- Which of the following is a layout provided by PyQt?
CorrectIncorrect -
Question 12 of 15
12. Question
- What is the statement that is written to run the GUI in a loop till it is manually closed?
CorrectIncorrect -
Question 13 of 15
13. Question
- Which of the following is the correct method to add a menu bar to the GUI?
CorrectIncorrect -
Question 14 of 15
14. Question
- Which of the following is the correct code to take a range of values from 1 to 5 from the user?
CorrectIncorrect -
Question 15 of 15
15. Question
- Which of the following is the class used to align the widgets horizontally?
CorrectIncorrect