• Verkeerd document? Gratis ruilen
  • Geschreven door studenten die geslaagd zijn
  • Direct beschikbaar na je betaling
  • Online lezen of als PDF
Verkopen
Kies je studieland
Kies je taal
Document preview thumbnail
Voorbeeld 2 van de 13 pagina's
Tentamen (uitwerkingen)

Visual Programming

Document preview thumbnail
Voorbeeld 2 van de 13 pagina's

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.

Voorbeeld van de inhoud

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

Documentinformatie

Geüpload op
17 november 2025
Aantal pagina's
13
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Alleen vragen
€20,64

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Verkocht
0
Volgers
0
Items
10
Laatst verkocht
-

Echte notities, van echte studenten
Elk document op Stuvia is geschreven door een medestudent die hetzelfde vak deed. Zo leer je van iemand die het al heeft gehaald.



Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen