Neco 2020 Computer Studies Question 10

Practice objective / multiple choice question 10 from the 2020 Neco Computer Studies examination.

Neco 2020 Computer Studies Objective / Multiple Choice Hard Difficulty
Question 10 NECO • 2020 • COMPUTER_STUDIES • objective

Write a Python function `prime_digit_sum_square(nums)` that receives a list of integers `nums` and returns the sum of the squares of those numbers that satisfy both conditions: 1. The number itself is prime. 2. The sum of its decimal digits is also a prime number. Using the list `[13, 23, 29, 31, 41, 43, 59, 61, 73, 79]`, what value does the function return? (Do not include any input or output statements; only the function definition and the final returned value are required.)

Answer Options

A. 8092
B. 12102
Correct Answer C. 8621
D. 4900
Correct Answer
C
Correct Option:
8621

About This Question

This is Neco 2020 Computer Studies Question 10. It is one of the objective questions from the 2020 Neco Computer Studies examination.

Difficulty level: Hard .

Master the Exam!

You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.

Unlock Full Access Available for Android & Windows
Chat with Support