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

Sort by
Subject
Level

Operating Systems: Types, Processes, and Architectures

Classified in Computers

Written on in English with a size of 2.77 KB

Batch Processing Systems

5) For + d l sistma oprativo exploit. Two types are distinguished:

  • Processes by Lots: The following processes are followed:
  1. Load the data in a device (e.g., punched cards).
  2. Receive the magnetic tape CPU and processes, leaving the results on another magnetic tape.
  3. Other devices manage the processed data, leaving it for printing or visualization.

In this way, the CPU processes data only in intervals. This system is very slow because it takes time to load and remove the data. This is the oldest system used and the first structure supposed to be of the IT department, according to these functions. The operators entered and exited the CPU managers.

  • Real-Time:

The process is very different from the processes by lots, more prone to... Continue reading "Operating Systems: Types, Processes, and Architectures" »

Linux Software RAID and Apache Web Server Management

Classified in Computers

Written on in English with a size of 2.56 KB

Software RAID Configuration

  • Use fdisk or similar tools to create partitions with type 0xfd (Linux RAID). Remember to run partprobe.
  • Create and define RAID devices using mdadm: mdadm -C /dev/md0 --chunk=64 --level=5 --raid-devices=3 /dev/sd[b,c,d]1
  • Format each RAID device with a filesystem: mkfs.ext3 -j /dev/md0
  • Test RAID devices:
    • mdadm --detail /dev/md0
    • mdmonitor provides the notification service.

Software RAID Testing and Reclaiming

  • Simulating disk failure: mdadm /dev/md0 -f /dev/sda1
  • Recovering from failure:
    • Replace the failed disk.
    • Rebuild the partitions on the new disk.
    • mdadm /dev/md0 -a /dev/sda1
  • Monitor /proc/mdstat and syslog for error messages.
  • Managing arrays:
    • Disassemble: mdadm -S /dev/md0
    • Assemble: mdadm -A -s

Apache Web Server Management

In RHEL5,... Continue reading "Linux Software RAID and Apache Web Server Management" »

Windows System Recovery and Internet Connectivity Configuration

Classified in Computers

Written on in English with a size of 4.7 KB

System Recovery and Troubleshooting

When repairing an Operating System (OS), specifically Windows XP, there are two primary options available:

  • Emergency Repair Disk (ERD): Known previously as DRE.
  • Restore Points (RP): System backups performed automatically.

Windows XP Recovery Methods

The original Floppy-based Emergency Repair Disk action that existed in older versions of Windows was deleted in Windows XP. This change occurred because modern computers support booting from the CD-ROM drive. The ERD functionality was replaced by a mixed, recoverable method, often utilizing a diskette as a storage medium.

Restore Points: These are backups performed automatically at regular intervals. They allow you to recover a damaged system state by reverting to a... Continue reading "Windows System Recovery and Internet Connectivity Configuration" »

Mastering Page Layout: Essential Elements and Formats

Classified in Computers

Written on in English with a size of 4.81 KB

Elements of Page Layout

Clean layout: Visual elements in good order.

Layout elements are three essential elements:

Format: The size or area of the paper on which our design will be printed.

Many formats are according to user needs, such as books, magazines, etc.

Margins: The surrounding areas that respect each box and the edge of the paper.

May be varied according to design. (Head, Spine, Foot, and Fore-edge).

The Box: This is the real space and limiting area where we diagram and fit the elements of the page.

In Microsoft Publisher, the document box appears delineated by a blue box on the page.

Chaotic layout: Items at random, without aesthetic consideration.

What is Page Layout?

It is the attempt to balance the elements across pages, organizing the masses... Continue reading "Mastering Page Layout: Essential Elements and Formats" »

DNS Fundamentals and Name Resolution Mechanisms

Classified in Computers

Written on in English with a size of 2.63 KB

What is a DNS Service?

A DNS service is a distributed database that stores hierarchical information associated with domain names on a network.

Primary Uses of DNS

  • Name Resolution: Given the full name of a host, the service retrieves its IP address.
  • Reverse Address Resolution: This is the inverse of the previous mechanism. Given an IP address, it retrieves the name associated with it.
  • Mail Server Resolution: Given a domain name, it identifies the server through which email delivery should be handled.

Core Components of the DNS Service

The main components include:

  • The DNS Client: A program that runs on the user's computer and generates DNS resolution requests for names to be sent to a DNS server.
  • DNS Servers: These answer customer requests. Recursive
... Continue reading "DNS Fundamentals and Name Resolution Mechanisms" »

