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

Sort by
Subject
Level

MPEG Audio Compression: Understanding the Fundamentals

Classified in Computers

Written on in English with a size of 2.71 KB

Introduction

The principle of MPEG audio compression is quantization. However, the values being quantized are not the audio samples themselves, but rather numbers (called signals) taken from the frequency domain of the sound.

Encoding Process

  1. Bit Allocation: The encoder knows the compression ratio (or bit rate), allowing it to determine how many bits to allocate to the quantized signals. The adaptive bit allocation algorithm uses the bitrate and frequency spectrum of recent audio samples to minimize audible quantization noise (the difference between the original and quantized signal).
  2. Discrete Fourier Transform: Psychoacoustic models, which determine the quantization coarseness, rely on sound frequency. Since the input is audio samples, the first
... Continue reading "MPEG Audio Compression: Understanding the Fundamentals" »

Java File Handling: Reading Text and Managing Files

Classified in Computers

Written on in English with a size of 4.37 KB

Java File Handling Examples: Reading Text and Managing Files

This document presents two distinct Java examples demonstrating fundamental Input/Output (I/O) operations, including reading data from text files and managing file existence and metadata.

Example 1: Reading and Summing Numbers from a Text File

This program reads characters from a file named pepe.txt using FileReader. It attempts to parse and sum numerical values found within the file. Note the specific logic used for character processing and summation.

Java Code: Summing File Contents (EjerciciosFiletexto2)

package ejerciciosfiletexto2;
import java.io.FileReader;
import java.io.IOException;

/**
 *
 * @author thene
 */
