173x Filetype PDF File size 0.33 MB Source: wilderness.blob.core.windows.net
Introduction to data science in python assignment 1 Introduction to data science in python solutions. Introduction to data science in python assignment 3 answers. Introduction to data science in python week 1 assignment solution. Introduction to data science in python assignment 1 answers. What is introduction to data science. Introduction to data science in python assignment 1 github. Coursera introduction to data science in python week 1 assignment answers. Introduction to data science in python assignment 2 solution. NPTEL Python For Data Science Assignment 1 Answers 2023 {week 1}:- In this post we are providing NPTEL Python For Data Science Assignment 1 Answers 2023. If you are looking for nptel answers then you are at right place. 1. Which of the following is/are the correct way to name variables in Python? 2_max = 5b. max_2 = 5c. max2 = 5d. max @2 = 5 Answer:- B, C 2. Which means it will evaluate 5%11. 1b. 5c. 0 d. Syntax Error Answer:- B 3. What evaluates 4//7 as a. 0b. 1c. 0.0 d. 4 Answer:- A 4. What will be the output of the following code fragment? num_1= â100 num_2 = â200 print(number_1 + number_2)A. 300B. 100200C. "100" + "200" D. "100 + 200" Answer:- B 5. What will be the output of the following code fragment?num_1= "100 num_2 = "200 print(num_1 + num_2)num_1 = int (num_1 )number_2 = int (number_2) print(number_1 + number_2)A. 300B. 100200C. "100" + "200" D. "100 + 200" Ans:- A 6. What is the type of the following expression? 1 + 4 / 2A. intB. floatC. boolD. str Answer:- B 7. What is the type of the following expression?A. strB. boolC. TrueD. Incorrect Answer:- C 8. What is the output of the following code fragment?A. 32B. 44C. 40D. 36 Answer :- C 9. Which of the following arithmetic operators cannot be used with "Strings" in Python?A. *B. âC. +D All of the above Answers: B 10. Consider the list of statements and resulting outputs below. Choose the sentence that is wrong. A.4B. 2C. 1, 3D. 1, 3, 4E. All are correct. Ans:- B 11. Two variables X and Y were initially assigned the following values: X = 3 and Y = 6. Which of the following statements helps to exchange values between the two variables? A. Y=X X=YB. X = YC. X=YY=XD. X,Y=Y,X Answer:- D NPTEL Python For Data Science Assignment 1 Answers 2023 (week1):- Hi Students, in this article we will share Python for Data Science Assignment 1 Answers 2023. All the answers are given below so that helped students for reference. You must submit your assignment with your ownNPTEL Python for Science of Data Task 1 answer 2023 1. Which of the following correct ways of calling variables in Python? 2_max = 5b. Max_2 = 5s. Max2 = 5d. Max @2 = 5 Answer:- B, C 2. What will be rated toa 5%11. 1b. 5V. 0d. Syntactic error The answer: - B the answers will be loaded in the near future, and this will be reported in the telegram, so join now 3. What is assessed 4 // 7 Toa. 0b. 1c. 0.0d. 4 Answer:- A 4. What will the next piece of code end? 300b. 100200s. ≥100 rubles + ≥200 ₽d. â100 + 200] Answer:- B 5. What will be the application of the next piece of code? = int (number_2) print (number_1 + number_2) A. 300b. 100200s. ≥100 rubles + ≥200 ₽d. 100 + 200 Answer:- A 6. What is the type of next expression? 1+4/2a. Trainee. B. float. Bold. P. Reply:- B ð for the week 04 Responses to Task 7. What is the type of expression? St. Boolc. Real. Incorrect answer:- C 8. What brings another fragment of the code? A. 32b. 44s. 40d. 36 Answer:- C 9. *B. C. + D. The entire answer above:- B 10. Consider the list of instructions and the results resulting from it below. Choose the wrong set. A. 4b. 2s. 1, 3d. 1, 3, 4e. The answer is fine:- B 11. Two variables X and Y originally assigned the following values: x = 3 and y = 6. Which of the instructions below will help change the values between these two variables? . Y = x x = yb. X = ys. X = y y = xd. X, y = y, x Answer: - D To get additional answers NPTEL: - click here to join our telegram: - click here NPEL Python for Task 1 in terms of data science, answers 2022 [July - December] Q1. What is the result of the next code? Num1 = 12 Num2 "58" Print (Num1 + Num2) 12 58 70 Error: Inadmissible operation, unrealistic operator â + â is used between "intâint" and "answer: - D 2 for two variables J = 6 and g = 3.3 . If both are normaland the floor division operators were used to divide J with G, what would be the type of value of the value obtained from the operation? a.int,intb. Plovak, floatc. Plovak, etc. Int, float Answer:- B 3. Let a = 5 (101 in binary) and b = 3 (011 in binary). Which of the following operations results in 7 and 1? Answer:- B 4. Indicate whether the statement is true or false. When using the floor (//) operator, if the result is negative, the result is rounded to the next largest integer. TrueB. False answer:- B 5. Let x = 50 m. Which of the following converts x â to a floating data type? A. p. (Float, x) b. A. 1_VARIAbleb. variable_1c. variable_*d. Variable 1 Answer:- a, c ð next week 02 Assignment responses 7. Which of the following tasks would cause an error? a. var1 = true; var2 = false; b. var1 = false; var2 = true; c. var1 = â true; Var2 = Â False; d. var1 = â true; var2 = "false"; Answer:- B 8. Predict the output of the following code x = 4 Y-11 P 5.0 ANS X ** (Y % P) Print (ANS) A. 4B. 4.0 ° C. 5 d. A. 89.0 p. A. Numpyb. pandasc. Scikitd. Mathematical Answer:- B on Python for Data Science Criteria for achieving an average certificate assignment score = 25% of the diameter of the top 3 tasks out of the 4 tasks listed in the course. You will only be eligible for a certificate if the average assignment score >= 10/25 and test score >= 30/75. If one2 criteria are not met, you will not receive the certificate even if the end result is> = 40/100. NPTEL PYTHON Data Science 1, Response 2022 [January -June] 1st Quarter. Which of these arithmetic operators Python cannot be used with "strings"? (A) â (b) â (c) + (d) All of the above answer:- (C) + Q2. What type of error is displayed when executing such a statement? (A) Type error (b) Syntax Error (C) Value Error (D) None of the above Answer: - (B) Syntax Error Q3. Initially, the following values were given to two variables in X and Y. X = 3 and y = 6. Which of the following statements will help exchange values between these two variables? (A) y = x x = y (b) x = y (c) x = y = x (d) x, y = y, x answer:- (d) x, y = y, x q4. What will be the value of Y from the following statement in the final printing statement? (A) 8 (b) 9 (c) 1 (d) error (e) 16 Answer:- (C) 1 Q5. Consider J = 5 and K = 11. We change values from J = 7 and K remains unchanged. What is Print (J | K) before and after modifying the value in the changing J? (A) 3.15 (b) 15.15 (C) 11.15 (d) 15.7 (e) none of the above answers:- (b) 15.15 Q6. What would be the result of the following statements? (A) false (b) truly (c) false (d) none of the above answers:- (b) true Q7. What does K = 4%7 mean and what is the variable K type? (A) 4.int (b) 0.0.Plud (C) 0.int (D) 1.int (E) None of the above answer:- (a) 4.int Q8. J = 6 and g = 3.3. If the usual distribution and floor distribution were made between J and K, what would be the output variable? (A) int, int, int (b) float, float (C) float, int (d) int (d) int, float (e) none of the above answers:- (b) float, float Q9. Consider two answers to the question; Answer1 and Answer2. What is the result of the following instructions? (A) Truly (b) Incorrect (C) 0 (D) 1 Answer: - To answer, click here Q10. Consider the list of instructions below and their result. Select an invalid kit. (A) 4 (b) 2 (C) 1.3,4 (D) 3.4 (E) all answers are correctFor answer click more answers here:- NPTEL Joy in Computer Science Using Python Assignment 1. Answers for NPTEL English Literature Competitive Exams Task 1 Answers NPEL Data Analysis Task 1 Answer 2022 NPTTT NPTTEL Introduction to Internet of Things 1 Answer NPTEL CLOUD Week 1 Response to Tasks 2022 NPTEL PYSTHON DATA SCIENCE Task 1 Answer 2022: - All the answers below to to help students as a reference, you should send an assignment based on your own knowledge. Disclaimer:- We do not guarantee 100% certainty of the solutions, these solutions are based on our exclusive expert knowledge and by posting these answers we just want to help students as a reference point, so we encourage you to do the task on your own. For more npel answers:- Click here join our telegram:- Click here you can use this expression: (? and 3 digits \ s+ \ s+ \ s+ # 1+ spaces, 1+ non-white spaces, 1+ spaces (? "), 1+ spaces and [? p [^"]*) " #", Group "request": 0+ non-"," characters See regular expression demo. See the Python demo: import re logdata = r "" "" "159.253.153.40 - - - [21/Jun/2019: 15: 46: 10 -0700]" Post/e -Business http/1.0 "504 19845 136.195 .158.6 -Feeney9464 [21/Jun/2019:15:46:11 -0700] "Head/Open : \ .. \d+) {3}) # 1+ figures and 3 speeches. and 3 digits \ s+ \ s+ \ s+ # 1+ spaces, 1+ non-whitespace spaces, 1+ spaces (? "), 1+ spaces and [? p [^"]*) " #" , Group "request": 0+ not "chars", "'' For position in re.finditer(article, logdata, re.verbose): print(item. GroupDict()) output: { 'host': '159.253 . 153.40','-', 'Time': '21/Jun/2019:15:46:10-0700', 'request': 'Post/E-Business Http/1.0'} {'host': '136.195.158.6', 'User_name': 'Feeney9464', 'Time': '21/Jun/2019:15:46:11-0700', 'Request': 'Head/Open-Source/Markets http/2.0'}http/2.0'}
no reviews yet
Please Login to review.