Notes, summaries, assignments, exams, and problems for Computer science

Networking Fundamentals: OSI Model, MAC Addresses, and Routing

Computer science3.4 KB

Networking Fundamentals Q&A

8. Switch vs. Bridge: Key Differences

Answer: Bridges receive the complete packet before forwarding it to the destination port. In contrast, a switch can start forwarding the packet before it is fully received (known as cut-through switching). This capability is a significant performance improvement.

10. Router Decisions in Packet Routing

Answer: A router must choose the best path (i.e., the fastest and shortest) using routing algorithms and consulting its routing table.

TCP/IP Protocol Stack Fundamentals

1. What is a Protocol?

In computer networks, a protocol is the language (a set of formal rules) that allows computers to communicate with each other. Using a common language prevents compatibility issues.

2. What is

...
Continue reading "Networking Fundamentals: OSI Model, MAC Addresses, and Routing" »

Understanding Web 2.0 Technologies and Database Systems

Computer science2.46 KB

Social Web and Web 2.0

Web 2.0 was born to complement existing online services. It is based on them and focuses on user contributions to the development network, providing, revising, or modifying content.

Key Web 2.0 Components

  • Wiki: Websites edited by different people in a collaborative way.
  • Blog (or Weblog): Websites that function like a personal diary where contrasting views are expressed, and content or discussions are moderated by the blogger.
  • Photo Albums and Videos: Sites where users contribute their photos and videos.
  • RSS (Really Simple Syndication): A web subscription service for news search and consultation. It allows access to news from digital newspapers or radio stations.
  • Podcast: Retransmission of news or events in audio format that
...
Continue reading "Understanding Web 2.0 Technologies and Database Systems" »

Windows NT Operating System Architecture and Features

Computer science2.5 KB

History of Windows NT

Windows NT was originally developed to be OS/2 3.0 before Microsoft and IBM discontinued their work on OS/2.

  • Unlike Windows 3.1, which was a GUI running on MS-DOS, Windows NT is a standalone operating system.

It is based on a microkernel, supporting up to 4GB of RAM, FAT file systems, NTFS, HPFS, built-in network support, multiprocessor support, and C2 security.

Windows NT Features

  • It is based on variations of the kernel of Mac UNIX. The microkernel architecture supports applications not originally designed for Windows NT.
  • It manages basic operations systems and other layers above them.
  • Supports five subsystems: Windows 32-bit, 16-bit Windows, DOS, POSIX, and OS/2.
  • Functions as a Client-Server in a network environment.
  • Allows development
...
Continue reading "Windows NT Operating System Architecture and Features" »

Java Abstract Classes, Interfaces, and JDBC Database Connectivity

Computer science3.03 KB

What Are Abstract Classes?

An abstract class is a class that cannot be instantiated and is used only to define subclasses. A class becomes abstract if at least one of its methods has no implementation. In Java, an abstract method is marked with the abstract keyword.

When to Use Abstract Classes

Abstract classes are used when we want to define an abstraction that encompasses objects of different types and leverage polymorphism.

Understanding Interfaces in Java

An interface is a completely abstract class (a class without implementation). In Java, interfaces are declared with the interface keyword, similar to how abstract classes are declared.

An interface declaration can only contain method declarations (name and signature, without implementation)...

Continue reading "Java Abstract Classes, Interfaces, and JDBC Database Connectivity" »

Core Network Resources, Protocols, and Server Technologies

Computer science3.03 KB

Network Resource Sharing Fundamentals

A network resource is a logical entity capable of action at the request of another. The use of shared resources can be performed through a network.

High-Speed Data Connectivity

Disk Management and Fiber Channel

For servers, Fiber Channel interfaces are important for fast disk connections with extreme speed specifications.

Fiber Channel technology is traditionally used for building Storage Area Networks (SANs). The Fiber Channel Standard is an interconnection technology designed for broadband communication. This standard consists of a set of standards developed by ANSI.

  • Maximum distance allowed: 10 km.
  • Protocols transported include: SCSI, IP, IPI, HIPPI, IEEE 802, and even ATM.

Managing Printing Resources

Local Area...

Continue reading "Core Network Resources, Protocols, and Server Technologies" »

Fundamentals of Operating Systems: Types, Functions, and History

Computer science3.85 KB

Definition of an Operating System (OS)

An Operating System (OS) is a program or set of computer programs designed to ensure the effective management of resources. It begins to work when you turn on the computer, managing the machine's hardware from the most basic levels, while also allowing essential user interaction.

Core Functions of Operating Systems

Operating systems perform several critical functions:

  • Provide comfort and ease in using a computer.
  • Efficiently manage computer resources and services running processes (programs).
  • Provide a user interface for executing instructions (commands).
  • Allow developmental changes in the OS itself to be made without interfering with services already provided (facilitating system evolution).

Key Features of an

...
Continue reading "Fundamentals of Operating Systems: Types, Functions, and History" »

Windows Server 2003 & Active Directory Questions and Notes

Computer science7.38 KB

Windows Server 2003 and Active Directory Questions

Corrected text, answers and notes

  1. 1) OS: A - Q-OS no.
  2. 2) Windows 2003: A - Preemptive.
  3. 3) Are as follows: A - Web Server.
  4. 4) Multithreaded is: C - use number.
  5. 5) The version of Windows:
  6. 6) Files: B - NTLDR, Boot.ini.
  7. 7) To load the OS:
  8. 8) An ARC name:
  9. 9) The BOOT.INI:
  10. 10) Windows Server 2003:
  11. 11) You can start:
  12. 12) Console:
  13. 13) To execute the console:
  14. 14) File System: NTFS.
  15. 15) All components: B - can be installed.
  16. 16) The best way to: B - be on the screen.
  17. 17) The best way to have: C - used domain because.
  18. 18) A Windows server: B - installed the service.
  19. 19) Controllers: A - stored data.
  20. 20) A forest: a collection of B - trees.
  21. 21) To promote: A - run DCPROMO.
  22. 22) A controller: B - DCPROMO.
  23. 23) Active: A - one directory.
...
Continue reading "Windows Server 2003 & Active Directory Questions and Notes" »

C++ Class Structure and Object Lifecycle Management

Computer science3.08 KB

Sections of a C++ Class

  • Private Section: Only member functions can access the class member functions; descendant classes are denied access to the private members of a class.
  • Protected Section: Only member functions of a class and its descendant classes' members can access these members.
  • Public Section: Specified members are visible to all member functions and external calls to the class.

Rules for Class Sections

  1. Sections of the class can appear more than once in any order.
  2. If no section is specified, C++ treats members as private by default.
  3. Grouping data members in the public section should be avoided unless such a declaration significantly simplifies the design. Data members are usually placed in the protected section to allow access for descendant
...
Continue reading "C++ Class Structure and Object Lifecycle Management" »

Essential Network Protocols: Layers, Addressing, and Communication

Computer science6.88 KB

Understanding Core Network Protocols and Services

Introduction to Network Fundamentals

  • The Internet Control Message Protocol (ICMP) is an IP protocol used for sending control, reporting, and discovery messages.
  • Network architectures are built upon dependent levels or layers.
  • The complexity of a network directly impacts its reliability.
  • Virtual communication is a fundamental aspect of modern media.
  • End-to-end flow control is a critical network function.

Transport Layer Protocols: TCP and UDP

  • An advantage of including the transport level is that protocols can be designed to conceal underlying network complexities from applications.
  • The primary data unit at the transport layer is the Transport Protocol Data Unit (TPDU).
  • Transport level protocols include
...
Continue reading "Essential Network Protocols: Layers, Addressing, and Communication" »

Software Installation & Uninstallation: Parallel Work, Backup & Troubleshooting

Computer science2.47 KB

8 Steps for Parallel Work & Uninstallation

The operation of the application, i.e., its use at full capacity.

Parallel Work

When an application is replaced by another, performing a parallel operation of the new application with the old. This means a double data entry, and duplicating all tasks for a certain period of time. This results in greater safety for two reasons:

  • You can compare the results of both applications. If the previous application had no failures, the results of the new application should be the same as the old, for identical processes.
  • If you detect a serious problem in the new application, you can continue working with the former, which has all the information up to date, while the situation is resolved.

Warranty and After-Sales

...
Continue reading "Software Installation & Uninstallation: Parallel Work, Backup & Troubleshooting" »