• Aucun résultat trouvé

0 A l o r s A f f e c t e r `a D l a v a l e u r B A Sinon A f f e c t e r `a D l a v a l e u r A B A f f i c h e r D (1) Pour chacune des entr´ees suivantes, d´eterminer la valeur affich´ee en sortie : a

N/A
N/A
Protected

Academic year: 2022

Partager "0 A l o r s A f f e c t e r `a D l a v a l e u r B A Sinon A f f e c t e r `a D l a v a l e u r A B A f f i c h e r D (1) Pour chacune des entr´ees suivantes, d´eterminer la valeur affich´ee en sortie : a"

Copied!
1
0
0

Texte intégral

(1)

Seconde 14 Interrogation 11A 21 mai 2014 R´epondre aux questions sans d´emonstration.

Calculatrice interdite.

Nom et pr´enom :

Exercice 1 :

Voici un algorithme : Demander A e t B

C prend l a v a l e u r A B S i C < 0

A l o r s

A f f e c t e r `a D l a v a l e u r B A Sinon

A f f e c t e r `a D l a v a l e u r A B A f f i c h e r D

(1) Pour chacune des entr´ees suivantes, d´eterminer la valeur affich´ee en sortie :

a. A= 5 etB = 9 b. A= 2 etB = 2

c. A= 3 et B = 7 d. A= 8 etB = 2 (2) Que fait cet algorithme ?

Exercice 2 :

Soit l’algorithme : S a i s i r A

Pour i a l l a n t de 1 `a 5 f a i r e A prend l a v a l e u r A + 1

A f f i c h e r A f i n pour

(1) Pour chacune des entr´ees suivantes, d´eterminer la valeur affich´ee en sortie :

a. A= 3 b. A= 10

(2) Que fait cet algorithme ?

(3) Quelles lignes modifier pour que l’algorithme affiche seulement le dernier nombre ?

(4) Modifier cet algorithme afin qu’il affiche les 10 nombres qui pr´ec´edent un entier donn´e.

Références

Documents relatifs

6 A trespasser shall not be prosecuted for committing a trespass except on an information laid by the owner or an authorized representative of the owner of the premises in respect

which are not independent, what can be done for a solution? Illustrate the situation with three simple equations. 5 8.a) What is the method of separation of variables for

His brother, Frithiof Nevanlinna, was also, in later years, professor at the same university; he is best known for joint work with the slightly younger Roll, The two

It was however thought desirable to adhere to the familiar expressions since, as will be shown (a) each &#34;vector&#34; is uniquely determined by certain components, and

Die Torsion und die einzelnen Summanden in der Zerlegung (If. Cartan fiir die entsprechenden GrSssen des Finslerschen Raumes gegeben h a t 1, auf den vorliegenden

I1 importe de former des expressions sym~triques de certaines d6ter- minations de i t (x) en hombre aussi petit que possible de mani~re que ces expressions

Later on the identity (6) was used to obtain estimates from below for analytic capacity [Me] and to describe uniform rectifiability via the mapping properties

We prove that, if 7 is a simple smooth curve in the unit sphere in C n, the space o pluriharmonic functions in the unit ball, continuous up to the boundary, has a