Notes, summaries, assignments, exams, and problems for Baccalaureate

Sort by
Subject
Level

The Road Not Taken

Classified in Physics

Written on in English with a size of 1.11 KB

Robert Frost - 1874-1963

Two roads diverged in a yellow wood. And sorry I could not travel both, And be one traveler, long I stood, and looked down one as far as I could, to where it bent in the undergrowth.

I took the other, as just as fair, and having perhaps the better claim, because it was grassy and wanted wear, though as for that the passing there, had worn them really about the same.

And both that morning equally lay, in leaves no step had trodden black, oh I kept the first for another day, yet knowing how way leads on to way, I doubted if I should ever come back.

I shall be telling this with a sigh, somewhere ages and ages hence, two roads diverged in a wood, and I, I took the one less traveled by, and that has made all the difference.

Effective Data Gathering Methods for Research

Classified in Psychology and Sociology

Written on in English with a size of 7.29 KB

Data Gathering Methods

Physical Data Gathering Methods

  1. Notes

    • Pros: Good overview, flexible, less intrusive, aids focus.
    • Cons: Can be difficult and slow, requires concentration, potential for bias.
  2. Audio/Video Recording

    • Audio combined with photos can add valuable context.
    • Requires explicit permission from participants.
    • Raises potential privacy issues.
    • Requires good quality recording equipment.

Data Gathering Techniques

Surveys

Recruitment
  • Define the target population clearly.
  • Gather relevant demographic information.
Sampling
  • Probabilistic Sampling: Each member has a known probability of being chosen.
    • Example: Census.
    • Random Sampling: Every individual has an equal chance.
    • Stratified Sampling: Ensures representation from each subset of the population.
  • Non-probabilistic
... Continue reading "Effective Data Gathering Methods for Research" »

Setting Up a Backend Project with Node.js

Classified in Computers

Written on in English with a size of 5.14 KB

To start a backend project.

- npm init

Then make a file with whatever entry point you named it as, for example, server.js

Once package.json is created:

  • npm i <package>
  • connect-mongo (store sessions in DB)
  • dotenv (for config files, environment variables)
  • express
  • mongoose
  • express-sessions (sessions and cookies)
  • method-override (to use PUT, UPDATE, DELETE requests)
  • moments (date formatting)
  • morgan (logging)
  • passport (authentication)

npm i -D <package>

  • nodemon (Update every file change instantly without having to restart the server)
  • cross-env (To update environment variables in script definition itself)

After installing the dependencies, edit the scripts in package.json

"start": "cross-env NODE_ENV=production node server.js",
"dev": "cross-env NODE_ENV=
... Continue reading "Setting Up a Backend Project with Node.js" »

Doubly Linked List Implementation in C

Classified in Computers

Written on in English with a size of 4.75 KB

Types definition


#include <stdbool.h>


#include <stdlib.h>


Struct Definition


typedef int tItemL;
typedef struct tNode* tPosL; //Ptr to tNode
struct tNode {
tItemL data;
tPosL next;
tPosL prev;
};
typedef tPosL tList;


Prototypes


void createEmptyList(tList *L);
bool createNode(tPosL* p);
bool insertItem(tItemL d, tPosL p, tList *L);
void updateItem(tItemL d, tPosL p, tList* L);
tPosL findItem(tItemL d,tList L);
bool isEmptyList(tList L);
tItemL getItem(tPosL p, tList L);
tPosL first(tList L);
tPosL last(tList L);
tPosL previous(tPosL p, tList L);
tPosL next(tPosL p,tList L);
void deleteAtPosition(tPosL p , tList *L);
void deleteList(tList *L);


Function Definitions


#include "doubly_linked_list.h"
bool isEmptyList(tList L) { return (L == NULL); }
void... Continue reading "Doubly Linked List Implementation in C" »

Vocabulary and Grammar Practice for English Learners

Classified in Teaching & Education

Written on in English with a size of 4.33 KB

Passionate, ambitious, loyal, optimistic, loyal, ambitious, television, influential, pessimistic.

At risk, creature, endangered, extinct, hunt, protected, rare, species, environment, habitat natural survive, dangerous, attack, vulnerable, fight, scared, danger, provided, tiger, mattress, hut, forest, wounded, shot, killed, boots, endangered, extinct, protected, desert, mountain, harmless, pepper spray, punch, seal, vertical, panic, unless, provided, survive, careful, drag, impressive, work out, record, take revenge, killed, provided, wounded.

