Subjects

Knowunity AI

Open the App

Subjects

Informatică și TICInformatică și TIC105 views·Updated Jun 17, 2026·3 pages

Ghid Complect Tablouri Bidimensionale și Matrice - Informatica Clasa a X-a

B
Bianca Teodora Voinea@biancateodoravo

Matricele sunt structuri de date bidimensionale care organizează elementele pe...

1
of 3
10.03.2025
# TABLOURI
# BIDIMENSIONALE
## (MATRICE)

Der
O MATRICE este tot un tablou cu elem de
acelaşi tip, dar dispuse pe linii şi coloan

Tablouri bidimensionale (Matrice)

O matrice este un tablou cu elemente de același tip, aranjate pe linii și coloane. Spre deosebire de vectori, elementele matricei au doi indici: primul pentru indicarea liniei, iar al doilea pentru specificarea coloanei.

În limbajul C++, numerotarea liniilor și coloanelor începe de la 0, deși programatorul poate forța numerotarea de la 1, în funcție de preferințe. Când accesezi un element dintr-o matrice, trebuie să specifici ambii indici între paranteze pătrate.

Structura unei matrice poate fi vizualizată ca un tabel cu n rânduri și m coloane. De exemplu, o matrice cu 3 linii și 4 coloane ar conține elemente precum a₁₁, a₁₂, a₁₃, etc., unde primul indice indică linia, iar al doilea coloana.

⚠️ Atenție! Indicii elementelor se scriu întotdeauna între paranteze pătrate și trebuie să respecte limitele matricei - dacă o matrice are n linii, indicii valizi sunt de la 0 la n-1 (sau de la 1 la n, dacă începi numerotarea de la 1).

2
of 3
10.03.2025
# TABLOURI
# BIDIMENSIONALE
## (MATRICE)

Der
O MATRICE este tot un tablou cu elem de
acelaşi tip, dar dispuse pe linii şi coloan

Exemplu practic cu matrice în C++

Iată un exemplu concret despre cum putem lucra cu o matrice pentru a rezolva probleme. Codul prezentat citește o matrice de dimensiune n×m și calculează suma elementelor pare din matrice.

Programul începe prin citirea dimensiunilor matricei n=4liniișim=6coloanen=4 linii și m=6 coloane, după care citește valorile pentru fiecare element. Matricea este declarată prin int a[10][10], asigurând spațiu suficient pentru datele de intrare.

Pentru a parcurge matricea, se folosesc două structuri for imbricate - una pentru linii și alta pentru coloane. Condiția a[i][j]%2==0 verifică dacă elementul curent este par, iar dacă da, îl adaugă la suma S.

💡 Sfat util: Când lucrezi cu matrice, folosește variabile cu nume sugestive pentru indici (de exemplu, i pentru linii și j pentru coloane) pentru a face codul mai ușor de înțeles și de depanat.

Rezultatul final este 192, reprezentând suma tuturor numerelor pare din matricea dată. Acest tip de procesare este fundamental pentru multe aplicații care implică date structurate pe linii și coloane.

3
of 3
10.03.2025
# TABLOURI
# BIDIMENSIONALE
## (MATRICE)

Der
O MATRICE este tot un tablou cu elem de
acelaşi tip, dar dispuse pe linii şi coloan

We thought you’d never ask...

What is the Knowunity AI companion?

Our AI companion is specifically built for the needs of students. Based on the millions of content pieces we have on the platform we can provide truly meaningful and relevant answers to students. But its not only about answers, the companion is even more about guiding students through their daily learning challenges, with personalised study plans, quizzes or content pieces in the chat and 100% personalisation based on the students skills and developments.

Where can I download the Knowunity app?

You can download the app in the Google Play Store and in the Apple App Store.

Is Knowunity really free of charge?

That's right! Enjoy free access to study content, connect with fellow students, and get instant help – all at your fingertips.

Most popular content in Informatică și TIC

9

Most popular content

9

Can't find what you're looking for? Explore other subjects.

Students love us — and so will you.

4.6/5App Store
4.7/5Google Play

The app is very easy to use and well designed. I have found everything I was looking for so far and have been able to learn a lot from the presentations! I will definitely use the app for a class assignment! And of course it also helps a lot as an inspiration.

Stefan SiOS user

This app is really great. There are so many study notes and help [...]. My problem subject is French, for example, and the app has so many options for help. Thanks to this app, I have improved my French. I would recommend it to anyone.

Samantha KlichAndroid user

Wow, I am really amazed. I just tried the app because I've seen it advertised many times and was absolutely stunned. This app is THE HELP you want for school and above all, it offers so many things, such as workouts and fact sheets, which have been VERY helpful to me personally.

AnnaiOS user

Informatică și TICInformatică și TIC105 views·Updated Jun 17, 2026·3 pages

Ghid Complect Tablouri Bidimensionale și Matrice - Informatica Clasa a X-a

