Jawaharlal Nehru Technological University Hyderabad
Jawaharlal Nehru Technological University Hyderabad B.Tech III INTRODUCTION TO ANALYTICS (ASSOCIATE ANALYTICS – I) Previous Question Paper (February/March - 2022 - R16)
Answer any five questions
All questions carry equal marks
Main
Explain different types of loops in R programming.
Answer
R programming provides three primary types of loops to execute a block of code repeatedly:
- repeat loop: Executes a block of code repeatedly until a break statement is encountered. It is an infinite loop unless a condition is explicitly defined to exit. repeat { if(condition) break; }
- while loop: Executes a block of code as long as a specified condition evaluates to TRUE. The condition is checked before each iteration. while(condition) { # code to execute }
- for loop: Iterates over a sequence, such as a vector, list, or array, executing the code block for each element in the sequence. for(variable in sequence) { # code to execute }
Illustrate how to find outlier in data set using R.
Answer
Outliers can be identified in R using statistical methods like the Interquartile Range (IQR) rule. The process involves calculating the first quartile (Q1), the third quartile (Q3), and the IQR (Q3 - Q1). Data points falling below Q1 - 1.5 * IQR or above Q3 + 1.5 * IQR are considered outliers.
Example implementation:
data <- c(10, 12, 12, 13, 12, 11, 14, 100) # 100 is an outlier
Q1 <- quantile(data, 0.25)
Q3 <- quantile(data, 0.75)
IQR_val <- Q3 - Q1
lower_bound <- Q1 - 1.5 * IQR_val
upper_bound <- Q3 + 1.5 * IQR_val
outliers <- data[data < lower_bound | data > upper_bound]
print(outliers)Alternatively, the boxplot() function provides a visual representation where outliers are plotted as individual points beyond the whiskers.
Demonstrate work management and prioritization in data analytics.
Answer
Sign in to view the complete answer paper.
Explain how to define arrays in R and illustrate with example.
Answer
Sign in to view the complete answer paper.
State critical limit theorem.
Answer
Sign in to view the complete answer paper.
Explain normal distribution function and curves.
Answer
Sign in to view the complete answer paper.
Elaborate effective communication techniques for getting data.
Answer
Sign in to view the complete answer paper.
Analyze the characteristics of professional in data analytics.
Answer
Sign in to view the complete answer paper.
Compare NoSQL Vs SQL.
Answer
Sign in to view the complete answer paper.
Write R program to read Excel data into R.
Answer
Sign in to view the complete answer paper.
State steps to connect NoSQL data using R.
Answer
Sign in to view the complete answer paper.
Write R program to modify data in NoSQL using R.
Answer
Sign in to view the complete answer paper.
Explain Regression analysis.
Answer
Sign in to view the complete answer paper.
Discuss function in R to implement regression analysis.
Answer
Sign in to view the complete answer paper.
What is business objective in engineering? Explain how to get information for it.
Answer
Sign in to view the complete answer paper.
Explain the phases of business analysis related to engineering.
Answer
Sign in to view the complete answer paper.