• Aucun résultat trouvé

C oRRigéPARtiE 1 : généRALitéS

N/A
N/A
Protected

Academic year: 2022

Partager "C oRRigéPARtiE 1 : généRALitéS"

Copied!
3
0
0

Texte intégral

(1)

corrigé

142 l ANNALES PASSERELLE 2014-2015 ANNALES PASSERELLE 2014-2015 l 143

CoRRigé

PARtiE 1 : généRALitéS

1. Architecture d’un micro-ordinateur

Un micro-ordinateur est composé des éléments suivants : a) L’unité centrale (UC) qui contient les composants suivants :

- Microprocesseur - Mémoire vive (RAM) - Mémoire morte (ROM) - Disque dur

- Lecteur CD/DVD b) Un clavier c) Un écran d) Une souris e) Les périphériques :

- Imprimante - Scanner - Webcam - …

2. Capacité mémoire

a) Un octet assimilable à un caractère ou un chiffre est composé de 8 chiffres binaires appelés bit (binary digit).

b) Ko = Kilo-octet = 1 024 octets = 210 octets Mo = Méga-octet = 1 024 Ko = 220 octets Go = Giga-octet = 1 024 Mo = 230 octets To = Téra-octet = 1 024 Go = 240 octets c) 1000Go - 1000Mo - 1000Ko - 1000 octets 3) Codage binaire

3.1) 3.1.a) 27 3.1.b) 21 3.1.c) 240 3.1.d) 51

3.2) Le plus grand nombre écrit avec 12 bits est 4095 3.3) 54 = 110110 ; 168 = 10101000

4) Numération hexadécimale a) $111 = 273

$2A = 42

$B8C = 2956

$5F0A = 24330

b) 181 = B5 et 267 = 10B

InfORMAtIquE

(2)

corrigé

ANNALES PASSERELLE 2014-2015 l 143

PARtiE 2 : ALgoRithmiQuE

1. a) fonction1(5) retourne 9 (5+3+1) et fonction1(6) retourne 12 (6+4+2+0) 1. b) Version itérative de la fonction fonction1

int queFait2(int n){

int s=0;

while (n>1) { s=s+n;

n=n-2;

}

if (n==1) s=s+1;

return s;

}

2. a) Le résultat est 4

2. b) La fonction fonction2 retourne l’arrondi d’un nombre réel en paramètre .

PARtiE 3 : SyStèmE d’infoRmAtionS

1. Les entités : - Logement - Individu

- Type de logement - Quartier

- Commune

2. Les associations : - Occuper

- Correspondre - Appartenir - Situer dans

3. Les identifiants ou clés primaires permettent de retrouver de manière unique une occurrence de l’entité.

InfORMAtIquE

(3)

ANNALES PASSERELLE 2014-2015 l 145

corrigé

144 l ANNALES PASSERELLE 2014-2015 ANNALES PASSERELLE 2014-2015 l 145

4.

InfORMAtIquE

Références

Documents relatifs

correlations of PC1 with the boreal winter northern Red Sea coral data (Felis et al., 2000), ice core data (Vinther et al., 2003), and some modulations in the strength of

We performed some other runs reversing the velocity shear direction and/or the direction of the asymptotic magnetic field, and obtained that it does not change the positive value of

Furthermore, it is found that Kol- mogorov spectra of the ionospheric turbulent neutral winds and the IAR eigenfrequencies lie in the same frequency range that make it possible

atom of the hydrogen phosphate ion [23]. Mole fractions of Zn species as functions of pH at 298 K. Mole fractions of Zn species were calculated by using formation constants and

MIPAS-E observations provide the first dataset with sufficient coverage of the polar vortex in mid-winter which enables a reason- able estimate of the timing of onset and

Clé primaire : Une clé primaire (ou identifiant) est un champ de la table qui permet d'identifier de façon non ambiguë (pas d'homonymes sur la clé primaire) chaque enregistrement.

Le type d’un document électronique (ou fichier) est indiqué par une « extension », notée automatiquement par le programme d’application qui le crée... 2) Citez 2 types de

Lancement de la commande avec redirection du contenu du fichier vers l'entrée standard du processus lancé. commande