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

Sort by
Subject
Level

Memory Management Concepts and Techniques

Classified in Computers

Written on in English with a size of 2.78 KB

Memory Management Definition

Memory management is the process of:

  • Bringing programs into the main memory to be executed by the processor.
  • Dynamically dividing the part of main memory to accommodate multiple processes.
  • Allocating memory efficiently for packaging processes, preventing the processor from being idle.
  • Enabling the execution of a larger program than is available in real memory.

Memory Management Requirements

1. Relocation

  • Ability to move a program from one region to another of the main memory without invalidating the memory references.
  • The processor hardware and operating system translate the memory references' addresses to the final physical memory addresses.

2. Protection

Each process must be protected from unwanted interference from other... Continue reading "Memory Management Concepts and Techniques" »

Understanding Fuzzy Logic and Backpropagation in Neural Networks

Classified in Computers

Written on in English with a size of 2.43 KB

Fuzzy Logic

Fuzzy logic extends Boolean logic, allowing intermediate values between TRUE (1) and FALSE (0), such as MAYBE (0.5). A fuzzy logic value can be any value within the range of 0 to 1. This logic incorporates statistical concepts, especially in inference. Fuzzy logic implementations enable control devices to handle indeterminate states, allowing for the evaluation of non-quantifiable concepts. Practical examples include evaluating temperature (hot, warm, medium), happiness (bright, happy, apathetic, sad), and the veracity of an argument (absolutely right, right, counter-argumentative, inconsistent, false, totally wrong).

Fuzzy logic is a research area focused on uncertainty treatment and a family of mathematical models dedicated to... Continue reading "Understanding Fuzzy Logic and Backpropagation in Neural Networks" »

CPU Register Types and Functions

Classified in Computers

Written on in English with a size of 3.48 KB

CPU Internal Registers

Internal registers are a set of temporary storage units available to the Central Processing Unit (CPU) for its operation. They serve as high-speed storage locations within the CPU itself.

The size of these registers depends on the function to be performed and the type of CPU. They generally match the size of the Data Bus or the Address Bus.

Classification of CPU Registers

CPU registers are broadly classified into two main types:

  • Inaccessible Registers: Not directly controllable by the user.
  • Accessible Registers: Controllable by the user.

Inaccessible Registers

Inaccessible registers are those whose operation or content the user cannot directly control. They are for the exclusive and restricted use of the CPU. From the user's... Continue reading "CPU Register Types and Functions" »

Key Concepts in Operating Systems

Classified in Computers

Written on in English with a size of 3.92 KB

Operating System Process Management

Process States

Different states a process can be in:

  • Execution: The process is executing instructions and has been granted CPU time.
  • Ready: A process is ready to be executed, waiting for its turn to use its time slice and access system resources.
  • Blocked: The process is held or blocked for some reason, waiting for an event (e.g., I/O completion).

Process State Transitions

Transitions between process states:

  • Transition A: Occurs when a running process needs a resource, signal, etc., to continue execution and moves to the blocked state.
  • Transition B: Occurs when a process has used its allocated CPU time slice and moves from execution back to the ready state.
  • Transition C: Occurs when a process in the ready state moves
... Continue reading "Key Concepts in Operating Systems" »

Vijeo Designer HMI XBT-G Configuration

Classified in Computers

Written on in English with a size of 5.33 KB

1) Entering Configuration Screen

To enter the configuration screen from runtime mode:

  • It depends on the configuration of the last application downloaded.

2) Dip Switch Settings

According to the dip switch settings shown in the figure:

  • Starting from the CF card is disabled, you can download, and forced closure is disabled.

3) Screen Ventilation

To facilitate the ventilation of the screen, the manufacturer recommends a minimum distance of 100mm from any adjoining structure or equipment.

4) XBT-G LED Indicator

If the LED on the right side of the XBT-G screen lights orange, this means:

  • Backlight is off.

5) COM1 Connector (SUB D25)

The female SUB D25 connector, COM1, of the XBT-G screen is used for:

  • Serial communication with the PLC.

6) XBT-G Back Protection

The

... Continue reading "Vijeo Designer HMI XBT-G Configuration" »

Understanding Graphics Cards: Components and Functionality

Classified in Computers

