Notes, summaries, assignments, exams, and exercises for Computer science for Vocational training

Client-Server Model, Peer-to-Peer, NFS, Samba, and SSL

Computer science3.39 KB

Client-Server Model

  • The client-server model defines the structure of communicating applications and their synchronization.
  • It consists of two interacting processes:
    • Server Process
    • Client Process
  • Client and server are inseparable; one cannot exist without the other.

Server

  • This process awaits hearing on a given server port. It continuously waits for remote client processes to connect.
  • Authentication
  • Security and information privacy in the system where they reside.
  • Must be able to handle requests from multiple clients simultaneously.
  • Important: All clients will be connected to the same server port.

In general, we say that a computer is a server when its operating system runs one or more server processes (FTP, HTTP, DNS, etc.).

Client

  • It is a process that sends
...
Continue reading "Client-Server Model, Peer-to-Peer, NFS, Samba, and SSL" »

Computer Hardware Essentials: Ports, Storage & Interfaces

Computer science4.92 KB

FireWire: High-Speed Serial Bus Interface

FireWire is an interface designed to connect up to 63 devices. The bandwidth of this bus is either 400 Mbps or 800 Mbps, depending on the version. IEEE 1394a supports up to 400 Mbps, while IEEE 1394b supports up to 800 Mbps.

Computer Peripherals: Input, Output & Storage

Peripherals are a set of elements, often referred to as information media or mass storage units, that are necessary to store data and information and are available to the central processor. There are two main types:

Input Devices

An input device is any device through which information is introduced to the central processing unit (CPU).

Output Devices

An output device is any device through which information is drawn from the central processing...

Continue reading "Computer Hardware Essentials: Ports, Storage & Interfaces" »

Essential Network Command-Line Utilities Explained

Computer science3.24 KB

Ping Command Options

  • -t: Sends echo requests to the host until interrupted.
  • -a: Resolves IP addresses to host names.
  • -n number: Specifies the number of echo requests to send.
  • -l size: Sets the send buffer size in bytes.
  • -f: Prevents fragmentation of the packet.
  • -i TTL: Sets the Time To Live (TTL) value.
  • -v TOS: Specifies the Type of Service (TOS).
  • -r amount: Records the route for this number of hops.
  • -s number: Records timestamps for this number of hops.
  • -j lista_de_host: Specifies a loose source route along the host list.
  • -k lista_de_host: Specifies a strict source route along the host list.

ARP Command Parameters

  • -a: Displays current ARP entries. If Dir_IP is specified, it shows the IP and physical addresses only for that specific computer.
  • -g: Same as
...
Continue reading "Essential Network Command-Line Utilities Explained" »

OSI Model and TCP/IP: Understanding Network Layers

Computer science3.85 KB

The Open Systems Interconnection Model

The Open Systems Interconnection (OSI) model is an abstract, layered representation created as a reference for network protocol design. The OSI model divides the process of networking into different logical layers, each of which has unique functionality and to which specific services and protocols are assigned.

Application Layer

The application layer, the seventh layer, is the top layer of both the OSI and TCP/IP models.

Presentation Layer

The presentation layer has three main functions:

  • Coding and data conversion of the application layer to ensure that data from the source device can be interpreted by the appropriate application on the target device.
  • Compression of the data in a way that can be decompressed
...
Continue reading "OSI Model and TCP/IP: Understanding Network Layers" »

Essential Networking Concepts: IPv6, DHCP, Sockets, and FQDN Explained

Computer science4.01 KB

IPv6: The Next Generation of IP Addressing

IPv6 utilizes 128 bits for addressing, a significant expansion from IPv4's 32 bits. It is represented in three primary forms:

  • Standard Form: Eight groups of four hexadecimal digits, separated by colons (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334).
  • Compressed Form: Consecutive groups of zeros can be replaced by a double colon (::). This compression can only be used once per address (e.g., 2001:0db8:85a3::8a2e:0370:7334).
  • Mixed Form: A combination of IPv6 and IPv4 notation, where the last 32 bits are represented in standard IPv4 dotted-decimal format (e.g., ::ffff:192.0.2.128).

