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

Sort by
Subject
Level

Understanding TCP/IP and Web 2.0 for Online Safety

Classified in Computers

Written on in English with a size of 2.53 KB

To make this possible, it is necessary to "speak the same language," which is TCP/IP. TCP/IP is used to transfer files or data from one computer to another. Typically, the client is your browser (Firefox, Opera, Internet Explorer), and the server is a program running on a remote computer.


Protection From Hackers and Viruses

Hacking and System Security

Hacking means accessing a computer system and its files without permission. It is illegal, and once inside the system, the hacker might be able to view, copy, or delete important files or plant a virus. Organizations protect themselves using passwords, encrypting files, and using hacking-detection software.

Understanding Computer Viruses

A virus is a program deliberately written to affect operating

... Continue reading "Understanding TCP/IP and Web 2.0 for Online Safety" »

Hardware: The Physical Components of a Computer

Classified in Computers

Written on in English with a size of 1.46 KB

HARDWARE- Are the physical part of the computer: both the box and the internal components and the elements connected to it.

MOTHERBOARD-

Is the largest card with a printed circuit you see when you open a computer. All the other computer components are inserted on it, includes connectors or communication ports with peripherals and can also incorporate video, audio, and network devices.

MICROPROCESSOR-

Is the most important part of a computer. It is responsible for processing data, performing arithmetical-logical operations, and controlling all the other devices. It is characterized by its working frequency, measured in hertz, which determines its operating speed.

USB-

Universal serial bus, permits interconnection with practically any device. Standard... Continue reading "Hardware: The Physical Components of a Computer" »

Understanding Computer Networks and the Internet

Classified in Computers

Written on in English with a size of 2.95 KB

Computer Networks

What is a Network?

A network is a number of computers linked together to allow the sharing of resources. A server usually provides services like file storage and email.

Types of Networks

There are two main types of networks:

  • Local Area Network (LAN): A LAN covers a small area, such as a home or office.
  • Wide Area Network (WAN): A WAN covers a large geographical area. Most WANs are made from several LANs connected together. WANs can be connected together using the internet.

Email

There are two main types of email:

  • Client-based email: Often used by business users, client-based email involves downloading email from a server to an application on the user's computer.
  • Webmail: Accessed through a web browser, webmail can be accessed from any
... Continue reading "Understanding Computer Networks and the Internet" »

Introduction to Computer Networks

Classified in Computers

Written on in English with a size of 2.57 KB

Servers

A server stores data to be used by other computers on a network. A server could be a specialized machine, or it can be a normal PC running server software. The server stores data and responds to requests for data or files, such as web pages.

Types of Server

There are many different types of servers. Some popular examples follow.

Web Servers

Web servers host websites and generally handle requests for static information such as HTML pages or images. They are used to manage the website on the server and often include FTP software, which can easily host and share large files. The Apache web server is a popular type of open-source web server software.

Application Servers

Many websites are classed as web applications, which contain programming and... Continue reading "Introduction to Computer Networks" »

Python Syntax, Indentation, Comments, Variables, Data Types, Numbers, Casting, and Strings

Classified in Computers

Written on in English with a size of 5.67 KB

Python Syntax

As we learned in the previous page, Python syntax can be executed by writing directly in the Command Line:

>>> print("Hello, World!")
Hello, World!

Python Indentation

Indentation refers to the spaces at the beginning of a code line.

Where in other programming languages the indentation in code is for readability only, the indentation in Python is very important.

Python uses indentation to indicate a block of code.

if5 > 2:
    print("Five is greater than two!")

Python will give you an error if you skip the indentation:

if5 > 2:
print("Five is greater than two!")

Python Comments

Comments can be used to explain Python code.

Comments can be used to make the code more readable.

Comments can be used to prevent execution when testing... Continue reading "Python Syntax, Indentation, Comments, Variables, Data Types, Numbers, Casting, and Strings" »

Java Student Management System Implementation

Classified in Computers

Written on in English with a size of 5.78 KB

Java Student Management System: Core Concepts

This document presents a foundational Java program designed to manage student data. It demonstrates key Object-Oriented Programming (OOP) principles through a simple console-based application.

Prerequisites

  • Basic understanding of Java programming.
  • Familiarity with classes, objects, methods, and variables.

Core Components of the Student System

The Aluno Class: Student Data Model

The Aluno class serves as the blueprint for creating student objects. Each object encapsulates a student's name, course, and a unique registration number.

Class Attributes

  • nome (String): Stores the student's name.
  • curso (String): Stores the student's enrolled course.
  • num_matricula (int): Represents the unique registration number (RA)
... Continue reading "Java Student Management System Implementation" »

Radio nav

Classified in Computers

Written on in English with a size of 10.2 KB

  1. Telephone communication

it has been the medium used as the first contact with a company. It is used to arrange meetings , interviews or to ask for information, so the impression of the first telephone call is very important

  1. Telephone means and equipment

Fixed individual devices

Private branch exchanges (PBX):  it connects calls between two destinations or ends

Mobile devices:

PDA (Personal Digital Assistant) it`s like a small computer (Internet and electronic mail)

Smartphone:  A PDA with video, camera, radio, MP3 player  or television

Services: Internet, e-mail, videoconference, camera, audio and  Video quality player, an agenda, GPS,....

3. Additional services offered by the telephone equipment

3.1 Common features(a,b,c,)

  1. Fixed telephony: -

Notice

... Continue reading "Radio nav" »

Understanding Cache Memory and CPU Hazards

Classified in Computers

Written on in English with a size of 2.83 KB

1. General Questions (35%)

1.1. (5%) What is the difference between a write-back cache and a write-through cache?

Write-back cache: A store only writes data to the cache and marks the corresponding line as dirty. The modified line is written to the lower level of the memory hierarchy only when it is evicted.

Write-through cache: Data is written to the caches and the memory every time a store is executed.

1.2. (15%) Name the 3 Cs in cache misses and provide a brief explanation for each C.

Compulsory miss: A cache miss caused by the first access, a cold start effect.

Capacity miss: A cache miss due to the capacity limitation. Even with full associativity, it cannot accommodate all the working sets of an application.

Conflict miss: A cache miss that... Continue reading "Understanding Cache Memory and CPU Hazards" »

Software Design Principles and UML Diagrams Explained

Classified in Computers

Written on in English with a size of 4.2 KB

Dimensions of Software Design

Software design involves several key dimensions:

  • Problem solving
  • Modeling
  • Specification
  • Organizing the solution
  • Communication
  • Economics and reuse
  • Maintenance and evolution

Design Approaches

Divide-and-Conquer

A problem is decomposed into subproblems that are worked on independently. This approach can be applied recursively for complex problems and allows managers to allocate work to multiple people.

Procedural Design

Design is viewed as a set of procedures that are composed:

  • Sequentially
  • Conditionally
  • Iteratively
  • Hierarchically

Borderline Procedural Design

In this approach, the main steps are not fixed. The user has choices with few constraints, and there is typically a main loop to find the next operation.

Event-Driven Design

This... Continue reading "Software Design Principles and UML Diagrams Explained" »

Responsibilities of the Transport Layer

Classified in Computers

Written on in English with a size of 1.9 KB

Transport Layer Responsibilities

Tracking Individual Conversations

At the transport layer, each set of data flowing between a source application and a destination application is known as a conversation (Figure 1). A host may have multiple applications that are communicating across the network simultaneously. Each of these applications communicates with one or more applications on one or more remote hosts. It is the responsibility of the transport layer to maintain and track these multiple conversations.

Segmenting Data and Reassembling Segments

Data must be prepared to be sent across the media in manageable pieces. Most networks have a limitation on the amount of data that can be included in a single packet. Transport layer protocols have services... Continue reading "Responsibilities of the Transport Layer" »