Written on in English with a size of 2.35 KB

The Graphics Card

1. What are Graphics Cards?

A graphics card is the hardware component of a computer that generates the image displayed on the monitor. The graphics card has evolved from a mere interface between the microprocessor and the display, which simply translated information consisting of an 80x24 character screen into an analog signal compatible with the monitor, to managing images with resolutions of 1024x768 pixels or more, with millions of possible colors and refresh rates over 70 Hz.

Current graphics cards have their own dedicated CPU for graphics operations and their own RAM, whose capacity is approaching and may even exceed that of the system.

2. Components of a Graphics Card

A graphics card has three main components:

  • The graphics
... Continue reading "Understanding Graphics Cards: Components and Functionality" »

Drawing Polygons with Bresenham's Algorithm in C

Classified in Computers

Written on in English with a size of 5.19 KB

This program demonstrates how to draw polygons using Bresenham's line algorithm in C. It utilizes the graphics.h library for graphics operations.

Code Overview

The program consists of several functions:

  • main: The main function initializes the graphics mode, reads polygon coordinates, draws the polygon, and waits for a mouse click before closing the graphics window.
  • mostrarEjes: Draws the X and Y axes on the screen.
  • leerCoordenadasPoligono: Prompts the user to enter the number of vertices and their coordinates for the polygon.
  • dibujarPoligono: Iterates through the vertices and draws the polygon by connecting consecutive points using Bresenham's line algorithm.
  • lineaBresenham: Implements Bresenham's line algorithm to draw a line between two points.
  • dibujarPunto:
... Continue reading "Drawing Polygons with Bresenham's Algorithm in C" »

Understanding Network Protocols and the OSI Model

Classified in Computers

Written on in English with a size of 3.48 KB

Understanding Network Protocol Families

While the OSI model defines a comprehensive reference for network study, not every commercial network fully adopts OSI designs. Instead, many networks are built upon specific technologies and proprietary protocols.

NetWare Family

Manufactured by Novell, NetWare was once among the most widely used network systems worldwide. It was renowned for its high performance and capacity for growth.

NetBEUI Family

Microsoft has developed several operating systems that utilize NetBEUI (NetBIOS Extended User Interface) for communications within local area networks. Originally an IBM protocol introduced in 1985, NetBEUI provides a foundational basis for building peer-to-peer networks.

AppleTalk Family

AppleTalk is the network... Continue reading "Understanding Network Protocols and the OSI Model" »

Mastering GIS Operations: Essential Techniques and Troubleshooting

Classified in Computers

Written on in English with a size of 4.81 KB

Activating the Buffer Function in GIS

If you want to implement the buffer function and it is not active, what must you do to activate it? You must designate the units as follows:

  • View -> Properties

Cartographic considerations must be made before an operation. The influence or buffer area must be activated as units are working.

Modifying Erroneous Values in a GIS Database

How can you modify an erroneous value in a database?

  1. Table / Start Editing
  2. With the pen tool, change the invalid data.
  3. Table / Stop Editing

Deleting a Field in a GIS Database

How do you delete a field in a database?

  • Edit / Delete Field

Deleting a Record in a GIS Database

How can you delete a record in a database?

  • Edit / Delete Records

Invoking the Clip Command

What is required to invoke... Continue reading "Mastering GIS Operations: Essential Techniques and Troubleshooting" »

Understanding Computer Systems: Hardware, Software, and Key Concepts

Classified in Computers

Written on in English with a size of 3.17 KB

1. Computer System

The set of physical elements (Hardware) and software (Software) that allow information processing.

2. Physical Subsystem

Commonly known as hardware.

3. Logical Subsystem

Referred to as software.

4. Computer

An electronic device capable of processing data, performing load, arithmetic, and logic operations without human intervention.

5. Informatics

The science that studies the automatic and rational treatment of information.

6. Automatic and Rational

  • Automatic: Tasks are performed by machines.
  • Rational: Processes follow human reasoning.

7. Central Processing Unit (CPU)

Responsible for implementing programs and comprises the main memory, control unit, and arithmetic-logic unit.

8. Supercomputer

A specialized machine designed for tasks requiring... Continue reading "Understanding Computer Systems: Hardware, Software, and Key Concepts" »