Memory Interleaving and Cache Memory Optimization

(2.4) Interleaved Memory: Idea: Divide the memory into independent modules to allow simultaneous access to several words in different modules (interleaving).Efficiency condition: references to memory modules are distributed equitably, with a distribution key. • Ideal Location: The width of the memory access band is multiplied by # d modules. • Total Memory = N = 2n words / / No. of Modules = M = 2m. Schemes – There are 2 schemes, and with either, M parallel words can be obtained with each

Read More

CSS Properties, Selectors, Syntax and Usage

CSS (Cascading Style Sheets) in one page

Contents:
Templates: Style sheet into the document, Link to an external style sheet, Syntax;
Main elements: Media types, Selectors, Properties;
Properties: Box, Show boxes (Controlling box generation), Visual superposition of boxes (Positioning schemes), Visual effects, Colors, Background, Fonts, Text, Generated content, Automatic counters and numbering, Lists, Tables;
Supplemental information: Units, Box model;
Other: Appendix “CSS Property
Read More

XML Structure: Elements, Attributes, and Syntax

1.0″ encoding=”UTF-8” standalone=”no“?>XML Declaration
White space characters (space, carriage return, line feed, tab, etc)
Comments
your_documents_css.css”?>External style sheet for browse your xml document
<?word document=”test.doc” ?>Processing Instruction
root_element [ root_element (#PCDATA)> ]>Internal DOCTYPE Declaration, and/or
root_element SYSTEM “your_documents_dtd.dtd“>External DOCTYPE Declaration
root_element>Open tag of “root_element
subElement>Open tag
Read More

Software and Systems: Types, Development, and UML Diagrams

Software and Systems

Main Categories

  • Center: SOFTWARE
  • Left: SOFTWARE APPLICATION – Performs information processing tasks for end-users.
  • Left/Left: GENERAL-PURPOSE APPLICATION PROGRAMS
  • Left/Right: SPECIFIC APPLICATION PROGRAMS
  • Center Right: SOFTWARE SYSTEMS – Manages and supports operations of network computing systems.
  • Right/Left: PROGRAM MANAGEMENT SYSTEMS
  • Right/Right: SYSTEMS DEVELOPMENT PROGRAMS

Software Analysis and Design

  • Software Analysis: Investigation of the problem, defining *what* the system should
Read More

Java Concurrency: Threads, Runnables, and Synchronization

Class Acumulador

This class implements a synchronized counter.


public class Acumulador implements Comparable<Acumulador> {
    private int acumulador;
    private final int id;

    public Acumulador(int id) {
        this.id = id;
    }

    public int getAcumulador() {
        return acumulador;
    }

    public synchronized void addAcumulador(int puntuacio) {
        this.acumulador += puntuacio;
    }

    public int getId() {
        return id;
    }

    @Override
    public int compareTo(
Read More

Content Management Systems: Structure, Components, and Implementation

CMS – Content Management System (CMS – Content Management Systems)


is a system manager <http://pt.Wikipedia.Org/wiki/Websites> websites, which includes tools to create, manage (edit and insert) content <http://pt.Wikipedia.Org/wiki/Tempo_real> real time, without the need for programming code <http://pt.Wikipedia.Org/wiki/Programa%C3%A7%C3%A3o> <http : / / pt.Wikipedia.Org / wiki / C% C3% B3digo>
Whose goal is to structure and facilitate the creation, administration <http:

Read More