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

Sort by
Subject
Level

Understanding Operating Systems: File, Task, and User Management

Classified in Computers

Written on in English with a size of 2.74 KB

File Management

File management is the system an operating system uses to organize and keep track of data. The operating system stores data in units called files, determines how files are stored, efficiently uses available storage space, creates a record of all file usage, and carries out every task related to files and folders.

File names typically have this structure:

filename.extension

Task and User Management

Task Management

Task management is the part of the operating system that controls the running of one or more programs on a computer simultaneously. Today's widely used operating systems support multitasking, allowing multiple tasks to run concurrently, taking turns using the computer's resources.

User Management

With user management, the operating... Continue reading "Understanding Operating Systems: File, Task, and User Management" »

Digital Certificates, HTTPS, and Spyware Protection Explained

Classified in Computers

Written on in English with a size of 2.2 KB

Understanding Digital Certificates

A digital certificate (or electronic certificate) is a computer file generated by a certification authority that associates identity data with a natural person, organization, or company, confirming their digital identity on the internet.

What Is Code Signing?

Code signing is a method that uses a certificate-based digital signature to sign executables and scripts. This process verifies the author’s identity and ensures the code has not been altered or corrupted since it was signed. This helps users and software determine whether an application can be trusted.

HTTPS and SSL Encryption

HTTPS (Hypertext Transfer Protocol Secure) is an extension of HTTP that utilizes SSL (Secure Sockets Layer) encryption. It creates... Continue reading "Digital Certificates, HTTPS, and Spyware Protection Explained" »

C++ Loops and File Handling: A Deep Dive

Classified in Computers

Written on in English with a size of 4.31 KB

C++ Loops: While, Do-While, and For

While Loop Format

while (condition)
{
    statements(s);
}

How While Loop Works

If the condition is true, the statement(s) are evaluated again. If false, the loop is exited.

While Loop Example

int val = 5;
while (val >= 0)
{
    cout << val << " ";
    val = val - 1;
}

A while loop is a pretest loop (the condition is evaluated before the loop executes).

  • If the condition is initially false, the statement(s) in the body of the loop are never executed.
  • If the condition is initially true, the statement(s) in the body will continue to be executed until the condition becomes false.

The loop must contain code to allow the condition to eventually become false so the loop can be exited. Otherwise, you have... Continue reading "C++ Loops and File Handling: A Deep Dive" »

Essential Sorting Algorithms and String Processing

Classified in Computers

Written on in English with a size of 2.29 KB

Sorting Fundamentals

  • Stable sorting: Relative order is preserved.
  • In-place: Input and output occupy the same memory space.
  • Lower bound: N lg N for any comparison-based algorithm.

Common Sorting Algorithms

  • Insertion Sort
  • Merge Sort
  • Quick Sort: Often cited as the most important algorithm of the 21st century.
    • Recursive approach; processes data after the work is done.
    • Uses a random pivot to partition the list into two unsorted sublists, which are then sorted recursively.
  • Bubble Sort: A simple, greedy approach to sorting.
  • Heap Sort

String Sorting Techniques

Specific properties of strings allow for faster sorting than general-purpose algorithms.

Strings in Java

  • Strings are immutable sequences of 16-bit characters.
  • Operations: Length (1), Indexing (1), Concatenation
... Continue reading "Essential Sorting Algorithms and String Processing" »

Windows Server Configuration Scenarios for IT Professionals

Posted by vinnyaguiar and classified in Computers

Written on in English with a size of 4.8 KB

Trey Research

  • Deploy a Network Load Balancing (NLB) cluster using an .msi file.
  • Minimize the number of Virtual Machines (VMs).
  • Configure Special Auditing.
  • Install Remote Server Administration Tools (RSAT).
  • Configure Distributed File System (DFS) Replication.
  • Configure a DFS Namespace.

Proseware, Inc.

  • Create Data Collector Sets.
  • Configure settings on a Remote Desktop (RD) Virtualization Host.
  • Use dynamically expanding Virtual Hard Disks (VHDs).
  • Deploy applications using RemoteApp.
  • Apply Windows Management Instrumentation (WMI) filtering to Group Policy Objects (GPOs).
  • Manage Local Users and Groups.
  • Configure Windows Search Service on the file server and add the Legal share to the index for legal department clients.

