newer

Q1. Inheritance in Java (10 Marks)

Inheritance is an important feature of Object-Oriented Programming which allows one class to acquire the properties and methods of another class. The class that gives its features is called the parent class or superclass, and the class that receives them is called the child class or subclass. In Java, inheritance is implemented using the extends keyword.

There are mainly three types of inheritance in Java:
(1) Single level inheritance – one parent and one child...

See on Wikiteka »

french

Un accident que j'ai vu
La semaine dernière, j'ai été témoin d'un accident à la maison. C'était l'après-midi et je jouais avec quelques jouets dans le salon. Mon petit frère voulait attraper un bocal sur une étagère et il est monté sur une chaise. Il a perdu l'équilibre et est tombé par terre. Il s'est fait mal au bras et il pleurait beaucoup. J'étais très inquiet. J'ai appelé mes parents. Ma mère a nettoyé la plaie avec du désinfectant et a mis un pansement. Mon père a rangé

...

See on Wikiteka »

Political obligation 3

*Concept of Political Obligation*

Political obligation refers to the moral duty of citizens to obey the laws and rules of their government. It's about the relationship between individuals and the state, and the reasons why citizens should respect and follow authority.

*Theories of Political Obligation:*

- *Social Contract Theory*: Citizens consent to be governed in exchange for protection and services (e.g., Hobbes, Locke, Rousseau).

- *Natural Duty Theory*: Citizens have a moral duty to support

...

See on Student Notes »

odontotecnico

Sistemi dei perni a spillo 1Impronta con due elementi (34 e 35) preparati. 2. Utilizziamo in questo caso dei perni doppi, poiché rispetto a quelli singoli presentano una migliore stabilità e precisione nella base. 3. I perni a spillo vengono inseriti nell’impronta, ricercando un buon parallelismo tra i vari perni (per sfilare agevolmente le future sezioni) e mantenendoli per quanto possibile alla stessa altezza (si possono compensare eventuali piccole differenze affondando più o meno ogni perno

...

See on Wikiteka »

relatório

O presente relatório visa descrever a Iniciação à Prática Profissional II (IPPII) realizada no Jardim de Infância Cinderela, uma instituição integrada na Santa Casa da Misericórdia. O estágio decorreu no período compreendido entre os dias [Data de Início] e [Data de Fim], na sala destinada às crianças de 3/5 anos. Tive a oportunidade de observar a rotina, participar nas atividades propostas pela educadora e planear e implementar intervenções pedagógicas próprias .

A rotina da instituição

...

See on Wikiteka »

Englishhh

1. Word Stress 

Word stress refers to giving extra emphasis, loudness, or length to one syllable in a word so that it stands out more clearly than the others. English is a stress-timed language, which means correct stress is necessary for clear pronunciation and understanding. Incorrect stress can change the meaning or make the speaker sound unclear or unnatural. For example, words like “juDIcial,” “aPPEAL,” and “conTRACT” (noun) have fixed stress patterns, while the same spelling “conTRACT”...

See on Student Notes »

aichits

hirarchy=>import matplotlib.pyplot as plt
import scipy.cluster.hierarchy as sch
import numpy as np
X = np.random.rand(50, 2)
dendrogram = sch.dendrogram(sch.linkage(X, method='ward'))
plt.title('Dendrogram')
plt.show()
from sklearn.cluster import AgglomerativeClustering
hc = AgglomerativeClustering(n_clusters=5, linkage='ward')
print('Cluster assignments:', hc.fit_predict(X))

k means=>import numpy as np
from sklearn.cluster import KMeans
import matplotlib.pyplot as plt
# Using random data as placeholder
X

...

See on Student Notes »

Garmoi

UNIT-I

1. Generations of Computers

Computers have evolved significantly over time, categorized into generations based on technological advancement. The first generation (1940–1956) relied on vacuum tubes, which made computers bulky, expensive, and heat-prone. These machines used machine language and had limited speed, processing only basic calculations. The second generation (1956–1963) replaced vacuum tubes with transistors, reducing size, cost, and power consumption. Assembly language became

...

See on Wikiteka »

Hiasdsad

Population, Sample, Census: The population of interest is the entire group researchers want to generalize to. A sample is the smaller group that is actually observed or measured. A census collects data from every single member of the population. Population = who you care about. Sample = who you study. Census = everyone in the population. Representative vs. Biased Samples: A representative sample (unbiased) gives every member of the population an equal chance of being selected. A biased sample (unrepresentative)

...

See on Student Notes »