INF2611 - Assignment 1
This MCQ consist of two parts. Part A contains questions testing your
Theoretical understanding of Python as well as PyQT5. Part B contains
questions of amor practical implementation of Python and PyQT5.
Immersive Reader in Microsoft Forms allows you to hear the text of a form title and
questions read out loud while following along. You can find the Immersive Reader
button next to form title or questions after activating this control. You can also
change the spacing of line and words to make them easier to read, highlight parts of
speech and syllables, select single words or lines of words read aloud, and select
language preferences.
Points:
23/30
Section A - Theoretical Questions
Answer all the question in this section by selecting the correct option on the list of
options.
11,
The abbreviation GUI stands for Single choice.
(1/1 Point)
Graphical User Interchange
Graphical User Interface
General User Interaction
Graphic Usage Interaction
Correct answers: Graphical User Interface
22,
Event handling in the Python programming language makes use of
events and slots. A programming signal is theSingle choice.
(1/1 Point)
method
execution
event
occurrence
Correct answers: event
33,
The BASE class of all User Interface classes in QT isSingle choice.
(1/1 Point)
QWidget
QDialog
edtWidgets
exec_
Correct answers: QWidget
44,
In a PyQt5 program window is defined as aSingle choice.
,(1/1 Point)
widget that has no parent widget
widget that has a tool bar
widget that has multiple properties but no values
widget that has no properties and values
Correct answers: widget that has no parent widget
55,
The graphical user interfaces created by Qt Designer are stored in
files with the extensionSingle choice.
(1/1 Point)
.pyw
.ui
.py
.exe
Correct answers: .ui
66,
Which widget on the list below is used to enter a single line of data?
Single choice.
(1/1 Point)
QListView
QLineEdit
QLabel
QPushButton
Correct answers: QLineEdit
77,
Which of the widgets on the list below is used display text or
images.Single choice.
(1/1 Point)
QLabel
QLineEdit
QListView
QPushButton
Correct answers: QLabel
88,
Which of the states on the list below does not belong to the
QCheckBox widgets class?Single choice.
(0/1 Point)
tristate - unchanged
selected - checked
unselected - unchecked
, transition - changing
Your answer to question 8 is wrong. Correct answers: transition - changing
99,
Which one of the following statements is NOT correct?Single choice.
(1/1 Point)
PyQt is not dependent on the Qt libraries to run
PyQt API is a large collection of classes and methods
PyQt supports Unix, Mac OS, Linux and Windows
PyQt is a GUI widgets toolkit
Correct answers: PyQt is not dependent on the Qt libraries to run
1010,
Which one of the following statements about widgets is NOT correct?
Single choice.
(1/1 Point)
Widgets can be nested inside another in a parent-child relationship
A widget that has no parent widget is called a form
The main component used for creating a user interface is widgets
Button, menus and scrollbars are examples of widgets used for receiving user
input, displaying data and presenting status information
Correct answers: A widget that has no parent widget is called a form
1111,
Which one of the following widgets is NOT an input widget in Qt
Designer?Single choice.
(1/1 Point)
Combo Box
Text Edit
Label
Spin Box
Correct answers: Label
1212,
Which one of the following widgets is a container in Qt Designer?
Single choice.
(1/1 Point)
Combo Box
Font Combo Box
Group Box
Table Widget
Correct answers: Group Box
1313,
Which one of the following methods is NOT provided by the
QCheckBox Class?Single choice.
(1/1 Point)
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying this summary from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller JayJo. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy this summary for R99,00. You're not tied to anything after your purchase.