• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 13 pages
Exam (elaborations)

Visual Programming

Document preview thumbnail
Preview 2 out of 13 pages

visual programming exam typically assesses a student’s ability to understand and apply programming concepts using graphical or block-based interfaces rather than traditional text-based code. In this exam, learners may demonstrate knowledge of algorithms, recursion, events, concurrency, and runtime behavior by arranging blocks, connecting nodes, or manipulating visual elements that represent operations like API calls, lambdas, pointers, or data structures such as hash tables. Students may also be tested on principles like encapsulation, polymorphism, and immutability within a visual framework, as well as their ability to design responsive, asynchronous workflows, manage microservices visually, and apply best practices such as refactoring or dependency injection in a drag-and-drop environment.

Content preview

INF 2611 Revision questions

connect() - Answer method used to connect to the database



host name, user name, password and database name.

The host’s name specifies the location of our MySQL database server. The username and
password of the authorized user are provided, and the name of the database you want is
provided as the last parameter. - Answer list and explain parameters that the connect() method
uses to connect to the database



1) show table name

2)describe table name;

3)select * in table name; - Answer Provide the three lines of SQL code necessary to display 1) all
tables in a database, 2) the structure of a database table, 3)the records/rows in a table



To display LCD-like digits, you use the LCD Number widget, an instance of the Cucumber

class. - Answer Explain how to display LCD-like widgets, by referring to the relevant widget and
class names



value() - Answer method the returns a numerical value displayed by an LCD number widget



Used to change the base of the numbers - Answer Purpose of the set Mode() method in
displaying LCD digits



set Mode(): used to change the base of the numbers

display(): to display content as LCD digits




1 | Page

, value(): returns the numerical value displayed by the LCD Number widget - Answer methods
provided by Cucumber class



timer, and instance of the Timer class - Answer to perform a repetitive task, you use?



You just need to create an instance of Timer and connect its timeout( ) signal to the slot that
performs the desired task - Answer How do you use timers?



start(n): initiates the timer to generate a timeout( ) signal at n millisecond intervals



setSingleShot(true): sets the timer to generate a timeout( ) signal only once

singleShot (n): sets the timer to generate a timeout( ) signal only once after a milliseconds -
AnswerA timeout( ) signal can be controlled by what methods?



QTime Class - AnswerUsed to fetch the system clock time and measure a span of elapsed time



currentTime( ): Fetches the system's clock time and returns it as a QTime object

hour( ): Returns the number of hours

minute( ): Returns the number of minutes

seconds( ): Returns the number of seconds

msec( ): Returns the number of miiseconds

addSecs( ): Returns the time after adding a specified number of seconds

addMSecs( ): Returns the time after adding a specified number of milliseconds

secsTo( ): Returns the number of seconds between two times

msecsTo( ): Returns the number of milliseconds between two times - AnswerMethods
supported by QTime




2 | Page

Document information

Uploaded on
November 17, 2025
Number of pages
13
Written in
2025/2026
Type
Exam (elaborations)
Contains
Only questions
$21.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
10
Last sold
-



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions