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
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
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 Wayground
15 questions
ANALYSIS OF ALGORITHMS

Quiz
•
University
10 questions
Expression in C Programming

Quiz
•
University
15 questions
Java

Quiz
•
University
13 questions
ÔN TẬP C - mảng 1 chiều

Quiz
•
University
16 questions
Lógica de Programação

Quiz
•
University
15 questions
DATA STRUCTURES QUIZ

Quiz
•
University
12 questions
Operators in C

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University