Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pp:2023:hw2 [2023/04/11 11:06] sorin.mateescu |
pp:2023:hw2 [2024/04/03 11:47] (current) alexandra.udrescu01 [Tabele] |
||
---|---|---|---|
Line 15: | Line 15: | ||
* **var** (**val** este ok!) | * **var** (**val** este ok!) | ||
</note> | </note> | ||
- | <note>Scheletul se poate găsi la: {{:pp:2023:tema2_2023_pp-skel.zip|}}</note> | + | <note>Scheletul se poate găsi la: {{:pp:2023:pp-tema2-skeleton.zip|}}</note> |
<note> | <note> | ||
Validatorul de arhive se poate găsi la: {{:pp:2023:archive_validator_hw2.zip|}} | Validatorul de arhive se poate găsi la: {{:pp:2023:archive_validator_hw2.zip|}} | ||
Line 52: | Line 52: | ||
<code scala> | <code scala> | ||
- | // a row contains the column name and the value | ||
type Row = Map[String, String] | type Row = Map[String, String] | ||
- | // a line is just a row without column names | ||
type Line = List[String] | type Line = List[String] | ||
</code> | </code> | ||
Line 215: | Line 213: | ||
* aplicati merge intre noile tabele dupa numele limbajelor de programare | * aplicati merge intre noile tabele dupa numele limbajelor de programare | ||
- | **3.2. (5p)** Eliminati limbajele al caror scop original este "Application" si sunt "concurrent". Rezultatul se va numi ''TestTables.programmingLanguages2''. | + | **3.2. (5p)** Păstrați doar limbajele al caror scop original este "Application" si sunt "concurrent". Rezultatul se va numi ''TestTables.programmingLanguages2''. |
**3.3. (5p)** Selectati doar coloanele "Language", "Object-Oriented" si "Functional" din tabelul obtinut anterior. Rezultatul se va numi ''TestTables.programmingLanguages3''. | **3.3. (5p)** Selectati doar coloanele "Language", "Object-Oriented" si "Functional" din tabelul obtinut anterior. Rezultatul se va numi ''TestTables.programmingLanguages3''. | ||