Programming Prutor Python Quiz 6 by Techarge June 6, 2021 written by Techarge 0 comment Use these online Prutor Python Quiz as a fun way for you to check your learning progress and to test your skills. August 20, 2022 Welcome to your Pructor Python Quiz 6 Name Email In python, a) Indentation indicates a block of code. b) def keyword is used to indicate starting of a function. c) A function can call other functions. d) All of the above Assume that the "min" function computes the minimum of two values, and "max" function computes the maximum of two values. Let x1, x2 be 2 distinct integers. What can you say about the following program (using python 3.X version): y1 = min(x1, x2) y2 = max(y1, x1) a) If x1 is smaller than x2, then y1 and y2 will be same. b) If x1 is greater than x2, than y1 wll be equal to x2. c) If we further run y3 = max(y1,y2) , then y3 will always be equal to x1. d) All of the above Which of the below statement/s is/are true for global keyword in python ? a) It is used to read global variables inside a function. b) if we want to use value of global variable inside a function, we will have to use global keyword. c) A variable name inside a function can be same as variable name of a global variable. d) All of the above What will be the output of the following code:- def keywordExample(x=1, y=2, z=4):sum = x+ymin = sum - zprint (min)keywordExample(y=8,x=4,z=y) Which of the following statement is false for string in python: a) They represent sequence of characters b) strings are mutable c) Backslash can be used to escape quote d) All of the above Time's up Have you found this platform useful ? Don't forget to share with your love one's ! PYTHON TUTORIAL JAVA TUTORIAL Learn PythonPrutor Python QuizPython Quiz Share 4 FacebookTwitterLinkedinRedditWhatsappTelegramEmail Techarge previous post C Function next post Prutor Python Quiz 7 You may also like Problem Solving Approach Reverse an Array What is functional programming? Python 2022 Roadmap HTML Cheatsheet C++ Programming language Cheatsheet Java Cheatsheet Python Cheatsheet Git & Github 2021 Cheat Sheet Git & Github 2021 Cheat Sheet