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

Sort by
Subject
Level

Digital Media Fundamentals: Audio, Video, and Compression Standards

Classified in Computers

Written on in English with a size of 6.6 KB

This section addresses key concepts regarding digital media processing, file formats, and data requirements.

  1. Stereo vs. Mono Audio Data Requirements

    Question: What is the difference between stereo and mono audio?

    Answer: Stereo audio usually requires twice as much data as mono audio.

  2. Quickest Audio Format for Web Download

    Question: Which audio format would be quickest to download from a website?

    Answer: AAC (Advanced Audio Coding).

  3. Audio File Format Compatibility

    Statement: All audio file formats will work on all media players.

    Answer: FALSE. Compatibility depends on the specific media player and the codecs supported.

  4. Defining Bit Depth

    Question: What is bit depth?

    Answer: Bit depth is the number of bits it is possible to have in each sample or frame of

... Continue reading "Digital Media Fundamentals: Audio, Video, and Compression Standards" »

Essential Python Programming Snippets and Algorithms

Classified in Computers

Written on in English with a size of 3.17 KB

Jabber JID to Email Conversion

def jid2email(jid):
    email = jid[:jid.find('/')]
    return email

if __name__ == '__main__':
    jabber = '[email protected]/quertyy'
    print(jid2email(jabber))

Lists vs. Tuples

Lists are mutable and can be changed by internal operations, whereas tuples are immutable.

Remove Duplicates from String

def remove_dup(string):
    result = []
    for char in string:
        if char not in result:
            result.append(char)
    return ''.join(result)

Identical Character Count

def count_max(in_string):
    d = dict()
    for c in in_string:
        d[c] = d.get(c, 0) + 1
    return max(d.items(), key=lambda x: x[1])

