Brainscape
Find Flashcards
Discover millions of Flashcards
Browse Brainscape-Certified Flashcards
Learn faster with our catalog of expert certified, pre-made flashcards.
Browse All Flashcards
Browse our full catalog of user-generated and Brainscape-Certified flashcards.
Explore the
Knowledge Genome
of subjects:
Entrance Exams
Professional Certifications
Foreign Languages
Medical & Nursing
Science
English
Humanities & Social Studies
Mathematics
Law
Vocations
Health & Fitness
Business & Finance
Technology & Engineering
Food & Beverage
Fine Arts
Random Knowledge
Make Flashcards
How It Works
Features Overview
The Science of Studying
Educators
Schools & Teachers
Tutors & Resellers
Businesses
Employee Training
Publishers & Resellers
Academy
Academy Homepage
The Science of Studying
Study Tips
Teaching Tips
Employee Training Tips
Language Learning Tips
Test Prep Tips
Log in
My Dashboard
Get Started
Log out
Z - Computer Science
> If / Ifelse / Related > Flashcards
If / Ifelse / Related Flashcards
(8 cards)
Study These Flashcards
1
Q
ask
A
Asks an agent to do something
Uses a specified group
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
if
A
If a Boolean reports true, the commands are run
Command will return false
not having #t or #f -> runtime error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
ifelse
A
Uses multiple booleans
not having #t or #f -> runtime error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
let
A
let variable value
creates a new variable and gives it the given value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
pd
A
pen-down
traces the movements of turtles
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
set
A
set variables value
sets variable to the given value (which should already exist)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
repeat
A
repeats a block of code a specified number of times
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
random
A
random #
if # is positive, it reports a random integer >= 0 but < #
if # negative, it reports a random integer <= 0 but > #
if # = 0 -> 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
Z - Computer Science
flashcards
Decks in class (15)
# Cards
--Racket--
0
Racket Definitions
7
Type Reference
5
Number Types / Functions
15
Conditionals
4
Lists
17
--Netlogo--
0
Agents / Patches
6
Turtles
5
If / Ifelse / Related
8
Netlogo Functions
9
Number Systems
8
Hardware
7
Internet
9
Scope
4