Notes, summaries, assignments, exams, and problems for University

Fortran 90 Implicit None and Vector Sorting Methods

Mathematics1.74 KB

Fortran 90: Implicit None and Vector Management

Implicit None

In Fortran 90, undeclared variables starting with I, J, K, L, or M are treated as integers, while others are treated as real numbers. However, it's best practice to avoid implicit declarations. Use IMPLICIT NONE right after the program instructions to disable implicit typing. This forces you to explicitly declare all variables, preventing potential errors due to character misuse.

Vector Management Forms

Ordering one-dimensional arrays (vectors) is a common operation. Here are three simple methods: selection, insertion, and bubble sort.

In all cases, we'll assume a one-dimensional array of N elements.

Selection Sort

  1. Find the smallest element in the vector.
  2. Swap it with the element in the
...
Continue reading "Fortran 90 Implicit None and Vector Sorting Methods" »

CPU Registers: Functions, Types, and Architecture

Computer science3.31 KB

What Are CPU Registers?

Registers are very small but very fast memory units located inside the CPU. They are used to store data temporarily during the execution of instructions.

Whenever the CPU processes operations like addition, subtraction, or fetching data from memory, it uses registers to hold the data in between. You can imagine registers like a small notepad that the CPU uses to write down important information while working.

They are much faster than RAM and closer to the processing unit, allowing the CPU to read and write from registers instantly without wasting any time.

Types of CPU Registers

The CPU contains different types of registers, each with a unique function.

1. Accumulator (ACC)

  • This register is used to store the results of arithmetic
...
Continue reading "CPU Registers: Functions, Types, and Architecture" »

Essential Business Concepts: Features, Functions, and Entrepreneurial Traits

Other subjects9.9 KB

Key Features of a Business

The key features of a business generally include the following:

  1. Economic Activity: Business is primarily an economic activity involving the production and distribution of goods and services to satisfy human needs and earn profits.
  2. Profit Motive: One of the main goals of a business is to earn profits. Profit acts as a reward for the risk and effort involved.
  3. Risk and Uncertainty: Every business involves some degree of risk and uncertainty due to changing market conditions, competition, customer preferences, and other factors.
  4. Production or Procurement of Goods and Services: Businesses either manufacture products or procure goods and services for resale to customers.
  5. Sale or Exchange: A business involves the sale or exchange
...
Continue reading "Essential Business Concepts: Features, Functions, and Entrepreneurial Traits" »

Crafting Professional Complaint and Apology Emails

Law3.14 KB

Writing a Professional Complaint Email

Opening Statement

Clearly state the reason for writing.

  • "I am writing in connection with my order which arrived..."
  • "I am writing to complain about the quality of a product I bought from your website."

Detailing the Complaint

Provide specific details of the issue and what went wrong.

  • "The goods were faulty/damaged/in poor condition."
  • "There seems to be an error in the invoice/a misunderstanding."
  • "The product I received was well below the standard I expected."

Requesting a Resolution

State what you expect to be done to resolve the issue.

  • "Please replace the faulty goods as soon as possible."
  • "Unless I receive the goods by the end of this week, I will have no choice but to cancel my order."

Closing the Email

End with...

Continue reading "Crafting Professional Complaint and Apology Emails" »

Cultural Differences: Dimensions and Examples

Social sciences5.34 KB

Cultural Dimensions and Their Impact

High and Low Power Distance Index (PDI) Examples

  • German Discussion & Beer: Germans tend to have strong opinions.
  • Boss in Malaysia: The boss is apparently always right.
  • Information is power: Characteristic of High PDI.
  • The communication flow: Characteristic of Low PDI.
  • Respect, power: Characteristic of Low PDI.
  • People may: Characteristic of Low PDI.
  • Avoid anything: Characteristic of Low PDI.
  • Promotion may: Characteristic of High PDI.
  • Managers: Characteristic of High PDI.
  • Seeing: Characteristic of Low PDI.
  • Your work: Characteristic of High PDI.

Individualism vs. Collectivism (IDV) Examples

  • Praise and reward: Characteristic of High IDV.
  • Focus on relationship: Characteristic of High IDV.
  • People will: Characteristic of High
...
Continue reading "Cultural Differences: Dimensions and Examples" »

Educational Research and Innovation: Methods and Practices

Psychology and sociology25.47 KB

Chapter 1: Research and Innovation in Education

1.1 What is Research?

Research is a systematic process of solving questions and seeking knowledge that has its own rules, that is, a method.

The Goal in Education

It is directed to the search for new knowledge that is useful for the explanation and/or understanding of educational phenomena that affect processes and results.

Valid + Reliable = Knowledge

What is the Difference Between Validity and Reliability?

Reliability of a Source

For knowledge to be scientific, it must be true for everyone, and this is achieved with reliable sources. The lack of reliability generates inaccurate results and affects the content, making it impossible to know if the information obtained is really what we were looking for....

Continue reading "Educational Research and Innovation: Methods and Practices" »

Digital Marketing Strategies: Data, SEO, Advertising & CSR

Other subjects108.88 KB

Data-Driven Marketing

  • Data-driven marketing uses data for informed decisions and effective strategies.
  • Direct marketing reaches potential customers directly via email, SMS, mail, or telemarketing.
  • Performance marketing is results-driven, paying only for specific actions like clicks or sales.

Customer Journey

  • A touchpoint is an interaction between a customer and your brand.

MHAX1IikAgkAolAIpAIJAKJQCKQCCQCDRDIJaYNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAukgLkMvZhsSgUQgEUgEEoFEIBFIBBKBRCARaIBAOogNQEwWiUAikAgkAolAIpAIJAKJQCKQCCwDAv8fJzK3QB8Baq0AAAAASUVORK5CYII=

Strategy

  • A strategy is long-term choices to differentiate and achieve goals.
  • Every internet action must be guided by a pre-decided tactic.
  • Measure & Analyze the impact.
  • Tactics must achieve the pre-decided strategy.
  • Measure & Analyze tactic results for success.
  • Strategy must achieve digital marketing goals.
  • Marketing goals must achieve business goals.
  • Achieving business goals leads
...
Continue reading "Digital Marketing Strategies: Data, SEO, Advertising & CSR" »

Understanding AI Environments: Key Characteristics

Language and literature2.48 KB

Key Characteristics of AI Environments

  • Fully Observable vs. Partially Observable: If an agent's sensors give it access to the complete state of the environment needed to choose an action, the environment is fully observable. Otherwise, it is partially observable.
  • Deterministic vs. Stochastic: An environment is deterministic if the next state of the environment is completely determined by the current state (plus the results of your actions) and the agent's action. In a stochastic environment, there are multiple, unpredictable random outcomes. Luck is a serious component.
  • Episodic vs. Sequential:
    • In an episodic environment, the agent's experience is divided into atomic episodes. Each episode consists of the agent perceiving and then performing a
...
Continue reading "Understanding AI Environments: Key Characteristics" »

Intel 8086 Microprocessor Architecture Explained

Computer science3.48 KB

Introduction to the Intel 8086

The Intel 8086 is a 16-bit microprocessor introduced in 1978 by Intel Corporation. It is a foundational member of the x86 family of processors, which has significantly influenced the development of modern personal computers. The architecture of the Intel 8086 microprocessor is based on the von Neumann model and consists of several key components, including the Arithmetic Logic Unit (ALU), Control Unit, Registers, Bus Interface Unit, and Clock.

Arithmetic Logic Unit (ALU)

The ALU is responsible for performing arithmetic and logical operations on data stored in registers or memory locations. Its capabilities include:

  • Adders for addition and subtraction
  • Multipliers for multiplication and division
  • Logical gates for AND,
...
Continue reading "Intel 8086 Microprocessor Architecture Explained" »

School Memories: From Basketball to Gymnastics

English3.32 KB

School Break Time Memories

During school breaks, my friends and I used to play basketball. We formed teams, and the losing team would buy Lay's for the winning team. I used to play basketball, but I stopped when I broke my finger. Afterward, the school bought a thick and long rope, and I started playing jump rope with my friends. We all got together, and one by one, we started jumping. It was a lot of fun, but actually, I think I'm afraid of it now. I also used to play hide-and-seek with my friends, but I didn't like it much because I felt like time was passing, and the break was ending very quickly. When I entered high school, I stopped playing during breaks and only ate breakfast with my friends. We would sit on a bench and just talk.

A Lost

...
Continue reading "School Memories: From Basketball to Gymnastics" »