0% found this document useful (0 votes)
23 views9 pages

Primary vs Secondary Memory Explained

Uploaded by

elf20045
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views9 pages

Primary vs Secondary Memory Explained

Uploaded by

elf20045
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Difference between Primary and Secondary Memory

The following table highlights the important differences between primary and
secondary memory −

Parameter Primary Memory Secondary Memory

It comes under the category of It is a non-volatile memory.


Nature volatile and non-volatile
memory.

It is also known as internal It is also known as Backup memory or


Also known
memory. Additional memory or Auxiliary
as
memory.

The data can be directly The data cannot be accessed directly


accessed by the processing by the processor. It needs to be copied
Data
unit. from secondary memory to primary
accessibility
memory first, and then accessed by a
CPU.

Primary memory is of two The common types of secondary


types namely RAM (Random memories are magnetic memory,
Types
Access Memory) and ROM optical memory, and semiconductor
(Read Only Memory). memory.

Primary memory is faster than Secondary memory is non-volatile,


secondary memory because it which means it retains data even when
Speed
is directly accessible to the the power is off.
CPU.

Primary memory is volatile, Since it is non-volatile, data can be


which means it is wiped out retained in case of a power failure.
Volatility
when the computer is turned
off.

It can hold data/information It can hold data/information that are


Use currently being used by the not currently being used by the
processing unit. processing unit.
The capacity of primary It stores a considerable amount of data
memory is usually within the and information. The capacity of
Capacity
range of 16 to 32 GB. secondary memory ranges from 200
GB to some terabytes.

Accessed It can be accessed by a data It can be accessed using I/O channels.


through bus.

It is expensive in comparison It is less expensive in comparison to


Cost
to secondary memory. primary memory.

ASCII and Extended ASCII Scheme


While the original ASCII set comprises 128 characters, extended ASCII introduces an
additional 128 characters, accommodating symbols and characters for different languages.

ASCII stands for American Standard Code for Information Interchange. It is a


character encoding standard that assigns unique numerical values to letters, digits,

and symbols. ASCII codes are used to represent text in computers, telecommunications
equipment, and other devices1. The ASCII code is a 7-bit character code with values ranging
from 0 to 1272. The first 32 characters in the ASCII table are unprintable control codes and
are used to control peripherals such as printers3. The remaining 95 characters are printable
characters, including digits, uppercase letters, lowercase letters, and punctuation marks3. The
ASCII table is a subset of UTF-8 code2. You can find a comprehensive ASCII table with all
the characters and their corresponding codes at 3.

ASCII stands for American Standard Code for Information Interchange. It is a


kind of coding scheme that represents specific pre-defined codes. Therefore, it
communicates the alphanumeric code between the computer and the input/output
devices.

Extended ASCII (EASCII or high ASCII) is a character encoding scheme that includes the
standard 7-bit ASCII characters and additional characters. It is an eight-bit or larger
encoding that can represent up to 256 unique characters 123. The term “extended ASCII” is
sometimes criticized because it can be mistakenly interpreted to mean that the ASCII
standard has been updated to include more than 128 characters or that the term refers to a
specific encoding .
The Windows-1252 character set is an example of an extended ASCII table with 256
characters and symbols 2. It includes all ASCII codes from standard ASCII, and it is a
superset of ISO 8859-1 in terms of printable characters 2. The range 128 to 159 (hex 80 to 9F)
in Windows-1252 has writable characters, while ISO/IEC 8859-1 has invisible control
characters

What are SSI,MSI,LSI and VLSI


SI full form is "Small Scale integration". MSI full form is "Medium
Scale integration". LSI full form is "Large Scale integration". SSI full
form is "Small Scale integration". VLSI full form is "Very Large
Scale integration". The main differences between SSI, MSI, LSI, and
VLSI is " Chip size of Integrated circuit (IC)'s ".
Number of Number of Logic
Acronym Integration
Transistors Gates

Small-scale
SSI 1 to 10 1 to 12
integration

Medium-scale
MSI 10 to 500 13 to 99
integration

Large-scale
LSI 500 to 20 000 100 to 9999
integration

Very large scale 20 000 to 1 000


