Notes, abstracts, papers, exams and problems of Computers

Sort by
Subject
Level

Drawing Polygons with Bresenham's Algorithm in C

Classified in Computers

Written at on 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" »

Mastering GIS Operations: Essential Techniques and Troubleshooting

Classified in Computers

Written at on 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 at on 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" »

Communication Modes, Data Circuits, OSI Stack, and Network Types

Classified in Computers

Written at on English with a size of 2.54 KB.

Communication Modes

Operability:

  • Simplex Communication: Clearly defined transmitter and receiver functions. Transmission occurs in one direction only. Example: a TV broadcast using a single physical channel and a single unidirectional logical channel.
  • Half-Duplex Communication: Two-way communication where sender and receiver roles are interchangeable, but transmission is not simultaneous. When one device sends, the other must receive. It uses one physical channel and a bidirectional logical channel.
  • Full-Duplex Communication: Bidirectional and simultaneous communication. Sender and receiver roles are not strictly defined.

Data Circuit Components

Circuit Data:

  • Data Terminal Equipment (DTE): The source or destination of information.
  • Data Circuit-Terminating
... Continue reading "Communication Modes, Data Circuits, OSI Stack, and Network Types" »

Image and Sound Processing, Networks, and Digitalization

Classified in Computers

Written at on English with a size of 3.34 KB.

Image Processing

Imaging Technique

  • Bitmap (Raster): Formed by pixels, each with a color. Programs: GIMP, Photoshop. Formats: GIF, JPEG, BMP, TIFF, PNG, PCX (Paintbrush), RAW, TGA, PSD (Photoshop), XCF (GIMP).
  • Vector: Obtained using lines. Programs: Corel Draw, OpenOffice.org Draw, AutoCAD, QCad. Formats: DXF, CDR, DWG, ODG/SXD, SWF, AI, SFHx.
  • 3D: Three-dimensional figures. Widely used in games. Programs: Virtual Hammer.

Memory Cards

  • SD
  • MMC
  • XD
  • Memory Stick

Image Properties

  • Color Depth: Total number of bits used to encode an image. More depth means more shades.
  • Brightness: Related to light intensity emitted over a given area.
  • Contrast: Brightness difference between the maximum and minimum brightness.

Color Specification Systems

  • RGB (Red, Green, Blue): Used
... Continue reading "Image and Sound Processing, Networks, and Digitalization" »

Understanding Computer Fundamentals: FAQ

Classified in Computers

Written at on English with a size of 3.72 KB.

What is a Computer?

A computer is an information processing machine capable of storing a large amount of data.

What is an Abacus?

The Abacus was a device capable of performing automatic calculations.

What is the Computer's Brain?

The computer's brain is the microprocessor.

What is Multimedia?

Multimedia is the ability to use images and sound through the computer.

What is the Internet?

The Internet is a network that allows access to information stored on computers.

What is Compatibility?

Compatibility refers to the ability of different components or software to work together.

What is a Power Supply?

The power supply is a component that connects your computer to the electric current.

What is the Motherboard?

The motherboard is the main circuit board of a computer,... Continue reading "Understanding Computer Fundamentals: FAQ" »

Key Computer & Software Terms: Definitions & Concepts

Classified in Computers

Written at on English with a size of 3.6 KB.

Key Computer and Software Terms

1. Text Editor: It is a program through which we can enter text without a specific file format.

2. Word Processing: It serves not only to write, but also to format the text and offer a better appearance.

3. Document: A data file with a specific format that is interpreted by the processor.

4. Book: An entire document with all its pages.

5. Section: An organizational unit of the document that may implement a number of characteristics.

6. Paragraph: An organizational unit below a section.

7. Style: A way of sorting, identifying, and storing a set of formatting and other features.

8. Index: A part of the document, usually found at the end.

9. Table of Contents: An index with page layout format which summarizes the contents... Continue reading "Key Computer & Software Terms: Definitions & Concepts" »

Network Configuration: RHQ, ISP, Rconcepcion, Rsantiago

Classified in Computers

Written at on English with a size of 4.32 KB.

RHQ Configuration

Hostname: rhq

Username: isp

Password: 0 duocuc

Interface Configuration

FastEthernet0/0

  • IP Address: 172.31.0.1 255.255.0.0
  • IP NAT Inside
  • Duplex: Auto
  • Speed: Auto

Serial0/0/0

  • No IP Address
  • Encapsulation: Frame-Relay

Serial0/0/0.100 (Point-to-Point)

  • Bandwidth: 512
  • IP Address: 10.10.0.1 255.255.0.0
  • Frame-Relay Interface-DLCI: 100
  • IP OSPF Authentication: Message-Digest
  • IP OSPF Message-Digest-Key: 1 MD5 cisco
  • IP NAT Inside

Serial0/0/0.200 (Point-to-Point)

  • Bandwidth: 512
  • IP Address: 10.11.0.1 255.255.0.0
  • Frame-Relay Interface-DLCI: 200
  • IP OSPF Authentication: Message-Digest
  • IP OSPF Message-Digest-Key: 2 MD5 cisco
  • IP NAT Inside

Serial0/0/1

  • IP Address: 200.10.10.2 255.255.255.0
  • Encapsulation: PPP
  • PPP Authentication: CHAP
  • IP NAT Outside

Routing Configuration

Router... Continue reading "Network Configuration: RHQ, ISP, Rconcepcion, Rsantiago" »

Data Link Protocols, ATM, and Routing Optimization

Classified in Computers

Written at on English with a size of 1.8 KB.

Data Link Protocols

LAPB, LAPF, and LAPD

These are Data Link protocols:

  • LAPB (Link Access Procedure, Balanced): A subset of HDLC, providing asynchronous balanced mode (ABM) for point-to-point links between user systems and packet-switching network nodes.
  • LAPF (Link Access Procedure for Frame-Mode Bearer Services): Includes a control protocol (similar to HDLC) and a core protocol (subset of the control protocol). LAPF control uses ABM and 7-bit sequence numbers. LAPF core has flag, address, information, and FCS fields, but no control field.
  • LAPD (Link Access Procedure, D-Channel): Provides data link control over the ISDN D channel. Uses ABM, 7-bit sequence numbers, a 16-bit CRC FCS, and a two-part address field for device and logical user identification.
... Continue reading "Data Link Protocols, ATM, and Routing Optimization" »

Oracle Tablespaces, Segments, and Data Blocks Explained

Classified in Computers

Written at on English with a size of 2.39 KB.

Oracle Tablespaces and Data Storage

System tablespaces and the required sysaux tablespace are created when the database is created and must be online.

The System tablespace is used for core functionality, for example, the data dictionary tables.

The auxiliary Sysaux tablespace is used for additional database components, such as the Enterprise Manager repository.

A tablespace accounts for one or more data files.

Data files belong to one tablespace.

User process: It begins when the user database server requests a connection to Oracle.

Process server: Connects to the Oracle instance and starts when a user establishes a session.

Background processes: Start the Oracle instance.

Oracle is a server management system database that provides an open, comprehensive,... Continue reading "Oracle Tablespaces, Segments, and Data Blocks Explained" »