Python Which of these about a dictionary is false? The values of a dictionary can be accessed using keys The keys of a dictionary can be accessed using values Dictionaries are mutable Dictionaries aren’t ordered The values of a dictionary can be accessed using keys The keys of a dictionary can be accessed using values Dictionaries are mutable Dictionaries aren’t ordered ANSWER DOWNLOAD EXAMIANS APP
Python What is the use of duck typing? Makes the program code smaller Less restriction on the type values that can be passed to a given method More restriction on the type values that can be passed to a given method No restriction on the type values that can be passed to a given method Makes the program code smaller Less restriction on the type values that can be passed to a given method More restriction on the type values that can be passed to a given method No restriction on the type values that can be passed to a given method ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? When there is a deviation from the rules of a programming language, a semantic error is thrown The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python If any exception is thrown in try block, else block is executed When there is a deviation from the rules of a programming language, a semantic error is thrown The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python If any exception is thrown in try block, else block is executed ANSWER DOWNLOAD EXAMIANS APP
Python To add a new element to a list we use which Python command? list1.append(5) list1.addEnd(5) list1.addLast(5) list1.add(5) list1.append(5) list1.addEnd(5) list1.addLast(5) list1.add(5) ANSWER DOWNLOAD EXAMIANS APP
Python Which Python is used by client to opens a TCP connection to hostname? s.bind() s.connect() All of the mentioned s.accept() s.bind() s.connect() All of the mentioned s.accept() ANSWER DOWNLOAD EXAMIANS APP
Python What is the maximum possible length of an identifier allowed by Python? 31 characters 63 characters 79 characters None of the mentioned 31 characters 63 characters 79 characters None of the mentioned ANSWER DOWNLOAD EXAMIANS APP