Notes, summaries, assignments, exams, and problems for Primary education

Sort by
Subject
Level

Mastering Python Functions: Arguments, Scope, and Returns

Posted by Anonymous and classified in Computers

Written on in English with a size of 2.65 KB

Keyword Arguments

Arguments are passed using parameter names, meaning the order does not matter.

Example

def func(name, age):
    return f"Hello {name}, you are {age} years old!"

result = func(age=18, name="John")
print(result)

Output: Hello John, you are 18 years old!


Default Arguments

Default values are assigned to parameters directly in the function definition.

Example

def func(name, greeting="Hello"):
    return f"{greeting}, {name}"

print(func("John"))
print(func("Nik", "Hi"))

Output:
Hello, John
Hi, Nik


Arbitrary Arguments

Used when the number of arguments passed to a function is unknown.

*args – Non-keyword variable length arguments

def sum_numbers(*args):
    return sum(args)

print(sum_numbers(1, 5, 10, 15))

Output: 31


**kwargs – Keyword variable

... Continue reading "Mastering Python Functions: Arguments, Scope, and Returns" »

Cybersecurity Fundamentals: ARPANET, Threats, and Regulations

Posted by Anonymous and classified in Other subjects

Written on in English with a size of 3.31 KB

The Origins of Networking: ARPANET

ARPANET was the first military-academic network, marking the early development of the Internet in 1969.

Data vs. Information

Data are unprocessed values, while information is organized or analyzed data that becomes meaningful.

Defining Cybersecurity

Cybersecurity aims to protect digital systems, networks, devices, and data.

What was the original purpose of ARPANET?

The original purpose of ARPANET was to enable secure and reliable communication between military and research institutions and allow resource sharing among connected computers.

Why is cybersecurity important for critical infrastructure?

Cybersecurity protects essential sectors like energy, healthcare, transportation, and finance from cyberattacks that could

... Continue reading "Cybersecurity Fundamentals: ARPANET, Threats, and Regulations" »

Lumbar Spine Radiography: Positioning and Technique

Classified in Physical Education

Written on in English with a size of 3.67 KB

AP Lumbar Spine Projection

  • IR: 14x17” LW
  • Position: Supine with knees flexed; MSP centered to IR. Alternatively, prone to place intervertebral disk spaces more parallel to the divergence of the beam.
  • CR: Perpendicular at the level of the iliac crest (L4). For 11x14 IR, center 1.5” above the iliac crest (L3).
  • Technique: 75–92 kV; 8–20 mAs. Higher kV with lower mAs reduces patient dose.
  • AEC: Center cell; collimate on all four borders.
  • SID: 40” minimum.
  • Respiration: Suspended on expiration.
  • Analysis: Vertebral bodies, pedicles, laminae, intervertebral joints, spinous and transverse processes clearly seen. No rotation is indicated by SI joints equidistant from spinous processes, spinous process in the midline of the vertebral column, and transverse
... Continue reading "Lumbar Spine Radiography: Positioning and Technique" »

Vedas: The Foundation of Indian Culture and Life

Posted by Anonymous and classified in Psychology and Sociology

Written on in English with a size of 22.49 KB

প্ৰশ্ন: "ভাৰতীয় সংস্কৃতিৰ মূলধাৰ বেদ" কথাষাৰ বহলাই লিখা।

উত্তৰ: বেদক কেৱল ধৰ্মশাস্ত্ৰ বুলি নকৈ সমাজ জীৱনৰ স্পষ্ট নিদৰ্শন বুলি ক'ব পাৰি। বেদ হৈছে প্ৰাচীন ভাৰতীয় অমূল্য ধৰ্মগ্ৰন্থ। ভাৰতীয় সংস্কৃতি মূলতঃ বৈদিক পৰম্পৰাগত সংস্কৃতি।

ভাৰতীয় আদৰ্শত বৈৰাগ্যৰ স্থান উচ্চ বুলি বেদৰ ভিত্তিতে... Continue reading "Vedas: The Foundation of Indian Culture and Life" »

यांत्रिकी के मूल सिद्धांत: बल, साम्यावस्था और मशीनें

Posted by Anonymous and classified in Economy

Written on in English with a size of 12.58 KB

प्रश्न 8 : संक्षिप्त टिप्पणी लिखिए (कोई चार)

(a) आघूर्ण एवं बल-युग्म

आघूर्ण = बल × लंब दूरी

बल-युग्म दो समानांतर, समान परिमाण के विपरीत दिशा वाले बल होते हैं

बल-युग्म केवल घूर्णन उत्पन्न करता है

(b) साम्यावस्था के प्रकार

1. स्थिर साम्यावस्था

2. अस्थिर साम्यावस्था

3. तटस्थ साम्यावस्था

(c) बलों के निकाय

सहलग्न... Continue reading "यांत्रिकी के मूल सिद्धांत: बल, साम्यावस्था और मशीनें" »

Motorcycle Engineering and Performance Dynamics

Classified in Technology

Written on in English with a size of 4.86 KB

Motorcycle Chassis and Design Fundamentals

  • Bike–ground connection: Comprises 5 parts: the front wheel, rear wheel, fork, swingarm, and frame.
  • Chassis-Program: A tool used to analyze geometric changes in the motorbike.
  • Center of Gravity (CoG): Its optimal position depends on the motorbike's specific purpose.
  • Motorbike stiffness: A critical design feature for performance and handling.
  • Design process: Focuses on the engine, weight balance, and stiffness.

