English

ہوم / مشق / اے سی سی اے / اسٹریٹجک پروفیشنل لیول میں نیا / SDS Programming for business

SDS Programming for business

Written by Saad Rahman (ACCA)

7 سوالات: اے سی سی اے اسٹریٹجک پروفیشنل لیول میں نیا، جوابات اور وضاحت کے ساتھ۔

جوابی کنجی کے ساتھ قابلِ پرنٹ ورک شیٹ

تمام سوالات جوابات کے ساتھ
  1. In SQL, which clause filters groups after aggregation?

    • 1 WHERE
    • 2 HAVING
    • 3 FROM
    • 4 ORDER BY
    جواب دیکھیں

    درست جواب: HAVING

    WHERE filters rows before grouping, and HAVING filters the groups.

    غلطی کی اطلاع دیں

  2. Which SQL join keeps all rows from the left table and the matching rows from the right?

    • 1 INNER JOIN
    • 2 UNION
    • 3 LEFT JOIN
    • 4 CROSS JOIN only
    جواب دیکھیں

    درست جواب: LEFT JOIN

    Rows without a match have empty values for the right table's columns.

    غلطی کی اطلاع دیں

  3. In Python, which library is most commonly used for working with tables of data?

    • 1 random
    • 2 os
    • 3 pandas
    • 4 turtle
    جواب دیکھیں

    درست جواب: pandas

    pandas provides data frames for loading, cleaning and summarising data.

    غلطی کی اطلاع دیں

  4. The SQL statement SELECT region, SUM(sales) FROM orders GROUP BY region returns:

    • 1 One row per region with total sales
    • 2 Only the largest region
    • 3 The average sales
    • 4 One row for each order
    جواب دیکھیں

    درست جواب: One row per region with total sales

    The aggregate is calculated for each group.

    غلطی کی اطلاع دیں

  5. A join between a customer table and an orders table on the wrong column typically results in:

    • 1 Fewer errors
    • 2 Duplicated or incorrect rows
    • 3 A faster query
    • 4 No change
    جواب دیکھیں

    درست جواب: Duplicated or incorrect rows

    The key must identify matching records.

    غلطی کی اطلاع دیں

  6. In Python, a list of values such as [10, 20, 30] can be used in a loop to:

    • 1 Encrypt the data
    • 2 Process each value in turn
    • 3 Format the screen
    • 4 Delete the database
    جواب دیکھیں

    درست جواب: Process each value in turn

    Loops carry out repeated steps for each item.

    غلطی کی اطلاع دیں

  7. A good practice when cleaning data in code is to:

    • 1 Keep the raw data unchanged and make the steps repeatable
    • 2 Delete all rows with any missing value
    • 3 Do the work by hand without notes
    • 4 Overwrite the original file
    جواب دیکھیں

    درست جواب: Keep the raw data unchanged and make the steps repeatable

    Repeatable, documented steps allow checking and re-running.

    غلطی کی اطلاع دیں

اسٹریٹجک پروفیشنل لیول میں نیا کے مزید موضوعات