IPv6 enables automatic configuration of network devices. The method for establishing IP addresses with this version is more complex...

Continue reading "Essential Networking Concepts: IPv6, DHCP, Sockets, and FQDN Explained" »

Understanding Bleed, Slug, Trim, and Gutter in Print Design

Computer science3.33 KB

What is bleed? When any image or element on a page touches the edge of the page, extending beyond the trim edge leaving no margin it is said to bleed. It may bleed or extend off one or more sides.

What is slug? Non-printing information (such as a title and date) used to identify a document outside bleed area.

What is Trim - The final size of a printed page after excess edges of paper have been cut off What is Gutter - The area between columns on a page or the blank space between two facing pages in print

Match each file format with the kind of information it would likely be used to save?
o TIFF = A loss-less bit-mapped file format for high-resolution photographic images, typically in print
a EPS = A vector-based file format for high-resolution...

Continue reading "Understanding Bleed, Slug, Trim, and Gutter in Print Design" »

Understanding Databases: Relational Models and Access

Computer science2.84 KB

What is a Database?

A database is a structured data support system that allows us to store and process data quickly, safely, and efficiently.

A database consists of fields, records, and files. We define:

  • Field: Each of the elements that make up a record, such as name, address, town, and telephone.
  • Record: A set of interrelated fields, such as personal data belonging to a shareholder of a video store.
  • File: Consists of the union of multiple records.

What is a Relational Database?

Using relational databases is useful when multiple records of a database are related to the same record in another database. A simple and intuitive way of structuring data is using tables, i.e., arranged in rows and columns. The relational model uses the table structure for...

Continue reading "Understanding Databases: Relational Models and Access" »

Local Area Networks (LAN) and High-Speed Networks: Fundamentals

Computer science3.01 KB

Chapter 1: Local Area Network (LAN) Fundamentals

A local area network (LAN) includes the components, both software and hardware, that enable microcomputers, PCs, and peripherals within a limited geographical area to communicate with each other. LANs also facilitate the distribution and sharing of all system resources between different units.

Key Characteristics of a Local Area Network

  • Limited geographical area
  • High transmission speed (from 1 Mbit/s to 1 Gbit/s)
  • Low error rate
  • Entire network is owned and managed by the user

These LANs can be interconnected in various ways using repeaters, bridges, gateways, routers, or switches.

Local Area Network Objectives

  • Allow secure communication at a reasonable cost
  • Be structured in levels, allowing changes by level
...
Continue reading "Local Area Networks (LAN) and High-Speed Networks: Fundamentals" »

Computer Main Memory Types: RAM and ROM Details

Computer science2.96 KB

1.3 Main Memory Fundamentals

The main memory can be defined as a device capable of storing information. This information is made up of bits, which are the basic elements of memory. A bit is the basic unit of information and can only take two values: (0 or 1). The quantity of bits of information that can be stored in a given memory defines its capacity. Main memory can be distinguished into two main groups: RAM and ROM memory.

RAM (Random Access Memory)

RAM is characterized as being very fast for reading and writing and is volatile (loses data when power is off).

RAM Divisions

  • SRAM (Static RAM): In static memory cells, the storage of information resides in a bistable state; each bit is formed by a continuous bistable order so that the information
...
Continue reading "Computer Main Memory Types: RAM and ROM Details" »

Computer Networks: Benefits and Twisted Pair Cabling Explained

Computer science2.74 KB

What is a Computer Network?

A computer network connects two or more computing devices, such as computers, servers, routers, or switches, through wired or wireless communication channels. This enables efficient sharing of data, resources, and applications.

The primary purpose of a computer network is to facilitate communication and resource sharing among users and devices, whether within a small area like a home or office, or across large geographical regions like the internet.

Advantages of Computer Networks

  1. Resource Sharing: Devices like printers, scanners, and internet connections can be shared across the network, reducing hardware costs.
  2. Data Sharing: Users can easily share files and data in real-time, improving collaboration and efficiency.
  3. Centralized
...
Continue reading "Computer Networks: Benefits and Twisted Pair Cabling Explained" »