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

Sort by
Subject
Level

Software Architecture: Key Concepts and Best Practices

Classified in Computers

Written on in English with a size of 2.51 KB

Why the 4 + 1 Architecture?

The 4 + 1 architecture model provides different views (logical, process, development, and physical) plus scenarios. This allows for a comprehensive understanding of the system to be built. The 4 + 1 model is also generic.

How Does It Help with Design?

It aids in system design by helping to understand the system's behavior through detailed component design and specifications. This ensures that the functional requirements are met.

Choosing a Construction Methodology

The construction methodology depends on the problem or system being addressed. Therefore, the criterion is paramount when choosing a methodology. Options include:

  • Rational Unified Process
  • CMMI
  • Scrum

Importance of Documentation Standards

Documentation standards facilitate... Continue reading "Software Architecture: Key Concepts and Best Practices" »

Database Management: Recovery, Concurrency, and More

Classified in Computers

Written on in English with a size of 2.78 KB

Database Management Essentials

Data Recovery

Recovery: Recover data from the sources of error mentioned above. Restoring the database to its normal state is the responsibility of the DBA, who is responsible for implementing the procedures for error detection and recovery.

The DBA is the one with the centralized control of the database. This reduces the number of people who have access to technical and design details for the operation of DBMS.

Concurrency Control

Concurrency: It occurs in a multi-user environment when multiple users try to access the same data object at the same time.

Concurrency occurs when the system is multi-user and does not make adequate controls to synchronize the processes that affect the database. This is commonly referred... Continue reading "Database Management: Recovery, Concurrency, and More" »

Evolution of Operating Systems: Generations & Concepts

Classified in Computers

Written on in English with a size of 2.71 KB

Historical Operating Systems: A Timeline

This document provides a brief history of operating systems, covering their evolution across different generations.

1st Generation (1945-1955)

Characterized by vacuum valves and machine language. These systems were large, consumed high energy, were very slow, and performed simple mathematical calculations.

2nd Generation (1955-1965)

Transitioned to transistors and batch processing. Systems became smaller and consumed less power.

3rd Generation (1965-1980)

Integrated circuits were introduced, making systems cheaper and enabling multiple processors to run concurrently.

4th Generation (1980-Present)

Marked by the advent of personal computers.

Memory Management

The memory manager is a crucial part of the OS. It is... Continue reading "Evolution of Operating Systems: Generations & Concepts" »

Understanding the Relational Database Model and Its Features

Classified in Computers

Written on in English with a size of 3.1 KB

Relational Model: This approach allows users to obtain information from the database without assistance from information management professionals. The data is stored in a way that makes it easier for users to understand. The data is organized as tables, and the relationships between the rows and tables are visible in the data.

Features of Relational Models
It is important to know that the entries in the table are atomic. All entries in any column are of a single type. The table columns are called attributes. No two rows in the table are identical.

Structure of Relational Databases
The relational database model, at the conceptual level, is represented by a collection of stored relations.

Submodel Data
External schemas of relational sub-models are... Continue reading "Understanding the Relational Database Model and Its Features" »

Software Installation & Uninstallation: Parallel Work, Backup & Troubleshooting

Classified in Computers

Written on in English with a size of 2.47 KB

8 Steps for Parallel Work & Uninstallation

The operation of the application, i.e., its use at full capacity.

Parallel Work

When an application is replaced by another, performing a parallel operation of the new application with the old. This means a double data entry, and duplicating all tasks for a certain period of time. This results in greater safety for two reasons:

  • You can compare the results of both applications. If the previous application had no failures, the results of the new application should be the same as the old, for identical processes.
  • If you detect a serious problem in the new application, you can continue working with the former, which has all the information up to date, while the situation is resolved.

Warranty and After-Sales

... Continue reading "Software Installation & Uninstallation: Parallel Work, Backup & Troubleshooting" »

Connecting to SQL Server 2000 with JDBC: A Practical Example

Classified in Computers

Written on in English with a size of 5.03 KB

Connecting Through JDBC Driver for Microsoft SQL Server 2000

Exercise 2

import java.sql.*;

Class Home

public class Jdbc_sqls3 {

private Connection con = null;

Constants for PLS USE chain link

private final String url = "jdbc:microsoft:sqlserver://";

private final String server = "localhost";

private final String port = "1433";

private final String db = "pubsSQL";

private final String user = "sa";

private final String pass = "spark";

The password is easily found; it is recommended to request the user for the final application.

Make the driver use cursor on the server side, allowing more than one active SQL statement per connection.

private final String method = "cursor";

Main Method of Entry Program

public static void main(String[] args) throws Exception {

Jdbc_

... Continue reading "Connecting to SQL Server 2000 with JDBC: A Practical Example" »

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

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

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