Donner le profil de la fonction f
Récursivité

Quiz
•
Computers
•
University
•
Medium

pierre wulles
Used 11+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int -> int -> int
float -> float -> float
int -> int -> float
float -> float -> int
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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
Donner le profil de la fonction f
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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))
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
FLASH

Quiz
•
University
10 questions
Java Static

Quiz
•
University
10 questions
DAA Quiz 1

Quiz
•
University
16 questions
C-Extended

Quiz
•
University
10 questions
C++ Array

Quiz
•
University
15 questions
C++ Quiz-1

Quiz
•
University
10 questions
Analysis of Algorithms

Quiz
•
University
10 questions
AFP Midtvejsevaluering

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade