In Racket, which of the following is NOT one of the three kinds of things that we can give names to (use the (define ....)?
Module 09 (Day 2)

Quiz
•
Computers
•
University
•
Hard
Valentina Hideg
Used 4+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Constants
Functions
Variables
Function parameters
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What can a function consume as an argument in Intermediate Student and above?
A string
A number
Another function
A list
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What can a function produce as a result in Intermediate Student and above?
Character
Boolean
Another function
A string
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a user-defined function?
(define plus +)
(define (double x) (* x 2))
(define lof (list + - * /))
+
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using first-class functions in sorting (i.e. the auxiliary parameter less-than<?)?
To abstract over comparison operations
To increase the speed of sorting
To reduce memory usage
To simplify the syntax
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of this code?
(list -1 -2 3 5 -8)
(list 3 -1 -2 5 -8)
(list 1 2 3 5 8)
(list -2 -1 3 5 -8)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result?
(list 3 5)
(list 5 3)
(list 5 3 0 -1 -2)
(list 5 3 0 1 2)
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result?
(list 5 7 4 6 8)
(list 5 7 8 6 4)
(list 7 5 8 6 4)
(list 8 6 4 7 5)
Similar Resources on Wayground
10 questions
J277 - 2.2 - Functions in Python

Quiz
•
10th Grade - University
10 questions
DS UNIT-2 TEST-1

Quiz
•
University
10 questions
Python Basics

Quiz
•
University
10 questions
Python Unit 3

Quiz
•
University
13 questions
Unit 12 - Functional Programming

Quiz
•
12th Grade - University
10 questions
Assembly Language

Quiz
•
University
12 questions
Praktisi Mengajar - Python

Quiz
•
University
8 questions
Mastering Python Basics

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade