logo

Crowdly

COMP-1811-M01-2024-25 Paradigms of Programming (Greenwich Maritime Campus)

Looking for COMP-1811-M01-2024-25 Paradigms of Programming (Greenwich Maritime Campus) test answers and solutions? Browse our comprehensive collection of verified answers for COMP-1811-M01-2024-25 Paradigms of Programming (Greenwich Maritime Campus) at moodlecurrent.gre.ac.uk.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Which line is the base case and on which line does recursion occur in the following Scheme function?

 Code fragment Q9

View this question

The following code defines the list, grades containing student name and grade pairs, and includes an incomplete expression. 

Examine the code and replace ??? with a higher-order accumulate function to return the list of failed students (as a list of student name and grade pairs - i.e. return (((Theo Blake) 35) ((Greta Blake) 30)) ):

 Code fragment Q0013

View this question

How can you trace the recursive calls of a function, fib, in Scheme? Select the most accurate answer.

0%
0%
0%
0%
View this question

What is the result of evaluating the following? 

 Code fragment Q7

View this question

What is the difference between the following two fragments of Scheme code on lines 1 and 3?

Code fragment Q1

View this question

What is the output of the following map expression given the list of scores?

                   Code fragment Q0014

View this question

Given the list, lst below, write the Scheme code to retrieve the atom (Bob Zia) from the list:

                       Code fragment Q0011                            

View this question

What is the difference between evaluating the following statements in Scheme?

 Code fragment Q4

View this question

Evaluate the following expression and determine the output:

 Code fragment Q0012

View this question

What does REPL mean in Scheme?

View this question

Want instant access to all verified answers on moodlecurrent.gre.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!