Search Header Logo

Functional Programming

Authored by Tasanawan Soonklang

Computers

University

Used 2+ times

Functional Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดกล่าวผิดเกี่ยวกับภาษาเชิงฟังก์ชัน

เป็น non-procedural programming language

มีลักษณะคล้ายฟังก์ชันทางคณิตศาสตร์

ไม่ต้องระบุขั้นตอนการเปลี่ยนสถานะในหน่วยความจำ

การเขียนโปรแกรมขึ้นกับฮาร์ดแวร์

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ส่วนประกอบที่สำคัญของภาษาเชิงฟังก์ชัน

ลิสต์ ฟังก์ชันพื้นฐาน กฏ

ลิสต์ ฟังก์ชันพื้นฐาน โครงสร้างที่ใช้สร้างฟังก์ชัน

ลิสต์ ฟังก์ชันพื้นฐาน ข้อเท็จจริง

ฟังก์ชันพื้นฐาน โครงสร้างที่ใช้สร้างฟังก์ชัน ข้อเท็จจริง

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดจัดเป็นภาษาเชิงหน้าที่ภาษาแรก

LISP

Scheme

Racket

Haskell

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเป็น syntax ของภาษาตระกูล Lisp

(function_name arg1 arg2 ... argN)

(function_name, arg1 , arg2, ... , argN)

(lambda arg1 arg2 ... argN)

(lambda, arg1, arg2, ... ,argN)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

ผลลัพธ์ของคำสั่ง (* 5 (+ 4 3))

23

37

35

19

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันใดในภาษา Racket ที่ใช้ในการสร้างนิพจน์แบบไม่ระบุตัวตน (anonymous function)?

define

lambda

let

map

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

f(x) = x * x เขียนเป็น lambda function ใน racket ตรงกับ

ข้อใด

(lambda (* x x))

lambda(x) = x * x

(lambda (x) (x * x))

(lambda (x) (* x x))

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?