Functional Programming Quiz 1 not check

Functional Programming Quiz 1 not check

12th Grade

16 Qs

quiz-placeholder

Similar activities

Arduino IDE

Arduino IDE

3rd Grade - Professional Development

17 Qs

OOP Java

OOP Java

12th Grade

20 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

Socket Programming

Socket Programming

10th Grade - University

20 Qs

Ch Coding Review

Ch Coding Review

9th - 12th Grade

20 Qs

Functional Programming 1

Functional Programming 1

12th Grade

13 Qs

Programming Paradigms Quiz

Programming Paradigms Quiz

12th Grade

20 Qs

Recursion

Recursion

12th Grade

20 Qs

Functional Programming Quiz 1 not check

Functional Programming Quiz 1 not check

Assessment

Quiz

Computers

12th Grade

Hard

Created by

W Deng

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following is returned from the functional programming command: head[1,2,3,4,5]

1

[1,2,3,4]

5

[1,2]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following is returned from the functional programming command tail[1,2,3,4,5]

1

[2,3,4,5]

5

[1,2]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following is returned from the functional programming command [1,2,3,4,5] !! 1

1

2

[1,3,4,5]

[2,3,4,5]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following is returned from the functional programming command take 2 [1,2,3,4,5]

[1,2,3]

[3,4,5]

[1,2]

[4,5]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following is returned from the functional programming command drop 2 [1,2,3,4,5]

[1,2,3]

[3,4,5]

[1,2]

[4,5]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following is returned from the functional programming commands:factor x = x * 2map factor [1,2,3,4]

[3, 6 , 9, 16]

[2, 4, 6, 8]

[2, 2, 2, 2]

34

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following is returned from the functional programming command:foldr (/) 2 [4,8,8,4]

0.5

1

2

4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Computers