NCERTCh 12Free

Threats and Prevention

🎓 Class 12📖 Computer Science📖 22 notes🧠 15 Q&A⏱️ ~33 min

Threats and PreventionStudy Notes

NCERT-aligned · 22 notes · 3 shown free

12.1 THREATS AND PREVENTION

Explanation

12.1 THREATS AND PREVENTION

In the digital age, security is a critical concern for individuals and organizations alike. The concept of security in computing can be understood by analogy to personal security: being alone or isolated is the most secure state. For computers, this means that a device not connected to any external device or network is free from external security threats. However, such isolation is impractical because the modern world is increasingly interconnected, with devices and computers linked via networks, especially the Internet. This interconnectedness exposes systems to various security threats, making network security a vital area of concern. Network security involves protecting devices and data from unauthorized access, misuse, or damage. Threats arise from exploiting vulnerabilities or weaknesses in a network or communication system to cause harm or damage to a user's reputation or data integrity. These threats can come in many forms, including malicious software, unauthorized access, data theft, and denial of service attacks. Preventing these threats requires a combination of technical measures, user awareness, and best practices. Users must understand that complete isolation is not feasible; instead, they must adopt security measures such as using antivirus software, firewalls, secure communication protocols, and safe browsing habits. Organizations need to implement robust network security policies, regular software updates, and employee training to mitigate risks. Thus, the chapter begins by highlighting the importance of understanding threats in a connected world and the need for preventive strategies to safeguard computer systems and data.

  • Isolation of a computer from networks eliminates external threats but is impractical.
  • Network security protects devices and data from unauthorized access and misuse.
  • Threats exploit vulnerabilities in networks or communication systems.
  • Connectedness of devices increases exposure to security threats.
  • Prevention involves technical measures and user awareness.
  • Security is a continuous process in a connected digital world.
  • 📌 Network Security: Protection of devices and data from unauthorized access or misuse.
  • 📌 Threat: Any method exploiting vulnerabilities to cause harm or damage.

12.2 MALWARE

Explanation

12.2 MALWARE

Malware, short for MALicious softWARE, refers to any software developed with the intention to damage hardware devices, steal data, or cause other troubles to users. Malware has evolved over time, causing significant damage worldwide, both financially and in terms of data loss or corruption. Malware types include viruses, worms, ransomware, trojans, spyware, adware, and keyloggers. Each type has distinct characteristics and modes of operation but shares the common goal of compromising computer security. Viruses are malicious code that attach themselves to legitimate programs and execute harmful activities when the infected program runs. Worms are standalone programs that replicate themselves and spread across networks without needing a host program. Ransomware blocks or encrypts user data and demands ransom for access. Trojans masquerade as legitimate software but perform malicious actions once installed. Spyware secretly collects user information, while adware displays unwanted advertisements. Keyloggers record keystrokes to capture sensitive information. Malware can spread through various channels, including internet downloads, spam emails, removable storage devices, and network propagation. Recognizing malware infection signs such as frequent pop-ups, slow system performance, and unknown programs starting automatically is crucial for timely intervention. Preventive measures include using updated antivirus software, configuring browser security, avoiding pirated software, applying software patches, backing up data regularly, enforcing firewall protection, and exercising caution with emails and removable devices. Understanding malware and its prevention is essential for maintaining computer security in a connected world.

  • Malware is software designed to damage hardware, steal data, or cause trouble.
  • Types include viruses, worms, ransomware, trojans, spyware, adware, and keyloggers.
  • Malware spreads via internet downloads, spam emails, removable devices, and networks.
  • Signs of infection include pop-ups, slow performance, unknown programs, and data loss.
  • Prevention involves antivirus software, safe browsing, software updates, and backups.
  • User awareness is critical to avoid malware infection.
  • 📌 Malware: Malicious software intended to harm or exploit computers.
  • 📌 Virus: Malicious code that attaches to programs and executes harmful actions.
  • 📌 Worm: Standalone malware that replicates and spreads through networks.

12.2.1 Virus

Explanation

12.2.1 Virus

A computer virus is a malicious software code designed to perform harmful activities on a computer system, such as consuming CPU time, corrupting files, or stealing sensitive information. The term 'computer virus' was coined by Fred Cohen in 1985, bo

Practice QuestionsThreats and Prevention

Includes NCERT exercise questions with answers

Q1.What will be the output for following code: P=(1,2,3,4,5) P[ : :-1] print(P)
A.(1,2,3,4,5)
B.[5,4,3,2,1]
C.(5,4,3,2,1)
D.None of these

Answer:

(1,2,3,4,5)

MediumNCERT
Q2.What will be the output for following code: X= [i*i for i in range (5) if i%2==0] print(X)
A.[0, 4, 16]
B.[00, 22, 44]
C.[00, 11, 22, 33, 44]
D.[0, 1, 4, 9, 16]

Answer:

[0, 4, 16]

MediumNCERT
Q3.What will be the output of following statements: str1=“Hello World” print( str1.isalpha() )
A.True
B.False
C.Insufficient information
D.Error

Answer:

False

MediumNCERT
Q4.On the basis of Execution flow of the Statements in a Python program, a group of statements can be categorized as:
A.Sequential Statements
B.Selection / Conditional Statements
C.Iteration / Looping Constructs
D.All of these

Answer:

All of these

MediumNCERT
Q5.In a dictionary, each key is separated from its value by a:
A.Colon (:)
B.Comma (,)
C.Equal operator (=)
D.None of these

Answer:

Colon (:)

MediumNCERT
Q6.1. Why is a computer considered to be safe if it is not connected to a network or Internet?

Answer:

A computer that is not connected to any network or the Internet is considered safe because it is isolated from external threats such as viruses, malware, hacking attempts, and unauthorized access. Without network connectivity, malicious software cannot be downloaded or spread, and attackers cannot remotely access the system.

Explanation:

Since the computer is offline, it cannot receive data from external sources that might contain malware or viruses. Also, no remote user can attempt to hack or access the system, thus reducing the risk of security breaches.

EasyNCERT
Q7.2. What is a computer virus? Name some computer viruses that were popular in recent years.

Answer:

A computer virus is a malicious software program designed to replicate itself and spread from one computer to another, often causing harm by corrupting or deleting data, slowing down systems, or stealing information. Some popular computer viruses in recent years include WannaCry, ILOVEYOU, Mydoom, and Stuxnet.

Explanation:

Viruses attach themselves to legitimate programs or files and execute when the host program runs. They can spread via email attachments, downloads, or infected storage devices. Naming recent viruses helps understand the evolving nature of threats.

EasyNCERT
Q8.3. How is a computer worm different from a virus?

Answer:

A computer worm is a standalone malware program that can self-replicate and spread independently across networks without needing to attach itself to a host program, whereas a virus requires a host file or program to spread. Worms often exploit network vulnerabilities to propagate, while viruses spread through user actions like opening infected files.

Explanation:

The key difference lies in their method of propagation: viruses need a host and user intervention; worms do not. Worms can spread faster and cause network congestion, while viruses typically infect files and programs.

MediumNCERT