Data Science For Engineers
Data Science For Engineers
unit=20&assessment=205
Answer Submitted.
X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
1) Which of the following statements are TRUE in accordance with De Morgan’s laws for 1 point
How does an
NPTEL online 2 given events A and B?
course work?
¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯
P (A ∩ B) = P (A) ∩ P (¯B
¯¯¯
()
)
Setup Guide ¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯
P (A ∪ B) = P (A ∩ ¯B
¯¯¯
)
()
¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯
Pre Course P (A ∩ B) = P (A ∪ ¯B
¯¯¯
)
Material ()
P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
Week 0 () Yes, the answer is correct.
Score: 1
Practice: Week Accepted Answers:
¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯
0: Assignment P (A ∪ B) = P (A ∩ ¯B ¯¯¯
)
0 ¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯ ¯¯¯¯
P (A ∩ B) = P (A ∪ B)
(assessment?
name=205) 2) Determine the total number of outcomes in the sample space if 2 letters are chosen 1 point
from the letters a, e, i, o, u with repetition
Week 1 ()
10
Week 2 () 32
25
1 of 5 04-09-2024, 01:53 pm
Data Science for Engineers - - Unit 5 - Week 0 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=20&assessment=205
20
Week 3 ()
Yes, the answer is correct.
Week 4 () Score: 1
Accepted Answers:
25
Week 5 ()
3) Given a matrix A and a scalar k, (kA)−1 equals 1 point
Week 6 ()
Week 7 ()
kA−1
|kA−1 |. A
Text
Transcripts ()
(A−1 )k
Download A−1 /k
Videos ()
Yes, the answer is correct.
Score: 1
Books ()
Accepted Answers:
A−1 /k
Problem
Solving 4) Given [x1 , x2 , x3 , . . . , xn ] are the possible values of a random variable X, and 1 point
Session - p1 , p2 , p3 , . . . , pn be the corresponding probabilities to each value of the random variable. The
July 2024 () mean is computed by the formula
∑ni=1 pi xi
n
n
∑ pi
i=1
n
∑ pi xi
i=1
None of these
True
False
2 of 5 04-09-2024, 01:53 pm
Data Science for Engineers - - Unit 5 - Week 0 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=20&assessment=205
True
$15240.67
$15804.33
$15522.5
None of these
7) Given below is tabular data on a test conducted recently to detect a new mutant of the 1 point
coronavirus.
Find the number of people who have not actually contracted the virus yet have been tested
positive?
284
173
138
227
8) Given a pie chart that indicates the expenditure of a manufacturing organization 1 point
towards various activities, what is the ratio of expenditure for the R & D department to the Marketing
department?
3 of 5 04-09-2024, 01:53 pm
Data Science for Engineers - - Unit 5 - Week 0 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=20&assessment=205
1 : 1.54
1 : 0.65
1 : 0.44
None of these
9) 3 natural numbers are chosen at random. What is the probability that their product 1 point
yields an odd number?
2/3
1/6
1/2
1/8
n!
4 of 5 04-09-2024, 01:53 pm
Data Science for Engineers - - Unit 5 - Week 0 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=20&assessment=205
(n / 2) + 1
(n + 1) / 2
n2
5 of 5 04-09-2024, 01:53 pm
Data Science for Engineers - - Unit 6 - Week 1 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=21&assessment=206
Answer Submitted.
X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
2) In the R code given below, the value of "i” at which the loop breaks is --------- 1 point
Week 1 ()
1 of 4 04-09-2024, 01:54 pm
Data Science for Engineers - - Unit 6 - Week 1 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=21&assessment=206
Introduction to 3
R (unit? 15
unit=21&lesson
5
=23)
25
Introduction to
Yes, the answer is correct.
R (Continued)
Score: 1
(unit?
Accepted Answers:
unit=21&lesson
5
=24)
3) The output of the code given below is --------- 1 point
Variables and
datatypes in R
(unit? x =c(1:4)
unit=21&lesson y =c(6,3)
=25) x *y
Control 11 12 13
structures
30 20 40
(unit?
unit=21&lesson 13.5 14.5 15.5
2 of 4 04-09-2024, 01:54 pm
Data Science for Engineers - - Unit 6 - Week 1 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=21&assessment=206
=31) 2 12
Data Yes, the answer is correct.
visualization in Score: 1
R Basic Accepted Answers:
graphics (unit? 13.5 14.5 15.5
unit=21&lesson
=32) Check Answers and Submit
Common
Your score is: 5/5
doubts asked
on R Language
(Week-1) (unit?
unit=21&lesson
=33)
Practice: Week
1: Assignment
1 (Non
Graded)
(assessment?
name=206)
Quiz: Week 1 :
Assignment 1
(assessment?
name=214)
Week 1
Feedback Form
: Data Science
for Engineers
(unit?
unit=21&lesson
=153)
Week 2 ()
Week 3 ()
Week 4 ()
Week 5 ()
Week 6 ()
Week 7 ()
Text
Transcripts ()
3 of 4 04-09-2024, 01:54 pm
Data Science for Engineers - - Unit 6 - Week 1 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=21&assessment=206
Download
Videos ()
Books ()
Problem
Solving
Session -
July 2024 ()
4 of 4 04-09-2024, 01:54 pm
Data Science for Engineers - - Unit 6 - Week 1 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=21&assessment=214
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
1 of 5 04-09-2024, 01:54 pm
Data Science for Engineers - - Unit 6 - Week 1 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=21&assessment=214
R (unit?
unit=21&lesson Consider the following code snippet. Based on this, answer questions 3 and 4.
=23)
Introduction to
R (Continued)
(unit?
unit=21&lesson
=24)
Variables and
datatypes in R
(unit?
unit=21&lesson
=25) 3) Which of the following command is used to access the value “Shyam”? 1 point
Data frames
print(patient_list[3][2])
(unit?
unit=21&lesson print(patient_list[[3]][1])
=26) print(patient_list[[3]][2])
print(patient_list[[2]][2])
Recasting and
joining of Yes, the answer is correct.
dataframes Score: 1
(unit? Accepted Answers:
unit=21&lesson print(patient_list[[3]][2])
=27)
4) The output of the code given below is 1 point
Arithmetic,Logi
cal and Matrix
operations in R
(unit?
unit=21&lesson
=28)
Advanced
programming in
R : Functions
(unit?
unit=21&lesson
=29)
Advanced
Programming in
R : Functions
(Continued)
(unit?
unit=21&lesson
=30)
Control
structures
(unit?
unit=21&lesson
=31)
2 of 5 04-09-2024, 01:54 pm
Data Science for Engineers - - Unit 6 - Week 1 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=21&assessment=214
Data
visualization in
R Basic
graphics (unit?
unit=21&lesson
=32)
Common
doubts asked
on R Language
(Week-1) (unit? Code will throw an error.
unit=21&lesson
Yes, the answer is correct.
=33) Score: 1
Practice: Week Accepted Answers:
1: Assignment
1 (Non Graded)
(assessment?
name=206)
5) What is the output of following code? 1 point
Quiz: Week 1 :
Assignment 1
(assessment?
name=214)
Week 1
Feedback Form
: Data Science
for Engineers double
(unit? integer
unit=21&lesson list
=153)
None of the above
Download
Videos ()
Books ()
3 of 5 04-09-2024, 01:54 pm
Data Science for Engineers - - Unit 6 - Week 1 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=21&assessment=214
Problem
Solving
Session -
July 2024 ()
6
4
2
8
Create the data frame using the code given below and answer questions 8 and 9.
8) Choose the correct command to add a column named student dept to the dataframe 1 point
student data.
9) Choose the correct command to access the element Tamil in the dataframe 1 point
student_data.
student_data[[4]]
student_data[[4]][3]
student_data[[3]][4]
None of the above
10) The command to check if a value is of numeric data type is ________. 1 point
4 of 5 04-09-2024, 01:54 pm
Data Science for Engineers - - Unit 6 - Week 1 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=21&assessment=214
typeof()
is.numeric()
as.numeric()
None of the above
5 of 5 04-09-2024, 01:54 pm
Data Science for Engineers - - Unit 7 - Week 2 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=36&assessment=215
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
1 of 5 04-09-2024, 01:55 pm
Data Science for Engineers - - Unit 7 - Week 2 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=36&assessment=215
(unit?
unit=36&lesson
⎡ 1 ⎤
=38) ⎢ −4 ⎥ is a solution to Ax = b
Solving Linear
⎣ 0 ⎦
Equations (
Continued ) ⎡0⎤
⎢ 2 ⎥ is a solution to Ax = b
⎣1⎦
(unit?
unit=36&lesson
=39)
Linear Algebra ⎡ 1 ⎤
⎢ −4 ⎥ is a solution to Ax = 0
⎣ 0 ⎦
-
Distance,Hyper
planes and
⎡0⎤
Halfspaces,Eig
⎢ 2 ⎥ is a solution to Ax = 0
envalues,Eigen
⎣1⎦
vectors (unit?
unit=36&lesson
=40)
Yes, the answer is correct.
Linear Algebra Score: 1
Accepted Answers:
⎡ 1 ⎤
-
⎢ −4 ⎥ is a solution to Ax = b
Distance,Hyper
⎣ 0 ⎦
planes and
Halfspaces,Eig
⎡0⎤
envalues,Eigen
⎢ 2 ⎥ is a solution to Ax = 0
vectors (
Continued 1) ⎣1⎦
(unit?
unit=36&lesson
=41)
Consider the following systerm of linear equation:
Linear Algebra x + y + z = −2
- x + 2y − z = 1
Distance,Hyper
2x + ay + bz = 2
planes and 4) Find the conditions on a and b for which the above system has no solution. 1 point
Halfspaces,Eig
envalues,Eigen
vectors ( 2a + b − 6 = 0
Continued 2 )
(unit? a ≠ 4, 2a + b − 6 = 0
unit=36&lesson
=42) a = 4, b = −2
Linear Algebra 2a + b − 6 ≠ 0
-
Yes, the answer is correct.
Distance,Hyper
Score: 1
planes and
Accepted Answers:
Halfspaces,Eig
a ≠ 4, 2a + b − 6 = 0
envalues,Eigen
vectors ( 5) Find the conditions on a and b for which the above system has a unique solution. 1 point
Continued 3 )
(unit?
unit=36&lesson
2a + b − 6 = 0
2 of 5 04-09-2024, 01:55 pm
Data Science for Engineers - - Unit 7 - Week 2 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=36&assessment=215
=43)
a ≠ 4, 2a + b − 6 = 0
Common
doubts asked
a = 4, b = −2
on Linear
Algebra (unit?
2a + b − 6 ≠ 0
unit=36&lesson
=44) Yes, the answer is correct.
Score: 1
Quiz: Week 2 : Accepted Answers:
Assignment 2 2a + b − 6 ≠ 0
(assessment?
name=215) 6) Find the conditions on a and b for which the above system has infite number of 1 point
solutions.
Week 2
Feedback Form
: Data Science 2a + b − 6 = 0
for Engineers
(unit? a ≠ 4, 2a + b − 6 = 0
unit=36&lesson
=154)
a = 4, b = −2
Week 3 () 2a + b − 6 ≠ 0
Yes, the answer is correct.
Week 4 () Score: 1
Accepted Answers:
a = 4, b = −2
Week 5 ()
Week 7 () In solving the system Ax = b in the variables x1, x2, x3 and x4 , Gaussian elimination on the
Augmented matrix [A ∣ b] led to the following row echelon form
Text ⎛1 0 0 3∣ 2 ⎞
⎜
⎜
0 1 1 2∣ 3 ⎟
⎟
⎜ 1/3 ⎟
Transcripts ()
⎜0 0 0 1∣ ⎟
Download ⎝0 0 0 0∣ 0 ⎠
Videos ()
7) Identify the number of free variable from the above rwo echelon matrix. 1 point
Books ()
0
Problem 1
Solving 2
Session - 3
July 2024 ()
Yes, the answer is correct.
Score: 1
Accepted Answers:
1
8) Which among the following is correct for the above system Ax = b? 1 point
3 of 5 04-09-2024, 01:55 pm
Data Science for Engineers - - Unit 7 - Week 2 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=36&assessment=215
1
For what values of a are matrix A = [ ] not invertible?
9) a 1 point
−2 a+3
a=1
a = −2
a = −1
a=2
10) Which among the following is true for the determinant of a matrix? 1 point
11) ⎛ 5 8 16 ⎞ 1 point
Which among the following are the eigenvalues of matrix A = ⎜ 4 1 8 ⎟?.
⎝ −4 −4 −11 ⎠
1, 3, −3
1, 3, 3
−1, 3, 3
1, −3, −3
12) ⎡ 1 −3 −2 4 ⎤
Find the nullity of A = ⎢ 1 −3 1 1 ⎥.
⎣0 0 1 −1 ⎦
4 of 5 04-09-2024, 01:55 pm
Data Science for Engineers - - Unit 7 - Week 2 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=36&assessment=215
1 point
13) ⎡ −1 ⎤ 1 point
Let A = ⎢ 2 ⎥. Suppose the eigen values corresponding to AAT are a, b and c,
⎣ 2 ⎦
then find the value of ab + bc + ca.
9
0
81
18
5 of 5 04-09-2024, 01:55 pm
Data Science for Engineers - - Unit 8 - Week 3 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=47&assessment=208
Answer Submitted.
X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
0.50
0.54
1 of 3 04-09-2024, 01:56 pm
Data Science for Engineers - - Unit 8 - Week 3 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=47&assessment=208
Statistical 0.80
Modelling (unit? 0.68
unit=47&lesson
=48) Yes, the answer is correct.
Score: 1
Random Accepted Answers:
Variables and 0.68
Probability
Mass/Density 3) Given that the random variable X follows a chi-square distribution with 4 degrees of 1 point
Functions freedom and P(X≤x)=0.5. Then the value of X is
(unit?
3.357
unit=47&lesson
=49) -3.357
-3.325
Sample
Statistics (unit? 3.325
unit=47&lesson Yes, the answer is correct.
=50) Score: 1
Accepted Answers:
Hypotheses
3.357
Testing (unit?
unit=47&lesson 4) The possible values of the correlation coefficient lies between: 1 point
=51)
0 to -1
FAQ (unit?
unit=47&lesson -1 to 1
=52) -∞ to ∞
0 to ∞
Practice: Week
3: Assignment Yes, the answer is correct.
3 (Non Score: 1
Graded) Accepted Answers:
(assessment? -1 to 1
name=208)
5) 50% of the employees of the ABC corporation are college graduates. Of these, 15% 1 point
Quiz: Week 3 : are in sales. Of the employees who did not graduate
Assignment 3 from college, 70% are in sales.
(assessment?
name=219)
The probability of an employee selected at random is in sales
Week 3 (final value is rounded off to 2 decimal places)
Feedback Form
: Data Science 0.50
for Engineers 0.15
(unit? 0.43
unit=47&lesson
0.70
=155)
Yes, the answer is correct.
Week 4 () Score: 1
Accepted Answers:
Week 5 () 0.43
2 of 3 04-09-2024, 01:56 pm
Data Science for Engineers - - Unit 8 - Week 3 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=47&assessment=208
Week 7 ()
Text
Transcripts ()
Download
Videos ()
Books ()
Problem
Solving
Session -
July 2024 ()
3 of 3 04-09-2024, 01:56 pm
Data Science for Engineers - - Unit 8 - Week 3 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=47&assessment=219
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
Setup Guide 5
() 8
33
Pre Course None of the above
Material ()
Yes, the answer is correct.
Score: 1
Week 0 ()
Accepted Answers:
8
Week 1 ()
2) Suppose X ∼Normal (μ, 4). For n = 20 iid samples of X, the observed sample mean 1 point
Week 2 () is 5.2. What conclusion would a z -test reach if the null hypothesis assumes μ = 5 (against an
alternative hypothesis μ ≠ 5 ) at a significance level of α = 0.05 ?
Week 3 () Use Fz−1 (0.025) = −1.9599
Statistical
Modelling (unit? Accept H0
unit=47&lesson
=48) Reject H0
1 of 4 04-09-2024, 01:56 pm
Data Science for Engineers - - Unit 8 - Week 3 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=47&assessment=219
Random
Score: 0
Variables and Accepted Answers:
Probability Accept H0
Mass/Density
3) A box contains 8 items out of which 2 are defective. A sample of 5 items is to be 1 point
Functions
selected randomly (without replacement) from the box. If the random variable X represents the
(unit?
unit=47&lesson
number of defective items in a selection of 5 items, then find E(X) .(Enter the answer correct to 2
=49) decimal places)
Sample 1.25
Statistics (unit? 5
unit=47&lesson
0.4
=50)
1.3
Hypotheses
Yes, the answer is correct.
Testing (unit?
Score: 1
unit=47&lesson
Accepted Answers:
=51)
1.25
FAQ (unit?
4) Suppose X ∼Normal(μ, 9). For n = 100 iid samples of X , the observed sample 1 point
unit=47&lesson
=52) mean is 11.8 . What conclusion would a z -test reach if the null hypothesis assumes μ = 10.5
(against an alternative hypothesis μ ≠ 10.5 )?
Practice: Week
3: Assignment
3 (Non Graded) Accept H0 at a significance level of 0.10 .
(assessment?
name=208) Reject H0 at a significance level of 0.10 .
Quiz: Week 3 :
Accept H0 at a significance level of 0.05 .
Assignment 3
(assessment?
name=219) Reject H0 at a significance level of 0.05 .
2 of 4 04-09-2024, 01:56 pm
Data Science for Engineers - - Unit 8 - Week 3 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=47&assessment=219
Videos () -0.854
0.561
Books ()
-0.968
None of the above
Problem
Solving No, the answer is incorrect.
Session - Score: 0
July 2024 () Accepted Answers:
-0.968
p value equal to α
None of the above
Normal distribution
9) A car manufacturer purchases car batteries from two different suppliers. Supplier X 1 point
provides 55% of the batteries and supplier Y provides the rest. 5% of all batteries from supplier X
are defective and 4% of all batteries from supplier Y are defective. You select a battery from the
bulk and you found it to be defective. What is the probability that it is from Supplier X ?
0.0455
0.455
0.604
0.018
3 of 4 04-09-2024, 01:56 pm
Data Science for Engineers - - Unit 8 - Week 3 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=47&assessment=219
Accepted Answers:
0.604
10) Which one of the following is best measure of central tendency for categorical data? 1 point
Mean
Median
Mode
None of the above
4 of 4 04-09-2024, 01:56 pm
Data Science for Engineers - - Unit 9 - Week 4 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=55&assessment=209
Answer Submitted.
X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
1 of 3 04-09-2024, 01:57 pm
Data Science for Engineers - - Unit 9 - Week 4 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=55&assessment=209
(unit? Score: 1
unit=55&lesson Accepted Answers:
=56) If the first derivative at x∗ is zero
Unconstrained 3) When the feasibility regions defined by equality constraints and inequality constraints 1 point
Multivariate are
Optimization compared,
(unit?
unit=55&lesson The regions defined by both are exactly the same
=57)
The region defined by the inequality constraint is greater
Unconstrained The region defined by the equality constraint is greater
Multivariate none of the above
Optimization (
Continued ) Yes, the answer is correct.
Score: 1
(unit?
unit=55&lesson Accepted Answers:
=58) The region defined by the inequality constraint is greater
Gradient ( 4) If f(x) = 12x4 − 2x3 + 9x2 + 5, then the first order necessary condition for either 1 point
Steepest ) maxima or minima of f(x) is
Descent ( OR )
Learning Rule
(unit?
24x2 + 4x − 6 = 0
unit=55&lesson
=59)
48x3 − 6x2 + 18x = 0
Week 6 ()
2 of 3 04-09-2024, 01:57 pm
Data Science for Engineers - - Unit 9 - Week 4 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=55&assessment=209
Week 7 ()
Text
Transcripts ()
Download
Videos ()
Books ()
Problem
Solving
Session -
July 2024 ()
3 of 3 04-09-2024, 01:57 pm
Data Science for Engineers - - Unit 9 - Week 4 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=55&assessment=220
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
2) What is the second order sufficient condition for x∗ to be the maximizer of the function 1 point
Optimization for
f(x) ?
Data Science
(unit?
1 of 5 04-09-2024, 01:58 pm
Data Science for Engineers - - Unit 9 - Week 4 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=55&assessment=220
Week 4
π is the global minimum of f(x) .
Feedback Form
: Data Science 3π
for Engineers 2
is the global maximum of f(x) .
(unit?
3π
unit=55&lesson
2
is the global minimum of f(x) .
=156)
Yes, the answer is correct.
Practice: Week Score: 1
4: Assignment Accepted Answers:
π
4 (Non Graded) 2
is the global maximum of f(x) .
(assessment? 3π
2
is the global minimum of f(x) .
name=209)
Quiz: Week 4 :
Let f(x1 , x2 ) = 2x21 + 3x1 x2 + 3x22 + x1 + 3x2 .
Assignment 4
(assessment? 5) Find the gradient for f(x) . 1 point
name=220)
4x1 + 3x2 + 1
∇f = [ ]
Week 5 ()
3x1 + 6x2 + 3
Week 6 ()
3x1 + 6x2 + 3
∇f = [ ]
Week 7 () 4x1 + 3x2 + 1
2 of 5 04-09-2024, 01:58 pm
Data Science for Engineers - - Unit 9 - Week 4 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=55&assessment=220
4x1 + 3x2
Text ∇f = [ ]
Transcripts ()
3x1 + 6x2
4x2 + 3x1 + 1
Download ∇f = [ ]
Videos () 3x2 + 6x1 + 3
Yes, the answer is correct.
Books () Score: 1
Accepted Answers:
4x1 + 3x2 + 1
Problem ∇f = [ ]
Solving 3x1 + 6x2 + 3
Session - 6) Find the stationary point for f(x1 , x2 ) . 1 point
July 2024 ()
0.6, 0.4
−0.6, −0.4
0.2, −0.6
0.2, 0.6
2 3
∇2 f = [ ]
3 6
3 3
∇2 f = [ ]
3 3
4 3
∇2 f = [ ]
3 6
6 3
∇2 f = [ ]
3 4
Yes, the answer is correct.
Score: 1
Accepted Answers:
4 3
∇2 f = [ ]
3 6
8) The stationary point obtained in the previous question is 1 point
maxima
minima
saddle point
3 of 5 04-09-2024, 01:58 pm
Data Science for Engineers - - Unit 9 - Week 4 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=55&assessment=220
Accepted Answers:
minima
9) Let f(x1 , x2 ) = 4x21 − 4x1 x2 + 2x2 . Select the correct options from the following: 1 point
10) In optimization problem, the function that we want to optimize is called 1 point
Decision function
Constraints function
Optimal function
Objective function
11) The optimization problem minx f(x) can also be written as maxx f(X). 1 point
True
False
12) In the gradient descent algorithm, the step size should always be same for each 1 point
iteration.
True
False
4 of 5 04-09-2024, 01:58 pm
Data Science for Engineers - - Unit 9 - Week 4 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=55&assessment=220
5 of 5 04-09-2024, 01:58 pm
Data Science for Engineers - - Unit 10 - Week 5 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=63&assessment=210
Answer Submitted.
X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
−4 1
[ ]
Week 3 ()
1 −2
Week 4 ()
1 −4
[ ]
Week 5 () −2 1
1 of 3 04-09-2024, 01:59 pm
Data Science for Engineers - - Unit 10 - Week 5 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=63&assessment=210
Multivariate
4 −1
Optimization
[ ]
With Equality −1 2
Constraints
Yes, the answer is correct.
(unit? Score: 1
unit=63&lesson
Accepted Answers:
=64)
4 −1
[ ]
Multivariate −1 2
Optimization
With Inequality
3) The Eigenvalues of Hessian matrix of f(x, y) = 2x2 − xy + y 2 − 3x − y is 1 point
Constraints
-1.585786, -4.414214
(unit?
unit=63&lesson 3.828427, -1.828427
=65) 4.414214, 1.585786
-3.828427, 1.828427
Introduction to
Data Science Yes, the answer is correct.
(unit? Score: 1
unit=63&lesson Accepted Answers:
=66) 4.414214, 1.585786
Quiz: Week 5 :
2 of 3 04-09-2024, 01:59 pm
Data Science for Engineers - - Unit 10 - Week 5 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=63&assessment=210
Assignment 5
(assessment?
name=221)
Week 6 ()
Week 7 ()
Text
Transcripts ()
Download
Videos ()
Books ()
Problem
Solving
Session -
July 2024 ()
3 of 3 04-09-2024, 01:59 pm
Data Science for Engineers - - Unit 10 - Week 5 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=63&assessment=221
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
1 of 4 04-09-2024, 01:59 pm
Data Science for Engineers - - Unit 10 - Week 5 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=63&assessment=221
2 of 4 04-09-2024, 01:59 pm
Data Science for Engineers - - Unit 10 - Week 5 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=63&assessment=221
Quiz: Week 5 :
Score: 1
Assignment 5 Accepted Answers:
(assessment? I and IV
name=221)
7) The solution to an unconstrained optimization problem is always the same as the 1 point
solution to the constrained one.
Week 6 ()
True
Week 7 ()
False
m = 231
m = 125
Yes, the answer is correct.
Score: 1
Accepted Answers:
m = 90
9) Consider an optimization problem minx1 ,x2 x2 − xy + y 2 subject to the constraints 1 point
2x + y ≤ 1
x + 2y ≥ 2
x ≥ −1
Find the lagrangian function for the above optimization problem.
L(x, y, µ1 , µ2 , µ3 ) = x2 − xy + y 2 + µ1 (2x + y − 1) + µ2 (x + 2y − 2) + µ3 (x + 1)
3 of 4 04-09-2024, 01:59 pm
Data Science for Engineers - - Unit 10 - Week 5 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=63&assessment=221
4 of 4 04-09-2024, 01:59 pm
Data Science for Engineers - - Unit 11 - Week 6 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=72&assessment=211
Answer Submitted.
X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
the origin
Setup Guide
() the best fit line
average values of the predicted variable
Pre Course the intercept
Material ()
Yes, the answer is correct.
Score: 1
Week 0 () Accepted Answers:
the best fit line
Week 1 ()
2) The standard assumption of ordinary least squares regression is that: 1 point
1 of 4 04-09-2024, 02:00 pm
Data Science for Engineers - - Unit 11 - Week 6 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=72&assessment=211
2 of 4 04-09-2024, 02:00 pm
Data Science for Engineers - - Unit 11 - Week 6 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=72&assessment=211
Muliple Linear
Regression
(unit?
unit=72&lesson
=80)
Dataset (unit?
unit=72&lesson
=81)
FAQ (unit?
unit=72&lesson
=82)
Practice: Week
6: Assignment
6 (Non
Graded)
(assessment?
name=211)
Quiz: Week 6 :
Assignment 6
(assessment?
name=222)
Week 6
Feedback Form
: Data Science
for Engineers
(unit?
unit=72&lesson
=158)
Week 7 ()
Text
Transcripts ()
Download
Videos ()
Books ()
Problem
Solving
Session -
July 2024 ()
3 of 4 04-09-2024, 02:00 pm
Data Science for Engineers - - Unit 11 - Week 6 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=72&assessment=211
4 of 4 04-09-2024, 02:00 pm
Data Science for Engineers - - Unit 11 - Week 6 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=72&assessment=222
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
2) Choose the correct option that best describes the relation between the variables 1 point
Week 2 ()
Coupon rate and Bid price in the given data.
1 of 4 09-09-2024, 01:12 pm
Data Science for Engineers - - Unit 11 - Week 6 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=72&assessment=222
Accepted Answers:
Week 6 () Strong positive correlation
Module : 3) What is the R-Squared value of the model obtained in Q1? 1 point
Predictive
Modelling (unit? 0.2413
unit=72&lesson 0.12
=73)
0.7516
Linear 0.5
Regression
Yes, the answer is correct.
(unit?
Score: 1
unit=72&lesson
Accepted Answers:
=74)
0.7516
Model
4) What is the adjusted R-Squared value of the model obtained in Q1? 1 point
Assessment
(unit?
0.22
unit=72&lesson
0.7441
=75)
0.088
Diagnostics to
0.5
Improve Linear
Model Fit (unit? Yes, the answer is correct.
unit=72&lesson Score: 1
=76) Accepted Answers:
0.7441
Simple Linear
Regression 5) Based on the model relationship obtained from Q1, what is the residual error obtained 1 point
Model Building while calculating the bid price of a bond with coupon rate of 3?
(unit?
unit=72&lesson 10.5155
=77) -10.5155
Simple Linear 6.17
Regression 0
Model
Yes, the answer is correct.
Assessment
Score: 1
(unit?
Accepted Answers:
unit=72&lesson
10.5155
=78)
6) State whether the following statement is True or False. 1 point
Simple Linear
Regression
Covariance is a better metric to analyze the association between two numerical variables than
Model correlation.
Assessment (
True
Continued )
(unit? False
unit=72&lesson
Yes, the answer is correct.
=79) Score: 1
Accepted Answers:
False
500
2 of 4 09-09-2024, 01:12 pm
Data Science for Engineers - - Unit 11 - Week 6 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=72&assessment=222
Week 6
Feedback Form
: Data Science
for Engineers
(unit?
unit=72&lesson
=158)
R2 is 0.022 and Adjusted R2 is −0.303
Week 7 ()
R2 is 0.022 and Adjusted R2 is −0.0303
Week 8 ()
R2 is 0.022 and Adjusted R2 is 0.303
Text None of the above
Transcripts ()
No, the answer is incorrect.
Score: 0
Download Accepted Answers:
Videos () R2 is 0.022 and Adjusted R2 is −0.303
10) Identify the parameters β0 and β1 that fits the linear model β0 + β1 x using the 1 point
Books ()
following information: total sum of squares of X , S SXX = 52.53 , S SXY = 52.01 , mean of X ,
3 of 4 09-09-2024, 01:12 pm
Data Science for Engineers - - Unit 11 - Week 6 https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=72&assessment=222
Accepted Answers:
1.9 and 0.99
4 of 4 09-09-2024, 01:12 pm
9/12/24, 10:21 AM Data Science for Engineers - - Unit 12 - Week 7
Answer Submitted.
X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=85&assessment=212 1/3
9/12/24, 10:21 AM Data Science for Engineers - - Unit 12 - Week 7
FAQ (unit?
unit=85&lesso
n=94)
Practice:
Week 7:
Assignment 7
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=85&assessment=212 2/3
9/12/24, 10:21 AM Data Science for Engineers - - Unit 12 - Week 7
(Non Graded)
(assessment?
name=212)
Quiz: Week 7 :
Assignment 7
(assessment?
name=223)
Week 7
Feedback
Form : Data
Science for
Engineers
(unit?
unit=85&lesso
n=159)
Week 8 ()
Text
Transcripts
()
Download
Videos ()
Books ()
Problem
Solving
Session -
July 2024 ()
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=85&assessment=212 3/3
9/12/24, 10:18 AM Data Science for Engineers - - Unit 12 - Week 7
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
Week 6 ()
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=85&assessment=223 1/4
9/12/24, 10:18 AM Data Science for Engineers - - Unit 12 - Week 7
Consider the following confusion matrix for the classication of Hatchback and SUV:
Week 7 ()
Cross
Validation
(unit?
unit=85&lesso
n=86)
Multiple Linear
Regression
Modelling 3) Find the accuracy of the model. 1 point
Building and
Selection 0.95
(unit? 0.55
unit=85&lesso
0.45
n=87)
0.88
Classification
(unit? Yes, the answer is correct.
Score: 1
unit=85&lesso
n=88)
Accepted Answers:
0.95
Logisitic
Regression 4) Find the sensitivity of the model. 1 point
(unit?
unit=85&lesso 0.95
n=89)
0.55
Logisitic 1
Regression (
0.88
Continued )
(unit? Yes, the answer is correct.
unit=85&lesso Score: 1
n=90) Accepted Answers:
1
Performance
Measures
(unit? 5) Under the ‘family’ parameter of glm() function, which one of the following 1 point
unit=85&lesso distributions correspond to logistic regression for a variable with binary output?
n=91)
Binomial
Logisitic
Gaussian
Regression
Implementatio Gamma
n in R (unit? Poisson
unit=85&lesso
n=92)
Yes, the answer is correct.
Score: 1
Dataset (unit? Accepted Answers:
unit=85&lesso Binomial
n=93)
FAQ (unit? Use the following information to answer Q6, Q7, Q8, Q9, and Q10:
unit=85&lesso
n=94) Load the dataset iris.csv
Practice: (https://drive.google.com/file/d/1SqGPxYa8xCDbC5ZsLN0tCzUceoVmR_6e/view?usp=sharing)
Week 7: as a dataframe irisdata, with the first column as index headers, first row as column headers,
Assignment 7 dependent variable as factor variable, and answer the following questions.
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=85&assessment=223 2/4
9/12/24, 10:18 AM Data Science for Engineers - - Unit 12 - Week 7
(Non Graded)
(assessment? The iris dataset contains four Sepal and Petal features (Sepal Length, Sepal Width, Petal
name=212) Length, Petal Width, all in cm) of 50 equal samples of 3 different species of the iris flower
Quiz: Week 7 (Setosa, Versicolor, and Virginica).
: Assignment
6) What is the dimension of the dataframe? 1 point
7
(assessment?
(150, 5)
name=223)
(150, 4)
Week 7
(50, 5)
Feedback
Form : Data None of the above
Science for Yes, the answer is correct.
Engineers Score: 1
(unit? Accepted Answers:
unit=85&lesso (150, 5)
n=159)
7) What can you comment on the distribution of the independent variables in the 1 point
Week 8 ()
dataframe?
Text The variables Sepal Length and Sepal Width are not normally distributed
Transcripts
All the variables are normally distributed
()
The variable Petal Length alone is normally distributed
Download None of the above
Videos ()
Yes, the answer is correct.
Score: 1
Books () Accepted Answers:
All the variables are normally distributed
Problem
Solving 8) How many rows in the dataset contain missing values? 1 point
Session -
July 2024 () 10
5
25
0
9) Which of the following code blocks can be used to summarize the data (finding the 1 point
mean of the columns PetalLength and PetalWidth), similar to the one given below.
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=85&assessment=223 3/4
9/12/24, 10:18 AM Data Science for Engineers - - Unit 12 - Week 7
10) What can be interpreted from the plot shown below? 1 point
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=85&assessment=223 4/4
9/19/24, 9:25 AM Data Science for Engineers - - Unit 13 - Week 8
Answer Submitted.
X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
Week 1 ()
2) Which of the following statement is NOT TRUE about kNN algorithm? 1 point
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=97&assessment=213 1/3
9/19/24, 9:25 AM Data Science for Engineers - - Unit 13 - Week 8
Data Science
for engineers -
Summary
(unit?
unit=97&lesso
n=103)
Datasets
(unit?
unit=97&lesso
n=104)
Practice:
Week 8:
Assignment 8
(Non Graded)
(assessment?
name=213)
Quiz: Week 8 :
Assignment 8
(assessment?
name=224)
Week 8
Feedback
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=97&assessment=213 2/3
9/19/24, 9:25 AM Data Science for Engineers - - Unit 13 - Week 8
Form : Data
Science for
Engineers
(unit?
unit=97&lesso
n=160)
Text
Transcripts
()
Download
Videos ()
Books ()
Problem
Solving
Session -
July 2024 ()
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=97&assessment=213 3/3
9/19/24, 9:25 AM Data Science for Engineers - - Unit 13 - Week 8
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
Pre Course
Material ()
Week 0 ()
Week 1 ()
Week 2 ()
• Set the column “States” as index of the data frame while reading the data
• Set the random number generator to set.seed(123)
Week 3 ()
• Normalize the data using scale function and build the K-means algorithm with the
given conditions:
Week 4 () – number of clusters = 4
– nstart=20
Week 5 ()
1) According to the built model, the within cluster sum of squares for each cluster is 1 point
Week 6 () _______________ (the order of values in each option could be different):-
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=97&assessment=224 1/3
9/19/24, 9:25 AM Data Science for Engineers - - Unit 13 - Week 8
K - means 3) The Between Cluster Sum-of-Squares (BCSS) value of the built K-means model is 1 point
implementatio __________(Choose the appropriate range)
n in R (unit?
unit=97&lesso 100 - 200
n=101)
200 - 300
FAQ (unit? 300 – 350
unit=97&lesso
None of the above
n=102)
Yes, the answer is correct.
Data Science Score: 1
for engineers -
Accepted Answers:
Summary
100 - 200
(unit?
unit=97&lesso
n=103) 4) The Total Sum-of-Squares value of the built k-means model is ______________ 1 point
(Choose the appropriate range)
Datasets
(unit? 100 - 200
unit=97&lesso
200 - 300
n=104)
300 – 350
Practice:
None of the above
Week 8:
Assignment 8 Yes, the answer is correct.
(Non Graded) Score: 1
(assessment? Accepted Answers:
name=213) 100 - 200
Quiz: Week 8
5) Which of the statement is INCORRECT about KNN algorithm? 1 point
: Assignment
8
KNN works ONLY for binary classification problems
(assessment?
name=224) If k=1, then the algorithm is simply called the nearest neighbour algorithm
Number of neighbours (K) will influence classification output
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=97&assessment=224 2/3
9/19/24, 9:25 AM Data Science for Engineers - - Unit 13 - Week 8
Problem 7) The method / metric which is NOT useful to determine the optimal number of 1 point
Solving clusters in unsupervised clustering algorithms is
Session -
July 2024 () Scatter plot
Elbow method
Dendrogram
None of the above
8) The unsupervised learning algorithm which aims to partition n observations into k 1 point
clusters in which each observation belongs to the cluster with the nearest centroid is
Hierarchical clustering
K-means clustering
KNN
None of the above
https://onlinecourses.nptel.ac.in/noc24_cs133/unit?unit=97&assessment=224 3/3