School of Fine Art

  • Configure printer driver
... Continue reading "Windows Server Configuration Scenarios for IT Professionals" »

Understanding MapReduce Design Patterns

Classified in Computers

Written on in English with a size of 18.71 KB

MapReduce is a computing paradigm for processing data that resides on hundreds of computers, which has been popularized recently by Google, Hadoop, and many others. The paradigm is extraordinarily powerful, but it does not provide a general solution to what many are calling “big data,” so while it works particularly well on some problems, some are more challenging. This book will teach you what problems are amenable to the MapReduce paradigm, as well as how to use it effectively. At first glance, many people do not realize that MapReduce is more of a framework than a tool. You have to fit your solution into the framework of map and reduce, which in some situations might be challenging. MapReduce is not a feature, but rather a constraint.... Continue reading "Understanding MapReduce Design Patterns" »

Python Programming Basics: Essential Code Snippets

Classified in Computers

Written on in English with a size of 4.07 KB

Python Fundamentals: Practical Code Examples

This document presents a collection of basic Python code snippets, demonstrating fundamental programming concepts such as conditional statements, loops, data input, and list manipulation. Each example is designed to illustrate a specific programming principle, making it ideal for beginners learning Python.

Compare Car Top Speeds with Python

This Python script compares two user-entered car speeds to determine which is faster, showcasing basic input and conditional logic.

car_a = int(input("Please enter the top speed of a Ferrari: "))
car_b = int(input("Please enter the top speed of a Lamborghini: "))

if car_a >= car_b:
    print("The fastest car is a Ferrari.")
elif car_b > car_a:
    print("The
... Continue reading "Python Programming Basics: Essential Code Snippets" »

Mastering the Unified Process Transition Phase

Classified in Computers

Written on in English with a size of 3.53 KB

Transition Phase

The transition phase is entered when a baseline is mature. A usable subset of the system has been built with acceptable quality levels and user documentation. It can be deployed to the user community.

  • For some projects, the transition phase marks the starting point for another version of the software system.
  • For other projects, the transition phase signifies the complete delivery of the software system to a third party responsible for operation, maintenance, and enhancement.

Objectives of the Transition Phase

  • Achieve user independence (users can support themselves).
  • Ensure the deployment baseline is complete and consistent with the criteria in the project agreement.
  • Ensure the final baseline can be built as rapidly and cost-effectively
... Continue reading "Mastering the Unified Process Transition Phase" »

A Glossary of Computer and Internet Terms

Classified in Computers

Written on in English with a size of 3.71 KB

ASCII Code

American Standard Code for Information Interchange. A code in which each alphanumeric character is represented as a number from 0 to 127, translated into a 7-bit binary code for the computer. ASCII is used by most microcomputers and printers, and because of this, text-only files can be transferred easily between different kinds of computers.

Availability

A measure of how easy or difficult it is to obtain a piece of hardware or a computer application.

Backbone

High-speed lines or connections that form the major access pathways within the Internet.

Bandwidth

The capacity of a networked connection. Bandwidth determines how much data can be sent along the networked wires. Bandwidth is particularly important for Internet connections, since greater... Continue reading "A Glossary of Computer and Internet Terms" »

Socket.io Emitting Patterns and Best Practices

Classified in Computers

Written on in English with a size of 2.3 KB

Socket.io Emitting Patterns

io.on('connect', onConnect);

function onConnect(socket) {
  // Sending to the client
  socket.emit('hello', 'can you hear me?', 1, 2, 'abc');

  // Sending to all clients except sender
  socket.broadcast.emit('broadcast', 'hello friends!');

  // Sending to all clients in 'game' room except sender
  socket.to('game').emit('nice game', "let's play a game");

  // Sending to all clients in 'game1' and/or 'game2' room, except sender
  socket.to('game1').to('game2').emit('nice game', "let's play a game (too)");

  // Sending to all clients in 'game' room, including sender
  io.in('game').emit('big-announcement', 'the game will start soon');

  // Sending to all clients in namespace 'myNamespace', including sender
  io.
... Continue reading "Socket.io Emitting Patterns and Best Practices" »