UNIT I — Bigger One-Line Answers
• OOP → A programming style that organizes software using objects containing data and methods.
• Encapsulation → Binding data and methods together while restricting direct access.
• Abstraction → Hiding complex details and showing only essential functionality.
• Inheritance → A mechanism where one class acquires properties and methods of another.
• Class → A blueprint defining properties and behaviors; Object → its runtime instance.
•
utilizados na atividade económica (lã, linho, café, cacau). Define-se trabalho como toda a atividade física ou mental desempenhada pelo ser humano de forma remunerada e que tem por objetivo a produção de bens e serviços. Existem os seguintes tipos de trabalho: Trabalho simples: Não exige qualificações (varredor, empregada doméstica); Trabalho complexo: exige qualificações específicas adquiridas através de formação ou experiência profissional. Trabalho manual: Aquele em que predomina...
🔴 8 MARK ANSWERS
1. Analyse the Deficit Theory (with criticism and implications)
Deficit Theory, commonly associated with the work of John Ogbu and earlier sociolinguistic theorists, explains academic underachievement among students from disadvantaged, minority, or marginalized backgrounds by attributing it to deficiencies in their language, culture, or home environment. According to this theory, such learners enter school without the linguistic competence, cognitive stimulation, or cultural...
1. Prime Number using Command-Line Argument
class PrimeCheck {
public static void main(String[] args) {
int n = Integer.parseInt(args[0]);
boolean isPrime = true;
if (n <= 1) isPrime = false;
for (int i = 2; i <= n / 2; i++) {
if (n % i == 0) {
isPrime = false;
break;
}
}
if (isPrime)
System.out.println(n + " is Prime");
else
System.out.println(n + " is Not Prime");
}
}
2. Count Vowels and Consonants
import java.util.Scanner;
class VowelConsonantCount {
public static void main(String[]...
Data Mining is the process of automatically discovering meaningful patterns, trends, and relationships from large datasets using statistical, machine learning, and database techniques.
Applications (any two):
Market Basket Analysis
Fraud Detection
(Other examples: customer segmentation, medical diagnosis, recommendation systems)
KDD is the overall process of extracting useful knowledge...
Biodiesel- Biodiesel is a renewable fuel made from vegetable oils, animal fats, or used cooking oils and serves as an eco-friendly alternative to diesel. It is produced through transesterification, where oils react with methanol in the presence of a catalyst to form biodiesel and glycerol. Biodiesel burns cleaner, reduces sulfur and particulate emissions, and can be used in existing diesel engines with minor or no modifications. However, its production is costly, requires large agricultural land...
CAPM expected return:
Expected return of asset = risk free rate + beta * (market return - risk free rate)
Beta formula:
Beta = Covariance(asset return, market return) / Variance(market return)
CAPM regression:
(asset return - risk free rate) = alpha + beta * (market return - risk free rate)
Alpha formula:
Alpha = actual expected return - CAPM predicted return
CAPM predicted return:
Predicted return = risk free rate + beta * market risk premium
Interpretation:
Beta = market sensitivity
Alpha...
✅ Long, High-Quality Examination Answer: CHP Inspection
Coal Handling Plant (CHP) inspection is a systematic process carried out to ensure the safe, reliable, and efficient operation of all equipment involved in coal conveying and handling. The main objective of the inspection is to identify any abnormalities, prevent equipment failure, and maintain smooth coal flow throughout the system.
During a CHP inspection, the first priority is personal and operational safety. The operator must ensure