Récursivité
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
pierre wulles
Used 11+ times
FREE Resource
Enhance your content in a minute
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))
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Latex
Quiz
•
University
10 questions
NEO LMS Training
Quiz
•
University
16 questions
Python Basics
Quiz
•
KG - University
10 questions
Tin học 10 Bài 20
Quiz
•
12th Grade - University
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
10 questions
SQL JOINS
Quiz
•
University
10 questions
Unguided transmission media
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
