Oracle
1Z0-909 · Question #45
1Z0-909 Question #45: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-909 to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.
Application Development
Question
Examine these lines of Python code: You must add a line of code to complete the code to return data to the variable d. Which line will do this?
Options
- Ad = cursor.execute(query)
- Bd = cursor.execute(query, (hire_start, hire_end) )
- Cd = cursor.fetch(query % (hire_start, hire_end))
- Dd = cursor.fetch(query, (hire_start, hire_end))
- Ed = cursor . f etchall (query)
- Fd = cursor.fetchall(query, (hire_start, hire_end))
Unlock 1Z0-909 to see the answer
You've previewed enough free 1Z0-909 questions. Unlock 1Z0-909 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Python DB-API#parameterized queries#cursor fetch#SQL injection prevention