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

Sort by
Subject
Level

Digital and Analog Signals: Input and Output Channels

Classified in Computers

Written on in English with a size of 2.58 KB

Digital Awareness

When you want to receive digital information from the outside: The business card input channels are available, usually in groups of 8 bits, to which binary information is assigned by a program. These can be assigned to an internal variable state of a byte by a reading instruction that may have a port. There can be one or more bytes of input, assigning each an address.

Analog Outputs

To send analog control signals to the outside, the tallies have one or more channels of output through their respective A/D converters. A 1V analog converter generates a constant proportional to the numerical value of the digital data that it has on its input lines. Internally, they have a 5V memory. Different voltage ranges can be obtained using... Continue reading "Digital and Analog Signals: Input and Output Channels" »

Mastering OOP Fundamentals: Objects, Classes, and Java Terms

Classified in Computers

Written on in English with a size of 2.57 KB

Core Concepts of Object-Oriented Programming (OOP)

Object Characteristics: State and Behavior

Objects in real life possess two primary characteristics: state and behavior.

  • State: Defined by a set of parameters that define and distinguish an object from others of the same type.
  • Behavior: Allows distinguishing objects of different types (e.g., a dog object behaves differently than a cat object).

Class Structure and Components

A class is a template or prototype that defines a particular object type. A class defines the attributes and methods that an object will possess.

Defining Object Components

Attributes or Member Variables
The parameters or variables that define the state of an object.
Methods or Member Functions
Actions that objects can perform.
Accessing
... Continue reading "Mastering OOP Fundamentals: Objects, Classes, and Java Terms" »

Distributed Database Concepts and Architecture Fundamentals

Classified in Computers

Written on in English with a size of 3.08 KB

First Partial: Distributed Databases

1. The Database Concept

R: A database is a set of interrelated information for a common purpose.

2. Definition of Distributed Database

R: A distributed database is a collection of multiple databases located in different locations and connected via a network.

3. Goals of Distributed Databases

R: Building distributed systems, including databases, information sharing, reliability, availability, and speed in query processing.

4. Advantage of Data Distribution

R: The advantage of distributed systems is the ability to share and access information reliably and effectively.

5. Increasing Complexity Reflection

R: This reflects in gesta (management) software development, a greater likelihood of errors, and longer processing... Continue reading "Distributed Database Concepts and Architecture Fundamentals" »

Essential Linux Commands for File Management

Classified in Computers

Written on in English with a size of 4.57 KB

Essential Linux Commands for File Management

Basic Operations

  • mkdir /Destination/Name: Creates an empty directory named Name at the specified Destination.
  • touch /Source: Updates the access and modification date of the Source file to the current time. If the file does not exist, it creates an empty file.

Copying Files

  • cp /Source/Destination: Copies the Source file to the Destination with the same name.
  • cp -r /Source/Destination: Recursively copies files from the Source directory to the Destination directory, preserving the directory structure and file names.

Moving Files

  • mv -f /Source/Destination: Moves the Source file to the Destination, overwriting any existing file with the same name.
  • mv -u /Source/Destination: Moves the Source file to the Destination
... Continue reading "Essential Linux Commands for File Management" »

Mastering Structural and Behavioral Modeling in UML

Classified in Computers

Written on in English with a size of 4.08 KB

Understanding Structural and Behavioral Models

A structural model is used to analyze the structure of a system of objects and their relationships. This model is developed in layers. Within this framework, structural modules (mod_estrutural) are used to mount interaction diagrams that show the relationship between modules and subsystems.

The Role of Interaction Diagrams

An interaction diagram (D_interação) is a behavioral specification that includes a sequence of message exchanges between a set of objects to achieve a purpose. These should be used when you wish to view the behavior of various objects within a single use case, based on the messages passed between them. The strength of these diagrams is their simplicity.

Sequence and Collaboration

... Continue reading "Mastering Structural and Behavioral Modeling in UML" »

