Qt Basics Quiz Form
Qt Basics Quiz Form
Which language is most commonly used to write Qt applications?
*
C++
Ruby
PHP
Swift
What is the primary purpose of Qt signals and slots?
*
To enable communication between objects
To define database tables
To compile stylesheets
To allocate memory manually
Which Qt class is commonly used as the base for GUI widgets?
*
QWidget
QString
QFile
QTimer
In Qt, what does the Q_OBJECT macro enable in a class?
*
Meta-object features such as signals and slots
Automatic conversion to a database model
Direct access to operating-system drivers
Automatic generation of a user interface
Which Qt class represents a Unicode string?
*
QString
QByteArrayView
QTextStream
QCharRef
What is the typical role of a layout manager such as QVBoxLayout?
*
Arrange child widgets within a parent widget
Connect a widget to a database
Handle network requests
Translate application text
Which Qt class is commonly used to start and manage the main GUI event loop?
*
QApplication
QPainter
QSettings
QThreadPool
What is the purpose of a Qt resource file (QRC)?
*
Bundle files such as images into an application
Store runtime error logs
Define C++ class inheritance
Configure network ports
What Qt feature would you use to run code repeatedly at a set time interval?
*
What is the name of the Qt tool commonly used to visually design widget-based user interfaces?
*
Submit Quiz
Should be Empty: