E_d_Informatica_2020_sp_MI_C_var_06_LGE.pdf - Ministerul Educa\u021biei \u0219i Cercet\u0103rii Centrul Na\u021bional de Politici \u0219i Evaluare \u00een Educa\u021bie Examenul de

E_d_Informatica_2020_sp_MI_C_var_06_LGE.pdf - Ministerul...

This preview shows page 1 - 2 out of 3 pages.

Ministerul Educa ț iei ș i Cercet ă rii Centrul Na ț ional de Politici ș i Evaluare în Educa ț ie Prob ă scris ă la informatic ă Varianta 6 Limbajul C/C++ Filier ă teoretic ă , profil real, specializare matematic ă -informatic ă / matematic ă -informatic ă intensiv informatic ă Filier ă voca ţ ional ă , profil militar, specializare matematic ă -informatic ă Pagina 1 din 3 Examenul de bacalaureat na ț ional 2020 Proba E. d) Informatic ă Limbajul C/C++ Varianta 6 Filier ă teoretic ă , profil real, specializare matematic ă -informatic ă / matematic ă -informatic ă intensiv informatic ă Filier ă voca ț ional ă , profil militar, specializare matematic ă -informatic ă Toate subiectele sunt obligatorii. Se acord ă 10 puncte din oficiu. Timpul de lucru efectiv este de 3 ore. Identificatorii utiliza ț i în rezolv ă ri trebuie s ă respecte preciz ă rile din enun ț (bold), iar în lipsa unor preciz ă ri explicite, nota ț iile trebuie s ă corespund ă cu semnifica ț iile asociate acestora (eventual în form ă prescurtat ă ). Datele de intrare se consider ă corecte, validarea lor nefiind necesar ă . În grafurile din cerin ț e oricare arc/muchie are extremit ăț i distincte ș i oricare dou ă arce/muchii difer ă prin cel pu ț in una dintre extremit ăț i. THEMA I (20 Punkte) Für Punkt 1 bis 5 schreibt auf das Prüfungsblatt den Buchstaben welcher der richtigen Antwort entspricht. Jede richtige Antwort wird mit 4 Punkten bewertet. 1. Gebt den Wert des nebenstehenden C/C++ Ausdrucks an. 3+5.0/2+2 a. 2 b. 5 c. 6 d. 7.5 2. Die Variable vspeichert ein eindimensionales Feld mit 4Elementen, beschriftet beginnend von 0. Das Unterprogramm fist nebenstehend definiert. void f(int i, int v[4]) { if(i>=3) v[i]=v[i]+1; else f(i+1,v); cout<<v[i]; | printf("%d",v[i]); } Gebt den Elementeset, den das Feld gespeichert in v haben kann, in der Reihenfolge in der dieser im Feld erscheint, an, sodass nach dem unterstehenden Aufruf auf dem Bildschirm 2020 angeschrieben wird. f(0,v);
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 3 pages?

  • Summer '20

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes