Notes, summaries, assignments, exams, and exercises for Computers for Baccalaureate

Sort by
Subject
Level

Inference Techniques, Bayesian Networks, and FOL in AI

Posted by Anonymous and classified in Computers

Written on in English with a size of 11.63 KB

Forward and Backward Chaining in AI

Inference engines in Artificial Intelligence use reasoning techniques to derive new information from existing facts. Two primary methods for this are Forward Chaining and Backward Chaining.

Forward Chaining (Data-Driven)

Forward Chaining is a data-driven inference technique used in Artificial Intelligence and Expert Systems. It starts with the known facts (initial data) and repeatedly applies inference rules to derive new facts until the desired goal is reached or no more rules can be applied.

It is called data-driven because the reasoning process begins with the available data and moves forward toward a conclusion.

Forward Chaining Algorithm

  1. Start with the known facts in the knowledge base.
  2. Find all rules whose
... Continue reading "Inference Techniques, Bayesian Networks, and FOL in AI" »

Essential IT Project Management Frameworks and Practices

Posted by Anonymous and classified in Computers

Written on in English with a size of 8.73 KB

Waterfall Model Phases and Deliverables

The Waterfall model follows a sequential process where each phase must be completed before the next begins. Deliverables serve as proof of completion:

  • Requirements: Requirements Specification document
  • Design: System/architecture design document
  • Implementation: Working source code
  • Testing: Test report
  • Deployment: Live released system
  • Maintenance: Bug-fix and update log

Scrum Sprint Plan (2-Week Sprint)

Sprint Goal: Deliver a working login and registration feature.

User Stories:

  1. As a user, I can register with email and password.
  2. As a user, I can log in.
  3. As a user, I can reset my password.

Daily Standup: Every day at 10:00 AM for 15 minutes. The sprint concludes with a review and retrospective.

Kanban Board Structure

Columns:

... Continue reading "Essential IT Project Management Frameworks and Practices" »

How to Create a Professional Software Test Plan

Posted by Anonymous and classified in Computers

Written on in English with a size of 11 KB

How to Prepare a Professional Test Plan

To prepare a solid, professional Test Plan, you need to gather specific project inputs and organize them into a structured document. Below is the step-by-step process of how a Test Plan is prepared, followed by a standard template you can use.

The Step-by-Step Preparation Process

  • Analyze the Product/Requirements: Review the software requirement specifications (SRS), design documents, or user stories. You cannot plan testing until you fully understand what the software is supposed to do.
  • Design the Test Strategy: Determine the types of testing required (Functional, UI, Performance, Security, etc.) and whether you will use manual testing, automation, or a mix of both.
  • Define Test Objectives & Scope: Clearly
... Continue reading "How to Create a Professional Software Test Plan" »

V-Model and Black Box Testing in Software Engineering

Posted by Anonymous and classified in Computers

Written on in English with a size of 9.26 KB

The V-Model (also known as the Verification and Validation Model) is a highly structured Software Development Life Cycle (SDLC) framework. It is an extension of the traditional Waterfall model, where instead of moving down in a linear fashion, the process steps bend upward after the coding phase to form a V shape. The core philosophy of the V-Model is that testing activities are planned and paired directly with their corresponding development phases right from the beginning.

The Two Arms of the V-Model

The V-Model is divided into two main tracks, separated by the execution of the actual code:

1. The Left Arm: Verification Phase

Verification happens before code execution. It involves static testing techniques like reviews, walkthroughs, and inspections... Continue reading "V-Model and Black Box Testing in Software Engineering" »

White Box Testing Techniques and Unit Testing Principles

Posted by Anonymous and classified in Computers

Written on in English with a size of 8.98 KB

What is White Box Testing?

White Box Testing (also known as Clear Box, Glass Box, Structural, or Open Box Testing) is a software testing method where the internal structure, design, and implementation of the code are fully visible and known to the tester. Unlike Black Box testing, where you only focus on inputs and outputs, White Box testing requires you to look "under the hood." The tester inspects the actual source code, control flows, data structures, and logic paths to ensure everything operates correctly, securely, and efficiently.

The Need for White Box Testing

While Black Box testing ensures that the software satisfies the user's requirements, White Box testing is essential to guarantee internal code quality and stability. Here is why it... Continue reading "White Box Testing Techniques and Unit Testing Principles" »

Networking Fundamentals: OSI, TCP/IP, and Topologies

Posted by Anonymous and classified in Computers

Written on in English with a size of 2.75 KB

OSI Model and Its Seven Layers

