Monday, 8 January 2024

L-9 Cyber Security/Class-6 Computer

 

Class – VI

Subject : Computer Science

L-9 Cyber Security



 
 A)   Answer the following questions:
1)    What do you mean by cyber security?
Ans: Cybersecurity refers to the practice of protecting computer systems, networks, and data from theft, damage, or unauthorized access. It involves implementing measures to ensure the confidentiality, integrity, and availability of digital information.
 
2)    What do you mean by Malware? Define its types.
Ans: Malware, short for malicious software, is a type of software designed to harm or exploit computer systems. Types of malware include:
 
Viruses: Programs that replicate and spread by attaching to other programs.

Worms: Self-replicating programs that spread independently over networks.

Trojans: Programs that appear legitimate but contain malicious code.

Spyware: Software that secretly gathers information about a user.

Ransomware: Malware that encrypts files and demands a ransom for their release.
 
3)    What are the types of Cyber-attacks.
Ans: Types of cyber-attacks include:
 
Phishing: Deceptive attempts to obtain sensitive information by posing as a trustworthy entity.

Denial-of-Service (DoS) attacks: Overloading a system to make it unavailable to users.

Man-in-the-Middle (MitM) attacks: Intercepting communication between two parties.

SQL Injection: Exploiting vulnerabilities in database query languages.

Cross-Site Scripting (XSS): Injecting malicious scripts into web pages.
 
4)    What are the prevention steps of Cyber-attacks?
Ans: Prevention steps for cyber-attacks include:
 
  • Keeping software and systems up-to-date with the latest security patches.
  • Using strong, unique passwords and enabling multi-factor authentication.
  • Implementing firewalls and antivirus software.
  • Educating users about phishing and social engineering tactics.
  • Regularly backing up data to prevent loss in case of an attack.
 
B)    State ‘T’ for True or ‘F’ for False:
1)    Malware is the common cyber threats. TRUE
2)    SL injection is not a type of cyber-attacks. FALSE
3)    E-mail attachment could be infected with Malware. TRUE
4)    Trojan is a type of Malware. TRUE

C)    Fill in the blanks:
1)    Malware means malicious software .
2)    Network Security is a practice of  securing  a computer network.
3)    Cyber attack is an example of  a security breach .
 
 

L-8 Python/ Class-6th Computer

 

Class – VI

Subject : Computer Science

L-8 Introduction to Python

 

Paste and Label  components of Python Window

 


Introduction to Python




Download



A)   Fill in the blanks:

1)    Guido Van Rossum  invented python at CWI, Netherland.

2)    The full form of CWI is Centrum Wiskunde &  Informatica .

3)    There are  two  modes in python language.

4)    IDLE is an acronym of Integrated Development and Learning Environment.

 

B)    Short answer type questions:

1)    What is difference between compiler & Interpreter.

Ans: A compiler translates the entire source code into machine code before execution, producing a standalone executable file. An interpreter, on the other hand, translates and executes the source code line by line without producing a separate executable.

 

2)    What is difference between Interactive & Script mode.

Ans: Interactive mode allows users to enter commands directly into the Python shell, and the results are immediately displayed. Script mode involves saving a sequence of Python commands in a script file and executing the entire script at once.

 

3)    What is the use of print statement?

Ans: The print statement is used to display output in Python. It allows you to print text, variables, or expressions to the console, making it a useful tool for debugging and providing information to the user.

 

4)    What is python?

Ans: Python is a high-level, interpreted programming language known for its readability and simplicity. It supports multiple programming paradigms and is widely used in various domains, including web development, data science, artificial intelligence, and more.

 

5)    Write down any two features of Python language.

Ans: Two features of Python language are:

 

Readability: Python code is easy to read and understand, promoting a clean and concise coding style.

Extensive Libraries: Python has a rich standard library and numerous third-party libraries, providing pre-built modules for various tasks.


C)    State ‘T’ for True or ‘F’ for False:

