WorksheetsIC Practice
Total questions: 24
Worksheet time: 12mins
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)
8
8.0
Both a and b are correct
There is an error in the code
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)
13
Error in the code
13.0
14
Choose the correct answer. What is the output? Code: num1= "10" num2= "20" Total= num1+num2 print("The total is:", Total)
The total is 30
The total is 2010
The total is 1020
The total is 30.0
Which code is the correct one?
name= input("Please enter your name:") print("welcome ",name) age="how old are you?" print("So you are",age,"years old")
name= input("Please enter your name:") print("welcome ",name) age=input("how old are you?") print("So you are",age,"years old")
name= input("Please enter your name:") print("welcome ",name) age="how old are you" print("So you are",age)
name= input("Please enter your name:") print("Welcome ",Name) age=input("how old are you?") print("So you are",age)
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)
30
50
-10
70
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)
-20
12
60
0
What is the output if num = 60.0? Code: num=float(input("Enter a number")) num1=20 Calculation= num-num1 print(Calculation)
40
40.0
60.0
20.0
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.
Encryption
Cryptography
Caesar Cipher
Spoofing
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.
Caesar Cipher
Encryption
Cryptography
Pretexting
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 _____
Phishing
Spoofing
Pretexting
Scareware
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.
Spoofing
Phishing
Pretexting
Baiting
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.
Cryptography
Encryption
Caesar Cipher
Scareware
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.
Baiting
Phishing
Spoofing
Pretexting
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 _____
Scareware
Phishing
Spoofing
Baiting
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.
Pretexting
Phishing
Spoofing
Baiting
Answer the following questions: Explain how Cryptography works.
Transforms plaintext into ciphertext using an encryption key; recipients use a decryption key to recover the original message.
Scrambles data randomly without keys so only the sender can read it.
Hides information by deleting parts of the message to make it shorter.
Sends messages using invisible ink so they cannot be seen by computers.
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.
Collect data → Use gained knowledge → Plot attack → Fetch tools → Attack
Attack → Collect data → Fetch tools → Plot attack → Use gained knowledge
Fetch tools → Plot attack → Use gained knowledge → Collect data → Attack
Plot attack → Use gained knowledge → Collect data → Attack → Fetch tools
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?
Pumvyt tl
Pvmwzu tm
Ovtylu so
Cnkqto nh
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?
SEND LATER
MAIL TODAY
WAIT LONGER
COME QUICKLY
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?
Fdoo ph
Ednn og
Zbii kd
Hffr qi
State True or False: Social Engineering is a technique that doesn’t influence users of a computing system into disclosing confidential information.
True
False
State True or False: Attackers need to learn about the victim before launching their attack.
True
False
State True or False: It is better to use the same password for different accounts.
True
False
State True or False: One way to stay protected is keeping your antivirus program regularly updated.
True
False
