Samsung Innovation Campus - Big Data Technical Assessment
Samsung Innovation Campus - Big Data Track
Technical Assessment Practice Questions with Answers
Q1. What will this output?
```python
a = [1, 2, 3]
print(a[::-1])
```
a) [1, 2, 3]
b) [3, 2, 1]
c) [1, 3, 2]
d) Error
Answer: b) [3, 2, 1]
Q2. Which SQL query returns the number of rows in a table `students`?
a) SELECT COUNT(*) FROM students;
b) SELECT * FROM students;
c) SELECT COUNT(name) FROM students;
d) SELECT SUM(*) FROM students;
Answer: a) SELECT COUNT(*) FROM students;
Q3. Which component stores data in Hadoop?
a) YARN
b) Hive
Samsung Innovation Campus - Big Data Technical Assessment
c) HDFS
d) Pig
Answer: c) HDFS
Q4. In Pandas, what does `df.head(3)` return?
a) Last 3 rows
b) First 3 rows
c) First 3 columns
d) First 3 rows with null values
Answer: b) First 3 rows
Q5. A man completes a job in 10 days. Another man can do the same in 15 days. If they work together, how
many days will they take?
a) 6
b) 8
c) 9
d) 12
Answer: a) 6