Vocab- Affect, as a result, cause, effect, influence, is caused by, lead, result.

Arduous, strict, demanding, rigorous, testing, tricky, punishing, tough, gruelling, straightforward, awkward, struggle, stretch,... Continue reading "Vocabulary and Grammar Practice for English Learners" »

Understanding Canadian Law: Substantive, Procedural, Public, and Private

Classified in Law & Jurisprudence

Written on in English with a size of 130.22 KB

Substantive and Procedural Law in Canada

Substantive Law

Substantive law encompasses the rights and rules that govern behavior and set limits on conduct.

Procedural Law

Procedural law determines how substantive laws will be enforced.

Public and Private Law

Public Law

Public law includes constitutional law and determines how the country is governed. It also regulates our relationship with the government.

Private Law

Private law governs personal, social, and business relationships.

Canada's Constitution

The Constitution Act, 1982, formerly known as the British North America Act, created Canada in 1867. It serves as the "rulebook" that the government must follow. It includes the Charter of Rights and Freedoms.

Canada's Constitution has three elements:

  • Statutes
  • Case
... Continue reading "Understanding Canadian Law: Substantive, Procedural, Public, and Private" »

Personal Reflections on Life's Journey

Classified in English

Written on in English with a size of 2.78 KB

High School Reflections

High school has given me very good and not so good moments, but it was undoubtedly the best time of my life. I had many friends, and the days in class were fun and enjoyable. I remember that the first day of high school I entered with a lot of fear of not making friends since I didn't know anyone, but after the first playground I had already made 3 friends, one of whom today is my best friend. A not so good stage in high school was repeating the course, since I had a bad time both socially with my new classmates and on a personal level.

The Digital Connection

Today, both new and old generations have something in common: the need to connect to the internet, either to work or to hang out. I think that punishing a person without... Continue reading "Personal Reflections on Life's Journey" »

Anatomy of the Eye: Retina, Vitreous Body, Accommodation, and Hemidecussation

Classified in Physics

Written on in English with a size of 643 bytes

Anatomy of the Eye

The retina of the eye, lining the posterior two-thirds of the eyeball, is located within the inner tunic.

The jelly-like substance located between the lens and retina is the vitreous body.

True or false: Accommodation refers to the change in lens thickness in order to provide fine focus of an image. The answer is true.

Functions of the Vitreous Body:

  • Maintains shape of eyeball
  • Refracts rays of light
  • Keeps retina smoothly pressed against inner surface of eye chamber

Hemidecussation occurs within the visual projection pathway at the optic chiasm.

Review of Toys R Us, Cuerpo Norte Gym, and Parque del Retiro in Madrid

Classified in English

Written on in English with a size of 755 bytes

Review of Toys R Us

On May 9th I bought a remote control car as a gift for my brother, but it was made of plastic, without a remote control. I made a complaint and hope to get it resolved. Thank you for your service.

Cuerpo Norte Gym

It's a very special gym, familiar and welcoming. It's a great place to relax and work out. I highly recommend it to everyone.

Parque del Retiro in Madrid

The Parque del Retiro is a historic garden and public park located in Madrid, Spain. It's a large green space with architectural figures and gardens. It's a great place to visit with children and enjoy the views and different activities.

English Grammar Cheat Sheet: Conditionals, Passive Voice, and More

Classified in English

Written on in English with a size of 7.22 KB

Conditionals

0 Conditional

if + Present Simple + Present Simple

Situations that are always true or happen repeatedly.

1st Conditional

if + Present Simple + will (verb)

Describes what happens if a condition is met.

2nd Conditional

if + Past Simple + would (verb)

Imaginary future situations, hypothetical cases, unlikely events.

3rd Conditional

If + Past Perfect, would have + Past Participle

Impossible conditions as they refer to the past.

The Passive Voice

Present Simple: The waiter serves the customers (A) --> The customers are served by the waiter (P)

Present Continuous: ...is serving... --> ...are being served...

Past Simple: ...served... --> ...were served...

Past Continuous: ...was serving... --> ...were being served...

Present Perfect Simple:

... Continue reading "English Grammar Cheat Sheet: Conditionals, Passive Voice, and More" »