QCAA Digital Solutions Innovative digital solutions

5 sample questions with marking guides and sample answers · Avg. score: 63.3%

Q3
2024
QCAA
1 mark
Q3
1 mark

How could a developer refine the following algorithm to improve maintainability?

/* Calculate the average value of an input array */
0 START
1     INPUT x AS ARRAY
2     SET sum = 0
3     FOR n IN x
4         sum = sum + n
5     ENDFOR
6     CALCULATE result = sum / length of x
7     OUTPUT result
8 END
A

Use an error-checking function.

B

Write code comments on every line.

C

Rename variables n, x and result to be more descriptive.

D

Incorporate a function from an available code library to sum the array.

Q8
2020
QCAA
1 mark
Q8
1 mark

A soccer club needs to develop a system for storing members’ data, including:

• name

• address

• team

• membership type

• email address

• phone number.

The secretary wants to email weekly newsletters to members. The treasurer wants to print membership lists and store yearly payment information.

To produce this system, the developer will need to generate a database, design interfaces and develop coded modules to send emails. After adding and updating member details, they will also need to

A

generate reports and process payments.

B

generate reports and provide secure logins for users.

C

process payments and provide secure logins for users.

D

generate reports, process payments and provide secure logins for users.

Q10
2023
QCAA
1 mark
Q10
1 mark

The table shown is named 'Planets' and is stored in a database.

NameMoonsDiameterGravityMean temperature
Mercury04 8793.7167
Venus012 1048.9464
Earth112 7569.815
Mars26 7923.7– 65

Which SQL query will return the name and mean temperature of any planet with a diameter less than 50 000, ordered in descending order of mean temperature?

A
SELECT Name, MeanTemperature
FROM Planets
WHERE Diameter < 50000
AND ORDER BY MeanTemperature DESC
B
SELECT Name, MeanTemperature
FROM Planets
WHERE Diameter < 50000
ORDER BY MeanTemperature DESCENDING
C
SELECT Name, MeanTemperature
FROM Planets
WHERE Diameter < 50000
ORDER BY MeanTemperature DESC
D
SELECT Name, MeanTemperature
FROM Planets
WHERE Diameter < 50000 AND
ORDER BY MeanTemperature DESC
Q8
2021
QCAA
1 mark
Q8
1 mark

An algorithm is developed to establish a seating plan in a movie theatre so that individual bookings are always separated by two seats. To maximise ticket sales, bookings of four or more guests are accepted immediately. Bookings for smaller groups are not confirmed until 2 hours before the movie starts.

BEGIN
SET seats = true //assume seats are available
SET bookingConfirmed = false
SET DateTime //current date and time
INPUT movieStartTime
INPUT guestNumber
IF guestNumber < 4 AND
    IF movieStartTime - DateTime >= 2 hours
    SET bookingPending = true
        ELSE
            IF guestNumber >= 4 THEN
                SET bookingConfirmed = true
            ENDIF
        ENDIF
ENDIF
        BEGIN bookingPending
        //module to handle bookings for fewer than 4 guests
        END
        BEGIN bookingConfirmed
        //module to handle bookings for 4 or more guests
        END
END

The algorithm is incomplete. What is the best way to make the algorithm more efficient?

A

Use modularisation to suggest an alternative movieStartTime for bookingPending.

B

Add an algorithm to determine seat allocation, ensuring groups sit two seats apart.

C

Calculate movieStartTime - DateTime and set as a Boolean.

D

Use a FOR loop to check the parameters for bookingConfirmed.

Q9
2021
QCAA
1 mark
Q9
1 mark

The table describes a sample of the personalised numberplate range for Queensland.

RangeClassicEmoji
DescriptionCombination of 3 numeric characters and 3 alphabetic charactersCombination of 5 alphanumeric characters and 1 emoji

Which SQL statement is correct for ordering a new personalised numberplate?

A
CREATE TABLE orders
product_range = ‘classic_theme’,
combination = ‘YIP333’
customerId = 123;
B
INSERT INTO orders (customerId, product_range, combination)
VALUES (123,‘classic_theme’,‘YIP333’)
C
UPDATE orders
SET product_range = ‘classic_theme’, combination = ‘YIP333’
WHERE customerId = 123;
D
ALTER TABLE orders
SET product_range = ‘classic_theme’, combination = ‘YIP333’
WHERE customerId = 123;

Frequently Asked Questions

How many QCAA Digital Solutions questions cover Innovative digital solutions?
AusGrader has 22 QCAA Digital Solutions questions on Innovative digital solutions, all with instant AI grading and detailed marking feedback.

Ready to practise QCAA Digital Solutions?

Get instant AI feedback on past exam questions, aligned to the syllabus

Start Practising Free