Functional Programming Quiz 1 not check

Functional Programming Quiz 1 not check

12th Grade

16 Qs

quiz-placeholder

Similar activities

Python Pandas-Series

Python Pandas-Series

12th Grade

18 Qs

2.5 Translators & Facilities - OCR GCSE Computer Science

2.5 Translators & Facilities - OCR GCSE Computer Science

7th - 12th Grade

13 Qs

Functional Programming 2

Functional Programming 2

12th Grade

20 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Big Data

Big Data

11th - 12th Grade

12 Qs

Unit 12 - Functional Programming

Unit 12 - Functional Programming

12th Grade - University

13 Qs

7517 Section 10 Fundamentals of Databases

7517 Section 10 Fundamentals of Databases

12th Grade

20 Qs

Python programming

Python programming

6th - 12th Grade

16 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?