Exam paper

The history of Java began in 1991 at Sun Microsystems, created by James Gosling and his team. Originally intended for interactive television and consumer electronic devices, the language's development quickly shifted to the burgeoning World Wide Web due to its platform-independent design.
Here is a breakdown of Java's history and key milestones:
Early Development (1991–1995)
 * 1991: The Green Project 🌳
   * Development began at Sun Microsystems by a team led by James Gosling, Mike Sheridan,

...

See on Student Notes »

Cheat Sheet

1. Compare the Natural Law paradigm to the Legal Positivist paradigm. Briefly list some

strengths and weaknesses of each perspective. Where does the ‘Letter from a Birmingham

Jail’ fit among these two perspectives?

Natural Law Paradigm: 

Core Idea - A law is only valid if it matches what’s fair, moral, or based on higher principles (like justice or human rights)

Strengths - Provides a basis for challenging unjust laws and connects law to universal human rights

Weaknesses - Morality means...

See on Student Notes »

no tego bagno

  • Epitet – określenie rzeczownika uwydatniające jego specjalne cechy (może to być rzeczownik, przymiotnik lub imiesłów); np. niska cena, słownik języka polskiego
  • Oksymoron – epitet sprzeczny, np. sucha woda
  • Porównanie – zestawienie dwóch przedmiotów lub zjawisk, które mają wspólną cechę (często robi się to przy użyciu takich słów jak: jak, jakby, jak gdyby, niczym lub na kształt); np. leje jak z cebra, stoi dumna niczym pierwszy przebiśnieg na polanie
  • Porównanie
...

See on Wikiteka »

Exami

(selection Sort)#include <stdio.h>


// Function to perform selection sort

void selectionSort(int arr[], int n)

 { int i, j, minIndex, temp;

 for (i = 0; i < n - 1; i++) { minIndex = i;

// Find the index of the minimum element in the unsorted part


for (j = i + 1; j < n; j++) {

if (arr[j] < arr[minIndex]) { minIndex = j;}

 }

// Swap the found minimum element with the first element

if (minIndex != i) { temp = arr[i];

arr[i] = arr[minIndex]; arr[minIndex] = temp;}

}

}


// Function

...

See on Student Notes »

produccion

Exterior del Bovino

  • Definición: Estudio del aspecto exterior → bondades y defectos productivos.
  • Formas corporales:
  • 🥩 Bovino de carne → forma rectangular.
  • 🥛 Bovino de leche → forma triangular.

Medidas principales:

Perímetro torácico: cinchera/retroescápula.

Barril/abdomen: límite dorso-lomo.

Alzada: altura a la cruz.

Largo del cuerpo: testuz hasta encole.

Grupa: largo (cadera–nalga), ancho (caderas).

Cabeza: largo (testuz–morro), ancho (ángulos ojos), espesor (frente–quijada)

...

See on Xuletas »

CS2030

Class: The class is a user-defined data structure that binds the data members & operation or methods into a single unit. 

Object: is an instance of class. Use obj to perform actions on obj or allow interactions. 

Method: Action to perform using attributes.

Attributes: characteristic or properties of class == instance variable (before method and belong to one obj), accessible through static and public method

Class variable: declared with static; shared among all objects of the class.

Local

...

See on Wikiteka »

Lab exam

TCP SERVER
#include<stdio.h> 
#include<stdlib.h>
 #include<string.h> 
#include<unistd.h> 
#include<arpa/inet.h>
int main()
}
char *ip="127.0.0.1";
int port = 5566;
int server_sock.client_sock;
struct sockaddr_in server_addr,client_addr;
socklen_t addr_size;
char buffer[1024]:
int n;
server_sock = socket(AF_INET,SOCK_STREAM,0);
if(server_sock<0){
perror("[-]socket error");
exit(1);
}
printf("[+]TCP server socket created.\n");
memset(&server_addr, 10, sizeof(server_
...

See on Student Notes »

eloise

A Teoria das Relações Humanas surgiu nos Estados Unidos após a Crise de 1929, quando o desemprego em massa fez os estudiosos se preocuparem mais com o fator humano no trabalho, diferente de Taylor, que via a organização como uma máquina. Essa mudança foi impulsionada pela famosa Experiência de Hawthorne, realizada entre 1927 e 1932 por Elton Mayo na fábrica Western Electric, em Chicago.

Na 1ª fase, chamada de estudos da iluminação, tentou-se verificar se a luz influenciava na produtividade,

...

See on Wikiteka »

note bsuiness

functionsofmanagment:(1. leading)-planning=setting performance objectives & deciding how to achieve them. adv:clarifies obj+res needs,1st step in goals. impl:short/long/oper plans.controlling=measuring performance and taking action to ensure desired results. adv:perf eval+cont improv,keeps goals aligned,motivates via clear feba.impl:monitor+eval+reg processes.organizing: arranging tasks people and other resources to accomplish the work. managerialcompetences communication=ability to share ideas

...

See on Student Notes »