Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

MCKV INSTITUTE OF ENGINEERING

243, GT ROAD (NORTH), LILUAH, HOWRAH-711204, PH-2654931/17

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

ASSIGNMENT-2(CA3) FOR CSE(DS) 4th YEAR Even(8th ) SEMESTER AY-2023-24


LAST DATE OF SUBMISSION: 29/04/2024

Paper Code: - PE-CS801A Paper Name: - Big Data Analytics

NAME :- _______________________________________________

ROLL NO:
a) Class Roll No

b) Exam Roll No.

QUESTIONS 1A 1B 2A 2B

CO CO2 CO4 CO1 CO2

Bloom’s Understand Analyze Analyze Analyze


Taxonomy Level

Cognitive Level IOCQ IOCQ HOCQ HOCQ

Marks Alloted 5 5 5 5

Marks obtained

OVER ALL MARKS:

_______________________
Signature of Faculty
Assignment-2 for CA3 Evaluation

Paper Code: PE-CS801A Full Marks: 20


Submit by: 29/04/2024 Session:2023-24

Instructions to the Student

1. All assignments should be submitted in A4 sheet along with printed copy of front pages.
2. All answers must be written in good and clear handwriting failing which marks will be deducted.
3. Assignment should be submitted in hard copy within deadline.

Answers all of the following questions as per above-mentioned instructions.

Q1. A. Briefly describe basic working principle of MapReduce. 5


[Module2/CO2/Understand/IOCQ]
B. List the differences between NoSQL and relational databases. 5
[Module5/CO4/Analyze/IOCQ)]

Q2.A Predict the potential challenges that Hadoop might face in the coming years.
Suggest how the Hadoop ecosystem could adapt to overcome these challenges. 5
[Module1/CO1/Analyze-HOCQ]

B. Go through the following Pig Programme: Analyse the code block to state the purpose
of the program along with semantics and expected output. 1+2+2= 5
[Module3/CO2/Analyze/HOCQ)]
Program:-
[
line = LOAD '/root/pigdemos/lines.txt' AS (line:Chararray);
Words = FOREACH input GENERATE FLATTEN(TOKENIZE(line)) AS word;
Grouped = GROUP words BY word;
wordcount = FOREACH Grouped GENERATE group, COUNT(words);
DUMP wordcount;
]

Input File(lines.txt) :-
[ Welcome to Hadoop Session
Introduction to Hadoop
Introducing Hive
Hive Session
Pig Session ]

You might also like