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

Sort by
Subject
Level

TCP/IP Transport Layer Quiz: Port Numbers and Flow Control

Classified in Computers

Written on in English with a size of 4.11 KB

Chapter 4: Transport Layer Concepts

Networking Questions and Answers

  1. Transport Layer Header Analysis (Choose two)

    On the basis of the transport layer header shown in the diagram, which of the following statements describe the established session? (Choose two.)

    1. This is a UDP header.
    2. This contains a Telnet request.
    3. This contains a TFTP data transfer.
    4. The return of this packet will have a remote host acknowledgment number of 43,693.
    5. This is a TCP header.
  2. TCP/IP Well-Known Port Numbers Range

    In the TCP/IP data encapsulation, which range of port numbers identifies all known applications?

    1. 0–255
    2. 256–1022
    3. 0–1023
    4. 1024 to 2047
    5. 49,153 to 65,535
  3. Purpose of Port Numbers in TCP Header

    Why are port numbers included in the TCP header of a segment?

    1. To indicate the correct
... Continue reading "TCP/IP Transport Layer Quiz: Port Numbers and Flow Control" »

System Design, Development, and Project Management

Classified in Computers

Written on in English with a size of 2.58 KB

Technical Design of Systems

At the end of this activity, the following items are obtained:

  • Modular design of the system.
  • Description of interfaces between system modules.
  • Description of interfaces to other system modules.
  • Definition of the user interface.
  • Description of system components.

Structured Programming Techniques

Data Entry:
This part of the program consists of instructions that take information from an input/output device and transfer it to main memory for further processing.
Process or Algorithm:
The set of instructions that process the input data to obtain new information.
Output Results:
This consists of instructions that send the results of a process to an input/output device.

System Technology Environment: Objectives

The objectives include:... Continue reading "System Design, Development, and Project Management" »

Understanding Web 2.0 Technologies and Database Systems

Classified in Computers

Written on in English with a size of 2.46 KB

Social Web and Web 2.0

Web 2.0 was born to complement existing online services. It is based on them and focuses on user contributions to the development network, providing, revising, or modifying content.

Key Web 2.0 Components

  • Wiki: Websites edited by different people in a collaborative way.
  • Blog (or Weblog): Websites that function like a personal diary where contrasting views are expressed, and content or discussions are moderated by the blogger.
  • Photo Albums and Videos: Sites where users contribute their photos and videos.
  • RSS (Really Simple Syndication): A web subscription service for news search and consultation. It allows access to news from digital newspapers or radio stations.
  • Podcast: Retransmission of news or events in audio format that
... Continue reading "Understanding Web 2.0 Technologies and Database Systems" »

Leveraging AI for Index Recommendations and Regular Path Queries

Classified in Computers

Written on in English with a size of 4.45 KB

AI Meets AI: Leveraging Query Executions to Improve Index Recommendations

How artificial intelligence (AI) can benefit automated indexing (AI)?: Comparing the execution cost of two plans (different index configurations of same query) is key for index tuning. Instead of using optimizer’s estimates for such comparison, formulating it as a classification task in machine learning results in significantly higher accuracy.

MOTIVATION:

  • Being able to fully automate index recommendation and implementation is a significant value-add for improving query execution cost.
  • Requirement: creating or dropping indexes should not cause significant query performance regressions - users enforce a no query regression constraint.
  • Using the optimizer’s estimates to
... Continue reading "Leveraging AI for Index Recommendations and Regular Path Queries" »

MS-DOS Memory Management: Conventional, Upper, Expanded

Classified in Computers

Written on in English with a size of 3.53 KB

MS-DOS Memory Management

The memory management depends on the version of MS-DOS we use and the CPU that we have.

Processor Memory Limits

Processors have different address limits:

  • 8088 / 8086 (XT): handle up to 1 MB
  • 286 (AT): handle up to 16 MB
  • 386: handle up to 4096 MB

Conventional Memory

Conventional memory is where programs run; you must manage it properly and release memory when possible.

0 Kb

S.O.

Contains the interrupt table, computer specification, etc.

2 KB

Core MS-DOS Files

The core files include (examples by version):

  • IO.SYS (depending on the version)
  • MSDOS.SYS (system)
  • Other variable core components

Order File (CONFIG.SYS)

Configuration directives and settings found in CONFIG.SYS:

  • BUFFERS
  • FCBS
  • FILES
  • LASTDRIVE
  • STACKS