VLSI 10 000 to 99 999
Integration 000

Ultra-large-scale 1 000 000 and


ULSI 100 000 and mor
integration more

What is von Neumann architecture

The term "von Neumann architecture" has evolved to refer to


any stored-program computer in which an instruction fetch and a data
operation cannot occur at the same time (since they share a common
bus). This is referred to as the von Neumann bottleneck, which often
limits the performance of the corresponding system.

Difference between Multiplexer and Decoder


Multiplexer :
Multiplexer is a data selector which takes several inputs and gives a single
[Link] multiplexer we have 2n input lines and 1 output lines where n is the
number of selection lines.
2. Decoder :
Decoder is a logic circuit which n input lines into m output [Link] are
called as min-term and max-term generators because for each of the input
combinations, exactly one output is true.

Difference between of Multiplexer and Decoder :


[Link]. Multiplexer Decoder

MUX accepts several inputs and allow It takes n input binary code and convert it
1.
only one data output. into a corresponding outputs.

Select line are used to select data inputs Enable inputs are used to control the
2.
and allow only one of them. operation of the decoder.

It can be used in data routing and Application of decoder is in Decimal to


3.
waveform generation. BCD encoder.
[Link]. Multiplexer Decoder

Multiplexer converts the unary code into


4. Decoder converts binary code into unary..
binary code

objective of cybersecurity
1. Protect the confidentiality of data.
2. Preserve the integrity of data.
3. Promote the availability of data for authorized users.

The primary objective of cybersecurity is to protect digital systems, networks, and


data from unauthorized access, attacks, damage, or theft. The field of cybersecurity
encompasses a wide range of strategies, technologies, and practices aimed at
safeguarding information technology systems and the data they store or transmit.
Here are some key objectives of cybersecurity:

1. Confidentiality: Ensure that sensitive data is accessible only to authorized


individuals or systems. This involves preventing unauthorized access or disclosure of
information.
2. Integrity: Guarantee the accuracy and reliability of data by protecting it from
unauthorized modification or tampering. This ensures that information remains
trustworthy.
3. Availability: Ensure that information and systems are available and accessible when
needed. This involves protecting against denial-of-service (DoS) attacks and other
disruptions that could render systems or data unavailable.
4. Authentication: Verify the identity of users, systems, and devices to ensure that only
authorized entities have access to sensitive information or resources.
5. Authorization: Grant appropriate permissions and access levels to authorized
individuals or systems based on their roles and responsibilities. This helps in
controlling and limiting access to specific resources.
6. Non-repudiation: Ensure that individuals or entities cannot deny their actions. This
is particularly important in transactions and communications to establish
accountability.
7. Security Awareness: Educate and raise awareness among users about potential
cybersecurity threats and best practices. Human factors play a crucial role in
cybersecurity, and informed users are better equipped to avoid falling victim to
attacks.
8. Incident Response: Develop and implement plans to detect, respond to, and
recover from cybersecurity incidents. This involves identifying and mitigating the
impact of security breaches.
9. Risk Management: Continuously assess and manage risks to information systems.
This includes identifying vulnerabilities, evaluating potential threats, and
implementing measures to reduce the likelihood and impact of security incidents.
10. Compliance: Ensure that organizations adhere to relevant laws, regulations, and
industry standards related to cybersecurity. Compliance helps in establishing a
baseline for security practices and safeguards.

DNS
DNS, which stands for Domain Name System, is a crucial component of computer
systems and the internet. Its primary function is to translate human-readable domain
names into IP addresses, which are used by computers to locate and connect to each
other on a network. Here's an overview of DNS and its role in computer systems:

1. Domain Names and IP Addresses:


 Computers on a network communicate using IP addresses, which are
numerical identifiers. However, IP addresses can be challenging for humans to
remember.
 Domain names, such as [Link], provide a human-friendly way to
identify resources on the internet.
2. Domain Name System (DNS) Basics:
 DNS is a distributed naming system that translates domain names into IP
addresses and vice versa.
 It acts like a phonebook for the internet, allowing users to access websites and
other resources using easy-to-remember domain names.
3. DNS Components:
 DNS Resolver: The client-side component that initiates DNS queries. It can be
