Web Security Interview Questions and Answers

Q21. XSS in HTML Attributes

Q21. User input is reflected inside an HTML attribute: <input value="USER_INPUT">. Write a payload that breaks out of the attribute and executes alert(1).

Answer: You close the attribute and the tag, then add a new element with an event handler. A working payload is: "><img src=x onerror=alert(1)>. The "> ends the value and the input tag, and the broken image fires onerror. An attribute-only variant is " onfocus=alert(1) autofocus=", which adds an event

Read More

Principles of Ethics, Values, and Character Building

Meaning and Importance of Values

Values are the beliefs and principles that guide our behavior and help us decide what is right, important, and desirable. Examples: Honesty, Respect, Responsibility, Kindness, and Loyalty.

Types of Values

  • Personal Values: Values that guide an individual’s life. Examples: Honesty, courage, and self-discipline.
  • Social Values: Values important for society. Examples: Cooperation, equality, and justice.
  • Moral Values: Values related to right and wrong behavior. Examples: Truthfulness
Read More

Public vs Private International Law: Key Concepts

Public vs. Private International Law

Public international law regulates relations between states and international organizations. In contrast, private international law regulates legal relations between individuals that involve a foreign element.

The Role of Legislation

Legislation is a critical source of private international law because it provides clear legal rules regarding:

  • Nationality
  • Jurisdiction
  • Conflict of laws

Courts rely on these established rules to resolve international private disputes effectively.

Read More

Early Childhood Education: Theory, Curriculum, and Pedagogy

Theory, Curriculum, and Pedagogy

Core Concepts

  • Theory: A model of interconnected ideas explaining observations and predicting future events. It guides observation, interpretation, planning, and evaluation.
  • Curriculum: All learning experiences in an ECE setting, including planned and spontaneous experiences created with children and families.
  • Pedagogy: How learning happens and how educators support that learning. It is the application of theory into practice.

The Difference: Curriculum is what children

Read More

Mass and balance

BIO DIVERSITY Variation = differences btwn organisms; physical (size, colour, shape) or behavioural.~Interspecific = btwn species. Intraspecific = within same species.~Species = organisms that can interbreed + produce fertile offspring.~Biodiversity = variety of life; ↑ variation = ↑ biodiversity.~Adaptation = variation that improves survival/reproduction.• Structural = physical trait• Behavioural = action/behaviour~Natural Selection: helpful variation → survive/reproduce → trait passed

Read More

Digital Communication and Information Theory Fundamentals

T1 — Noiseless Digital Communication

Analog signal: Continuous value, varies continuously in time.
Digital signal: Discrete values only (e.g., 0/1).
ADC (Analog-to-Digital Converter): Sampling, then Quantization, then Encoding.

Sampling and Quantization

  • Sampling: Periodic snapshots of the analog signal.
  • Nyquist rate: Sample at least 2x the max frequency to reconstruct without loss.
  • Quantization: Rounding each sample to the nearest discrete level.
  • Quantization error/noise: Real value vs. assigned level;
Read More

Clinical Psychology and Psychopathology Reference

Schizophrenia Summary

Definition

  • Severe disorder affecting thinking, perception, emotions, behavior, and reality contact.

Positive Symptoms (Added)

  • Delusions
  • Hallucinations

Negative Symptoms (Lost)

The 5 A’s

  • Avolition
  • Alogia
  • Anhedonia
  • Asociality
  • Affective Flattening

Neurodevelopmental Causes (PBG)

  • Prenatal factors
  • Birth complications
  • Genetic factors

Famous Example

  • John Nash
  • A Beautiful Mind

Unipolar Mood Disorders

Definition

  • Depression without mania or hypomania.

Types: Major Depressive Disorder (MDD), Persistent Depressive

Read More

Artificial Intelligence Concepts and Search Algorithms

प्रश्न 1 (LO1): आर्टिफिशियल इंटेलिजेंस (AI) और इसके मुख्य भाग

आर्टिफिशियल इंटेलिजेंस (AI) का अर्थ: आर्टिफिशियल इंटेलिजेंस (कृत्रिम बुद्धिमत्ता) कंप्यूटर विज्ञान की वह शाखा है जो कंप्यूटर या मशीनों को

Read More

ISO 14001 and 50001 Standards: Monitoring and Impact Analysis

ISO 14001: Monitoring and Measurement

This section establishes procedures for systematically tracking and verifying performance to ensure compliance and identify improvement areas:

  • Technical Parameters: Measuring aspects such as emissions levels or resource usage.
  • Management Indicators: Monitoring objectives set by the organization to track environmental performance (Balanced Scorecard of KPIs).
  • Calibration and Verification: Ensuring reliable data collection from measuring equipment.
  • Legal Compliance
Read More

Global Issues and Communication: 2026 Exam Topics

Exam Oral Topics (4th Year) 2026

Cultural Globalization

Cultural globalization is the process of spreading ideas, values, traditions, and cultural products across the world. Driven by the internet, social media, and modern technology, it allows cultural trends to travel quickly from one country to another. Hollywood movies and global brands have created a shared global culture. English has become the main international language, making communication easier between different nations.

Tourism and global

Read More