Stability and Gyroscopic Influence

  • Gyroscopic effect influence: Most significant at high speeds.
  • Engine part for stability: The crankshaft is the primary component affecting stability.
  • Trail: Negative trail must be avoided; a larger trail results in a bigger righting moment.
  • Trail increase: Occurs when
... Continue reading "Motorcycle Engineering and Performance Dynamics" »

ਪੰਜਾਬੀ ਵਿੱਚ ਪੱਤਰ ਲਿਖਣ ਦੇ ਨਮੂਨੇ: ਨਿੱਜੀ, ਸਰਕਾਰੀ ਅਤੇ ਵਪਾਰਕ

Posted by Anonymous and classified in Physics

Written on in English with a size of 6.39 KB

1. 💌 ਨਿੱਜੀ ਚਿੱਠੀ (Personal Letter)

ਉਦੇਸ਼: ਛੋਟੇ ਭਰਾ ਨੂੰ ਸਖ਼ਤ ਮਿਹਨਤ ਕਰਨ ਦੀ ਸਲਾਹ ਦੇਣ ਲਈ।

ਮਕਾਨ ਨੰ: 304, ਸੈਕਟਰ-14, ਪਟਿਆਲਾ।
ਮਿਤੀ: 8 ਦਸੰਬਰ, 2025

ਪਿਆਰੇ ਛੋਟੇ ਵੀਰ ਅਮਨ,
ਮੈਂ ਇੱਥੇ ਠੀਕ-ਠਾਕ ਹਾਂ ਅਤੇ ਉਮੀਦ ਕਰਦਾ ਹਾਂ ਕਿ ਤੁਸੀਂ ਵੀ ਠੀਕ ਹੋਵੋਗੇ। ਮੈਨੂੰ ਪਿਤਾ ਜੀ ਦਾ ਪੱਤਰ ਮਿਲਿਆ ਜਿਸ ਵਿੱਚ ਉਨ੍ਹਾਂ ਨੇ ਦੱਸਿਆ ਕਿ ਤੁਹਾਡਾ ਧਿਆਨ ਪੜ੍ਹਾਈ ਤੋਂ ਹਟ ਰਿਹਾ ਹੈ ਅਤੇ ਤੁਹਾਡੇ... Continue reading "ਪੰਜਾਬੀ ਵਿੱਚ ਪੱਤਰ ਲਿਖਣ ਦੇ ਨਮੂਨੇ: ਨਿੱਜੀ, ਸਰਕਾਰੀ ਅਤੇ ਵਪਾਰਕ" »

Java AWT Architecture: Components, Events & Listeners

Posted by Anonymous and classified in Computers

Written on in English with a size of 11.3 KB

Java AWT Architecture: Components and Events

The Abstract Window Toolkit (AWT) is Java's original platform-dependent windowing, graphics, and user interface (UI) toolkit.

AWT Class Hierarchy

🖼️ The core of the AWT is structured around a few key classes, all of which inherit from the Object class.

1. Component Class

The Component class is the root of all AWT UI elements. A Component is an object with a graphical representation that can be displayed on the screen and can interact with the user. Examples of components include buttons, text fields, and scrollbars.

  • Key capabilities:
    • Defining visual appearance and behavior
    • Handling events (user input)
    • Drawing and painting

2. Container Class

A Container is a special type of component that can hold and organize... Continue reading "Java AWT Architecture: Components, Events & Listeners" »

Spanish Food Vocabulary and Halloween Phrases

Posted by Anonymous and classified in Other languages

Written on in English with a size of 7.74 KB

Expressing Preference

  • Lo que más me gusta… – What I like the most
  • Lo que menos me gusta… – What I like the least
  • Mi comida favorita… – My favorite food
  • Mi comida preferida… – My preferred / favorite food

Expressing Frequency

  • Una vez – One time
  • Entre… y… – Between … and …
  • Más de… – More than
  • Menos de… – Less than
  • Al día – Per day
  • A la semana – Per week
  • Al mes – Per month
  • Al año – Per year
  • Nunca – Never

Conjugating the Verb Querer (To Want)

SubjectForm
YoQuiero
TúQuieres
Él / Ella / UstedQuiere
Nosotros / NosotrasQueremos
Vosotros / VosotrasQueréis
Ellos / Ellas / UstedesQuieren

Asking for Information in a Restaurant

  • ¿Qué es…? – What is…?
  • ¿Qué lleva…? – What does it contain? / What is in it?
  • ¿Cómo preparan
... Continue reading "Spanish Food Vocabulary and Halloween Phrases" »

World War I History and Canada's Role (1914-1919)

Posted by Anonymous and classified in History

Written on in English with a size of 183.75 KB

The Spark of World War I (1914)

On June 28, 1914, Archduke Franz Ferdinand of Austria-Hungary was assassinated by Gavrilo Princip, a member of the Black Hand, a Serbian nationalist group. The Black Hand opposed the annexation of Bosnia and sought unity with Serbia. This assassination served as the spark that ignited the start of World War I.

The System of Alliances

  • Triple Entente: Britain, France, and Russia (with Italy joining later).
  • Central Powers: Germany, Austria-Hungary, and Italy (though Italy eventually switched sides).

The MAIN Causes of the Great War

  • Militarism: An intense arms race between nations.
  • Alliances: The formation of hostile camps across Europe.
  • Imperialism: Intense rivalry over overseas colonies.
  • Nationalism: A sense of extreme
... Continue reading "World War I History and Canada's Role (1914-1919)" »