Introduction Exam PDF
Introduction Exam PDF
Information is data that has been processed Інформація — це оброблені дані, які мають
in such a way as to be meaningful to the сенс.
person who receives it. Дані — це прості факти.
Знання — це розуміння, яке ви отримуєте з
Data are plain facts.(is the fundamental інформації через досвід.
representation of facts and observations)
Awareness or understanding of a
circumstance or fact, gained through
association or experience.
A data format is a specific way data is organized, stored, or transmitted. It determines how
data is encoded or structured for use by computers and applications.
Text Formats: TXT (Plain Text), CSV (Comma-Separated Values), JSON (JavaScript Object
Notation), XML (eXtensible Markup Language), Markdown (.md);
Picture Formats: JPEG (.jpg, .jpeg), PNG (.png), GIF (.gif), BMP (.bmp), SVG (.svg);
Executable Program Formats: EXE (.exe), DLL (.dll), APP (.app), BIN (.bin), SH (.sh);
Video Formats: MP4 (.mp4), AVI (.avi), MKV (.mkv), MOV (.mov), WMV (.wmv);
Audio Formats: MP3 (.mp3), WAV (.wav), AAC (.aac), FLAC (.flac), OGG (.ogg).
Data interpretation is the process of Інтерпретація даних — це процес
analyzing, visualizing, and making sense of аналізу, візуалізації та осмислення даних
data to draw conclusions, identify patterns, для того, щоб зробити висновки, виявити
and support decision-making. закономірності та підтримати прийняття
рішень.
• ASCII code.
• UTF-8 code.
The IEEE Standard for Floating-Point Формат IEEE 754 — це "набір представлень
Arithmetic (IEEE 754) is a technical standard числових значень і символів". Формат може
for floating-point computation. також включати спосіб кодування цього
3 basic components: the sign of mantissa; набору.
biased exponent; normalized mantissa Формат з плаваючою комою визначається: •
There is single(32 bits) precision and базою (також називається радіусом) b, яка
double(64 bits). дорівнює 2 (бінарна) або 10 (десяткова) в
IEEE 754; • точністю p; • діапазоном
експонент від emin до emax, де emin = 1 −
emax для всіх форматів IEEE 754.
• PC computing
1. One Consumer, One Computer
2. General purpose Input-Output Device
3. All jobs done on a single device
PC is a microcomputer designed for use by one Мікрокомп’ютер – це тип комп’ютера, який
person at a time. PC can be used for storing and використовує мікропроцесор як свій
processing data. Such computers let us perform центральний процесор (CPU).
a range of general-purpose tasks. They include
essential components like a CPU, RAM, storage
devices (HDD or SSD), and input/output devices
(keyboard, mouse, monitor). PCs typically run
operating systems like Windows, macOS, or
Linux, and support a wide variety of software
applications, making them versatile and
adaptable to different personal and professional
tasks.
• Networking computing
A computer network is a collection of Сервер – це комп'ютер, пристрій або
interconnected devices that share resources and програма, яка допомагає керувати
information. These devices communicate via мережевими ресурсами.
wired or wireless connections to enable data
transfer, file sharing, internet access, and more.
These devices can include computers, servers,
printers, and other hardware. A server is a
computer, device, or program that helps manage
network resources.
• Grid computing
Grid computer is a network of computers У грід-комп'ютингу комп'ютери працюють
working together to perform a task that would разом над завданнями, діючи як
rather be difficult for a single machine. All суперкомп'ютер. Він вирішує як великі, так і
machines work under the same protocol (like малі проблеми, надаючи гнучку
virtual supercomputer). It works with large and багатокористувацьку підтримку для обробки
small problems. складних даних.
• Cloud computing
Programmable It refers to the process where data transfer between a computer's I/O devices
(I/O – and the CPU is controlled by program instructions.
input/output)
Using interrupts Instead of the CPU constantly checking for I/O activity (polling), the I/O device
interrupts the CPU only when it needs attention. This allows the CPU to focus
on its tasks and be more efficient.
Direct memory method that allows devices to transfer data directly to or from memory, by
access passing the CPU.
• The keyboard and its functions
A keyboard is an input device used to enter data into a computer. Types: standard, mechanical,
membrane, ergonomic, wireless, virtual.
1) Click
2) Drag(move specific files into another location)
3) Select
4) Scroll
Audio information input means adding sound or audio to a computer, using devices like
microphones or recording tools.
The instruction set is the complete collection of instructions that a CPU can execute.
Sets: Data handling and memory operations;Arithmetical and logical operations; Control flow
operations.(Altering the sequence of execution in a program.)
Groups: arithmetic, logic, data, control flow, system, floating point, decimal, string
Sequential execution means commands run one after another in the order they are listed, with each
starting only after the previous one finishes.
• Pipeline
A pipeline is a process where a task is divided into steps. Each step works on a different part of the
task at the same time, so the whole task gets done faster.
Von Neumann architecture is a computer design where data and instructions are stored in the
same memory. It has three main parts: CPU, memory, I/O.
The Central Processing Unit (CPU) is the main part of a computer that performs most of the
processing.
Components: Control Unit (respond to instructions); Arithmetic Logic Unit(arith and logical
operations); registers(hold data).
Pipelining – dividing on steps, each step performs its part of the task
Multiple Cores – processor with some cores, if we have more cores we can perform more task
parallely.
Cache Memory- storing frequently using data closer to the CPU
Clock Speed – allow CPU to process more cycles per second
Out-of-Order Execution – not in order instructions received, processor tries to execute instructions
as soon as necessary data is avaliable
Superscalar Architecture – allows a processor to execute more than one instruction during a single
clock cycle
Hyper-Threading – allows a single CPU core to run two tasks (threads) at the same time
• Parameters of memory
CPU registers Smallest and fastest memory, directly accessed by the CPU.
Cache memory High-speed memory close to the CPU. Stores frequently used data to reduce
access time.
Main memory Primary storage for programs and data being actively used.
External memory Non-volatile storage outside the system, like hard drives or USB drives.
Stores large amounts of data permanently.
From bottom – From top - amount
performance price
• CPU registers.
Registers are small, high-speed memory units located in the CPU. They are used to store the most
frequently used data and instructions. Registers have the fastest access time and the smallest
storage capacity, typically ranging from 16 to 64 bits.
• Cache memory
Cache memory is a small, fast memory unit located close to the CPU. It stores frequently used data
and instructions that have been recently accessed from the main memory. Cache memory is
designed to minimize the time it takes to access data by providing the CPU with quick access to
frequently used data.
• Main memory
Main memory , also known as RAM (Random Access Memory), is the primary memory of a
computer system. It has a larger storage capacity than cache memory, but it is slower. Main memory
is used to store data and instructions that are currently in use by the CPU. This memory is volatile.
• External memory
Secondary storage, such as hard disk drives (HDD) and solid-state drives (SSD) , is a non-volatile
memory unit that has a larger storage capacity than main memory. It is used to store data and
instructions that are not currently in use by the CPU. Secondary storage has the slowest access time
and is typically the least expensive type of memory in the memory hierarchy.
Flash memory is a type of storage that keeps data even when the power is turned off. It uses special
transistors called floating gates to store electrical charges, which represent the data.
CRT – Cathode Ray Tube These monitors produce images through manipulation of
electronic beams.
LCD – Liquid Crystal Display They have higher resolution, consume less energy and take up
less space.
OLED – Organic Light-Emitting It uses organic materials to convert electronic current to light.
Diode
• LCD monitors.
An LCD (Liquid Crystal Display) – is flat panel display, uses liquid crystals and a backlight to
create images.
When transistor is OFF liquid crystals rotate light and pass through second polarizer
When transistor is ON light is blocked by liquid crystals
• OLED monitors
OLED (Organic Light Emitting Diodes) is a display technology where organic materials emit light
when electricity is applied.
Each pixel produce its own elimination without having a separate backlight.
• Inkjet printers
Inkjet printers work by spraying tiny drops of ink onto paper or plastic. The printer uses nozzles to
shoot out the ink.
Types:
Thermal inkjet A tiny heating element inside the printer heats the ink, making it bubble up.
The pressure from the bubble pushes a drop of ink out of the nozzle onto the
paper.
Piezoelectric inkjet The printer has a special material that changes shape when electricity is
applied. This creates pressure, pushing the ink out of the nozzle onto the
paper.
• Laser printers.
A laser printer is a special type of printer developed to produce high-quality text and graphics.
❖ Sending Data: The computer sends the digital data to the printer.
❖ Cleaning: The printer cleans the drum to remove any leftover toner.
❖ Conditioning: The drum and paper are given an electrical charge.
❖ Exposing: A laser beam scans the drum, creating an invisible image.
❖ Developing: Toner (powder) sticks to the parts of the drum that the laser has scanned.
❖ Transferring: The toner is transferred from the drum to the paper using electrical charges.
❖ Fusing: Heat and pressure fuse the toner to the paper, with extra toner being recycled.
• 3D printers.
b) Slicing: slicing software cuts 3D model into hundreds of horizontal layers and create instructions for
printer;
Communications sattelites
The satellite receives signals from Earth, amplifies them, and retransmits them back to Earth.
Infrared
Infrared (IR) is a wireless transmission medium that sends signals using infrared light
waves.
A Local Area Network (LAN). cover distances up to 2 km and can support many devices. They
are mostly use wired connections
A Metropolitan Area Network (MAN). It connects computers in the same or different cities and is
used for high-speed internet. They use devices like modems and cables for data transmission.
A Wide Area Network (WAN) They can experience more noise, errors, and delays. Devices like
optic wires, microwaves, and satellites are used to transmit data over a WAN. covers a large area,
often over 50 km.
Network devices are physical devices that allow hardware on a computer network to communicate
and interact with each other.
Model is a set of rules that explains how different computer systems communicate over a network.
a) Physical Layer: Transmits raw data over cables or wireless.(hubs, repeaters, modem)
b) Data Link Layer: Ensures error-free data transfer between devices on the same network.
c) Network Layer: Routes data between different networks.
d) Transport Layer: Manages end-to-end communication.
e) Session Layer: Manages communication sessions between devices.
f) Presentation Layer: convert data formats.
g) Application Layer: Provides services to software applications.
• The purpose of the operating system
An OS is software that manages computer hardware and provides services for programs.
Resource Allocation - the OS allocates system resources to different processes and users.
Process Management: The OS manages and controls processes, ensuring their proper execution and
coordination.
User Management: The OS manages user accounts, authentication, and access control.
File Management: The OS provides a file system that organizes and manages files.
• OS kernel
A kernel is the core part of an operating system. It acts as a bridge between software applications
and the hardware of a computer.
Types of Kernel
1) Monolithic: all operating system services operate in kernel space(Unix, Linux)
2) Micro Kernel: has virtual memory and thread scheduling(Mach, L4)
3) Hybrid Kernel: combination of both monolithic kernel and microkernel(Windows NT)
4) Exo Kernel: follows end-to-end principle. It allocates physical resources to
applications.(Nemesis, ExOs)
• Application types
Application Software is a type of computer program that performs specific functions. These
functions, performed by application software, can be personal, business as well as educational.
a) Information Worker Software: help users manage and process information
b) Content access: allows users to access and view content on the web
c) Entertainment: designed for entertainment (Spotify)
d) Educational: learning and teaching (Duolingo)
e) Enterprise Infrastructure: used in business environments
f) Simulation: create simulations of real-world
g) Media Development: creating and editing media
h) Product Engineering: designing and developing products, especially in engineering fields
• Software Licenses
A software license is a legal agreement that controls how software can be used or shared.
It’s a contract between the software creator (or current provider) and the user or
organization. Every software comes with a license key or product key, which is used to
confirm and identify the version of the software. There are two main types of software
licenses: free and open-source, and proprietary.
A free and open-source license allows anyone to use, modify, and share the software freely. The
source code is available to the public, so people can study it, improve it, and distribute it.
There are two main types of free and open-source licenses:
1. Permissive Licenses: These allow users to modify the software with very few restrictions,
giving them more freedom in how they use and distribute the software.
2. Copyleft: This ensures that any modified versions of the software are also made available
under the same open-source license, keeping the software free for everyone.
• Proprietary license.
A proprietary license applies to software where the publisher or creator keeps the intellectual
property rights, usually the copyright of the source code, and sometimes patent rights.
Key points of a proprietary license:
1. End-User License Agreement (EULA): Users must agree to this legal contract before they
can use the software.
2. Restrictions: The software cannot be modified or shared with others without permission
from the publisher.
• Examples of licenses
Microsoft: 1) Original Equipment Manufacturer(preinstalled on a new computer)
3) Full Packaged Product(sold in a box and includes everything you need to install)
4) Volume Licensing(allows businesses or organizations to purchase multiple copies)
5) Academic License(can be purchased through retail or volume licensing channels)
Autodesk: 1) User license(personal and small enterprises)
2) Network(medium and large enterprises)
3) Academic
4) Demo (trial versions)
Beer License: software released under a very permissive license. The idea behind beerware is that
the software is so freely available that the user can do almost anything with it — including
modifying, distributing, or using the source code without many restrictions.
• Definition of AI
Artificial intelligence is the theory and development of computer systems able to perform tasks that
normally require human intelligence, such as visual perception, speech recognition, decision-
making, and translation between languages.
• Goals of AI
1) Reasoning and problem-solving
2) Knowledge representation
3) Learning (Unsupervised, supervised)
4) Natural Language Processing (read, understand and process human language)
5) Perception (use sensors)
6) Social intelligence (recognize human emotions)
7) General intelligence (solve a wide variety of problems)
• Types of AI
Narrow AI, also called weak AI or artificial narrow intelligence (ANI) AI that is used to solve a
specific problem. Almost all AI applications we have today are narrow AI:
General AI, also called strong AI or artificial general intelligence (AGI) AI that is for solving
general problems. It is more like a human being, which is able to learn, think, invent, and solve
more complicated problems.
ML - a subset of artificial intelligence (AI), focuses on building systems that learn through data
with a goal to automate and speed time to decision and accelerate time to value.
DL - is a subcategory of machine learning, provides AI with the ability to mimic a human brain’s
neural network.