Please select a subject first
Advertisements
Advertisements
Consider the following string myAddress:
myAddress = "WZ-1, New Ganga Nagar, New Delhi"
What will be the output of the following string operation:
print(myAddress.index('Agra'))
Concept: undefined >> undefined
Write a program to input line(s) of text from the user until enter is pressed. Count the total number of characters in the text (including white spaces), the total number of alphabets, the total number of digits, the total number of special symbols, and the total number of words in the given text. (Assume that each word is separated by one space).
Concept: undefined >> undefined
Advertisements
Write a function deleteChar() which takes two parameters one is a string and the other is a character. The function should create a new string after deleting all occurrences of the character from the string and return the new string.
Concept: undefined >> undefined
Write a function that takes a sentence as an input parameter where each word in the sentence is separated by a space. The function should replace each blank with a hyphen and then return the modified sentence.
Concept: undefined >> undefined
With the help of an example show, how can you return more than one value from a function?
Concept: undefined >> undefined
Rishika found a crumpled paper under her desk. She picked it up and opened it. It contained some text which was struck off thrice. But she could still figure out easily that the struck-off text was the email ID and password of Garvit, her classmate. What is ethically correct for Rishika to do?
Concept: undefined >> undefined
Match the following:
| Column A | Column B |
| Plagiarism | Fakers, by offering special rewards or money prizes asked for personal information, such as bank account information. |
| Hacking | Copy and paste information from the Internet into your report and then organize it. |
| Credit card fraud | The trail is created when a person uses the Internet. |
| Digital Foot Print | Breaking into computers to read private emails and other files. |
Concept: undefined >> undefined
The school offers a wireless facility (wifi) to the Computer Science students of Class XI. For communication, the network security staff of the school has a registered URL schoolwifi.edu. On 17 September 2017, the following email was mass distributed to all the Computer Science students of Class XI. The email claimed that the password of the students was about to expire. Instructions were given to go to the URL to renew their password within 24 hours.

Do you find any discrepancy in this email?
Concept: undefined >> undefined
The school offers a wireless facility (wifi) to the Computer Science students of Class XI. For communication, the network security staff of the school has a registered URL schoolwifi.edu. On 17 September 2017, the following email was mass distributed to all the Computer Science students of Class XI. The email claimed that the password of the students was about to expire. Instructions were given to go to the URL to renew their password within 24 hours.

What will happen if the student will click on the given URL?
Concept: undefined >> undefined
The school offers a wireless facility (wifi) to the Computer Science students of Class XI. For communication, the network security staff of the school has a registered URL schoolwifi.edu. On 17 September 2017, the following email was mass distributed to all the Computer Science students of Class XI. The email claimed that the password of the students was about to expire. Instructions were given to go to the URL to renew their password within 24 hours.

Is email an example of cybercrime? If yes, then specify which type of cybercrime is it. Justify your answer.
Concept: undefined >> undefined
How would you recognize if one of your friends is being cyberbullied?
Cite the online activities which would help you detect that your friend is being cyberbullied.
Concept: undefined >> undefined
Write the difference between the following -
Non-ethical hacking and Ethical hacking
Concept: undefined >> undefined
Describe why it is important to secure your wireless router at home. Search the Internet to find the rules to create a reasonably secure password. Create an imaginary password for your home router. Will you share your password for the home router with the following people? Justify your answer.
- Parents
- Friends
- Neighbours
- Home Tutors
Concept: undefined >> undefined
List down the steps you need to take in order to ensure -
your computer is in good working condition for a longer time.
Concept: undefined >> undefined
Cite examples depicting that you were a victim of the following cybercrime. Also, cite provisions in IT Act to deal with such a cybercrime.
Identity theft
Concept: undefined >> undefined
Cite examples depicting that you were a victim of the following cybercrime. Also, cite provisions in IT Act to deal with such a cybercrime.
Credit card account theft
Concept: undefined >> undefined
Observe the following program carefully, and identify the error:
from math import sqrt,ceil
def calc():
print cos(0)
calc() #function callConcept: undefined >> undefined
Write a program that contains user-defined functions to calculate area, perimeter, or surface area whichever is applicable for various shapes like square, rectangle, triangle, circle, and cylinder. The user-defined functions should accept the values for calculation as parameters and the calculated value should be returned. Import the module and use the appropriate functions.
Concept: undefined >> undefined
Write a Python program to find the highest 2 values in a dictionary.
Concept: undefined >> undefined
Write a Python program to create a dictionary from a string.
Note: Track the count of the letters from the string.
Sample string: 'w3resource'
Expected output : {'3': 1, 's': 1, 'r': 2, 'u': 1, 'w': 1, 'c': 1, 'e': 2, 'o': 1}Concept: undefined >> undefined