part of an operating system or a separate application.
 DNS Server: The server-side component that responds to DNS queries. DNS
servers can be authoritative for specific domains or act as caching servers.
4. DNS Resolution Process:
 When a user enters a domain name into a web browser, the DNS resolver
initiates a query to find the corresponding IP address.
 The resolver first checks its local cache. If the information is not found, it
contacts a DNS server to obtain the IP address.
 The DNS server may recursively query other servers until it finds the
authoritative DNS server for the specified domain.
 The authoritative DNS server provides the IP address, which is then cached by
the resolver for future use.
5. Types of DNS Servers:
 Authoritative DNS Server: Holds the official records for a domain and
provides answers to queries about that domain.
 Recursive DNS Server: Helps in the process of resolving DNS queries by
interacting with authoritative DNS servers on behalf of the client.
6. DNS Records:
 DNS records store information about domain names and their corresponding
IP addresses or other resources.
 Common DNS record types include A (IPv4 address), AAAA (IPv6 address),
CNAME (canonical name), MX (mail exchange), and NS (name server), among
others.
7. DNS Security:
 DNS is vulnerable to various attacks, including DNS spoofing, cache
poisoning, and DDoS attacks.
 DNS Security Extensions (DNSSEC) is a set of extensions to DNS that adds an
additional layer of security by signing DNS data with cryptographic signatures.

In summary, DNS is a critical infrastructure that plays a key role in enabling the
human-friendly use of the internet by translating domain names into IP addresses. It
facilitates the seamless communication and accessibility of resources on computer
systems and networks.

Different types of network security attack


1. Malware:
 Viruses: Malicious software that attaches itself to legitimate programs and
spreads when those programs are executed.
 Worms: Self-replicating programs that spread across networks without the
need for a host file.
 Trojans: Programs that appear legitimate but contain malicious code, often
providing unauthorized access to the attacker.
2. Phishing:
 Deceptive attempts to obtain sensitive information, such as usernames,
passwords, and financial details, by posing as a trustworthy entity. This is often
done through fraudulent emails, websites, or messages.
3. Denial-of-Service (DoS) and Distributed Denial-of-Service (DDoS) Attacks:
 DoS Attacks: Overwhelm a system, service, or network with excessive traffic
or resource requests, making it unavailable to legitimate users.
 DDoS Attacks: Multiple compromised systems work together to flood a
target with traffic, causing a service outage.
4. Man-in-the-Middle (MitM) Attacks:
 The attacker intercepts and potentially alters the communication between two
parties without their knowledge. This can lead to the theft of sensitive
information.
5. SQL Injection:
 Exploiting vulnerabilities in database-driven applications by injecting malicious
SQL code into input fields. This can lead to unauthorized access, data
manipulation, or deletion.
6. Cross-Site Scripting (XSS):
 Injecting malicious scripts into web pages viewed by other users. These scripts
can then execute in the context of the victim's browser, leading to the theft of
information.
7. Zero-Day Exploits:
 Attacks that target vulnerabilities in software or hardware that are not yet
known to the vendor or the public. This gives attackers the advantage of
exploiting security flaws before patches are available.
8. Eavesdropping/Sniffing:
 Unauthorized interception of network traffic to gain access to sensitive
information. This can be mitigated through encryption techniques such as
SSL/TLS.
9. Ransomware:
 Malicious software that encrypts a user's files or entire system, demanding a
ransom for their release. Ransomware can spread through email attachments,
malicious links, or vulnerabilities.
10. Botnets:
 Networks of compromised computers (bots) controlled by a single entity (the
botmaster). Botnets can be used for various malicious activities, including
DDoS attacks, spam distribution, and information theft.
11. Social Engineering:
 Manipulating individuals into divulging sensitive information or performing
actions that may compromise security, often through deception and
psychological manipulation.
12. DNS Spoofing and Cache Poisoning:
 Redirecting DNS queries to malicious servers, leading users to fraudulent
websites. Cache poisoning involves corrupting the DNS cache with false
information.
13. Brute Force Attacks:
 Attempting to gain unauthorized access to a system by systematically trying
all possible combinations of passwords until the correct one is found.

You might also like