1)    Python is a platform Independent language. TRUE

2)    Python is an example of compiled language. FALSE

3)    Script mode is the command line shell mode. FALSE

4)    Multiline comment is also known as block comment. TRUE

 

L-9 Artificial Intelligence/ Class-7th Computer

 

Class – VII

Subject- Computer

L-9 Artificial Intelligence

 

 


 

Exercise

 

A)   Short answer type questions:

 

1)    What do you mean by Artificial Intelligence?

Ans:  Artificial Intelligence (AI) refers to the capability of machines or computer systems to perform tasks that typically require human intelligence. This includes tasks like learning, reasoning, problem-solving, perception, language understanding, and speech recognition.

 

2)    What are the areas or fields where AI ( Artificial Intelligence)?

Ans:  AI is used in various fields, including healthcare, finance, education, entertainment, autonomous vehicles, robotics, natural language processing, and many more.

 

3)    What are the advantages and disadvantages of AI?

Ans: Advantages of AI:

 

1) Efficiency: AI can perform tasks faster and with greater accuracy than humans.

2) Automation: AI can handle repetitive and mundane tasks, allowing humans to focus on more creative and complex aspects of work.

3) Decision Making: AI systems can analyze large amounts of data to make informed decisions.

 

Disadvantages of AI:

 

1) Job Displacement: Automation through AI can lead to job loss in certain industries.

2) Lack of Creativity: AI lacks the ability to think creatively and may struggle with tasks that require innovative thinking.

3) Ethical Concerns: AI systems may raise ethical issues related to privacy, bias, and decision-making.


B)   Fill in the blanks using the words from the help box:

 

1)    AI stands for Artificial Intelligence .

2)    Weather forecasting is an example of  AI .

3)    Artificial Intelligence is used to read and interpret .

4)    Same advanced organization use  chatbots  to interact with use.

 

 C)   State ‘T’ for True or ‘F’ for False:

1)    Artificial Indigence is a branch of computer science.  TRUE

2)    Reasoning and Problem Solving are examples if AT. TRUE

3)    Human arrears all not reduced by AI. FALSE

Sunday, 7 January 2024

L-8 Cyber World/ Class-7th Computer

 

Class – VII

Subject- Computer

L-8 Cyber World

 

 

 

Exercise

 A)   Short answer type questions:

 

1)    What do you understand by the term ‘SQL Injections’?

Ans: SQL Injections involve inserting malicious SQL code into input fields, exploiting vulnerabilities in a database to access, modify, or delete data.


2)    Write down any two methods which will protect you against cyber-attacks?

Ans: Using strong, unique passwords and keeping software up-to-date are effective methods against cyber-attacks. Employing antivirus software and being cautious with email attachments also enhance protection.

 

3)    How do you will define phishing?

Ans: Phishing is a fraudulent attempt to obtain sensitive information, such as usernames, passwords, and credit card details, by disguising as a trustworthy entity in electronic communication.


B)   Fill in the blanks using the words from the help box:

 

1)    Malware stands for  malicious software .

2)    A self replicating program which will infect our computer system is known as virus.

3)    SQL stands for Structured Query Language.

4)    Advertising software which can be used to spread malware is known as adware.

 

C)   State ‘T’ for True or ‘F’ for False:

1)    Spyware could capture credit card details. TRUE

2)    Virus do not came from Email attachment. FALSE

3)    Malware may be used by cyber criminals to make money. TRUE

4)    Kaspersky is one of the Anti-Virus Software. TRUE

 

Saturday, 6 January 2024

L-7 Coding in Python Class 7th Computer

 

Class – VII

Subject- Computer

L-7 Coding in Python

 

State whether these statements are true or false.

1)    Is Python case sensitive when dealing with identifiers. TRUE

2)    Keywords can be used as identifiers. FALSE

3)    Variable name can be of any length. TRUE

