Function & Module "A1" 1 / 50 Which module handles mathematical functions? math mathx sys time 2 / 50 Return value भेजता है: loop class module caller function 3 / 50 Which operator is used to import function selectively? from module import function take() include() > 4 / 50 max() returns: largest value middle value average minimum value 5 / 50 Function call करता है: definition execution of function body loop input 6 / 50 Which module works with file paths? time sys random os.path 7 / 50 Built-in function example: custom() same() roll() print() 8 / 50 dir() function shows: bit size all attributes in module file name output 9 / 50 Modules stored in folder are called: packages unit region directory 10 / 50 Keyword-only argument is enforced by: * /** * == 11 / 50 Which stores reusable code? class Switch operator module 12 / 50 An infinite recursion produces: stack overflow shutdown compile error None 13 / 50 Function definition ends with: , : ; ) 14 / 50 Python में library का दूसरा नाम: package cluster branch board 15 / 50 A function inside module is known as: command part block member function 16 / 50 Which module handles command-line arguments? os sys random math 17 / 50 Which removes all items from list? clear() del() pop() remove() 18 / 50 कौन-सा function string की length बताएगा? len() measure() width() count() 19 / 50 name का value module run होने पर: "main" None test "module" 20 / 50 Factorial calculation uses: Switch Recursion Polymorphism Iteration only 21 / 50 import math as m में m क्या है? module alias package variable 22 / 50 A function that does not accept parameters is: empty type invalid none parameterless function 23 / 50 args refers to: Passing array Variable length arguments Default value None 24 / 50 Function defined inside class is called: Anonymous Method Nested Inline 25 / 50 Which module deals with date and time? math datetime timecalc random 26 / 50 Function header is also called: Statement Tail Signature Body 27 / 50 Which is a feature of a function? Reduces RAM Code reuse Compiles faster Auto save 28 / 50 A library in programming is: Folder Collection of modules Internet file Printer 29 / 50 When two functions have same name but different parameters: Overloading Inheritance Modules Overriding 30 / 50 Which function converts string to integer? float() str() int() char() 31 / 50 Recursion requires: Break Base condition pass return 0 32 / 50 A module that interacts with operating system: sys os math random 33 / 50 Which module gives random values? os random datetime math 34 / 50 Which function removes items from list? len() pop() join() insert() 35 / 50 Which value is returned when no return is given? 0 -1 Null None 36 / 50 Which refers to dividing a program into smaller parts? Looping Modularization Debugging Scheduling 37 / 50 Local variable का scope कहाँ तक रहता है? Function के अंदर ही Module Loop पूरे program 38 / 50 Which keyword defines a function in Python? func def create() def() 39 / 50 Module उपयोग करने पर function access करने का तरीका: access.fun() new.function module.function() fun.module 40 / 50 Functions that do not have side-effects are called: Void Virtual Pure functions Broken functions 41 / 50 Return statement terminates: Switch Function Loop If 42 / 50 A function inside another function is called: Inline function Nested function Instance function Local function 43 / 50 Which is a built-in Python module? core math ram engine 44 / 50 A module can be imported using: module() import load() library() 45 / 50 Function arguments inside brackets are called: Variables Keywords Parameters Commands 46 / 50 Which function always returns an integer? pow() len() float() abs() 47 / 50 Default parameter is used when: Variable missing Compile error Argument is not passed by user None 48 / 50 A function that calls itself is known as: Dynamic Overloaded Recursive Static 49 / 50 A module in programming refers to: ROM chip A file containing Python code / functions Hardware unit A server 50 / 50 A function that does not return any value is known as: Abstract function Void function Lambda function Pure function Your score isThe average score is 0% 0% Restart quiz