NTPEL assignment answer week 3.This article will help you with the answers to NTPEL(National Programme on Technology Enhanced Learning) to answer course "Privacy and Security in Online Media"
Week : 3 Assignment 2023
Course Name: Privacy And Security in Online Media
Below you will find answers for Privacy And Security in Social Media Assignment 3 Answer 2023:-
NTPEL Soft Privacy And Security in Online Social Media Assignment answers
Que 1:- Which of the following statement(s) is/are true about Twitter and its API?
S1: Twitter keys can be created from developer.twitter.com
S2: Twitter API has no rate limit. We can collect any number of tweets using Twitter API.
S3: Streaming API can collect all the tweets related to certain events.
A)Only S1 is true
B)S2 and S3 are true
C)All S1, S2, S3 are true
D)S1 and S3 are true
Answer:- A
Que 2:- Consider the following statements. Which of the following options is false?
A) MySQL supports dynamic queries and is schema-free, whereas Mongo DB is schema- dependent.
B) MongoDB is a document-based data model.
C) MongoDB is a better choice than MySQL when your data has a lot of relations.
D) MongoDB is faster than MySQL.
Answer:- C
Que 3:- Consider the following statements. Which option(s) is false in understanding privacy perceptions?
A)If you receive a friend request on your most frequently used OSN, you are more likely to add a person of the opposite gender as a friend.
B)Many people feel about the personal information that even if they have specified their privacy settings, their data is not secure from a privacy breach.
C)If you receive a friend request on your most frequently used OSN, you are less likely to add a person of the opposite gender as a friend.
D)If you receive a friend request on your most frequently used OSN, you are more likely to add anyone as a friend.
Answer:- A,C & D
Que 4:- Which of the following is the most powerful tool to build real-time applications that can process and analyse tweets and can do sentiment analysis, trending events, etc.?
A)Twitter API
B)Graph API
C)Twitter streaming API
C)PRAW
Answer:- C
Que 5:- Consider the following examples. Match the categories: Fundamentalists, pragmatists and unconcerned with each example.
Example 1: a business leader who makes decisions based on what will be most profitable for the company rather than adhering to a particular business philosophy.
Example 2: A person who strictly adheres to the literal interpretation of religious texts and refuses to consider other perspectives or modern interpretations.
Example 3: an individual is unconcerned about the environment and takes no steps to reduce their carbon footprint or conserve resources.
A)Example 1: Pragmatist, Example 2: Fundamentalists, Example 3: unconcerned
B)Example 1: pragmatist, Example 2: unconcerned, Example3:unconcerned
C)Example 1: unconcerned, Example 2: pragmatists, Example3:unconcerned
D)Example 1: Fundamentalist, Example 2:unconcerned, Example3:unconcerned
Answer:- A
Que 6:- Which of the following statement(s) is/are true about fundamentalists?
A)They generally avoid being identified, avoid being in pictures
B)They generally use technologies to avoid tracking them
C)They generally don't care about their personal information
D)They generally care about their personal information but don't care about professional ones.
Answer:- D
Que 7:- Which of the following is true?
A)TweetCred is a chrome extension that helps to find tweet credibility.
B)Web of Trust score is used to denote a website's reputation.
C)Both a) and b)
D)None of the above
Answer:- C
Que 8:- The basic method for adding data to MongoDB is______.To insert a single document, use the collection's_____method.
A)Insert, insertOne
B)Insert, insertMany
C)Add, addOne
D)None of the above
Answer:- A
Que 9:- Which of the following python command(s) is/are correct w.r.t to connection with MongoDB ?
A)from pymongo import MongoClient
client = MongoClient(port=27017)
B)import pymongo
client = pymongo.MongoClient( "localhost:27017")
C)from pymongo import MongoClient
client = MongoClient('localhost:27017')
D)from pymongo import MongoClient
db = client.business
Answer:- B & C
Que 10:- Given below is the sample data in JSON format. Here x randomly named restaurants with corresponding ratings will be created in the MongoDB database called "restaurants". These restaurants are created in a single collection called "reviews". Choose the correct command to find the total number of restaurants rated with a 1.
restaurants = {u'rating': 1,
u'_id': ObjectId('58e66688hdtg67jf195'),
u'name': u'pizza wings,
u'cuisine': u'ltalian'}
A)db.reviews.find({'rating': 1}).count()
B)db.reviews.find_one({'rating': 1})
C)db.reviews.find_all({'rating': 1})
D)db.reviews.find({'rating': 1}).count
Answer:- A
