Python Exam 2 2023 with 100% correct answers
Which of the following functions does not belong to the random function pi The _________ of a variable refers to the program parts where the variable can be accessed Scope A statement in one function can access a local variable in another function. False The _________ keycard is ignored by python interpreter and can be used as a placeholder for code that will be written later Pass This standard library function returns a random floating-point number in the range of 0.0 to 1.0 (but not including 1.0) Random A variable created in the main body of python code is a ______ variable Global Algorithms can be broken down into functions by using _______ design approach Top-Down A technique for dividing a large task into several smaller tasks that are easily performed is called Divide and conquer Which of the following statements must be included at the start of the program when using a python library function Import Functions make it easier for programmers to work in teams. True
Document information
- Uploaded on
- July 28, 2023
- Number of pages
- 5
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers