INF2611 LATEST EXAM PACK
written by
accatutor91
The study-notes marketplace
Buy and sell all your summaries, notes, theses, essays, papers, cases, manuals, researches, and
many more...
www.stuvia.co.za
Downloaded by: Yusufdacosta | yusuf@sun.ac.za
Distribution of this document is illegal
, Stuvia.com - The study-notes marketplace
Overcomers tutorials
Cell: 060 690 8841 Email: acatutor91@gmail.com
INF 2611 exam pack
Exam tips, solutions
AND
NOTES
Disclaimer
The information contained in this document is confidential, privileged and only for the
information of the intended recipient and may not be used, published or redistributed
without the prior written consent of Overcomers Tutorials (Pty) Ltd.
The opinions expressed are in good faith and while every care has been taken in preparing
this document, Overcomers makes no representations and gives no warranties of whatever
nature in respect of this document, including but not limited to the accuracy or
completeness of any information, facts and/or opinions contained therein.
Overcomers Tutorials (Pty) Ltd, its subsidiaries, the directors, employees and agents
cannot be held liable for the use of and reliance of the opinions, estimates, forecasts and
findings in this document.
+27 60 690 8841 accatutor91@gmail.com Overcomers Tutorials
Downloaded by: Yusufdacosta | yusuf@sun.ac.za
Distribution of this document is illegal
, Stuvia.com - The study-notes marketplace
Overcomers tutorials
Cell: 060 690 8841 Email: acatutor91@gmail.com
TABLE OF CONTENTS
NOVEMBER 2017
JUNE 2017
NOTES
QUESTION PAPERS
+27 60 690 8841 accatutor91@gmail.com Overcomers Tutorials
Downloaded by: Yusufdacosta | yusuf@sun.ac.za
Distribution of this document is illegal
, Stuvia.com - The study-notes marketplace
INF2611-2017-Oct/Nov Memo Tutorials Campus www.tutorialscampus.co.za
Question 1)
1.1)
a)
Use LCD Number widget (QLCDNumber class) to display decimal,
Use QTimer class to perform repetitive timer class
b)
The value() method of the QLCDNumber class returns the numerical value displayed by the LCD
Number widget
c)
The setMode() is used change the base of the numbers (Hex, Dec, Oct, Bin)
self.lcdNumber.setMode(QLCDNumber.Dec)
1.2)
a)
Timers is used to perform a repetitive task; to use a timer you have to create an instance of QTimer
class
b)
setSingleShot(true): set the timer to generate a timeout() signal only once
singleShot(n): set the timer to generate a timeout() signal only once after n millisecond
1.3)
a)
The purpose of selectionChanged() signal is to call function dispdate when a calendar date is
changed
b)
The name of the function that retrieves the date selected by the user is selectedDate() of the
calenderWidget, and the widget that displays the output is the object of the QDateEdit (dateEdit)
Downloaded by: Yusufdacosta | yusuf@sun.ac.za
Distribution of this document is illegal