Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IC Practice

Total questions: 24

Worksheet time: 12mins

Name
Class
Date
1.

Choose the correct answer. If the first number you give is 8. What is the output? Code: a=float(input("please enter the first number:")) num=a print(num)

a)

8

b)

8.0

c)

Both a and b are correct

d)

There is an error in the code

2.

Choose the correct answer. If the first number is 5 and the second number is 8. The output is Code: a=float(input("please enter the first number:")) num=a b=float(input("Please enter the second number:")) num1=b Total= num+num1 print(Total)

a)

13

b)

Error in the code

c)

13.0

d)

14

3.

Choose the correct answer. What is the output? Code: num1= "10" num2= "20" Total= num1+num2 print("The total is:", Total)

a)

The total is 30

b)

The total is 2010

c)

The total is 1020

d)

The total is 30.0

4.

Which code is the correct one?

a)

name= input("Please enter your name:") print("welcome ",name) age="how old are you?" print("So you are",age,"years old")

b)

name= input("Please enter your name:") print("welcome ",name) age=input("how old are you?") print("So you are",age,"years old")

c)

name= input("Please enter your name:") print("welcome ",name) age="how old are you" print("So you are",age)

d)

name= input("Please enter your name:") print("Welcome ",Name) age=input("how old are you?") print("So you are",age)

5.

If num = 40, then what is the value of Calculation? Code: num=int(input("Enter a number")) num1=20 num2=30 Calculation= num+num1-num2 print(Calculation)

a)

30

b)

50

c)

-10

d)

70

6.

If num = 8, then what is the value of Calculation? Code: num=int(input("Enter a number")) num1=20 num2=5 Calculation= num1-num*num2 print(Calculation)

a)

-20

b)

12

c)

60

d)

0

7.

What is the output if num = 60.0? Code: num=float(input("Enter a number")) num1=20 Calculation= num-num1 print(Calculation)

a)

40

b)

40.0

c)

60.0

d)

20.0

8.

Fill in the blanks using the word bank (Spoofing, Phishing, Baiting, Scareware, Caesar Cipher, Encryption, Cryptography, Pretexting): _____ is the process of making a plain text (readable) message into a cipher text (unreadable) message.

a)

Encryption

b)

Cryptography

c)

Caesar Cipher

d)

Spoofing

9.

Fill in the blanks using the word bank (Spoofing, Phishing, Baiting, Scareware, Caesar Cipher, Encryption, Cryptography, Pretexting): _____ method replaces each original letter with a different letter in the alphabet by shifting the alphabet position up or down.

a)

Caesar Cipher

b)

Encryption

c)

Cryptography

d)

Pretexting

10.

Fill in the blanks using the word bank (Spoofing, Phishing, Baiting, Scareware, Caesar Cipher, Encryption, Cryptography, Pretexting): When attackers send an email to the victim alerting them of a specific policy violation _____

a)

Phishing

b)

Spoofing

c)

Pretexting

d)

Scareware

11.

Fill in the blanks using the word bank (Spoofing, Phishing, Baiting, Scareware, Caesar Cipher, Encryption, Cryptography, Pretexting): _____ is a type of scam where a cybercriminal rigs a website’s URL, display name and contact information to make the victim believe that they are dealing with a trusted source.

a)

Spoofing

b)

Phishing

c)

Pretexting

d)

Baiting

12.

Fill in the blanks using the word bank (Spoofing, Phishing, Baiting, Scareware, Caesar Cipher, Encryption, Cryptography, Pretexting): _____ is used to encrypt and decrypt a message.

a)

Cryptography

b)

Encryption

c)

Caesar Cipher

d)

Scareware

13.

Fill in the blanks using the word bank (Spoofing, Phishing, Baiting, Scareware, Caesar Cipher, Encryption, Cryptography, Pretexting): An example of _____ is when attackers carry out the attack by placing malware‑infected flash drives in designated areas.

a)

Baiting

b)

Phishing

c)

Spoofing

d)

Pretexting

14.

Fill in the blanks using the word bank (Spoofing, Phishing, Baiting, Scareware, Caesar Cipher, Encryption, Cryptography, Pretexting): When your computer is reported as affected with serious malware. This refers to _____

a)

Scareware

b)

Phishing

c)

Spoofing

d)

Baiting

15.

Fill in the blanks using the word bank (Spoofing, Phishing, Baiting, Scareware, Caesar Cipher, Encryption, Cryptography, Pretexting): _____ is a kind of cyber attack where the attacker calls the victim as a bank official and asks questions to find out the identity and other details.

a)

Pretexting

b)

Phishing

c)

Spoofing

d)

Baiting

16.

Answer the following questions: Explain how Cryptography works.

a)

Transforms plaintext into ciphertext using an encryption key; recipients use a decryption key to recover the original message.

b)

Scrambles data randomly without keys so only the sender can read it.

c)

Hides information by deleting parts of the message to make it shorter.

d)

Sends messages using invisible ink so they cannot be seen by computers.

17.

Answer the following questions: Given: Attack, Fetch tools, Use gained knowledge, Plot attack, Collect data. Put the various mechanisms of social engineering in the correct order.

a)

Collect data → Use gained knowledge → Plot attack → Fetch tools → Attack

b)

Attack → Collect data → Fetch tools → Plot attack → Use gained knowledge

c)

Fetch tools → Plot attack → Use gained knowledge → Collect data → Attack

d)

Plot attack → Use gained knowledge → Collect data → Attack → Fetch tools

18.

You want to send the following message to your friend by encrypting it: "Inform me". If you create codes by shifting each letter down by 7 places using Caesar Cipher, what would be the encrypted message? The encrypted message is?

a)

Pumvyt tl

b)

Pvmwzu tm

c)

Ovtylu so

d)

Cnkqto nh

19.

Decrypt the following message assuming that it was encrypted by shifting each alphabet down by five places using Cipher Cipher: XJSI QFYJW. The decrypted message is?

a)

SEND LATER

b)

MAIL TODAY

c)

WAIT LONGER

d)

COME QUICKLY

20.

You want to send the following message to your friend by encrypting it: "Call me". If you create codes by shifting each letter down by 3 places, what would be the encrypted message using Polymorphism? The encrypted message is?

a)

Fdoo ph

b)

Ednn og

c)

Zbii kd

d)

Hffr qi

21.

State True or False: Social Engineering is a technique that doesn’t influence users of a computing system into disclosing confidential information.

a)

True

b)

False

22.

State True or False: Attackers need to learn about the victim before launching their attack.

a)

True

b)

False

23.

State True or False: It is better to use the same password for different accounts.

a)

True

b)

False

24.

State True or False: One way to stay protected is keeping your antivirus program regularly updated.

a)

True

b)

False