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

Sort by
Subject
Level

Understanding Operating Systems: Traps, Interrupts, System Calls, and Threads

Classified in Computers

Written on in English with a size of 3.94 KB

What is the Key Difference Between a Trap and an Interrupt?

A trap is caused by the program and is synchronous with it. If the program is run again and again, the trap will always occur at exactly the same position in the instruction stream. An interrupt is caused by an external event and its timing is not reproducible.

Why is the Process Table Needed in a Timesharing System?

The process table is needed to store the state of a process that is currently suspended, either ready or blocked. It is not needed in a single-process system because the single process is never suspended.

Is the Process Table Needed in Personal Computer Systems With Only One Process?

No, it is not needed in a single-process system because the single process is never suspended.... Continue reading "Understanding Operating Systems: Traps, Interrupts, System Calls, and Threads" »

Thread Synchronization, Priority Inversion, and CPU Efficiency

Classified in Computers

Written on in English with a size of 2.18 KB

Can the Priority Inversion Problem Happen with User-Level Threads?

The priority inversion problem occurs when a low-priority process is in its critical region and suddenly a high-priority process becomes ready and is scheduled. With user-level threads, it cannot happen that a low-priority thread is suddenly preempted to allow a high-priority thread to run. There is no preemption. With kernel-level threads, this problem can arise.

Does Round-Robin Scheduling Resolve Priority Inversion?

Round-robin scheduling can resolve the issue. Sooner or later, the low-priority process will run and eventually leave its critical region. With priority scheduling, the low-priority process never gets to run at all; with round-robin, it gets a normal time slice periodically,... Continue reading "Thread Synchronization, Priority Inversion, and CPU Efficiency" »

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

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

I is correct ii is correct

Classified in Computers

Written on in English with a size of 1.03 KB

People often relate to and interact with other people through social networks, but I don't think it's the best way to relate.
Firstly, social networks allow us to communicate at all times regardless of the separation distance. In addition it facilitates socialization to shy people.

Secondly, social networks in their correct use allow us to be informed at the moment of everything that happens in our environment. Further by means of social networks we can meet many new people even find love.

It is clear that social networks are very present in today's society and give us great advantages.
However, in some cases they can take us away from the closest people (family), so we never have to stop communicating orally with the closest people.

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 Vocabulary: Scripting Languages, Dataflow, and Architecture

Classified in Computers

Written on in English with a size of 2.62 KB

Unit 12 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.

10. Spreadsheet Financial Planning

Language Focus

1.‐a.‐The program will prompt you with a message if you try to exit the set‐up program.

b.‐If the system detects installed devices, the driver’s menu will show the available device drivers.

c.‐You can change the value of a field if the item is configurable.

d.‐If any of the components are defective, the problem will usually show up in the burn‐in process.

e.‐If this utility finds there is missing software, it lists the missing software... Continue reading "Unit 12 Vocabulary: Scripting Languages, Dataflow, and Architecture" »

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

Classified in Computers

Written on in English with a size of 3.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" »