B
Bianca Teodora Voinea@biancateodoravo

Matricele sunt structuri de date bidimensionale care organizează elementele pe rânduri și coloane. Spre deosebire de vectori (tablouri unidimensionale), fiecare element al unei matrice este identificat prin doi indici, ceea ce permite o organizare mai complexă a datelor.

1
of 3
10.03.2025
# TABLOURI
# BIDIMENSIONALE
## (MATRICE)

Der
O MATRICE este tot un tablou cu elem de
acelaşi tip, dar dispuse pe linii şi coloan

Sign up to see the content. It's free!

  • Access to all documents
  • Improve your grades
  • Join milions of students

Tablouri bidimensionale (Matrice)

O matrice este un tablou cu elemente de același tip, aranjate pe linii și coloane. Spre deosebire de vectori, elementele matricei au doi indici: primul pentru indicarea liniei, iar al doilea pentru specificarea coloanei.

În limbajul C++, numerotarea liniilor și coloanelor începe de la 0, deși programatorul poate forța numerotarea de la 1, în funcție de preferințe. Când accesezi un element dintr-o matrice, trebuie să specifici ambii indici între paranteze pătrate.

Structura unei matrice poate fi vizualizată ca un tabel cu n rânduri și m coloane. De exemplu, o matrice cu 3 linii și 4 coloane ar conține elemente precum a₁₁, a₁₂, a₁₃, etc., unde primul indice indică linia, iar al doilea coloana.

⚠️ Atenție! Indicii elementelor se scriu întotdeauna între paranteze pătrate și trebuie să respecte limitele matricei - dacă o matrice are n linii, indicii valizi sunt de la 0 la n-1 (sau de la 1 la n, dacă începi numerotarea de la 1).

2
of 3
10.03.2025
# TABLOURI
# BIDIMENSIONALE
## (MATRICE)

Der
O MATRICE este tot un tablou cu elem de
acelaşi tip, dar dispuse pe linii şi coloan

Sign up to see the content. It's free!

  • Access to all documents
  • Improve your grades
  • Join milions of students

Exemplu practic cu matrice în C++

Iată un exemplu concret despre cum putem lucra cu o matrice pentru a rezolva probleme. Codul prezentat citește o matrice de dimensiune n×m și calculează suma elementelor pare din matrice.

Programul începe prin citirea dimensiunilor matricei n=4liniișim=6coloanen=4 linii și m=6 coloane, după care citește valorile pentru fiecare element. Matricea este declarată prin int a[10][10], asigurând spațiu suficient pentru datele de intrare.

Pentru a parcurge matricea, se folosesc două structuri for imbricate - una pentru linii și alta pentru coloane. Condiția a[i][j]%2==0 verifică dacă elementul curent este par, iar dacă da, îl adaugă la suma S.

💡 Sfat util: Când lucrezi cu matrice, folosește variabile cu nume sugestive pentru indici (de exemplu, i pentru linii și j pentru coloane) pentru a face codul mai ușor de înțeles și de depanat.

Rezultatul final este 192, reprezentând suma tuturor numerelor pare din matricea dată. Acest tip de procesare este fundamental pentru multe aplicații care implică date structurate pe linii și coloane.

3
of 3
10.03.2025
# TABLOURI
# BIDIMENSIONALE
## (MATRICE)

Der
O MATRICE este tot un tablou cu elem de
acelaşi tip, dar dispuse pe linii şi coloan

Sign up to see the content. It's free!

  • Access to all documents
  • Improve your grades
  • Join milions of students

We thought you’d never ask...

What is the Knowunity AI companion?

Our AI companion is specifically built for the needs of students. Based on the millions of content pieces we have on the platform we can provide truly meaningful and relevant answers to students. But its not only about answers, the companion is even more about guiding students through their daily learning challenges, with personalised study plans, quizzes or content pieces in the chat and 100% personalisation based on the students skills and developments.

Where can I download the Knowunity app?

You can download the app in the Google Play Store and in the Apple App Store.

Is Knowunity really free of charge?

That's right! Enjoy free access to study content, connect with fellow students, and get instant help – all at your fingertips.

Most popular content in Informatică și TIC

9

Most popular content

9

Can't find what you're looking for? Explore other subjects.

Students love us — and so will you.

4.6/5App Store
4.7/5Google Play

The app is very easy to use and well designed. I have found everything I was looking for so far and have been able to learn a lot from the presentations! I will definitely use the app for a class assignment! And of course it also helps a lot as an inspiration.

Stefan SiOS user

This app is really great. There are so many study notes and help [...]. My problem subject is French, for example, and the app has so many options for help. Thanks to this app, I have improved my French. I would recommend it to anyone.

Samantha KlichAndroid user

Wow, I am really amazed. I just tried the app because I've seen it advertised many times and was absolutely stunned. This app is THE HELP you want for school and above all, it offers so many things, such as workouts and fact sheets, which have been VERY helpful to me personally.

AnnaiOS user