final

What is an expression?

What is an operator? What are the three types of operators? An operator is a symbol that represents a computation. Unary (-x), Binary (x+y), Ternary (a > b) ? a : b

How is order of operation determined? What can be used to change the default order of operation? Operator precedence rules, associativity rules (left-to-right, etc)

What is a conditional expression? How are they implemented or written in various languages? C/Java: max = (a > b) ? a : b; in Python: c = a if...

See on Wikiteka »

bio 100

Plant Evolution & Survival

Key evolutionary events for land survival:                                              

Waxy coating to prevent water loss (cuticle)                                                             

Roots to absorb water & nutrients

Vascular system to transport food & water

Seeds for reproduction without water                                                                 ...

See on Wikiteka »

law first exam

What is a professionalWhat is the difference between a profession and an ordinary job? Definitions and traits: 1. “a vocation or calling, especially one that involves some branch of advanced science or learning” Littrich & Murray Oxfam - dictionary definition 2. Common traits (Millerson in Littrich & Murray): a. Skilled based on body of theoretical knowledge

B. Provision of training and education c. Testing competence prior to entrance d. Organisation e. Code of ethics f. Ethos of altruistic

...

See on Wikiteka »

matematica

Ao ler e refletir sobre as Aprendizagens Essenciais de Matemática de 2021, percebi que este documento vai muito além de um simples programa curricular. Representa, na verdade, uma mudança profunda na forma como encaramos o ensino da matemática — e, mais do que isso, na forma como olhamos para os próprios alunos. Enquanto futura professora, fez-me muito sentido a ideia de que ensinar matemática não se resume à transmissão de técnicas e procedimentos, mas sim a ajudar os alunos a pensar,

...

See on Wikiteka »

matematica

Aprendizagens Essenciais de Matemática (Ensino Básico)
Estrutura das AE:

• Domínios:
• Objetivos de aprendizagem:
• Progressão:



Orientações Curriculares para a Matemática no Ensino Básico

Principais objetivos:

• Coerência curricular:
• Diversificação de metodologias:
• Avaliação formativa:



Perfil dos Alunos à Saída da Escolaridade Obrigatória

Componentes do perfil:

• Áreas de competências:
• Valores e atitudes: 


1. Aprendizagens Essenciais


• São os conhecimentos e

...

See on Wikiteka »

dip notes

i

import cv2
import numpy as np

# Load the input image
img = cv2.imread('input.jpg')  # Reads the image from file

# ---------- Rotation (45° around center) ----------
h, w = img.shape[:2]  # Get image height and width
M_rot = cv2.getRotationMatrix2D((w/2, h/2), 45, 1)  # Rotation matrix: center, angle, scale=1
rotated = cv2.warpAffine(img, M_rot, (w, h))  # Apply rotation

# ---------- Scaling (Down to 50%) ----------
scaled = cv2.resize(img, None, fx=0.5, fy=0.5)  # fx, fy are scaling factors

#

...

See on Student Notes »

COMPUTER

Definition of Computer:

A computer is an electronic device that processes input data according to a set of instructions (programs), stores it, and produces meaningful output as information. It performs four basic operations: Input, Processing, Storage, and Output.

  • It is a data processing machine that can perform arithmetic and logical operations at extremely high speed and accuracy.

  • It is used in every field today due to its efficiency, reliability, versatility, and automation capabilities.

...

See on Student Notes »

DTO CONSUMO

Enunciado: António, contabilista, comprou um carro com dois objetivos: levar o filho à escola e deslocar-se para o seu local de trabalho, que fica a cerca de 10 quilómetros da sua casa. António é consumidor para efeito da LDC?

Resposta:

Nos termos do artigo 2.º, n.º 1 da Lei de Defesa do Consumidor (Lei n.º 24/96, de 31 de julho), considera-se consumidor “todo aquele a quem sejam fornecidos bens, prestados serviços ou transmitidos quaisquer direitos, destinados a uso não profissional,

...

See on Wikiteka »

vgrdrsf

  1. #P1
  2. #Demonstrating "string" operations
  3. s="hello"
  4. print(s.capitalize)
  5. print(s.upper())
  6. print(s.rjust(100))
  7. print(s.center(100))
  8. print(s.replace('l','(M)'))
  9. print(s)
  10. print("don't")
  11. #Indexing
  12. a='symbiosis2024'
  13. print(a[2])
  14. #Negative Indexing
  15. print(a[-1])
  16. print(a[-6])
  17. #Slicing
  18. print(a[9:12])
  19. print(a[9:])
  20. print(a[9:-1])
  21. print(a[:8])
  22. print(a[-12:-1])
  23. #Stride [start index:end index:step size]
  24. print(a[0:13:2])
  25. print(a[0::2])
  26. #Concatenation
  27. b='hello'
...

See on Wikiteka »