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

Linux Shell Programming with Bash and the vi Editor

Computer science6.71 KB

🐚 Introduction to Shell Programming in Linux

Shell programming is the process of writing shell scripts—sequences of commands executed by the command-line interpreter (the shell, typically Bash) to automate tasks. It leverages command-line utilities, variables, and control flow structures to create powerful programs.

✍️ The vi Editor

The vi (or vim) editor is a text-based, modal editor crucial for writing shell scripts and editing configuration files in Linux. It operates in distinct modes:

ModeFunctionKey Commands
Command ModeThe default mode used for navigation, deletion, copying, and pasting.h, j, k, l for cursor movement; dd to delete a line.
Insert ModeUsed for typing and editing text.i (insert before cursor), a (append after cursor)
...
Continue reading "Linux Shell Programming with Bash and the vi Editor" »

Essential Quality Management Models and Concepts

Other subjects6.76 KB

The PDCA Cycle: Deming Wheel for Continuous Improvement

The Deming Wheel, also known as the PDCA cycle (Plan-Do-Check-Act) or the Deming Cycle, is a fundamental continuous improvement model used widely in management and quality control. It is a systematic and iterative process designed for gaining knowledge and improving a product, process, or service.

The Four Phases of the PDCA Cycle

Plan

Recognize an opportunity and plan a change. In this initial phase, you define the problem, identify an opportunity for improvement, and develop a plan to address it. This involves setting clear objectives, creating a hypothesis about what will work, and outlining the specific actions, resources, and metrics needed to test the plan.

Do

Test the change. Carry out

...
Continue reading "Essential Quality Management Models and Concepts" »

SQL Database Design Examples for Common Systems

Computer science3.62 KB

This document provides practical SQL Data Definition Language (DDL) examples for creating and modifying database schemas across various common applications. Each section details the necessary tables and their relationships, offering a clear foundation for building robust relational databases.

Library Management System Database

The following SQL DDL statements define the core tables for a library management system, enabling the tracking of books, members, and loan transactions.

Table Creation

CREATE TABLE Books (
    BookID INT PRIMARY KEY,
    Title VARCHAR(100) NOT NULL,
    Author VARCHAR(100) NOT NULL,
    ISBN VARCHAR(20) UNIQUE,
    PublishedYear INT CHECK (PublishedYear >= 1500 AND PublishedYear <= 2025)
);

