E_d_Informatica_2020_sp_SN_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_SN_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 ș tiin ț e ale naturii Pagina 1 din 3 Examenul de bacalaureat na ț ional 2020 Proba E. d) Informatic ă Limbajul C/C++ Varianta 6 Filier ă teoretic ă , profil real, specializare ș tiin ț e ale naturii 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 ă . 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. In der unteren Sequenz sind alle Variablen vom Typ ganz. for(i=0;i<7;i++) { for(j=0;j<7;j++) if(...........) cout<<< ; | printf(< ); else cout<<> ; | printf(> ); cout<<endl; | printf(\n); } > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > < > > > > > < < < > > > < < < < < > Gebt den Wert, der die Auslassungspunkte ersetzten kann, an, sodass nach dem Durchlauf der erhaltenen Sequenz auf dem Bildschirm die Zeichen der oberen Figur in dieser Reihenfolge angeschrieben werden. 3. Die eindimensionalen Felder A und B haben die Elemente: A=(2,20,25,36,50)und B=(4,5,8,45,60) . Gebt die aufeinaderfolgenden Werte, die in dieser Reihenfolge die erhaltenen Elemente des Feldes nach der Mischsortierung von A und B in fallender Reihenfolge sein können, an. a. (60,45,25,20,4) b. (60,45,8,5,4,50,36,25,20,2) c.
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
  • Algorithmus, Zahl, Auslassungspunkte, Natürliche Zahl, Zahlzeichen

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