Please select a subject first
Advertisements
Advertisements
Consider the following list myList. What will be the elements of myList after the following operation:
myList = [10,20,30,40]
myList.extend([80,90])Concept: undefined >> undefined
What will be the output of the following code segment:
myList = [1,2,3,4,5,6,7,8,9,10]
for i in range(0,len(myList)):
if i%2 == 0:
print(myList[i])Concept: undefined >> undefined
Advertisements
Differentiate between append() and extend() functions of list.
Concept: undefined >> undefined
Write a function that returns the largest element of the list passed as a parameter.
Concept: undefined >> undefined
Write a function to return the second largest number from a list of numbers.
Concept: undefined >> undefined
Write a program to read a list of n integers and find their median.
Note: The median value of a list of values is the middle one when they are arranged in order. If there are two middle values then take their average.
Hint: You can use a built-in function to sort the list.
Concept: undefined >> undefined
Write a program to read a list of elements. Input an element from the user that has to be inserted in the list. Also, input the position at which it is to be inserted. Write a user-defined function to insert the element at the desired position in the list.
Concept: undefined >> undefined
Read a list of n elements. Pass this list to a function that reverses this list in place without creating a new list.
Concept: undefined >> undefined
Sourabh has to prepare a project on “Digital India Initiatives”. He decides to get information from the Internet. He downloads three web pages (webpage 1, webpage 2, webpage 3) containing information on Digital India Initiatives. Which of the following steps taken by Sourabh is an example of plagiarism or copyright infringement? Give justification in support of your answer.
- He read a paragraph on “ Digital India Initiatives” from webpage 1 and rephrased it in his own words. He finally pasted the rephrased paragraph in his project.
- He downloaded three images of “ Digital India Initiatives” from webpage 2. He made a collage for his project using these images.
- He downloaded the “Digital India Initiative” icon from web page 3 and pasted it on the front page of his project report.
Concept: undefined >> undefined
You got the below-shown SMS from your bank querying a recent transaction. Answer the following:

Will you SMS your pin number to the given contact number?
Concept: undefined >> undefined
You got the below-shown SMS from your bank querying a recent transaction. Answer the following:

Will you call the bank helpline number to recheck the validity of the SMS received?
Concept: undefined >> undefined
Write the difference between the following -
Copyrights and Patents
Concept: undefined >> undefined
Write the difference between the following -
Plagiarism and Copyright infringement
Concept: undefined >> undefined
Write the difference between the following:
Free software and Free and open-source software
Concept: undefined >> undefined
If you plan to use a short text from an article on the web, what steps must you take in order to credit the sources used?
Concept: undefined >> undefined
When you search online for pictures, how will you find pictures that are available in the free public domain? How can those pictures be used in your project without copyright violations?
Concept: undefined >> undefined
Websites that you visit collect what type of information about you?
Concept: undefined >> undefined
In the computer science class, Sunil and Jagdish were assigned the following task by their teacher.
- Sunil was asked to find information about “India, a Nuclear power”. He was asked to use the Google Chrome browser and prepare his report using Google Docs.
- Jagdish was asked to find information about “Digital India”. He was asked to use the Mozilla Firefox browser and prepare his report using Libre Office Writer.
What is the difference between the technologies used by Sunil and Jagdish?
Concept: undefined >> undefined
