Removed datafiles;out
This commit is contained in:
parent
d50af5dd27
commit
bd1271c3d3
File diff suppressed because one or more lines are too long
|
@ -1,6 +0,0 @@
|
||||||
# Programação Orientada a Objetos
|
|
||||||
## Código fonte para as diversas aulas de POO
|
|
||||||
### Métodos extra no diretório [*utils*](https://github.com/TiagoRG/uaveiro-leci/tree/master/1ano/2semestre/poo/src/utils)
|
|
||||||
|
|
||||||
---
|
|
||||||
*Pode conter erros, caso encontre algum, crie um* [*ticket*](https://github.com/TiagoRG/uaveiro-leci/issues/new)
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,9 +0,0 @@
|
||||||
# Programação Orientada a Objetos
|
|
||||||
## Aula 01
|
|
||||||
### Tópico principal da aula: Introduction, Basics
|
|
||||||
|
|
||||||
* [Guião](https://github.com/TiagoRG/uaveiro-leci/tree/master/1ano/2semestre/poo/guides/POO-2021-aula01.pdf)
|
|
||||||
* [Slides](https://github.com/TiagoRG/uaveiro-leci/tree/master/1ano/2semestre/poo/slides/POO_01_Introdução.pdf)
|
|
||||||
|
|
||||||
---
|
|
||||||
*Pode conter erros, caso encontre algum, crie um* [*ticket*](https://github.com/TiagoRG/uaveiro-leci/issues/new)
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,18 +0,0 @@
|
||||||
# Programação Orientada a Objetos
|
|
||||||
## Aula 02
|
|
||||||
### Tópico principal da aula: Flux Control
|
|
||||||
|
|
||||||
* [Guião](https://github.com/TiagoRG/uaveiro-leci/tree/master/1ano/2semestre/poo/guides/POO-2021-aula02.pdf)
|
|
||||||
* [Slides](https://github.com/TiagoRG/uaveiro-leci/tree/master/1ano/2semestre/poo/slides/POO_02_ControloFluxo.pdf)
|
|
||||||
|
|
||||||
### Exercise List
|
|
||||||
| Exercise Number | File Name | Exercise Number | File Name |
|
|
||||||
|-----------------|----------------------------------------------------------------------------------------------------------------------------------------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------|
|
|
||||||
| 1 | [KmToMiles.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/KmToMiles.java) | 6 | [SecsToHMS.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/SecsToHMS.java) |
|
|
||||||
| 2 | [CelciusToFahrenheit.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/CelciusToFahrenheit.java) | 7 | [DistanceBetweenPoints.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/DistanceBetweenPoints.java) |
|
|
||||||
| 3 | [EnergyToHeatWater.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/EnergyToHeatWater.java) | 8 | [PythagoreanTheorem.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/PythagoreanTheorem.java) |
|
|
||||||
| 4 | [Investment.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/Investment.java) | 9 | [Countdown.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/Countdown.java) |
|
|
||||||
| 5 | [AverageSpeed.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/AverageSpeed.java) | 10 | [RealNumbers.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula02/RealNumbers.java) |
|
|
||||||
|
|
||||||
---
|
|
||||||
*Pode conter erros, caso encontre algum, crie um* [*ticket*](https://github.com/TiagoRG/uaveiro-leci/issues/new)
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,6 +0,0 @@
|
||||||
# Programação Orientada a Objetos
|
|
||||||
## Exercícios TP
|
|
||||||
### Resoluções para exercícios sugeridos nas aulas Teórico-Práticas
|
|
||||||
|
|
||||||
---
|
|
||||||
*Pode conter erros, caso encontre algum, crie um* [*ticket*](https://github.com/TiagoRG/uaveiro-leci/issues/new)
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,23 +0,0 @@
|
||||||
# Exercícios de Arrays
|
|
||||||
|
|
||||||
## Ex1
|
|
||||||
```java
|
|
||||||
final int LENGHT = 100;
|
|
||||||
int[] a = new int[LENGHT];
|
|
||||||
// Code for filling a ommited
|
|
||||||
for (int = 99; i >= 0; i--)
|
|
||||||
{
|
|
||||||
System.out.print(a[i]);
|
|
||||||
if (i > 0) { System.out.print(', '); }
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Ex2
|
|
||||||
```java
|
|
||||||
int[] numbers = new int[100];
|
|
||||||
for (int k = 0; k < numbers.length; k++)
|
|
||||||
{
|
|
||||||
numbers[k] = k + 1;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,9 +0,0 @@
|
||||||
# Tabela Exercício 1 de Strings
|
|
||||||
|
|
||||||
| Question | Answer |
|
|
||||||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|
|
|
||||||
| What is the length of the string below?<br>String str = "Java Program" | 12 |
|
|
||||||
| With str as defined above, give a call to the substring method that returns the substring "gram". | str.substring(8) |
|
|
||||||
| Use the string concatenation operator to change the string variable str to contain the string "Java Programming". | str += "ming" |
|
|
||||||
| What does the following statement sequence print?<br><br>String str = "Harry";<br>int n = str.length();<br>String mystery = str.substring(0, 1) + str.substring(n - 1, n);<br>System.out.println(mystery); | Hy |
|
|
||||||
| Consider the following statement sequence. If the user provides the input John Q. Public, what is printed? If an error occurs, type error.<br><br>Scanner in = new Scanner(System.in);<br>String first = in.next();<br>String last = in.next();<br>System.out.println(last + ", " + first); | Q., John |
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue