Notes, abstracts, papers, exams and problems of Vocational training

Sort by
Subject
Level

Dijkstra's Algorithm in C: Code & Explanation

Classified in Computers

Written at on English with a size of 3.5 KB.

Dijkstra's Algorithm in C

This code implements Dijkstra's algorithm to find the shortest path from a source vertex to all other vertices in a graph represented as an adjacency matrix. The program reads graph data from an input.txt file and writes the results to an output.txt file.

Code Implementation


#include <stdio.h>
#include <limits.h>
#include <stdbool.h>

#define MAX_VERTICES 100

// Function to find the vertex with minimum distance
int minDistance(int dist[], bool visited[], int vertices) {
    int min = INT_MAX, min_index;

    for (int v = 0; v < vertices; v++)
        if (!visited[v] && dist[v] <= min) {
            min = dist[v];
            min_index = v;
        }

    return min_index;
}

// Dijkstra'
... Continue reading "Dijkstra's Algorithm in C: Code & Explanation" »

Shell script

Classified in Computers

Written at on English with a size of 2.47 KB.

Ejercicio de descuentos:

#!/bin/bash

read -p "¿Desea el billete también de vuelta? (s/n): " idavuelta

until [ $idavuelta=="s" ] || [ $idavuelta=="n" ]; do

read -p "¿Desea el billete también de vuelta? (s/n): " idavuelta

done

read -p "¿Tiene carnet joven? (s/n): " carnetjoven

until [ $carnetjoven="s" ] || [ $carnetjoven="n" ]; do

read -p "¿Tiene carnet joven? (s/n): " carnetjoven

done

descuento=0 billete=20

if [ $idavuelta="s" ]; then

descuento=20

billete=" expr $billete \* 2'

fi

if [ $carnetjoven="s" ]j then

descuento=30

fi

costefinal=`expr $billete \* \( 100 - $descuento \) / 100`

echo "El precio final del billete es $costefinal"



Ejercicio de medias:

#!/bin/bash

acu=0

cont=0

read -p "Introduce un numero: " num

while [ $num -ne 0 ]; do

acu=`expr $acu + $num`

cont=... Continue reading "Shell script" »

The Ancient Monuments and Archaeological Sites and Remains (AMASR) Act: Protecting India's Heritage

Classified in Law & Jurisprudence

Written at on English with a size of 3.11 KB.

The Ancient Monuments and Archaeological Sites and Remains (AMASR) Act

The Ancient Monuments and Archaeological Sites and Remains (AMASR) Act is an important piece of legislation in India that aims to preserve and protect the country's rich heritage and cultural assets.

  • The act was passed in 1958 and has since undergone several amendments to keep pace with changing times.

Overview of the AMASR Act

The AMASR Act defines an "ancient monument" as any structure or building, cave, sculpture, inscription, or monolith that is of historical, archaeological, or artistic interest.

  • The act aims to protect such monuments and ensure their preservation for future generations.
  • It applies to all monuments that are over 100 years old, whether they are in public or
... Continue reading "The Ancient Monuments and Archaeological Sites and Remains (AMASR) Act: Protecting India's Heritage" »

Environment Protection Act 1986: Key Provisions & Aims

Classified in Law & Jurisprudence

Written at on English with a size of 3.28 KB.

Environment Protection Act (EPA) of 1986

India's original Constitution did not contain any provision for the protection of the natural environment. However, the Fundamental Duties, which were added by the 42nd Amendment to the Constitution, prescribed the protection of the environment, including forests, lakes, rivers, and wildlife, as a duty of the citizens of the country.

This amendment also added new Directive Principles of State Policy, one of which was Article 48A, which directed the State to protect and improve the environment and to safeguard forests and wildlife.

These developments were a result of the United Nations Conference on Human Environment, held in Stockholm in 1972. First, the Wildlife Protection Act 1972 was enacted. Then, the... Continue reading "Environment Protection Act 1986: Key Provisions & Aims" »

Understanding Curriculum Development: Principles & Importance

Classified in Physical Education

Written at on English with a size of 2.75 KB.

Curriculum Development

Curriculum development is the process of constructing, collecting, or assimilating content material and learning experiences for learners.

According to Roger and Taylor, "Curriculum development describes all the ways in which a training or teaching organization plans and guides learning. This learning can take place in groups or individually, inside or outside a classroom, and in institutional settings like schools, colleges, or training centers. It is central to the teaching and learning process."

Curriculum development involves activities such as:

  • Conceptualizing the curriculum.
  • Selecting and organizing content material or learning experiences.
  • Suggesting methods and ways of providing these experiences.
  • Evaluating learning