Device Drivers

Device drivers loaded via

... Continue reading "MS-DOS Memory Management: Conventional, Upper, Expanded" »

Network Routing Strategies and Performance Criteria

Classified in Computers

Written on in English with a size of 3.66 KB

Performance Criteria for Data Transfer

Performance criteria are the most complex and critical factors to be analyzed before a transfer of data to achieve more effective performance. When determining the choice of route, you can choose based on:

  • A path with the least number of hops.
  • A path involving the least cost.

Instant Decisions and Routing Placement

The routing decision is made based on a packet or virtual circuit. When a routing decision is based on a datagram, it is taken individually for each packet. In the case of virtual circuits, internally governed packets belonging to that circuit will follow the same route.

A third case is Source Routing, in which the source station is the decision maker rather than the network nodes.

Node Responsibility

... Continue reading "Network Routing Strategies and Performance Criteria" »

C Programming: Matrix Data Transfer and Calculations

Classified in Computers

Written on in English with a size of 4.45 KB

Matrix Data Transfer Example

This section presents C code intended to transfer data between matrices based on region identifiers.

#include <stdio.h>
#include <stdlib.h>

int main () {
    int a[64][4];
    int b[3][15];
    int i, region, sum_asup, sum_ahab, j;

    j = 0;
    region = 1;
    sum_asup = 0; // Initialize sums
    sum_ahab = 0; // Initialize sums

    // Assuming 'a' matrix is populated with data
    for (i = 0; i < 64; i++) { // Corrected loop condition
        if (a[i][0] == region) {
            sum_asup = sum_asup + a[i][2];
            sum_ahab = sum_ahab + a[i][3];
        }
        
        // Check if the next element belongs to a different region or if it's the end of the array
        if (i + 1 < 64
... Continue reading "C Programming: Matrix Data Transfer and Calculations" »

Raster and Vector Data Encoding Methods in GIS

Classified in Computers

Written on in English with a size of 2.19 KB

Raster Encodings: Exhaustive Enumeration

This structure records each individual value for every cell in a raster dataset.

Raster Encodings: Run-Length

This procedure collects the thematic value for each row and the columns in which it repeats:

  • If multiple values exist in a row, the first value is indicated, followed by its start and end columns.
  • Subsequent values and their respective column ranges are recorded sequentially until the end of the line.

Raster Encodings: Quad-tree

This structure encodes data by identifying terminal nodes or homogeneous quadrants and assigning four specific parameters:

  • Coordinates: The X and Y coordinates of one vertex (e.g., the lower-left corner).
  • Level: A number defining the subdivision level of the space.
  • Value: The thematic
... Continue reading "Raster and Vector Data Encoding Methods in GIS" »

Sequential Logic: Understanding Digital Counters and Shift Registers

Classified in Computers

Written on in English with a size of 3.43 KB

Digital Counters (Sequential Circuits)

Counters are sequential circuits whose output represents the number of clock pulses applied to the input. They consist of interconnected bistables (flip-flops).

Counters can operate in ascending mode (content increases with each pulse) or descending mode (content decreases).

Applications of Digital Counters

  • Watches and Timers
  • Frequency Dividers
  • Frequency Meters (Frecuencímetro)

The maximum number of states a counter passes through is called the Modulus.

Asynchronous (Ripple) Counters

In asynchronous counters, the external clock signal is connected only to the first flip-flop. The clock input of subsequent flip-flops is connected to the output of the previous flip-flop.

This configuration causes all flip-flops... Continue reading "Sequential Logic: Understanding Digital Counters and Shift Registers" »

Core Concepts of Virtual Memory Management and Allocation Strategies

Classified in Computers

Written on in English with a size of 3.47 KB

Virtual Memory Management Fundamentals

What is Memory Management?

Memory Management is responsible for the efficient use of main memory in a multiprogramming environment where processes compete for memory resources.

Types of Address Space

  • Actual Addresses: Refer to the physical main memory (RAM) of the machine.
  • Logical or Virtual Addresses: The memory space perceived or known by the process. Each process maintains its own independent logical or virtual address space.

The central idea of virtual memory is to utilize the memory hierarchy: storing the most frequently accessed data in faster, lower-capacity storage tiers (RAM) and less frequently accessed data on less expensive, higher-capacity devices (disk).

Evolution of Memory Management Systems

  • Fixed
... Continue reading "Core Concepts of Virtual Memory Management and Allocation Strategies" »