# Using collections
from collections import Counter
def counter_max(in_string):
    return Counter(in_
... Continue reading "Essential Python Programming Snippets and Algorithms" »

Authentication vs Authorization: Security Concepts Explained

Classified in Computers

Written on in English with a size of 2.6 KB

Authentication vs. Authorization: Key Differences

Authentication is the process of verifying that an entity is who they claim to be. Authorization refers to the rules that determine what an authenticated user is permitted to do. For example, Adam may be authorized to create and delete databases, while Usama is only authorized to read them.

These two concepts are orthogonal and independent, yet both are central to security design. Failure to implement either correctly creates vulnerabilities.

Alternative Perspectives on Identity

  • Authentication binds a principal to an internal identity representation.
  • Authentication verifies an external entity using factors such as what the entity knows, has, or is.
  • Authorization verifies the role of an entity to determine
... Continue reading "Authentication vs Authorization: Security Concepts Explained" »

Essential Definitions and Theorems in Graph Theory

Classified in Computers

Written on in English with a size of 103.48 KB

M1: Fundamental Graph Definitions

Walks, Paths, and Circuits

Walk

A Walk is a finite alternating sequence of vertices and edges, beginning and ending with vertices, such that each edge is incident with the vertices preceding and following it. No edge appears more than once in a walk, though a vertex may appear multiple times.

  • Closed Walk: A walk that begins and ends at the same vertex.
  • Open Walk: A walk that begins and ends at different vertices.

Path

A Path is an open walk in which no vertex appears more than once. The number of edges in a path is called the length of the path. A self-loop can be included in a walk but not in a path. The terminal vertices of a path are of degree 1, and the remaining intermediate vertices are of degree 2.

Circuit

A... Continue reading "Essential Definitions and Theorems in Graph Theory" »

Layered Security Model and IT Infrastructure Best Practices

Classified in Computers

Written on in English with a size of 4.11 KB

10LayerModelSecurity,10Security policies and mandates.9,Oversight of end-to-end processes to ensure compliance with enterprise security policies. Audit trails for the threads.8Security roles and responsibilities. Standard security practices as they relate to activities and exchanges. Security Architecture. Personnel security requirements. 3.10. Management7Application service security (e.g., integrity of the service and application code) and content security (e.g., security labels). Security of user access to IT. Privilege management. 6Framework service security (e.g., integrity of the service and application code of the framework). Content security labeling service and label checking service. Software-based content encryption/decryption services... Continue reading "Layered Security Model and IT Infrastructure Best Practices" »

Essential Computing Terminology and Definitions

Classified in Computers

Written on in English with a size of 3.31 KB

Word Processing

  • Word processing program: A computer utility that allows you to create, edit, and save documents.
  • Format: A specific way in which a document is stored.
  • Spell check: A program utility that corrects misspelled words.
  • Template: A predesigned document with gaps to be filled in.
  • Font: A specific style of typeface used for documents.
  • Compatibility: The ability of a word processing program to open documents created by other software.
  • Layout: The arrangement of text and images on a page.
  • Macro: Frequently used sequences of commands or text.

Email

  • Email client: A program that saves, sends, and receives emails.
  • Domain name: Words or letters used to identify companies and addresses.
  • Password: Letters or numbers that allow a person to access an account.
... Continue reading "Essential Computing Terminology and Definitions" »

Software Engineering Concepts: A Comprehensive Guide

Classified in Computers

Written on in English with a size of 7.04 KB

Module 9: Firebase Application

Realtime Database

A cloud-hosted database. Data is stored as JSON and synchronized in real-time to every connected client. Provides easy-to-use services for authentication (email/password, 3rd-party providers like Google/Facebook).

Cloud Firestore

A flexible and scalable database for mobile, web, and development. It offers synchronization, offline support, and ACID transactions.

Cloud Functions

...

Hosting

CSS/JavaScript

Cloud Storage

Provides robust, secure file uploads and downloads for Firebase apps.

Module 10: UML Diagrams

Structural Diagrams

  • Class Diagram: Shows class hierarchy, fields/attributes, and relevant methods.

How to Read

  • Visibility:
    • +: Public
    • -: Private
    • #: Protected (accessed only by child classes)
  • Relationships:
... Continue reading "Software Engineering Concepts: A Comprehensive Guide" »

Revit Elements and Tools: A Comprehensive Dictionary

Classified in Computers

Written on in English with a size of 4.2 KB

Annotation Elements

Used to notate and clarify the information presented.

Annotate Ribbon

Buttons: Aligned, Linear, Angular, Radial, Diameter, Arc Length, Spot Elevation, Spot Coordinate, Spot Slope, Detail Line, Region, Component, Revision Cloud, Detail Group, Insulation, Text, Check Spelling, Find/Replace, Tag By Category, Tag All, Beam Annotations, Multi-Category, Material Tag, Area Tag, Room Tag, Space Tag, View Reference, Tread Number, Keynote, Duct Legend, Pipe Legend, Color Fill Legend, and Symbol.

Annotate Ribbon Tab

Panels: Dimension, Detail, Text, Tag, Color Fill, and Symbol.

Application Menu

File access and management tools are grouped in this menu. This menu is designated by the large ‘R’ in the top left corner of the Revit screen.... Continue reading "Revit Elements and Tools: A Comprehensive Dictionary" »

Advantages of E-Governance and PHP Features

Classified in Computers

Written on in English with a size of 2.72 KB

Advantages of E-Governance

  • Improves delivery and efficiency of government services.
  • Improved government interactions with business and industry.
  • Citizen empowerment through access to information.
  • More efficient government management

Features of PHP

  • Simple: It is very simple and easy to use, as compared to other scripting languages.
  • Interpreted: It is an interpreted language, i.e. there is no need for compilation.

Supported Datatypes in PHP

  • String: A string is a sequence of characters. A string can be any text inside quotes. You can use single or double-quotes.
  • Integer: An integer data type is a non-decimal number between -2,147,483,648 and 2,147,483,647.
  • Float (floating point numbers): A float (floating-point number) is a number with a decimal point or
... Continue reading "Advantages of E-Governance and PHP Features" »

Frame Relay क्या है? फायदे और नुकसान (हिंदी में पूरी जानकारी)

Classified in Computers

Written on in English with a size of 5.48 KB

Network Protocols (नेटवर्क प्रोटोकॉल)

Frame Relay क्या है? (What is Frame Relay in Hindi)

Frame Relay एक तेज गति का packet switching प्रोटोकॉल है जिसका प्रयोग Wide Area Networks (WANs) में किया जाता है। इसके अलावा, यह दो या दो से अधिक Local Area Networks (LANs) के बीच data को transfer करता है।

Frame Relay एक packet switched टेक्नोलॉजी है। इसे Local Area Networks के बीच कम खर्च में data transfer करने के लिए design किया गया था। साथ ही,... Continue reading "Frame Relay क्या है? फायदे और नुकसान (हिंदी में पूरी जानकारी)" »