ossssss

Q1. Write difference btw following 1. Preemptive and Non-Preemptive Scheduling 2. Program and process 3. Hard real time systems and soft real time systems 4. Time sharing and multi programming

Point Preemptive Scheduling Non-Preemptive Scheduling
1 CPU can be taken away from a running process before completion. CPU cannot be taken away; process runs until it finishes or waits.
2 Better response time but higher overhead (due to context switching). Less overhead but poor response for short
...

See on Student Notes »

wwwwwww

Spark (1914)

-   June 28: Archduke Franz Ferdinand (A-H) assassinated by Gavrilo Princip (Black Hand, Serbian group).

-   Black Hand opposed Bosnia’s annexation; wanted unity w/ Serbia.

-   Spark = start of WWI.

Alliances

-   Triple Entente: Britain, France, Russia (Italy later).

-   Central Powers: Germany, A-H, Italy (switched sides).

MAIN Causes

-   Militarism = arms race.

-   Alliances = hostile camps.

-   Imperialism = rivalry over colonies.

-   Nationalism = extreme pride.

...

See on Wikiteka »

hello

1. Define environmental law and policy and explain why it is important.
Environmental law and policy are regulations, statutes, and agreements at local, national, and international levels that protect the environment and set legal consequences for damage. They are important because they protect public health, natural resources, and ensure people’s right to live in a safe, clean, and healthy environment. They also balance economic activity with sustainability and safeguard future generations

2.

...

See on Student Notes »

Swk micro

Week 5:

  • Reptilian Brain = Emotional Brain (fist)

  • Limbic area/ amygdala = Rational Brain (finger sup) 

  • Frontal Cortex | Theory Definition for a 12-year-old: The reasoning behind why and how a particular thing happens, with an evidence base behind it. | A scientifically-based possible explanation for a fact, observation, or pattern in the world that provides a foundation for understanding relationships  || Van Der Kolk’s Characters:The Cook- Thalamus – focus, consciousness, attention,

...

See on Student Notes »

3110firstexam

a) Divide-and-conquer idea (≤ 8 sentences)

Split the array into two halves around a middle index.
Recursively compute the maximum subarray sum entirely in the left half and entirely in the right half.
Also compute the best “crossing” subarray that ends in the left half (best suffix of left) and continues into the right half (best prefix of right).
The maximum subarray for the whole array is the maximum of these three values.
The crossing sum can be found in linear time by scanning leftward from

...

See on Wikiteka »

fhghgfu

∆Q=mc∆T,E=hν=hc/λ,For wind(p=1/2xroxAv*3),For Hyrdro(p=ηroVgh),solar energy= irradiance x area x time.
(1Btu=1055J,1 year=3.15x10*7s,1kWh=3.6x10*6J,c(w)=4184Jkg-1C-1,1ev=1.6x10*-19J,h=6.625x10*-34Js)


What are the main characteristic of fossil fuels?
Ans: Fossil fuels stored a large amount of chemical energy which is converted into
various other forms of energy by burning them.
How does wind power generate electricity?
Ans: - Electricity is generated by using a wind turbine.
Wind turbine consists

...

See on Student Notes »

si 201

Terminal COMMANDS | mkdir - creates new directorypwd or chdir/cd - show you which working directory you are in | change the current directory to the ‘SI206’ folder if you are currently in its parent folder, ‘Fall22’ using cd SI206 

GITHUB COMMANDS | git clone url # copy repo to your computer |  git status # see what has changed and what is staged | git add file # add a file to the stage for a commit | git commit -m ”message” # create a commit (local) |  git push # push the

...

See on Student Notes »

istorija

Stefan Uroš II Milutin (Milutin) — vladavina i zadužbine

Godine vladavine: 1282–29. oktobar 1321.  

Koje teritorije je osvojio do kraja 13. veka / granica Srbije:

Milutin je tokom kasnog 13. i ranog 14. veka širio vlast prema jugu — zauzeo je delove severne i centralne Makedonije (okolinu današnje Skoplja i Kumanova) i uticao na oblasti koje su bile u sastavu Vizantije. Granica Srbije u tom periodu se približavala jugoistočnoj Srbiji i delovima Makedonije; tačna „linija“ varirala

...

See on Wikiteka »

natural language processing

Which of the following text preprocessing steps can reduce the dimensionality of a bag-of-words feature space?
A. Converting all text to lowercase
B. Removing common stop words (e.g. “the”, “and”, “of”)
D. Stemming or lemmatizing words (e.g. “running” → “run”)

Which of the following are limitations of the bag-of-words (unigram) text representation?
A. It ignores the order of words in the text (loses word sequence information).
B. It can lead to a very high-dimensional and sparse

...

See on Student Notes »