Worksheets[FAST TRACK] QT CLASS 01 QUIZ 14
Total questions: 25
Worksheet time: 19mins
Name
Class
Date
1.
What describes an object?
a)
Visibility, mutability and actions
b)
Name, category and rules
c)
Noun, adjective and verb
d)
Properties, state and behavior
2.
Data hiding is one of the core OO-concepts. How can you "hide" your class attributes from external classes and only allow child classes to access them? What's the corresponding UML visibility indicator?
a)
Mark them as private (- in UML)
b)
Mark them as protected (# in UML)
c)
Mark them as package (~ in UML)
d)
None of above
3.
Which of the following describes the Decorator pattern correctly?
a)
This pattern allows a user to add new functionality to an existing object without altering its structure.
b)
This pattern is used where we need to treat a group of objects in similar way as a single object.
c)
This pattern hides the complexities of the system and provides an interface to the client using which the client can access the system.
d)
This pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance.
4.
In MVC pattern, Model represents an object carrying data. It can also have logic to update controller if its data changes.
a)
true
b)
false
5.
which of the following is correct?
a)
infinite loop because x always != 0
b)
while loop will be stopped when x = 0
c)
while loop do nothing because x = -1
d)
None of these
6.
What is the result of the following code?
a)
12
b)
52
c)
56
d)
Compiler Error
7.
What are unit test coverage criteria?
a)
Instructions Coverage
b)
Method Coverage
c)
Branch Coverage
d)
All options
8.
How many building options is supported in Qt?
a)
0
b)
1
c)
2
d)
3
9.
Is it the developer responsibilty to review the OEM spec and discuss to OEM?
a)
Yes
b)
No
c)
Depends on type of OEM spec
10.
Who should review the RS spec (SysRS, SRS)?
a)
The verifier, who uses it to create test case.
b)
The developer, who uses it to implement feature
c)
The OEM, to check whether it match the OEM spec.
d)
All above
11.
You have elected to use bottom-up estimating and will base your estimates on the WBS. Which one of the following is not an attribute of bottom-up estimating?
a)
People doing the work create the estimates
b)
It creates a more accurate estimate
c)
It's more expensive to do than other methods
d)
It's less expensive to do than other methods
12.
Which of the following would be a valid measure of test progress?
a)
Number of undetected defects
b)
Number of test cases not yet executed
c)
Total number of defects in the product
d)
Effort required to fix all defects
13.
"V" model is?
a)
Test type
b)
Test Level
c)
Test design technique
d)
Software development testing model
14.
Choose true sentence about Qt Property system.
a)
A property behaves like a class data member, but it has additional features accessible through the Meta-Object System,
b)
A READ and WRITE accessors functions are required to create property,
c)
Writing to properties via object->setProperty(name, value) gives better diagnostics at compile time, but it slower than setting the same values through member functions.
15.
How do timers communicate?
a)
Exit codes
b)
Process channels
c)
Signals and slots
d)
Files
16.
What does toLatin1() do?
a)
Converts to hex
b)
Converts to unicode
c)
Converts to ASCII
d)
Converts to Base64
17.
Why use QtConcurrent over directly inheriting the QThread class?
a)
QtConcurrent takes care of all the threading details for you.
b)
Inheriting QThread is bad because you can easily break the inheritance tree.
c)
Threading is complex and easy to make mistakes with.
d)
All of the above.
18.
Which format type is using in dbus interface descriptions file
a)
JSON
b)
CSS
c)
XML
d)
None of the above
19.
Why do most database plugins fail to load?
a)
The database driver is missing or the plugin can’t find it.
b)
Usernames and passwords might be incorrect.
c)
The database needs to be installed locally.
d)
Incorrect version of Qt installed.
20.
Why use the Qt installer framework?
a)
Universal deployment across all major platforms.
b)
One executable that runs on all platforms.
c)
Built in encryption.
d)
Built in drivers for all major platforms.
21.
Which statement is true about render target of Painted Item?
a)
With Image render target, QPainter paints into a QOpenGLFramebufferObject using the GL paint engine
b)
FramebufferObject render target is supported by all Qt Quick backends
c)
Image render target allows high quality anti-aliasing and fast item resizing
d)
All of the above
22.
Which element is NOT a part of particle system?
a)
Painters
b)
Emitters
c)
Noises
d)
Affectors
23.
What is following git command means:<br />git tag -a submissions/ccrc.011 -m "submissions/ccrc.011"<br />git push origin submissions/ccrc.011<br />git log --oneline --no-merges submissions/ccrc.010..submissions/ccrc.011
a)
Add new tag to local git repo.
b)
Show list commit between 2 tag.
c)
Push the tag to remote repo.
d)
All of them
24.
What should we do when bb commit verify fail?
a)
Make another bb commit.
b)
Check build log to find the error then update bb commit after fix it.
c)
Verify build source code and merge to build image.
d)
None of them
25.
When Customer release new image with re-order partitions, How to update it?
a)
Download boot burn SW images and boot burn it,
b)
Download USB update image and update by USB
c)
Impossible, wait customer send new device
d)
None of them
100 %
