100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

2025 - INF1511 - ASSESSMENT 8 - EXPECTEDQUESTIONS AND ANSWERS - SEMESTER1

Rating
-
Sold
-
Pages
6
Grade
B
Uploaded on
07-02-2025
Written in
2024/2025

This document contains different assessments, all with scores ranging from 90% to 100%. Using it appropriately ensures passing with distinction.

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
February 7, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

2025 – INF1511 – ASSESSMENT 8 – QUESTIONS AND ANSWERS



Assessment 8
Started on Sunday, 22 September 2024,
State Finished
Completed on Sunday, 22 September 2024,
Time taken
Marks 15.00/15.00
Grade 100.00 out of 100.00


Question 1
The following code is recommended to clear all the current items displayed in a list
widget: ____________________________

a.
self.ui.lstList.ClearEverything()
b.
self.ui.lstList.clear()
c.
self.ui.lstList.AllItemsclear()
d.
self.ui.lstList.EraseClear()



Question 2
The widgets in the item views category are _____

a.
used to initiate an action.
b.
used to display many data values.
c.
not visible when the program is executing.
d.
used to arrange other widgets.



1

, 2025 – INF1511 – ASSESSMENT 8 – QUESTIONS AND ANSWERS


Question 3
The purpose of the following code is to
______self.ui.lstList.addItem(self.ui.edtLine.text())

a.
to copy the selected item in a list to a edit text
b.
the code has no purpose as there is a syntax error
c.
add the text in an edit text to a list widget
d.
to compare the length of the strings in the text edit and the list widget



Question 4
Which one of the following widgets is NOT a buttons widget in Qt Designer?

a.
tool box
b.
dialog button box
c.
tool button
d.
check box



Question 5
To add text to a label widget, the _____ method is used.

a.
setText()
b.
callText()
c.
fetchText()


2

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
sotholesacademicachievers University of Cape Town
Follow You need to be logged in order to follow users or courses
Sold
16
Member since
11 months
Number of followers
0
Documents
53
Last sold
2 months ago

4.0

2 reviews

5
1
4
0
3
1
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions