Q1. Define Primary Key and Candidate Key. A Candidate Key is a minimal set of attributes that can uniquely identify a tuple. A Primary Key is the candidate key chosen by the designer to uniquely identify records in a table (cannot be NULL).
Q2. What is Referential Integrity constraint? It ensures that a foreign key value in one table must either match a primary key value in the referenced table or be NULL — maintaining consistency between related tables.
Q3. What is Entity Integrity constraint?
Harappan cities were generally well-planned and built according to a grid pattern.
Streets often crossed each other at right angles.
Cities were divided into areas such as the citadel and lower town.
Houses were generally built with standardised baked bricks.
An advanced drainage system carried wastewater away from houses and streets.
Many houses had bathrooms, wells and proper arrangements for water disposal.
There...
1. Define Environmental Education. Environmental Education is the process of recognizing values and clarifying concepts to develop skills and attitudes necessary to understand and appreciate the interrelation between humans and the environment. It aims to promote sustainable behaviour and informed decision-making.
2. Distinguish between Environmental Studies and Environmental Science. o Environmental Studies is an interdisciplinary academic field that integrates physical, biological, and information
| State | Shape & Volume | Particle Arrangement | Particle Motion | Attractive Forces |
|
Solid (s) |
Fixed shape & volume |
Regular, closely packed lattice |
Vibrate about fixed positions |
Very strong |
|
Liquid (l) |
Fixed volume, fits container |
Irregular, closely touching |
Slide past each other |
Moderate |
|
Gas (g) |
Fills container entirely |
Random, far apart |
Rapid, random motion |
Negligible / weak |
Melting: Solid --> Liquid (thermal energy overcomes strong forces holding
Svavatta means self-identity, self-existence, and self-control. It refers to the ability of a person or society to maintain its own identity, values, culture, traditions, and way of life. It emphasizes being independent in thoughts and actions while preserving one’s uniqueness and dignity. In simple words, Svavatta means knowing and maintaining one’s own identity.
Swatantrata means freedom or independence. It refers to the freedom of a person or society to think,
Positive correlation-as one variable increases, the other also increases. Negative correlation- as one variable decreases so does the other. Correlation Coefficient: A statistical index of the relationship between two things (from -1 to +1).Measure of Central Tendency: A statistical measure that identifies a single value as representative of an entire distribution. Mean: The average of a set of numerical values. Median: The middle value in a list of numbers. Mode: The value that appears most often...
Carbohydrates: Quick (short-term) energy source. Found in foods like bread, pasta, potatoes, and fruits. Built from simple sugars (monosaccharides). Lipids: Long-term energy storage. Provide insulation and protection. Make up cell membranes. Include fats, oils, and waxes. Proteins: Made of amino acids. Help build structures (muscles, tissues). Act as enzymes to speed up reaction. Nucleic Acids: Store and transmit genetic information. Examples: DNA and RNA. Made of nucleotides. Practice Questions:
...typedef struct {
int total; // thread attesi
int count; // thread arrivati
int phase; // fase corrente (per riutilizzo)
pthread_mutex_t mutex;
pthread_cond_t cond;
} barrier_t;
void barrier_init(barrier_t *b, int n) {
b->total = n;
b->count = 0;
b->phase = 0;
pthread_mutex_init(&b->mutex, NULL);
pthread_cond_init(&b->cond, NULL)
Hammurabi: 1st written code; codification = writing/organizing laws. ''eye for an eye'' = retribution (payback/punishment). Restitution = repay/compensate victim. Harsh punishments + social class differences. Today ---> written laws, offenders punished + restitution still used. Mosaic law: Moses; hebrew/jewish law; 10 commandments (no other gods, dont make idols, dont use the lords name in vain, keep the sabbath day holy, honour father and mother, no murder, no stealing, dont commit adultery...