CREATE TABLE Members (
...
Continue reading "SQL Database Design Examples for Common Systems" »

Operating System Concepts: Loaders, Memory, Processes, Synchronization

Computer science26.57 KB

Compile and Go Loaders

In this type of loader, the linker and loader instructions are read line by line, their machine code is obtained, and it is directly placed in the main memory at some known address. This means the assembler runs in one part of memory, and the assembled machine instructions and data are directly put into their assigned memory locations. After completion of the assembly process, the loader contains the instruction using which the location counter is set to the start of the newly assembled program. A typical example is WATFOR-77, a FORTRAN compiler which uses such a "load-and-go" scheme. This loading scheme is also called "assemble-and-go".

Advantages

  • Simplicity
  • Quick Testing
  • No Separate Linking
  • Immediate Feedback
  • Low Resource
...
Continue reading "Operating System Concepts: Loaders, Memory, Processes, Synchronization" »

Essential Building Components: Walls, Roofs, Floors, and Stairs

Technology3.88 KB

Architectural Walls: Function and Types

Walls create spaces, hold weight, and offer protection. They are categorized primarily by their structural role:

  • Load-Bearing Walls: Support the building's weight.
  • Non-Load-Bearing Walls: Simply divide rooms; these are also known as curtain or partition walls.

Masonry Walls

Masonry walls, typically made of bricks, are known for their strength, longevity, and fire resistance. However, they present several drawbacks:

  • They are heavy and costly.
  • They require significant time to construct.
  • They need plaster and paint for finishing.
  • They often require additional insulation for optimal sound and temperature control.

Roof Systems: Protection, Structure, and Materials

Roofs protect buildings from the weather and must be...

Continue reading "Essential Building Components: Walls, Roofs, Floors, and Stairs" »

IKEA Customer Service: Handling Complaints & Workplace Vocabulary

Teacher training3.77 KB

IKEA Customer Service: Complaint Handling

A: Hello, IKEA, Mary Black speaking. How may I help you?

B: Hello, this is Carlos Cotta from Notary's Office. I'm afraid I have a serious complaint. I would like to speak with Mr. X, please.

A: Okay, I will put him through. Wait a moment, please.

C: Hello, Mr. X speaking. How can I help you, Mr. Cotta?

B: Hello, Mr. X! I ordered some furniture and I have received the wrong furniture.

C: I apologize most sincerely, Mr. Cotta. Please give me the order details, and we'll replace the correct furniture within 24 hours. We will also send you a discount for future orders.

B: Okay, thanks. I hope this won't happen again.

C: I'll be in touch with you, Mr. Cotta, in the next few hours to confirm that everything is all...

Continue reading "IKEA Customer Service: Handling Complaints & Workplace Vocabulary" »

International Competitive Strategies: A Strategic Framework

Other subjects2.6 KB

1. Global Strategy

Characteristics

  • Cost reduction is the main priority.
  • The head office determines the way to compete, seeking integration and coordination of value chain activities.
  • Standardization of products and services.
  • Centralization of production and R&D.
  • Possibility to focus marketing and distribution in a few countries.
  • Economies of scale.

Risks

  • Other costs associated with geographic concentration.
  • Less flexibility and adaptability to local and specific needs.
  • Excessive dependence on facility location conditions.

2. Multi-Country Strategy

Characteristics

  • Differentiation of products and services to adapt to local markets.
  • High decentralization of subsidiaries.
  • Consideration of social, economic, and demographic differences in each market.

Risks

  • Local
...
Continue reading "International Competitive Strategies: A Strategic Framework" »

Marine Birds and Reptiles: Adaptations and Traits

Biology4.99 KB

Marine Birds and Reptiles

Key Adaptations and Characteristics

  • A bird with no oil: a frigatebird
  • A common shorebird: a plover
  • A marine reptile: the marine iguana
  • A seabird that has: a gull
  • A structure found within penguins: crop
  • A very agile seabird: a cormorant
  • All of the following are adaptations of sea snakes: oviparous reproduction
  • All of the following are major points: all countries now use TEDs to fish for shrimp.
  • All the following are adaptations of reptiles: dark bodies
  • An adaptation of the marine: dark skin to absorb the sun's heating radiation
  • An interesting feeding behavior: using their feet to paddle just below
  • Birds are considered homeothermic: True
  • Birds in which the lower bill protrudes: skimmers
  • Birds that are known to eat the chicks: gulls
  • Birds
...
Continue reading "Marine Birds and Reptiles: Adaptations and Traits" »

Fascism and Nazism: Key Differences and History

History2.96 KB

Fascism vs. Nazism

Fascism and Nazism are often considered to be the same or at least refer to the same ideologies. However, the two are entirely dissimilar from each other. This is despite the fact that they are both totalitarian ideologies, are closely related in design, and both sprung up after the First World War in Europe.

What is Fascism?

Fascism is defined as a form of radical authoritarian, strict, and controlling ultra-nationalism that is usually characterized by forcibly suppressing an opposition front, assuming dictatorial powers, and strongly regimenting the society and its economy.

Fascism sprung to popularity around the early 20th century during the time of Benito Mussolini. Benito was the Italian leader by the time the ideology was...

Continue reading "Fascism and Nazism: Key Differences and History" »

Essential Economic Concepts & Fiscal Policy Terms

Economics3.98 KB

Key Economic & Fiscal Policy Terms

Understanding the language of economics and government finance is crucial. This glossary defines essential terms related to fiscal policy, budgeting, and economic theory.

Appropriations Bill
A legislative bill that sets money aside for specific government spending.
Automatic Stabilizer
A government program designed to automatically adjust based on changes in GDP and a person's income, helping to stabilize the economy.
Balanced Budget
A financial plan where government revenue and spending are equal.
Budget Deficit
A situation in which the government spends more money than it collects in revenue.
Budget Surplus
A situation in which the government collects more money in revenue than it spends.
Classical Economics
An economic
...
Continue reading "Essential Economic Concepts & Fiscal Policy Terms" »