Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCAD - Certified Associate in Data Analytics with Python

Domain 2Objective 4

SQL for Data Analysts PCAD-31 Practice Questions (Page 1)

Part of the Programming and Database Skills domain, which accounts for 33.3% of the PCAD-31 exam. Python Institute does not publish an official question count, but from its 60-minute exam (~25–40 total, ~8–8 in this domain), expect 2–2 from this objective — we provide 18 practice questions to prepare you well beyond it. (estimate)

18questions here
4free pages
7concepts
33.3%of the exam

Questions 1–5

  1. 1foundation · easy

    Which SQL function is used to count the number of rows in a result set?

    Select an answer first
  2. 2application · medium

    A data analyst needs to retrieve the average salary of employees in each department from a SQLite database. The tables are `employees(id, name, salary, dept_id)` and `departments(dept_id, dept_name)`. The analyst wants to include departments with no employees (showing NULL average). Which type of JOIN should the analyst use?

    Select an answer first
  3. 3foundation · easy

    What is SQL injection?

    Select an answer first
  4. 4application · easy

    A Python developer is writing a script to connect to a SQLite database and execute a query that returns a single value (e.g., the count of rows in a table). Which method should the developer use to fetch the result?

    Select an answer first
  5. 5foundation · easy

    What is the purpose of the connect() function in the sqlite3 module?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Python Institute. “PCAD-31” is a trademark of its owner, used for identification only.