RPM stands for November 22, 2023November 22, 2023 administrator RPM stands for Red Hat Package ManagerGood Your Answer is CorrectRandom Process ManagementNoneRed Hat Product
To read the entire remaining contents of the file as a string from a file object infile, we use November 15, 2023November 15, 2023 administrator To read the entire remaining contents of the file as a string from a file object infile, we useinfile.read()Good Your Answer is Correctinfile.read() infile.readline() infile.readlines()
Suppose t = (1, 2, 4, 3), which of the following is incorrect? November 15, 2023November 15, 2023 administrator Suppose t = (1, 2, 4, 3), which of the following is incorrect?t[3] = 45Good Your Answer is Correctt[3] = 45print(max(t))print(len(t))
What is the output of the following program : print ‘abcefd’.replace(‘cd’, ’12’) November 15, 2023November 15, 2023 administrator What is the output of the following program : print ‘abcefd’.replace(‘cd’, ’12’)abcefdGood Your Answer is Correctabcefdab1efdab12ed2
What is the length of sys.argv? November 15, 2023November 15, 2023 administrator What is the length of sys.argv?number of arguments + 1Good Your Answer is Correctnumber of arguments + 1number of arguments – 1none of the mentioned
Program code making use of a given module is called a __ of the module. November 15, 2023November 15, 2023 administrator Program code making use of a given module is called a ______ of the module.ClientGood Your Answer is CorrectDocstringInterfaceModularity
What is the output of the following program? tday=datetime.date.today() print(tday.month()) November 15, 2023November 15, 2023 administrator What is the output of the following program? tday=datetime.date.today() print(tday.month())8Good Your Answer is CorrectAug08
Which of the following formatting options can be used in order to add „n‟ blank spaces after a given string „S‟? November 15, 2023November 15, 2023 administrator Which of the following formatting options can be used in order to add „n‟ blank spaces after a given string „S‟?print(“%-ns”%S)Good Your Answer is Correctprint(“-ns”%S)print(“%ns”%S)print(“%-ns”%S)
What is the type of each element in sys.argv? November 15, 2023November 15, 2023 administrator What is the type of each element in sys.argv?stringGood Your Answer is Correctlisttuplestring
What is the output of the following program : print ‘cd’.partition(‘cd’) November 15, 2023November 15, 2023 administrator What is the output of the following program : print ‘cd’.partition(‘cd’)(”, „cd‟, ”)Good Your Answer is Correct (”)(„cd‟, ”, ”)(”, „cd‟, ”)