public class EjerciciosFiletexto2 {    
    /**
     * @param args
... Continue reading "Java File Handling: Reading Text and Managing Files" »

The Importance of File Management: Types, Systems, and Media

Classified in Computers

Written on in English with a size of 5.44 KB

THE FILE: A file is a set of ordered documents that are related by some circumstance or event. It is essential for a company to have a file that is to sort and classify documentation in a particular way.

Why: It allows to keep, store and safeguard information, It can be easily and quickly found, To comply with the law, It can help in the decision-making process

Types of files:

1) Active: documents that are currently being used and queried

2) Semi-active: documents no longer effective but kept for legal reasons

3) Inactive: documents not valid but with a historical or documentary value

The File system: is the criterion used for ordering information.

  • Alphabetical: Information classified in the order of the alphabet *

  • Numerical: information in which each

... Continue reading "The Importance of File Management: Types, Systems, and Media" »

Software Development Principles and Design Patterns

Classified in Computers

Written on in English with a size of 697.56 KB

Key Concepts in Software Development

Complexity: Involves abstraction and decomposition into smaller, manageable problems.

Changeability: Requires effective management and a well-defined Software Development Life Cycle (SDLC).

Testing Before Implementation: Identifies defects early, saving time and resources.

Microsoft SDL: Emphasizes security considerations throughout all phases of the development cycle, including security and privacy risk assessment.

Understanding UML Diagrams

Sequence Diagram: Provides a time-based view of object interactions through function calls, illustrating the interaction among objects.

State Chart: Depicts the sequence of states an object goes through in response to external events, focusing on the state changes of a single

... Continue reading "Software Development Principles and Design Patterns" »

Computer Network Basics: Concepts, Types, and Hardware

Classified in Computers

Written on in English with a size of 4.75 KB

Understanding Computer Networks

A network is created when more than one device is connected together. A network can be a small collection of computers connected within a building (e.g., a school, business, or home) or it can be a wide collection of computers connected around the world.

Data Packet Transmission

The main purpose of networking is to share data between computers. A file has to be broken up into small chunks of data known as data packets in order to be transmitted over a network. The data is then rebuilt once it reaches the destination computer. Networking hardware is required to connect computers and manage how data packets are communicated. Protocols are used to control how data is transmitted across networks.

Local Area Networks

... Continue reading "Computer Network Basics: Concepts, Types, and Hardware" »

The 7 Layers of the OSI Model Explained for Networking Professionals

Classified in Computers

Written on in English with a size of 5.35 KB

The 7 Layers of the OSI Model

The Open Systems Interconnection (OSI) model defines a networking framework to implement protocols in seven distinct layers. Understanding these layers is fundamental to grasping how data communication occurs across networks.

Application Layer (Layer 7)

The Application Layer, OSI Model Layer 7, supports application and end-user processes. Key functions include identifying communication partners, defining quality of service, considering user authentication and privacy, and identifying any constraints on data syntax. Everything at this layer is application-specific.

This layer provides application services for file transfers, e-mail, and other network software services. Examples of applications existing entirely at this... Continue reading "The 7 Layers of the OSI Model Explained for Networking Professionals" »

The Scrum Guide: Framework for Delivering High-Value Products

Classified in Computers

Written on in English with a size of 4.04 KB

The Scrum Guide

Framework for developing and sustaining complex adaptive problems, while productively and creatively delivering products of the highest possible value. Scrum is lightweight, simple to understand and difficult to master.

The Scrum Team

The Scrum Team: Self-organizing teams choose how best to accomplish their work, rather than being directed by others outside the team. It is designed to optimize flexibility, creativity, and productivity. It consists of:

  • The Product Owner: Responsible for maximizing the value of the product and the work of the team. Responsible for managing the Product Backlog.
  • The Development Team: Professionals who do the work of delivering a potentially releasable increment of 'Done' product at the end of each Sprint.
... Continue reading "The Scrum Guide: Framework for Delivering High-Value Products" »

Software Development and Ethics: A Comprehensive Overview

Classified in Computers

Written on in English with a size of 5.33 KB

What is a software and what is a good software?

A software is a program on a computer which contains information and data. A good software is the one that fulfills the needs and hasn’t got bugs.

Software vs Hardware

Software: not touchable, variable and implemented in order to achieve goals. Hardware: invariable

SOFTWARE ETHICS:

  • Confidentiality - Not telling the others because they can copy.
  • Competence - To know what you’re doing.
  • Intellectual property rights - not steal others ideas because it’s not moral.
  • Computer misuse - don’t do things that you are not allowed to.
  • Stuxnet: virus that will destroy softwares and hardwares.

SOFTWARE EVALUATION PROCESS:

  • Specification: What do I need?
  • Development: The programmer does it.
  • Validation: Does it work?
... Continue reading "Software Development and Ethics: A Comprehensive Overview" »

Unit 12: Web Vocabulary & CMS Comparison

Classified in Computers

Written on in English with a size of 2.83 KB

Unit 12: Web Vocabulary & CMS Comparison

Vocabulary

  1. Scripting languages — interpreted.
  2. Get out stuff.
  3. Browser-encoded docs.
  4. Programming model: dataflow.
  5. Architecture underlying.
  6. Retrieve: Shift key.
  7. Relieves infrastructure.
  8. Message board: online discussion.
  9. Responsive web design — viewed response.
  10. Spreadsheet: financial planning.

Language Focus

1

  1. The program will prompt you with a message if you try to exit the setup program.
  2. If the system detects installed devices, the driver's menu will show the available device drivers.
  3. You can change the value of a field if the item is configurable.
  4. If any of the components are defective, the problem will usually show up in the burn-in process.
  5. If this utility finds there is missing software, it lists the missing
... Continue reading "Unit 12: Web Vocabulary & CMS Comparison" »

C++ Array and Vector Operations: Unique Elements & Bubble Sort

Classified in Computers

Written on in English with a size of 5.77 KB

C++ Code Examples: Data Filtering and Sorting

This document presents two fundamental C++ programming examples. The first demonstrates how to process user input to extract and display only unique integer values, effectively removing duplicates. The second illustrates the classic Bubble Sort algorithm for arranging elements in ascending order within a std::vector.

Filtering Duplicate Integers in C++

This C++ program prompts the user to enter 20 integers. It then processes these inputs to identify and store only the unique values, discarding any duplicates. Finally, it displays the list of non-duplicate integers.

Program Description: Unique Element Extraction

  • Initializes an array a of size 20 to store unique elements, along with a subscript to track
... Continue reading "C++ Array and Vector Operations: Unique Elements & Bubble Sort" »