cheat

#include <stdio.h>

int n, m;
int alloc[10][10], max[10][10], need[10][10];
int avail[10], work[10], finish[10];

// Safety Algorithm
int checkSafety() {
int seq[10], count = 0;

for (int i = 0; i < n; i++) finish[i] = 0;
for (int i = 0; i < m; i++) work[i] = avail[i];

while (count < n) {
int found = 0;

for (int i = 0; i < n; i++) {
if (!finish[i]) {
int j;
for (j = 0; j < m; j++) {
if (need[i][j] > work[j])
break;
}

if (j == m) {
for (int k = 0; k < m; k++)
work[k] += alloc[i][k];

seq[count+

...

See on Wikiteka »

tosss

Merits (advantages) steel str

  • High strength-to-weight ratio allows long spans and tall structures

  • Light weight reduces dead load and foundation cost

  • Uniform quality due to factory production

  • Faster construction because of prefabrication

  • Ductile material gives warning before failure

  • Performs well under earthquake and dynamic loads

  • Easy to repair, modify and extend

  • Reusable and recyclable material

  • Smaller sections provide more usable space

  • Durable if properly protected

  • Easy fabrication

...

See on Student Notes »

huhjkk

  1. C — the assassination of Archduke Franz Ferdinand and his wife Sophie
  2. D — all of the above/b to protect
  3. D — militarism
  4. B — the Balkan Peninsula
  5. C — attack France first, then Russia
  6. D — because of their location in the heart of Europe
  7. A — Germany
  8. B — an armistice was signed
  9. A — a plan for the postwar world
  10. B — Germany
  11. B — Germany drove the Russians into full retreat
  12. B — to establish a supply line to Russia
  13. C — Germany’s policy to sink any ship in British waters without
...

See on Student Notes »

ASD_mid

12 Agile Principle:

1. Planning Game

Customer + team decide scope → ensures relevant features

2. Small Releases

Frequent delivery → early feedback → fewer defects

3. System Metaphor

Simple shared vision → better understanding

4. Simple Design

Avoid overengineering → fewer bugs

5. Testing (TDD)

Write tests first → high reliability

6. Refactoring

Improve code continuously → maintainability

7. Pair Programming

Two developers → fewer errors, better quality

...

See on Student Notes »

bjdff

When curls become complicated

Apparently, official photographs do not simply identify you; they also quietly negotiate how respectable you appear to strangers. A driver’s license, for example, is apparently not just proof that you may legally drive, but also proof that your hair understands authority. When mine arrived, my mother looked at the picture with the kind of disappointment usually reserved for expensive mistakes. My curls were loose, natural, and entirely visible. According to her,

...

See on Student Notes »

Βιολογία

3.1.3 Η θεωρία της φυσικής επιλογής 

Το 1809, έτος δημοσίευσης της εργασίας του Λαμάρκ, γεννήθηκε στην Αγγλία ο Κάρολος Δαρβίνος. Αν και ως μαθητής ενδιαφερόταν ιδιαίτερα για τη μελέτη του φυσικού κόσμου, ολοκληρώνοντας τις εγκύκλιες σπουδές του στράφηκε αρχικά στην Ιατρική και

...

See on Wikiteka »

samhäll

1.a)När en ung person precis har flyttat hemifrån möter hen plötsligt en helt ny vardag med räkningar, hyra, mat, el och internet. Kostnaderna kan kännas överväldigande, och då kan betalningssättet ”köp nu, betala sen” verka väldigt lockande. Det är frestande att köpa saker man egentligen inte har råd med just nu, eftersom man inte behöver betala direkt.

Problemet är att det lätt kan leda till ökad konsumtion. När man inte ser pengarna försvinna direkt blir det lätt att

...

See on Wikiteka »

hhhhhhhhhhhhhhhhhhh

1. What is Faith?

✅ Definition (IMPORTANT – short answer)

Faith = belief and trust in God, even without physical proof.

👉 Better (Level 4 answer):

Faith is a gift from God that allows us to believe in Him, trust in His promises, and build a relationship with Him.


✨ Characteristics of Faith (Catechism – don’t memorize, understand)

  • Faith is a gift from God
  • Faith is free (you choose it)
  • Faith grows through prayer and experience
  • Faith involves both belief AND action

📜 2. Revelation

...

See on Student Notes »

Macro

PART 1: FISCAL POLICY

What & Why: Govt earns (receipts) and spends (expenditure) — fiscal policy is how it uses that gap to steer the economy. Spend more → boost growth. Spend less → cool inflation. Revenue receipts are regular income — taxes (income tax, GST) and non-tax (fees, PSU dividends). Capital receipts are one-time or debt-based — borrowings, asset sales, disinvestment. Key rule: revenue is recurring, capital is not. GST replaced VAT + excise in July 2017 but still excludes

...

See on Student Notes »