Level 1 exam — harder

Exam — fresh questions

1 · Recall

1. In the analysis, how does Yacine represent a business entity such as “Client”?

A business entity = a file, with named and typed items. Each file mixes only one concept.
1 · Application

2. Yacine must store the unit price excl. tax of an electrical product. Which type does he choose?

An amount is stored as currency (or numeric): it is essential to calculate, sort and total. Text would make these operations wrong.
1 · Application

3. Yacine wants each order to reference the customer who placed it, without copying their name. How does he do it?

The Commande stores the customer's key (foreign key), not their name: the relationship avoids duplication and guarantees consistency.
1 · Arbitration

4. A customer changes their name. Which design avoids having to correct this information everywhere?

The information lives in a single place (the Client file); the other files refer to it by key. It is then corrected only once.
1 · Recall

5. In a WinDev window, what is a “control”?

A control is WinDev's term for an interface component: label, input control, button, combo box, table, tab…
1 · Application

6. Yacine enlarges his input window and the item table stays squeezed in the top left. What does he set?

Anchoring defines control behavior on resize: the main table is made to stretch to take advantage of the space.
1 · Recall

7. What is the benefit of naming a control SAI_NomClient rather than SAI_Sans_nom1?

A control is handled by its name in WLangage: an explicit name makes the code understandable and maintainable.
1 · Application

8. Yacine wants to display a message when an order exceeds 10 items. Which structure does he use?

A conditional test is written SI…ALORS…SINON: it is the building block of all business logic in WLangage.
1 · Arbitration

9. To repeat a process a number of times known in advance, what does Yacine choose?

POUR repeats a known number of times thanks to a counter; TANTQUE is used when the number of repetitions is unknown in advance.
1 · Recall

10. What is ÉcranVersFichier() used for in a linked form?

ÉcranVersFichier() copies the input of linked controls to the items; FichierVersÉcran() does the reverse for display.
1 · Application

11. After HLitRecherche on a customer code, which reflex does Yacine apply before using the result?

HEnDehors indicates that you are outside the file (no result, or end reached): it is tested before any use.
1 · Arbitration

12. Yacine wants to start his trading application quickly. Which use of the RAD is recommended?

The RAD accelerates the start by generating a base from the analysis, but the business rules (discount, unpaid invoices, stock) remain to be written.
What's next?
Back to the guideGuide contents