4)    In python a variable must be declared before it is assigned a value. FALSE

D   

      

                   Download Python






Let’s Catch up

1)    Which of this operator is used for addition of numbers in python?

a)    +

b)   

c)     *

d)    /

Ans: a) +

 

2)    Which data type is used to store map values?

a)    Int

b)    String

c)     Set

d)    Dictionary

Ans: d) Dictionary

 

Exercise

 

A)   Tick (ü) the correct option:

 

1)    What will be the output of the following print (2**4+(5+5)**(1+1))

a)    Error

b)    28

c)     118

d)    116

Ans: c) 118


2)    What is the output of the code print(-18//4)

a)    -4

b)    4

c)     -5

d)    5

Ans: a) -4


3)    Which of the following operators has the high precedence?

a)    Not

b)    &

c)     *

d)    +

Ans: c) *


4)    Which one of these is floor division?

a)    //

b)    /

c)     %

d)    None of above

Ans: a) //


5)    Which of the following is not keyword?

a)    Eval

b)    Assert

c)     Pass

d)    None

Ans: a) Eval


B)   Fill in the blanks using the words from the help box:

[   Binary,    Relational,   Reserve,    Addition ]

 

1)    Keyword are the reserve  word.

2)    Operator that work on two operands are called binary   operator.

3)    Relational  are used for comparing two values.

4)    In the expression 121+25  addition   is the operator.

 

C)   State ‘T’ for True or ‘F’ for False:

1)    A Variable name consist of digits, alphabet   and underscore. TRUE

2)    Keywords cannot be used as variable names. TRUE

3)    Float data type is used to store Boolean values. FALSE

4)    The input ( ) allows you to take input from users. FALSE

 

D)   Short answer type questions:

1)    What are keywords?

Ans: Keywords are reserved words in Python with specific meanings.

 

2)    Define the term operator?

Ans: An operator is a symbol that represents an operation to be performed.

 

3)    What is PEDMAS?

Ans: PEDMAS stands for Parentheses, Exponents, Multiplication and Division (from left to right), Addition and Subtraction (from left to right).

 

E)    Long answer type questions:

1)    What is the difference between Relation Operator and Assignment operator?

Ans: Relational operators compare values. Assignment operators assign values.

 

2)    What is operator Precedence?

Ans: Operator precedence defines the order in which operations are performed in an expression.

 

F)    Let’s Solve:

1)    Create a program using arithmetic operators.

Ans: a = 10

b = 5

sum_result = a + b

print("Sum:", sum_result)

 

2)    Write a program to find the greatest number among three numbers. Write their steps also.

Ans: num1 = 15

num2 = 20

num3 = 10

greatest = max(num1, num2, num3)

print("Greatest Number:", greatest)

 

G)   Guess my name:

1)    I am an operator that used for comparison.

Ans: Comparison Operator

 

2)    I am an operator that used for sum.  

Ans: Addition Operator

 

3)    I am the reserve words.

Ans: Reserved Words

 

4)    I am option used to store numeric values.

Ans: Integer

 

5)    I am option used to store true and false.

Ans: Boolean

 

H)   Tech Practice:

1)    Write a program to find out the difference of two given numbers.

Ans: num1 = 25

num2 = 15

difference = num1 - num2

print("Difference:", difference)

 

2)    Create a program to print message “good morning”.

Ans: print("Good morning!")

 


I)      Demonstrate:

1)    The use of operators with examples.

Ans: a = 10

b = 5

result = a + b

print("Result:", result)

 

2)    Also demonstrate use of variables and data types.

Ans: name = "John"

age = 25

height = 1.75

is_student = True

 

print("Name:", name)

print("Age:", age)

print("Height:", height)

print("Is Student:", is_student)

 

 

L-1 Indian Heroes in IT/ 8th computer

  Class 8 th Subject : Computer Science L-1 Indian Heroes in IT Make a list of Indian Heroes in IT with their achievement S....