BST Code

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

struct node {
    int data;
    struct node *left, *right;
};

struct node* createNode(int value) {
    struct node* newNode = (struct node*)malloc(sizeof(struct node));
    newNode->data = value;
    newNode->left = newNode->right = NULL;
    return newNode;
}

struct node* insert(struct node* root, int value) {
    if (root == NULL)
        return createNode(value);

    if (value < root->data)
   ...

See on Student Notes »

systems

CIRCADIAN RHYTHMS

3 main properties: 1- 24h period. 2- Endogenous (rhythmic responses continue even in absence of stimulation) 3- Entrainable (rhythms can be reset/adjusted by exposure to external stimuli)

Study: rat has access to running wheel -> turns of wheel recorded on chart recorder, plots each wheel rotation as tick on chart -> each line represents one day's activity -> activity plotted for month under no light 6am-6pm, rat shown to be active during dark hours of day-night cycle 

...

See on Student Notes »

Cheat

Family is the oldest and most important social institution. It is the basic unit of society and plays a vital role in the development of individuals and society. Every person is born into a family and spends most of his early life within the family. The family provides food, shelter, protection, love, emotional support, and education. It also helps in developing personality, behavior, moral values, and social skills.

Family acts as a bridge between the individual and society. It teaches customs,...

See on Student Notes »

filosofia

COMPARACIONOlympe de Gouges es una autora ilustrada del siglo XVIII, vinculada a la Revolución Francesa y pionera del feminismo; es interesante compararla con Simone de Beauvoir, filósofa existencialista del siglo XX y referente del feminismo contemporáneo, porque ambas reflexionan sobre la situación de la mujer desde contextos distintos. La relación entre ambas es de continuidad e, incluso, influencia: Beauvoir desarrolla una reivindicación, en términos más filosóficos y sociales, que

...

See on Apuntes & Cursos »

faaaahhhhhh

Explain Cyber Law and its components.
ANS: - 🔹 Definition
Cyber Law refers to the body of laws that govern activities related to computers,
digital devices, and the internet. It deals with legal issues such as cybercrimes,
electronic transactions, data protection, and online communication.
🔹 Components of Cyber Law
1⃣ Cyber Crimes
 Deals with illegal activities done using computers/networks
 Includes:
o Hacking
o Phishing
o Identity theft
o Cyber terrorism
 Covered under IT Act
...

See on Student Notes »

Notes

SECTION "B" — SHORT QUESTIONS


Q1. DEFINE THE FOLLOWING WITH EXAMPLES:

i. Frequency The number of complete waves (vibrations) passing a point per second is called frequency. Symbol: f — Unit: Hertz (Hz) Example: A wave completing 50 cycles per second has frequency = 50 Hz. Formula: f = 1/T

ii. Wavelength The distance between two consecutive crests or troughs of a wave is called wavelength. Symbol: λ — Unit: metre (m) Example: The wavelength of visible light is approximately

...

See on Student Notes »

CST 8326

Express

ASYNC + NODE 

Express DB

USER Authentication

Express:

Node.js web framework provides (top to bottom)

  • routing system

  • middleware pipeline

  • response utilities

  • template integration (Pug, etc.)

Request → Middleware → Route → Response


Middleware

Functions that run before the final response

Signature:

(req, res, next)

  • modify req/res

  • stop request (res.send)

  • pass control (next())

  • No next() AND no res.send() → request hangs

  • next() → continues flow

  • res.

...

See on Student Notes »

data warehousing

Difference Between Data Warehouse and Data Mart

Basis Data Warehouse Data Mart
Scope Entire organization Specific department
Size Large Small
Data All business data Subject-specific data
Users Whole organization Department users
Cost High Low
Time More implementation time Less implementation time
Complexity Complex Simple

Conclusion:

  • Data Warehouse stores organization-wide data.

  • Data Mart stores department-specific data.

👉 Warehouse = Whole company
👉 Mart = One department

...

See on Student Notes »

sdfasdsdf


Podstawy analizy danych, Big Data i uczenia maszynowego

1. Definicje informacji, danych i wiedzy:

  • Informacja (wg Stampera): Jest to wynik przetwarzania danych, czyli ich zbierania, analizy oraz agregacji. Pojęcie to oznacza zinterpretowane dane.
  • Dane: Jednostka danych, oznaczająca jeden lub kilka symboli, które zostały użyte do reprezentowania czegoś.
  • Wiedza: Otrzymuje się ją z informacji poprzez ich powiązanie i zintegrowanie z wiedzą już istniejącą.

2. Hurtownia danych vs Jezioro

...

See on Wikiteka »