Récursivité

Récursivité

University

13 Qs

quiz-placeholder

Similar activities

MPB Week 7

MPB Week 7

University

10 Qs

BB

BB

University

10 Qs

TMK Tahun 6 Ulang kaji

TMK Tahun 6 Ulang kaji

KG - University

11 Qs

Bài 25 tin 10

Bài 25 tin 10

9th Grade - University

10 Qs

Unguided transmission media

Unguided transmission media

University

10 Qs

Python Quiz 1.4

Python Quiz 1.4

University

12 Qs

Récursivité

Récursivité

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

pierre wulles

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Donner le profil de la fonction f

int -> int -> int

float -> float -> float

int -> int -> float

float -> float -> int

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Donner le profil de la fonction f

'a -> 'a -> string -> string

float -> float -> string -> string

int -> int -> string -> string

'a -> 'a-> char -> char

int -> int -> char -> char

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Donner le profil de la fonction f

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

En TD nous avons défini les entiers de Peano. Rappeler une définition du type natP en OCaml.

type natP = int

type natP = Z | int

type natP = Z|S of natP

type natP = Z of int | S of natP

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Comment représente t-on l'entier 4 avec le type natP ?

S (S (S (S Z)))

Z

4

S(S (S (S (S Z))))

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

let f = ...

let rec f = ...

let f rec = ...

rec let f =

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

On a implémenté une fonction addP, quel est le résultat de addP (S Z) (S (S (S Z))) ?

3

4

S(S(S(S Z)))

S(S(S Z))

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?