Notes, summaries, assignments, exams, and problems for Computer science

Understanding Computer Hardware and Software Essentials

Computer science2.9 KB

Computer Hardware

Core Components

CPU (Central Processing Unit)

The CPU controls and executes operations within the computer to process information. It consists of:

  • CU (Control Unit): Coordinates all computer activities and manages temporary data storage.
  • ALU (Arithmetic and Logic Unit): Performs basic data operations.

Memory

  • Random Access Memory (RAM): Enables reading and writing operations, allowing access to random memory locations.
  • Read Only Memory (ROM): Contains permanent instructions for computer startup, forming the BIOS (Basic Input Output System).

Input/Output Units

These units facilitate communication between the CPU, internal components, and external devices.

Buses

Buses enable efficient information exchange between computer components. Types...

Continue reading "Understanding Computer Hardware and Software Essentials" »

Project Planning and Control with Gantt Charts

Computer science2.67 KB

Gantt Chart: A Project Planning and Control Method

A Gantt chart is a graphical method of planning and control in which a project is divided into different activities, and estimates are made about how long each activity takes. This chart shows the timing relationships between events of a program and was developed by Henry L. Gantt. Gantt charts are useful for monitoring relatively small projects.

Understanding Key Concepts

  • Task: Project activities are carried out in a particular sequence.
    • Predecessor Task: A task that must start or finish before another can begin.
    • Successor Task: A task that depends on the start or finish of a preceding task.
    • Summary Tasks: These are made up of subtasks and summarize those subtasks.
  • Milestones: A task without duration
...
Continue reading "Project Planning and Control with Gantt Charts" »

E1 Primary Access and Multiplexing in PDH and SDH Networks

Computer science2.91 KB

E1 Primary Access and Multiplexing

Multiplexing and Quantization

True or False: Multiframes are sent 500 per second in E1 primary access.

Plesiochronous multiplexers cause a loss of original formatting information.

CMI code requires greater bandwidth.

Question: What is the step size of a uniform quantizer with 2048 levels and a dynamic signal range of ±1V?

Answer: 0.977 mV

Question: How many quantization levels are in the second segment of a non-uniform quantizer using the A-law approach?

Answer: 16 levels

E1 Primary Access Characteristics

False Statement: In E1 primary access, the word alignment multiframe is transmitted every 15 frames.

True Statement: In E1 primary access, the word alignment multiframe is transmitted every 2 ms.

NFAS: Offers a speed...

Continue reading "E1 Primary Access and Multiplexing in PDH and SDH Networks" »

Windows Control Panel: System Configuration & Management

Computer science2.09 KB

The Windows Control Panel: Your System's Command Center

The Windows Control Panel is your primary tool for configuring both the software and hardware installed on your computer. It organizes utilities into categories for easy access. Here's a breakdown of some key configuration options:

Add Hardware Wizard

This wizard guides you through installing new devices. Typically, you'll need the installation CD provided by the device manufacturer.

Add/Remove Programs (Programs and Features)

This section displays all programs installed on your computer. Select a program to uninstall it. To install a new program, run the installer file. To add or remove Windows features, click on "Turn Windows features on or off."

Network Connections (Network and Sharing Center)

...
Continue reading "Windows Control Panel: System Configuration & Management" »

Creating Engaging Multimedia Presentations

Computer science3.08 KB

Creating Engaging Multimedia Presentations

A presentation is a multimedia file that can contain text, graphics, photos, music, and video. Its organization is done by slides, which succeed one another under your control. Templates are presentations that have predefined design objects in the slides, such as the background, fonts, placement of text, and other objects that give the presentation a common appearance across all slides.

Interactivity: Establishing Hyperlinks

Interactivity is established by creating hyperlinks. Clicking on a button or text performs an action, such as opening a file or linking to a website. You can insert a hyperlink from the Insert menu, then selecting Hyperlink.

Interactivity in objects allows navigation to different slides...

Continue reading "Creating Engaging Multimedia Presentations" »

Shared Memory in IPC: Features and Creation

Computer science2.8 KB

Common Features of IPC Light Mechanisms

These mechanisms are implemented as a unit and share common features, including:

  • All mechanisms have a table whose entries describe their usage. Each table entry has a numerical key chosen by the user.
  • Each mechanism has a 'get' call to create a new entry or retrieve an existing one. The parameters of this call include a key and a mask of flags. The kernel searches the table for an entry that matches the provided key.
  • If the key is set to IPC_PRIVATE, the kernel occupies the first free entry. Subsequent calls will return this entry until it is released.
  • If the IPC_CREAT flag is active in the mask, the kernel creates a new entry if there is no match for the provided key. If both IPC_CREAT and IPC_EXCL flags
...
Continue reading "Shared Memory in IPC: Features and Creation" »

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" »

Raster and Vector Data Encoding Methods in GIS

Computer science2.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" »

SPC Control Systems: Centralized vs. Distributed

Computer science2.3 KB

SPC Control System

SPC Control System refers to the method of controlling a switching system.

  • Centralized SPC Control: If a given processor has direct access to all resources of the node and performs all system functions. This usually means the node has a single central computer (doubled for security).
  • Distributed SPC Control: If a processor is in a given state but does not have access to some of the resources and/or is not able to run only some of the functions of the system. In practice, this leads to an existing digital system with a high number of microprocessors that perform the control node as a whole.

Functions of Switching Systems

Switching systems provide power and signaling with user terminals. The user, via the wire pair of the switching...

Continue reading "SPC Control Systems: Centralized vs. Distributed" »

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" »