JavaScript and Dynamic HTML: Create Interactive Web Pages

Chapter 6

Dynamic Documents with JavaScript

Introduction

  • A dynamic HTML document is one whose tag attributes, tag contents, or element style properties can be changed after the document has been and is still being displayed by the browser.
  • Dynamic, interactive, animated.
  • Many previous w3schools.com examples were dynamic, changing the content of elements, CSS style properties, etc.
  • Changes to documents can occur when they are requested by user interactions, at regular timed intervals, or when browser events
Read More

Microprocessor and Computer Architecture Fundamentals

Lecture 1: Microprocessor and Computer Architecture

Flynn’s Classification of Computing Systems

  • SISD (Single Instruction, Single Data)
  • MISD (Multiple Instruction, Single Data)
  • SIMD (Single Instruction, Multiple Data)
  • MIMD (Multiple Instruction, Multiple Data)

Microprocessor vs. Microcontroller

A microprocessor is a CPU on a single chip.

A microcontroller includes a microprocessor, supporting circuitry, memory, and peripheral I/O components in a single chip.

Microprocessor Types

Microprocessors are classified

Read More

Cybersecurity Best Practices: Passwords, Encryption, and More

Password Security Best Practices

A password should be difficult for a computer program to guess.

  • Make it long: The longer a password is, the less likely it is that a computer program would be able to guess it in a reasonable amount of time. You should try to create passwords that include ten or more characters.
  • Make it complex: In addition to length, the complexity of a password also helps prevent automatic ‘password cracking’ software from guessing the right combination of characters.
  • Make it practical:
Read More

Essential Computer Components and Programming Languages

Major Components of a Computer

All general-purpose computers require the following hardware components:

  • Central Processing Unit (CPU): The ‘brain’ of the computer, the component that actually executes instructions.
  • Memory: Enables a computer to store, at least temporarily, data and programs.
  • Input Device: Usually a keyboard or mouse, used to read data and programs into the computer.
  • Output Device: A display screen, printer, etc., that lets you see what the computer has accomplished.
  • Mass Storage Device:
Read More

Parallax Propeller C Code Examples

Index Array Variables

This code demonstrates how to initialize and iterate through an integer array in C for the Parallax Propeller microcontroller.

int main() // Main function
{
  int p[] = {1, 2, 3, 5, 7, 11}; // Initialize the array
  for(int i = 0; i < 6; i++) // Count i from 0 to 5
  {
    print("p[%d] = %d\n", i, p[i]); // Display array element & value
    pause(500); // 1/2 second pause
  }
}

Scan to Integer

This example shows how to prompt a user for input, scan an integer value, and

Read More

ArcView Project Management: Components, File Types, and Data Handling

ArcView Project Components

  • Layout: Preparing a map for inclusion in a report.
  • View: Create and open a map.
  • Chart: Create a statistical graph.
  • Script: Create scripts in Avenue programming language.
  • Dialogs: Define scale and personalize dialogues.
  • Table: Create and/or open a database table.

ArcView Project File Types

The following file types can be opened by the system:

APR, SHP, FBD, DWF, DXF

Transferring ArcView Projects

To ensure an APR project opens correctly on another computer, keep all project files in

Read More