High-Speed Data Transfer: AGP, HyperTransport, and Parallel Ports

Classified in Computers

Written on in English with a size of 2.86 KB

AGP Bus: High-Speed Graphics Interface

The AGP bus was developed to release the occupation of system buses as much as possible when working with the graphics card. Since graphics cards require a significant amount of data, especially when working in 3D, they previously kept buses busy and prevented other peripherals from connecting. The general characteristics for this bus include:

  • Speeds are much higher than the peak of the system bus.
  • It incorporates DMA (Direct Memory Access).
  • It can access main memory for instructions and programs while performing read/write operations.
  • It can use main memory as video memory.
  • There are no waiting times because it does not have to compete for system buses.

HyperTransport Technology

HyperTransport is a universal... Continue reading "High-Speed Data Transfer: AGP, HyperTransport, and Parallel Ports" »

Understanding Wide Area Networks and Communication Protocols

Classified in Computers

Written on in English with a size of 2.79 KB

Wide Area Networks (WAN)

A Wide Area Network (WAN) spans a large geographic area, such as a country or continent. Its primary function is to connect networking and terminal equipment located at great distances. These networks rely on an infrastructure of powerful switching nodes to facilitate the continuous flow of significant amounts of information. WANs are considered public networks because they handle traffic from diverse locations, enabling users worldwide to transmit data across vast distances.

Network Protocols

A network protocol is a set of rules specifying the exchange of data or commands for communication between systems. These rules allow information to flow between computers that might otherwise handle different languages. If two computers... Continue reading "Understanding Wide Area Networks and Communication Protocols" »

C Programming Language: Functions, Pointers, and Files

Classified in Computers

Written on in English with a size of 4.96 KB

Functions in C

Void functions provide a way to emulate what are called procedures in other languages (e.g., PASCAL). They are used when it is not required to return a value. Here is an example that prints the squares of certain numbers:

void square ()
{
int count;

for (counter = 1; count < 10; counter++)
printf ("%d\n", counter * counter);
}

main ()
{
square ();
}

Input and Output Parameters

To use parameters in/out, the formal parameter must be preceded by the ampersand symbol (&), and the current parameter must be a variable (not an expression). Input/output parameters are used when you want a procedure to change the contents of the current variable. The fact that these parameters are explicitly defined as variables makes the programmer aware of... Continue reading "C Programming Language: Functions, Pointers, and Files" »

Software Fundamentals: Classification and Acquisition Methods

Classified in Computers

Written on in English with a size of 3.38 KB

Software: Definition and Functions

Software is the intangible component of any computer system. It consists of a collection of rules and guidelines that establish the relationship between the user and the machine.

Functions of Software

  1. To reduce manual entry of information.
  2. Provide communication media between man and machine.
  3. Encourage greater use of media and reduce the processing time of files.
  4. Provide routines that automatically perform repetitive, classified work.

Software Classification

System Software

A series of programs that facilitate man-machine communication, permitting its proper exploitation.

Application Software

Programs developed to solve specific problems. These can be classified into:

Basic or Utility Programs

These are applications whose... Continue reading "Software Fundamentals: Classification and Acquisition Methods" »

Data Link Layer Functions and Error Control

Classified in Computers

Written on in English with a size of 3.87 KB

Data Link Layer Tasks and Error Handling

The Data Link Layer is responsible for media access control in shared environments and comprehensive error handling.

Communication Design and Error Management

  • Data Division: Information is divided into blocks carrying a sequence number and an error detection code. If an error occurs, the block is re-received.
  • Information Control: All necessary information is included to ensure the receiver can reconstruct the data.
  • Error Correction: Detecting and correcting errors within the communication channel.
  • Flow Control: Managing the rate of data transmission.
  • Control Dialog: Managing transmission shifts and communication flow.

Design of the Link Layer

The design focuses on providing connection-oriented and reliable services... Continue reading "Data Link Layer Functions and Error Control" »