Haskell 2
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Олександра Радзієвська
Used 4+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як взяти 4 елемент списку xs?
xs[4]
xs !! 4
xs(4)
xs % 4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
func (+) 0 [5,7,9,2] = [23,18,11,2,0]. яку функцію треба підставити замість func, щоб вираз був коректним?
foldl
map
scanr
scanl
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Хаскель "лінивий". Що це значить?
Він не здатний виконувати обчислення над великими числами
Вирази не обчислюються поки їхнє значення не стане дійсно потрібним
Хаскель - мова для лінивих розробників
Хаскель "ліниться" робити перетворення типів
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"..... means to think big: work with an entire list, rather than a sequence of elements; develop a solution space, rather than an individual solution; imagine a graph, rather than a single path."
Вставте пропущене визначення
Declarative programming
Wholemeal programming
Computer programming
Functional programming
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Якої конструкції НЕ існує в Хаскелі?
if .. elif .. else
case ... of ...
let ... in ...
... where ...
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
func :: (a->b) -> [a] -> [b]
Яка з функцій має таку сигнатуру?
filter
foldl
map
scanr1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який стиль найменування функцій варто використовувати в Хаскелі?
someCoolFunction
some_cool_function
some_Cool_Function
some-cool-function
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
6 questions
The dream team
Quiz
•
5th Grade - Professio...
10 questions
Бұлттық есептеулер
Quiz
•
University
10 questions
104-P-01: Delegates and lambdas
Quiz
•
University
10 questions
System Analysis & Design
Quiz
•
University
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
10 questions
C++ quiz
Quiz
•
10th Grade - Professi...
10 questions
PSP Week3
Quiz
•
University
10 questions
Round 1: Get to know US :)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