The OSI (Open Systems Interconnection) Model is a conceptual framework used to understand and standardize how different networking protocols interact and communicate. It consists of 7 layers:

  1. Physical Layer: Hardware transmission (bits).
  2. Data Link Layer: Error-free data transfer (frames).
  3. Network Layer: Path determination and IP addressing (packets).
  4. Transport Layer: End-to-end connection and reliability (segments).
  5. Session Layer: Managing communication sessions.
  6. Presentation Layer: Data translation and encryption.
  7. Application Layer: User interface and network services (HTTP, FTP).

TCP/IP Model Architecture

The TCP/IP Model is a four-layer architecture used for the modern internet.

Explanation of Two Key Layers

  • Application
... Continue reading "Networking Fundamentals: OSI, TCP/IP, and Topologies" »

Graph Theory Fundamentals

Posted by Anonymous and classified in Computers

Written on in English with a size of 3.51 KB

  • Graph (G): A pair (V, E) where V is a set of vertices and E is a set of edges connecting pairs of vertices.
  • Types of Graphs:
    • Simple Graph: No loops or multiple edges.
    • Multigraph: Multiple edges allowed.
    • Directed Graph (Digraph): Edges have directions.
    • Weighted Graph: Edges have weights.

Understanding Subgraphs

  • Subgraph: A graph H is a subgraph of G if V(H) ⊆ V(G) and E(H) ⊆ E(G).
  • Induced Subgraph: Formed by a subset of vertices and all edges between them in G.

Fundamental Graph Properties

  • Order: Number of vertices (|V|).
  • Size: Number of edges (|E|).
  • Degree: Number of edges incident to a vertex.

Common Graph Examples

  • Complete Graph (Kn): Every pair of vertices is connected.
  • Cycle Graph (Cn): Forms a closed loop.
  • Path Graph (Pn): A sequence of vertices connected
... Continue reading "Graph Theory Fundamentals" »

Software Design Patterns: Principles and Implementation

Posted by Anonymous and classified in Computers

Written on in English with a size of 4.92 KB

Software Design Patterns and Architecture (CSC3324)


Defining Software Design Patterns

  • A reusable solution to a recurring design problem.

  • It reuses abstract knowledge about problems and solutions.

  • Independent of specific implementations, it acts as a template.

  • It utilizes Object-Oriented Programming (OOP) features such as inheritance and polymorphism.


The Christopher Alexander Definition

“Each pattern describes a problem which occurs over and over again... and then describes the core of the solution... you can use this solution a million times over without doing it the same way twice.”


Architecture vs. Design Patterns

AspectArchitectureDesign Patterns
LevelHigh-levelLower-level (Micro-architecture)
PurposeStructure of the whole applicationSolve subproblems
... Continue reading "Software Design Patterns: Principles and Implementation" »

Software Architecture Essentials: Design Principles & Patterns

Posted by Anonymous and classified in Computers

Written on in English with a size of 7.09 KB

Software Architecture Fundamentals

  • Definition (IEEE): The fundamental organization of a software system, including components, their relationships, and design principles.

  • Purpose: To ensure reliability, efficiency, security, and maintainability.


Architectural Design Process

  • Goal: Design the system’s overall structure and its communication.

  • Outputs: An architectural model showing component interaction.

  • Key Link: Connects requirements to design.


Software Architecture Documentation

  • Includes:

    • Product Overview

    • Static and Dynamic Architectural Models

    • Mapping Between Models

    • Design Rationale


Architectural Abstraction Levels

  • In the Small: Structure of a single program.

  • In the Large: Structure of enterprise-level systems across networks.


Benefits of Explicit Architecture

  • Stakeholder

... Continue reading "Software Architecture Essentials: Design Principles & Patterns" »

ADO.NET DataReader vs DataSet: Choosing the Right Data Object

Posted by Wikiteka Community and classified in Computers

Written on in English with a size of 2.89 KB

DataReader Object in ADO.NET

The DataReader object in ADO.NET is used to read data from a data source in a fast, forward-only, and read-only manner. It is ideal for scenarios where you need to retrieve large amounts of data efficiently without storing it entirely in memory.

Key Characteristics of DataReader

  • Forward-Only: The DataReader allows data to be read only in a forward direction. Once a record is read, you cannot go back to previous records.
  • Read-Only: The data fetched through the DataReader cannot be modified. It is designed purely for reading data.
  • Connected Architecture: The DataReader works with an open connection to the data source. The connection remains open as long as the DataReader is being used, making it a connected object.
  • Efficient
... Continue reading "ADO.NET DataReader vs DataSet: Choosing the Right Data Object" »