#nptel #pythonfordatascience #assignment
Almost 100% accurate answers provided . I have executed in jupyter notebook to verify the result. Subscribe if you gain some information from this useful video.
NPTEL Python for data science Assignment 1 solutions Week 1 .
This video is explained and executed to get the solutions .
Coming soon ...
NPTEL Python for data science Assignment 3 solutions Week 3 .
Find the solutions\answers in this video for the below questions :
1)In Python, print () by default adds which of the following as an end line argument?
2)Which of the following is not true about variable names?
3)What does IDE stand for?
4)In Spyder, the command to clear the console is
5)Which of the following code cannot be used to initialize multiple variables with a common value?
6)What will be the output after executing the following codes?
7)Which of the following is true with respect to the below codes?
8)What will be the output after executing the following codes?
9)Which of the following conversion results in an error?
10)Which of the following command is used to print the output 01-Jan-2020 ?
11)For which type of error does the interpreter runs the program and does not report an error?
12)What will be the output after executing the following codes?
13)Identify which of the following is not a valid variable name?
14)What does the following statements do?
15)The operators ‘is’ & ‘is not’ are?
16)How many operands are there in the following arithmetic expression?
17)What would be the datatype of variable ‘c’ after executing the following code?
18)Which is not a valid assignment operator?
19)Which is not a valid bitwise operator?
20)The datatype of the variable a = (1i) is
Note: This video is not responsible for any error or mistakes for your assignments.
I have watched the NPTEL course related videos and read the content from different knowledge sources.
Almost 100% accurate answers provided . I have executed in jupyter notebook to verify the result.
NPTEL – PYTHON FOR DATA SCIENCE
ASSIGNMENT 1 – SOLUTION
1. Answer B - \n
print(object(s), separator=separator, end=end, file=file, flush=flush)
end=’end’ – optional; specify what to print at end. Default is ‘\n’ (line feed)
2. Answer A - The length of the variable name is fixed
3. Answer D - Integrated Development Environment
4. Answer D - %clear
%clear –An easier way to clear the console in Python
5. Answer A – a, b, c = 55
6. Answer C - 3
% - Divides and returns the value of the remainder
7. Answer A: a = b
8. Answer C: 10
9. Answer A: int('10.8')
A float value cannot be converted to an integer
10. Answer B: print('01','Jan', sep='-', end='-2020')
11. Answer A: Semantic error
Semantic errors are problems with a program that runs without producing error messages but doesn't do the right thing
12. Answer D: 6
// - Division (floor): divides the first operand by the second
13. Answer B : A.2 = 10
The name of the variable cannot have special characters such as ‘ . ‘ (dot), %, $, # etc, they can only have alphanumeric characters and underscore (A to Z, a to z, 0-9 or _ )
14. Answer A: Displays the current Python version
15. Answer B: Identity Operators
Identity operators are used to verify if two variables point to the same memory location or not. Identity operators are of two types: (1) is and (2) is not.
16. Answer C: 5
There are 5 operands in the equation.
17. Answer B: Nonetype
The sole value of the type NoneType. None is frequently used to represent the absence of a value, as when default arguments are not passed to a function. Assignments to None are illegal and raise a Syntax Error.
18. Answer D: %%=
%%= is not a valid assignment operator in python.
19. Answer D: ≤
≤ is not a valid bitwise operator in python.
20. Answer C: SyntaxError
python for data science,
python for data science nptel,
python for data science nptel assignment solutions,
python for data science nptel assignment 1 solutions,
Python for Data Science Week 1 Assignment 1 answers
Python for Data Science Week 1 solutions,
Python for Data Science Week 1 answers,
python for data science assignment 1 solution,
nptel python for data science week 1 solved,
week 1 solution python for data science,
nptel python for data science,
nptel python for data science assignment answers,
nptel python for data science assignment solutions,
nptel python for data science,
nptel python for data science 2020,
nptel assignment solutions,
#python,#jaganinfo,#datatscience,#nptel,#swayam,
=======================
Subscribe jaganInfo channel to get more related videos
https://www.youtube.com/JAGANINFO?sub...
Thanks for your support to make more videos
=======================