| XML | HTML |
|---|---|
| Extensible Markup Language | HyperText Markup Language |
| Used to store and transport data | Used to display data in browser |
| User-defined tags | Predefined tags |
| Case-sensitive | Not case-sensitive |
| Strict syntax, errors not tolerated | Flexible, errors tolerated |
| Focus: Data | Focus: Presentation |
| ID | Class |
|---|---|
| Unique for one element | Can be used for many elements |
| Used for JS targeting | Used mainly for styling |
6Q1. Write short notes on (Any Four) — (4 × 5 = 20)
Impurities — physical (suspended solids, turbidity), chemical (dissolved salts, hardness, metals, pH), biological (bacteria, viruses, protozoa), and organics (oil, pesticides).
Treatment processes (typical sequence):
Intake & Screening — remove large debris.
Coagulation & Flocculation — add coagulant (alum/iron salts) to destabilize colloids; gentle mixing forms flocs.
a) What are the disadvantages of virtualization?
b) What is the difference between distributed objects and RPC?
c) Define Federated Clouds.
a) Disadvantages of Virtualization
(Any 3 points for 2 marks)
Performance Overhead:
Virtual machines run on top of a hypervisor, so applications may not perform as fast as on physical hardware.
High Initial Cost:
Powerful servers, hypervisors, and storage systems are required, which increases setup cost.
Complex Management:
Managing multiple VMs, snapshots,
Assigns items to groups (A, B, C) based on value/importance.
Example: A = laptops, B = keyboards, C = mousepads.
Receiving goods from multiple sources.
Example: A DC receives shipments from 10 factories.
Assigns cost based on activities, not departments.
Example: Shipping-heavy customers show higher cost-to-serve.
Matching inventory to customer orders.
Example: DC allocates 50 units to a customer order.
Inventory
Malware: malicious software designed to disrupt systems, steal information, or gain unauthorized access. Goal of malware(Disruption:shutting down processes, freezing systems, Data Theft:exfiltrating passwords, Unauthorized Access:giving attackers a secret way in, Covert Control:remote command & control, botnets). Malware has not changed fundamentally sincevon Neumann’s 1949 paper on self replicating automata. Mal classified; Viruses (Need a host file), infect executable files or boot sectors,...
# Basic file reading
file = open("data.txt", "r")
content = file.read() # Read entire file
lines = file.readlines() # Read as list of lines
file.close()
# Reading line by line
file = open("data.txt", "r")
for line in file:
print(line.strip()) # strip() removes \n
file.close()
# Write to file (overwrites)
file = open("output.txt", "w")
file.write("Hello World\n")
file.close()
# Append to file (adds to end)
file = open("output.txt", "a")
file.write("New line\n")
file.close(...
1. Napíšte čísla slovom
12, 31, 67, 93, 12 987, 134 567
narodený 21. marca 1976
12 – zwölf
31 – einunddreißig
67 – siebenundsechzig
93 – dreiundneunzig
12 987 – zwölftausend neunhundertsiebenundachtzig
134 567 – einhundertvierunddreißigtausend fünfhundertsiebenundsechzig
Geboren am einunddzwanzig Märt neunzihundert sechundsiebzig
2. Utvorte 2. stupeň príd. mien
Monika ist klug, aber Petra ist noch klüger.
Ich spreche gut deutsch, aber englisch spreche ich noch besser.
Mein
Hong Kong Healthcare = HK is number HK Life Expectancy 2024: 85.42 yrs (M:83.13, F:88.79) Healthcare Expenditure: HK$109.5B (19% of Govt.) Public Providers: HA, DH; Private: clinics, hospitals
Hospital Authority (HA) Statutory body , made in 1990(1990) Roles: manage public hospitals, implement clinical IT IT Contributions: automation, ERP, PBRC, alerts, outbreak mgmt
Health information managament=Risks: availability, privacy, obsolescence Governance: ITGC, CIPSG, ERP PSC, ITAC Scale: 53k staff
1. Štatistický súbor
Hodnoty:
10, 11, 10, 12, 13, 14, 10, 11, 12, 12, 12, 11, 12, 14, 10
Usporiadané:
10, 10, 10, 10, 11, 11, 11, 12, 12, 12, 12, 12, 13, 14, 14
| Hodnota xᵢ | Absolútna početnosť nᵢ | Relatívna početnosť pᵢ |
|---|---|---|
| 10 | 4 | 4/15 ≈ 0,267 (26,7 %) |
| 11 | 3 | 3/15 = 0,20 (20 %) |
| 12 | 5 | 5/15 ≈ 0,333 (33,3 %) |
| 13 | 1 | 1/15 ≈ 0,067 (6,7 %) |
| 14 | 2 | 2/15 ≈ 0,133 (13,3 %) |
Súčet všetkých hodnôt:
10⋅4+11⋅3+12⋅5+13⋅1+14⋅2=174
Počet hodnôt: 15
Aritmetický priemer: