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

Sort by
Subject
Level

Software Development and Ethics: A Comprehensive Overview

Classified in Computers

Written on in English with a size of 5.33 KB

What is a software and what is a good software?

A software is a program on a computer which contains information and data. A good software is the one that fulfills the needs and hasn’t got bugs.

Software vs Hardware

Software: not touchable, variable and implemented in order to achieve goals. Hardware: invariable

SOFTWARE ETHICS:

  • Confidentiality - Not telling the others because they can copy.
  • Competence - To know what you’re doing.
  • Intellectual property rights - not steal others ideas because it’s not moral.
  • Computer misuse - don’t do things that you are not allowed to.
  • Stuxnet: virus that will destroy softwares and hardwares.

SOFTWARE EVALUATION PROCESS:

  • Specification: What do I need?
  • Development: The programmer does it.
  • Validation: Does it work?
... Continue reading "Software Development and Ethics: A Comprehensive Overview" »

Unit 12: Web Vocabulary & CMS Comparison

Classified in Computers

Written on in English with a size of 2.83 KB

Unit 12: Web Vocabulary & CMS Comparison

Vocabulary

  1. Scripting languages — interpreted.
  2. Get out stuff.
  3. Browser-encoded docs.
  4. Programming model: dataflow.
  5. Architecture underlying.
  6. Retrieve: Shift key.
  7. Relieves infrastructure.
  8. Message board: online discussion.
  9. Responsive web design — viewed response.
  10. Spreadsheet: financial planning.

Language Focus

1

  1. The program will prompt you with a message if you try to exit the setup program.
  2. If the system detects installed devices, the driver's menu will show the available device drivers.
  3. You can change the value of a field if the item is configurable.
  4. If any of the components are defective, the problem will usually show up in the burn-in process.
  5. If this utility finds there is missing software, it lists the missing
... Continue reading "Unit 12: Web Vocabulary & CMS Comparison" »

Effective Information Processing and Search Techniques

Classified in Computers

Written on in English with a size of 2.94 KB

Information Processing

Companies collect data continuously from suppliers, clients, partners, etc., but this information is not very valuable unless it is properly classified and updated.

Information processing is a set of operations performed with the information obtained from different sources and includes the following stages:

Information Search > Classification > Selection > Interpretation & Presentation

Information Search

When collecting information, companies may choose to obtain it directly (called internal information) or from third parties (external information). In both cases, the source of information is primary when it is obtained first-hand from direct contact, or it can be secondary when it is collected from other sources.... Continue reading "Effective Information Processing and Search Techniques" »

C++ Array and Vector Operations: Unique Elements & Bubble Sort

Classified in Computers

Written on in English with a size of 5.77 KB

C++ Code Examples: Data Filtering and Sorting

This document presents two fundamental C++ programming examples. The first demonstrates how to process user input to extract and display only unique integer values, effectively removing duplicates. The second illustrates the classic Bubble Sort algorithm for arranging elements in ascending order within a std::vector.

Filtering Duplicate Integers in C++

This C++ program prompts the user to enter 20 integers. It then processes these inputs to identify and store only the unique values, discarding any duplicates. Finally, it displays the list of non-duplicate integers.

Program Description: Unique Element Extraction

  • Initializes an array a of size 20 to store unique elements, along with a subscript to track
... Continue reading "C++ Array and Vector Operations: Unique Elements & Bubble Sort" »

CPU Architecture and Computer Memory Systems

Classified in Computers

Written on in English with a size of 3.16 KB

Intel Pentium Processors and CPU Sockets

Intel Pentium processor: The processor is placed and secured into a compatible CPU socket found on the motherboard. Processors produce heat, so they are covered with a heat sink to keep them cool and running smoothly.

The CPU chip is usually in the shape of a square or rectangle and has one notched corner to help place the chip properly into the CPU socket. On the bottom of the chip are hundreds of connector pins that plug into each of the corresponding holes in the socket. Intel and AMD have also experimented with slot processors that were much larger and slid into a slot on the motherboard. Also, over the years, there have been dozens of different types of sockets on motherboards. Each socket only supports... Continue reading "CPU Architecture and Computer Memory Systems" »

Understanding Bleed, Slug, Trim, and Gutter in Print Design

Classified in Computers

Written on in English with a size of 3.33 KB

What is bleed? When any image or element on a page touches the edge of the page, extending beyond the trim edge leaving no margin it is said to bleed. It may bleed or extend off one or more sides.

What is slug? Non-printing information (such as a title and date) used to identify a document outside bleed area.

What is Trim - The final size of a printed page after excess edges of paper have been cut off What is Gutter - The area between columns on a page or the blank space between two facing pages in print

Match each file format with the kind of information it would likely be used to save?
o TIFF = A loss-less bit-mapped file format for high-resolution photographic images, typically in print
a EPS = A vector-based file format for high-resolution... Continue reading "Understanding Bleed, Slug, Trim, and Gutter in Print Design" »

VHDL Code for SR, JK, and T Flip-Flops

Classified in Computers

Written on in English with a size of 8.25 KB

SR Flip-Flop Logic Diagram SR Flip-Flop Truth Table

VHDL Code for SR Flip-Flop

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;

entity SR_FF is
PORT( S, R, CLOCK: in std_logic;
      Q, QBAR: out std_logic);
end SR_FF;

Architecture behavioral of SR_FF is
begin
  PROCESS(CLOCK)
  variable tmp: std_logic;
  begin
    if(CLOCK='1' and CLOCK'EVENT) then
      if(S='0' and R='0')then
        tmp:=tmp;
      elsif(S='1' and R='1')then
        tmp:='Z';
      elsif(S='0' and R='1')then
        tmp:='0';
      else
        tmp:='1';
      end if;
    end if;
    Q <= tmp;
    QBAR <= not tmp;
  end PROCESS;
end behavioral;

JK Flip-Flop Logic Diagram JK Flip-Flop Truth Table

VHDL Code for JK Flip-Flop

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
library
... Continue reading "VHDL Code for SR, JK, and T Flip-Flops" »

Understanding JavaScript Events and Methods

Classified in Computers

Written on in English with a size of 5.51 KB

Javascript

The async attribute allows the browser to process the web page concurrently with loading and processing the JavaScript.

The defer attribute allows the browser to load the web page concurrently with loading the JavaScript, but the JavaScript is not processed until the web page is completely loaded.script src="bootstrap.js" async>script>

A change event is caused by an element value being modified. Ex: Selecting an item in a radio button group causes a change event.

An input event is caused when the value of an input or textarea element is changed.

A load event is caused when the browser completes loading a resource and dependent resources. Usually load is used with the body element to execute code once all the web page's CSS, JavaScript,

... Continue reading "Understanding JavaScript Events and Methods" »

Java Control Statements and Operators

Classified in Computers

Written on in English with a size of 5.46 KB


◦ Performs an action if a condition is true and performs a different action if the condition is false.

◦ Double-selection statement—selects between two different actions (or groups of actions).

}switch statement

◦ Performs one of several actions, based on the value of an expression.

◦ Multiple-selection statement—selects among many different actions (or groups of actions).

Iteration Statements in Java

}Four iteration statements (also called iteration statements or looping statements)

◦ Perform statements repeatedly while a loop-continuation condition remains true.

}


while and for statements perform the action(s) in their bodies zero or more times

◦ if the loop-continuation condition is initially false, the body will not execute.

}The do…while... Continue reading "Java Control Statements and Operators" »

C++ Queue Data Structure Implementation

Classified in Computers

Written on in English with a size of 6.1 KB

This document presents a C++ implementation of a Queue data structure, demonstrating its core functionalities and operations. The Queue is implemented using a linked list, adhering to the First-In, First-Out (FIFO) principle.

Queue Class Definition

The Queue class encapsulates the data members and member functions necessary to manage a queue. Note that the Node struct/class is assumed to be defined elsewhere, typically as struct Node { double info; Node* link; };.

class Queue
{
private:
    Node* front;
    Node* rear;
    int count;
    double info; // This member 'info' within the Queue class itself seems unused in the provided code.
public:
    // Constructor: Should be 'Queue();' without 'void'. Implementation is missing.
    Queue();
... Continue reading "C++ Queue Data Structure Implementation" »