Operating Systems Concepts Review

Process State Transitions

In Figure below, three process states are shown. In theory, with three states, there could be six transitions, two out of each state. However, only four transitions are shown. Are there any circumstances in which either or both of the missing transitions might occur?

Figure: A process can be in a running, blocked, or ready state. Transitions between these states are as shown.

  1. Process blocks for input
  2. Scheduler picks another process
  3. Scheduler picks this process
  4. Input becomes available

The

Read More

Computer Organization and Architecture Fundamentals

Basic Concepts

  1. Computer technology is changing at a rapid pace.
  2. Computer architecture refers to those attributes that have a direct impact on the logical execution of a program.
  3. Architectural attributes include I/O mechanisms.
  4. Organizational attributes include hardware details transparent to the programmer.
  5. It is an architectural design issue whether a computer will have a multiply instruction.
  6. It is an organizational issue whether the multiply instruction will be implemented by a special multiply unit
Read More

Variables in Programming Languages: A Comprehensive Guide

Von Neumann Bottleneck

The speed of connection between memory and the processor is slower than the speed at which instructions can be executed.

Compiler Implementation

A program is translated into machine language, which can be directly executed (e.g., C, COBOL, C++, ADA).

Interpretation

No translation is performed; the program is interpreted by another program (e.g., JavaScript, PHP).

Hybrid Implementation

High-level language programs are interpreted into an intermediate language that can be easily interpreted.

Read More

Software Engineering Fundamentals: A Comprehensive Guide

What is Required to Begin Requirements Elicitation?

A problem statement

What Defines a Project?

  • Deliverables to a client
  • Schedule
  • Technical and managerial activities
  • Resources consumed

Roles and Responsibilities

A role defines a set of responsibilities (“to-dos”)

Planned Communication

  • Problem inspection: Developers gather information from the problem statement, the client, and the user about their needs and the application domain.
  • Status meetings: Teams review their progress.
  • Peer reviews: Team members identify
Read More

Cisco Switch Configuration: Security, VTP, STP, and Port Channels

Cisco Switch Configuration

Hostnames and Passwords

Hostname Configuration

Switch>enable

Switch#configure terminal

Switch(config)#hostname DLS1

DLS1(config)#

Enable Secret and Console Password

DLS1(config)#enable secret cisco

DLS1(config)#line console 0

DLS1(config-line)#login

Remote Access Configuration

Telnet Access

DLS1(config)#line vty 0 4

DLS1(config-line)#password cisco

DLS1(config-line)#login

SSH Access

DLS1(config)#ip domain-name prueba.com

DLS1(config)#crypto key generate rsa

DLS1(config)#line vty 0 4

DLS1(

Read More

Database Management Systems: A Comprehensive Guide

What is a Kiosk?

A kiosk is a computer terminal featuring specialized hardware and software designed within a public exhibit that provides access to information and applications for communication, commerce, entertainment, and education.

Data Definition Language (DDL)

A data definition language or data description language (DDL) is a standard for commands that define the different structures in a database. DDL statements create, modify, and remove database objects such as tables, indexes, and users.

Read More