Question 1: S is a relation instance. If S has 6 tuples in it, then how many tuples are there in the result of the following SQL query? SELECT * FROM S S1, S S2;36 = 6 * 6
Question 2: Let R(A,B,C,D) be a relation, where (A, B, C) is the Primary Key of R, and attribute D cannot be NULL. Assume A’s domain has 5 different values, B’s domain has 2 , and C has 4, and D has 3. What is the maximum number of tuples that can be in an instance of R? 40 = 5 * 2 * 4 (Primary Key is unique)
Question 4:
Law of Diminishing Marginal Productivity: Extra output per worker eventually decreases as more workers are added to fixed capital.
Long Run: All inputs can be changed; firm can adjust labor, capital, etc. to optimize production
Economic Profit = Revenue − Costs (explicit + implicit)
Implicit costs: Value of forgone alternatives
Explicit cost = actual money paid for inputs
When marginal productivity falls → marginal cost rises.
Marginal Product (Labor): Extra output from one more worker.
Average
MWERGE SORT
#include <stdio.h>
void merge(int a[], int l, int m, int r) {
int i=l, j=m+1, k=0, b[100];
while(i<=m && j<=r) {
if(a[i]<a[j]) b[k++]=a[i++];
else b[k++]=a[j++];
}
while(i<=m) b[k++]=a[i++];
while(j<=r) b[k++]=a[j++];
for(i=l,k=0;i<=r;i++,k++) a[i]=b[k];
}
void mergesort(int a[], int l, int r) {
if(l<r) {
int m=(l+r)/2;
mergesort(a,l,m);
mergesort(a,m+1,r);
...
🌏 Environmental Systems & Agriculture
Agricultural System Components
Inputs: land, water, fertiliser, labour, energy, capital
Processes: cultivation, irrigation, grazing, harvesting
Outputs: food, fibre, waste, emissions, by-products
Key Drivers
Population growth, market demand, policy incentives, technology, climate.
Sustainability Principles
Efficiency: maximise yield per input.
Resilience: ability to recover from disturbance.
Circularity: reuse and recycle nutrients and energy.
Environmental
Cursorial: running adaptation; long limbs, reduced digits (e.g., pronghorn, cheetah).
Advantages: range, migration, predator–prey endurance.
Adaptations: longer distal limbs, reduced/fused bones, loss of clavicle.
Horse record: digit reduction → 1 toe = efficient endurance.
Ricochetal: bipedal hopping, elastic energy (kangaroo rat, jerboa); elastic recoil = energy savings, predator evasion.
Semi-fossorial: partial burrower (marmot, badger).
Fossorial: full burrower (mole, naked...
🧩 1. Maslow’s Hierarchy of Needs
Human motivation lies at the centre of consumer behaviour. Abraham Maslow’s (1943) Hierarchy of Needs remains one of the most influential frameworks for understanding why individuals engage in consumption. Maslow argued that behaviour is goal-directed, driven by a progressive series of needs from basic physiological survival to psychological growth and self-actualisation. In consumer contexts, this hierarchy explains not just what people buy,...
Ο ανθρώπινος οργανισμός έχει την ικανότητα να αναγνωρίζει οποιαδήποτε ξένη προς αυτόν ουσία και να αντιδρά παράγοντας εξειδικευμένα κύτταρα και κυτταρικά προϊόντα (π.χ. αντισώματα), ώστε να την εξουδετερώσει. Η ικανότητα αυτή του οργανισμού ονομάζεται ανοσία. Η ξένη ουσία
Framework = structured thinking tool that helps interpret information, make decisions, and support predictions or claims
Business Model Canvas:9 Basic Components=Key Partners, Key Activities, Key Resources, Value Propositions, Customer Relationships, Channels, Customer Segments, Cost Structure, Revenue Streams
PESTEL: Macro environment forces impacting an organizations strategies, Can be positive or negative (or neutral), Used at the industry level, leading to customized responses at the organizational
A cooperative organization is a business or organization owned and controlled by its members, who use its services. The basic philosophy is self-help and mutual aid, with a focus on service rather than maximizing profit for external investors.
Here are the key advantages and disadvantages of a cooperative organization:
Advantages of a Cooperative Organization
Democratic Management: Cooperatives operate on the principle of "one member, one vote," regardless of the number of shares held.