MFS File System Operations in C

Classified in Computers

Written on in English with a size of 3.59 KB

Code fragment likely from mfs_readdir:


int inodo_root_previo = get_inodo_previo(fs, dir->path); // obtain prior entry inode
inode_read(fs, &ino_previo, inodo_root_previo);
// Checking to see if what we are reading is a directory or not, and storing in variables
if (inodo_root_previo != -1) {
    if (inodo_root_previo > 0)
        root_is_dir = is_dir(fs, &ino_previo, name(fs, dir->num_inodo));
    else
        root_is_dir = is_dir(fs, &ino_previo, dir->path);
    if (root_is_dir == 0) {
        if (inodo_root_previo > 0) {
            strcpy(entry->d_name, name(fs, dir->num_inodo)); // assign the name of the entry
        } else {
            strcpy(entry->d_name, dir->path); // Assign the name of the
... Continue reading "MFS File System Operations in C" »

10 Good Deeds of Web Design and Object-Oriented Design Principles

Classified in Computers

Written on in English with a size of 3.23 KB

10 Good Deeds in Website Design

  1. Place the organization name and logo on every page and make the logo a link to the home page.
  2. Provide a search function if the site has more than 100 pages.
  3. Write straightforward and simple headings and page titles that explain the content.
  4. Structure the page to facilitate reader scanning.
  5. Instead of cramming everything about a product, use hypertext to structure the content.

3 Broad Aspects of Web Design

  1. Designing for the computer medium
  2. Designing for the whole site
  3. Designing for the user

3 Design Patterns

  1. SINGLETON: Ensures that only one object of a given class is created.
  2. ADAPTER: An example of the indirection design principle (like an electrical adapter).
  3. OBSERVER: Allows two objects to be linked dynamically.

Statechart

Used... Continue reading "10 Good Deeds of Web Design and Object-Oriented Design Principles" »

Computer Interface Elements: Windows, Desktop & Controls

Classified in Computers

Written on in English with a size of 58.82 KB

Snap5

Understanding Window Elements

Standard Window Components

  1. Control Menu: Displays a menu with options to restore, move, size, minimize, maximize, and close the window.
  2. Toolbar: Provides direct access to frequently used display options for greater efficiency.
  3. Title Bar: Displays the name of the window or application.
  4. Menu Bar: Displays and provides access to the menus available within the application.
  5. Work Area: The primary area provided by the application for the user to perform their work.
  6. Window Border: Allows you to resize the window when it is not maximized. Place the mouse pointer on the border, then press and drag it to the new position.
  7. Status Bar: Displays help or information about the current task or ongoing processes.

Window Control Buttons

  • A.
... Continue reading "Computer Interface Elements: Windows, Desktop & Controls" »

Microprocessor and Microcontroller Architecture Fundamentals

Classified in Computers

Written on in English with a size of 2.78 KB

Microprogrammable Systems

A microprogrammable system reads, interprets, and executes sequential instructions contained within a program. These systems are essential for computer applications, mathematical calculations, industrial processes, and electrical apparatus.

Core Components

  • Clock: Generates periodic square waves for synchronization.
  • Microprocessors: Include the CPU and are used in applications requiring large memory and high-speed processing.
  • Microcontrollers: Feature a CPU embedded on a single chip, designed for specific tasks and smaller footprints.
  • PLDs (Programmable Logic Devices): Chips that integrate a matrix of logic gates whose functionality can be configured via programming.

Processing Units

The Processing Unit handles arithmetic and... Continue reading "Microprocessor and Microcontroller Architecture Fundamentals" »

Telecommunications Switching Methods, Fiber Optics, and Network Infrastructure

Classified in Computers

Written on in English with a size of 3.83 KB

Network Communication Methods: Switching Techniques

Circuit Switching

Allows two terminals to communicate through a single, dedicated circuit, leaving it free for use during the connection.

Benefits of Circuit Switching

  • Real-time transmission.
  • No interference from other users on the loop.
  • No contention or congestion issues.
  • No time is lost in recalculating routes.
  • Simplicity in management.

Disadvantages of Circuit Switching

  • Initial connection delay.
  • Time is wasted when the circuit is idle.
  • Route recalculation does not inherently lower costs.
  • Low fault tolerance.

Message Switching

The full message is sent to a node, which stores and forwards it to the next node until it reaches its destination.

Benefits of Message Switching

  • The channel is released before the
... Continue reading "Telecommunications Switching Methods, Fiber Optics, and Network Infrastructure" »