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

Intel 8051 Microcontroller Architecture and Features

Computer science3.35 KB

The Intel 8051 is an 8-bit microcontroller, meaning most available operations are limited to 8 bits. There are three basic "sizes" of the 8051: Short, Standard, and Extended. The Short and Standard chips are often available in DIP (Dual In-line Package) form, but the Extended 8051 models often have a different form factor and are not "drop-in compatible."

Key Features of the Intel 8051

  • 4 KB on-chip program memory.
  • 128 bytes on-chip data memory (RAM).
  • 32 bytes devoted to register banks.
  • 16 bytes of bit-addressable memory.
  • 80 bytes of general-purpose memory.
  • Four register banks.
  • 128 user-defined software flags.
  • 8-bit data bus.
  • 16-bit address bus.
  • 16-bit timers (usually 2, but may have more or less).
  • 3 internal and 2 external interrupts.
  • Bit as well as byte-
...
Continue reading "Intel 8051 Microcontroller Architecture and Features" »

Microprocessor Techniques: Binary Codes and Instruction Execution

Computer science3.82 KB

The application of several binary codes in microprocessor technique

Nbà + integer arithmetic, table/matrix indexing, event counting., C2à integer arithmetic, exponents in floating point notation.,Bcdà Faults:not effetive use of binary Word, absence of sign., Grayà code disksor bars to control position of moving elements., AScià Communication(text), service of: mosaic display, printers, autonomous keyboards.

Neuman:

It has a single storage system, Processor needs two clocks cycles. Dont use pipeline, Only one bus is used for both data transfers, older

Harvards:

It has two separated memories, 1 cycle if appropiate pipeling strategies, It has separate data and instruction busses, modern

Enumerate the phases of processor instruction execution.

Instruction...

Continue reading "Microprocessor Techniques: Binary Codes and Instruction Execution" »

Embed and Link Objects in Presentations: Best Practices

Computer science3.01 KB

Inserting Tables into Slides

In the Insert Object dialog box, click the Create From File option and click Browse to locate and choose the document or spreadsheet that contains the table. By default, the presentation software will insert the table. When you click OK, the entire document or spreadsheet is imported to your slide. Double-click the inserted text to remove extra text if the document contains more than the table. If you check the Link checkbox while inserting, after you update the table in the document or spreadsheet, then right click on the imported table in the presentation software, and select the option Update Link, the embedded table gets updated automatically. Drag and drop the table on the slide to position it.

Chart Design Principles

Convey...

Continue reading "Embed and Link Objects in Presentations: Best Practices" »

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

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

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

Understanding the C Programming Language: History and Structure

Computer science12.78 KB

That's a great request! C is a foundational language in computer science. Here is a comprehensive look at C, covering its history, importance, structure, and fundamental components.
📜 History of C
C is a general-purpose, procedural computer programming language developed in the early 1970s by Dennis Ritchie at Bell Labs.
 

  • Origin: It was primarily developed to write the UNIX operating system, which was previously written in assembly language.
  • Predecessors: C evolved from earlier languages:
    • ALGOL 60 (1960)
    • CPL (Combined Programming Language, 1963)
    • BCPL (Basic CPL, 1967)
    • B (developed by Ken Thompson, 1970)
  • Standardization: The language was later standardized by the American National Standards Institute (ANSI) in 1989, resulting in ANSI C or C89. This
...
Continue reading "Understanding the C Programming Language: History and Structure" »

Intel 8086 Microprocessor Architecture Explained

Computer science3.48 KB

Introduction to the Intel 8086

The Intel 8086 is a 16-bit microprocessor introduced in 1978 by Intel Corporation. It is a foundational member of the x86 family of processors, which has significantly influenced the development of modern personal computers. The architecture of the Intel 8086 microprocessor is based on the von Neumann model and consists of several key components, including the Arithmetic Logic Unit (ALU), Control Unit, Registers, Bus Interface Unit, and Clock.

Arithmetic Logic Unit (ALU)

The ALU is responsible for performing arithmetic and logical operations on data stored in registers or memory locations. Its capabilities include:

  • Adders for addition and subtraction
  • Multipliers for multiplication and division
  • Logical gates for AND,
...
Continue reading "Intel 8086 Microprocessor Architecture Explained" »

Public vs. Private Blockchains: Understanding the Key Differences

Computer science2.03 KB

1. What is a Public Blockchain?

Public blockchains are open networks that allow anyone to participate. This permissionless nature means anyone can join the network and read, write, or participate in the blockchain.

Public blockchains are decentralized, meaning no single entity controls the network. Data on a public blockchain is secure because it is virtually impossible to modify or alter data once validated on the blockchain.

Features of Public Blockchains:

  • High Security: Secured by mining and the 51% rule.
  • Open Environment: Open for anyone to join.
  • Anonymous Nature: Participants can remain anonymous, enhancing privacy.
  • No Regulations: No strict regulations on platform usage.
  • Full Transparency: The ledger is publicly viewable, ensuring transparency.
...
Continue reading "Public vs. Private Blockchains: Understanding the Key Differences" »

Web Security: Confidentiality, Authentication, and Protection Measures

Computer science3.48 KB

Web Security

Confidentiality: only authorized users should have access to the data

Authentication: each user must be confirmed to be who they say they are through their digital identity

Authorization: access to the different services must be conditioned by the identity and permissions attributed to each user

Integrity: the data sent must be the same as those received, avoiding manipulation or corruption

Availability: quality or condition of the information to be available to those who must access it.


Security Threats: the security of a network is exposed

Logical Causes:

This is the software that can attack the computer: malware, spam, viruses, programming errors…

Human Causes:

These are users who can damage the system: inexperienced users, hackers,...

Continue reading "Web Security: Confidentiality, Authentication, and Protection Measures" »