... Continue reading "Understanding Curriculum Development: Principles & Importance" »

Factors Affecting Reaction Rates and Rate Laws

Classified in Physics

Written at on English with a size of 711.71 KB.

Factors Affecting Reaction Rates

Concentration

Increasing the concentration increases the probability of a collision between reactant particles. With more particles in the same volume, collisions are more frequent, speeding up the reaction rate. Conversely, a lower concentration leads to fewer collisions and a slower reaction rate.

Surface Area

If a solid reactant or catalyst is broken down into smaller pieces, the rate of reaction increases. This is because smaller pieces of the same mass have a greater surface area, providing more opportunities for reactant particles to collide with the surface and react.

Types of Rate Laws

Differential Rate Law: Describes how the rate of a reaction depends on the concentration of reactants (often simply called... Continue reading "Factors Affecting Reaction Rates and Rate Laws" »

Operations Management and Supply Chain Management

Classified in Other subjects

Written at on English with a size of 2.26 KB.

Operations Management (OPM)

OPM focuses on managing resources to produce and deliver products and services efficiently and effectively. It encompasses the design and management of products, processes, and services, including sourcing, production, distribution, and after-sales. This involves the design, operation, and improvement of systems that create and deliver a firm's primary products and services.

Supply Chain Management (SCM)

SCM is the cross-department and cross-enterprise integration and coordination of material, information, and financial flows. It aims to optimize supply chain resources throughout the entire value chain, from raw material suppliers to customers. SCM is a collaborative philosophy employing methods and tools to integrate... Continue reading "Operations Management and Supply Chain Management" »

Junior Administrative Assistant Application: [Your Name]

Classified in Other languages

Written at on English with a size of 1.3 KB.

Dear Sir/Madam,

I am writing to apply for the position of Junior Administrative Assistant advertised on your website.

I am currently studying a Higher Certificate in Administration and Finance. Thanks to my studies, I have gained the following competencies:

  • Organizing and executing operations of management and administration in business
  • Accounting
  • Taxes
  • Financial processes

I worked as a Head of Sales at Galaxy Provisions for four months. My responsibilities there were:

  • Negotiating with clients
  • Taking inventory

I am the best candidate for the position because my skills and experience align with your job requirements. I excel at reaching agreements with clients and adapt easily to new situations and environments. Furthermore, I am proficient in accounting... Continue reading "Junior Administrative Assistant Application: [Your Name]" »

Palo Alto Networks: Core Concepts and Product Ecosystem

Classified in Technology

Written at on English with a size of 633.61 KB.

Core Concepts of Palo Alto Networks

Strata

PA-Series: PA-220, PA-800, PA-3200, PA-5200, PA-7000

VM Series: VM-50, VM-100, VM-300, VM-500, VM-700

  • Amazon Web Services
  • Cisco ACI
  • Citrix NetScaler SDX
  • Google Cloud Platform
  • Kernel-based Virtual Machine (KVM)
  • Microsoft Azure and Microsoft Hyper-V
  • OpenStack
  • VMware ESXi, VMware NSX, and VMware vCloud Air

Panorama

  • Policy Management
  • Centralized Visibility
  • Network Security Insights
  • Automated Threat Response
  • Network Security Management
  • Enterprise-Level Reporting and Administration

Prisma (Cloud, SASE, SaaS, VM Series ML-Powered NGFWs)

  • Cloud Security - Delivers complete security across the development lifecycle on any cloud.
  • Prisma Cloud - Cloud Security Posture Management and Workload Protection (Uses API)
    • Alibaba Cloud
    • Amazon
... Continue reading "Palo Alto Networks: Core Concepts and Product Ecosystem" »

Understanding Key Information Systems and Technologies

Classified in Computers

Written at on English with a size of 3.77 KB.

Internet Technologies

The internet relies on several key technologies:

  • Transmission Control Protocol (TCP): Enables connections and data exchange between hosts.
  • Internet Protocol (IP): A unique 32-bit numeric address for each computer, represented by four numbers (0-255) separated by periods.
  • Domain Name System (DNS): Converts domain names (e.g., google.com) to IP addresses.
  • Hypertext Transfer Protocol (HTTP): The standard for transferring web pages.
  • Hypertext Markup Language (HTML): Formats documents and links to other resources.
  • Uniform Resource Locator (URL): References a web resource's location and retrieval method.

Cloud Computing

Cloud computing provides access to shared computing resources over a network. Different service models exist:

  • Software
... Continue reading "Understanding Key Information Systems and Technologies" »