stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
JEROO CHAPTERS 1 and 2 Flashcards | StudBud
Explore
/
JEROO CHAPTERS 1 and 2
JEROO CHAPTERS 1 and 2
51 terms
·
StudBud Administration
·
52 plays
JEROO BASICS FOR INTRO COMPUTER SCIENCE #jeroo #computerscience
Flashcards
51 cards
F
Practice quiz
P
Host live
L
Questions
51
Answers
1
A ____________is statements that are written in language to describe a specific behavior
code
object
method
main
2
A _____for a method is something that is assumed to be true after the method has been executed
precondition
postcondition
method
attribue
3
A(n) ____represents a specific concept relevant to the problem to be solved
Jeroo
method
main
object
4
The meaning associated with valid expressions is known as the _____________ of the expression.
syntax
semantics
source
code
5
Jeroo Hero = new Jeroo(0,0,West,11) is a valid constructor.
TRUE
FALSE
6
Jeroo Hero = new Jeroo(EAST); is a valid constructor.
TRUE
FALSE
7
Sensor methods can only be used in while loops.
TRUE
FALSE
8
hero = Jeroo(11,WEST) is a valid constructor.
TRUE
FALSE
9
Jeroo Hero = new Jeroo(0,0,11,West); is a valid constructor.
TRUE
FALSE
10
You can only create a Jeroo with 6 flowers without saying a location.
FALSE
TRUE
11
What symbol must be used to write a comment in Jeroo?
$
*
//
#
12
hero = Jeroo( ) is a valid Jeroo constructor.
TRUE
FALSE
13
Jeroo Hero = new jeroo(); is a valid constructor.
FALSE
TRUE
14
A _____________translates a program, as a whole, from one form to another.
compiler
translator
editor
button
15
The command Bob = Jeroo( 11,24) is a valid command.
TRUE
FALSE
16
Which of these is a valid Jeroo constructor?
Jeroo hero = new Jeroo(3,4,WEST, );
Jeroo hero = new Jeroo(WEST,8);
Jeroo hero = new Jeroo(8);
Jeroo Hero = new Jeroo(6,4,2,WEST);
17
A computer ___________is a set of instructions for a computer.
key
code
program
software
18
Which of these can you set individually inside a Jeroo constructor?
Direction the Jeroo faces
More than 1 of these can be set
Number of flowers the Jeroo carries
Location of the Jeroo
19
Jeroo hero = new Jeroo(0,0,9); is a valid constructor.
TRUE
FALSE
20
Jeroo hero = new Jeroo(11,West); is a valid constructor.
FALSE
TRUE
21
Jeroo is an ______________ oriented programming language.
interesting
easy
hard
object
22
Jeroos pick ____________ flowers.
yellow
wisum
winsum
pretty
23
A (n) ____________is a plan for solving a problem.
solution
algorithm
analysis
method
24
Jeroo hero = new Jeroo(West,7); is a valid constructor.
TRUE
FALSE
25
hero = Jeroo(0,0,9) is a valid constructor
TRUE
FALSE
26
A(n) ___________is a fact associated with a specific object.
attribute
trait
method
call
27
Hero = Jeroo( )
FALSE
TRUE
28
The command:
sam = Jeroo(5,9,7)
creates a Jeroo with 5 flowers at location 7,9.
FALSE
TRUE
29
A (n) ___________translates a program into machine language one statement at a time.
translator
intrepreter
compiler
Jeroo
30
bob.hop( ) is a valid command.
FALSE
TRUE
31
A __________for a method is something that is assumed to be true before the method is invoked.
rule
method
precondition
postcondition
32
The ___________ ____________for a program is written by a programmer.
compiler code
answer key
source code
conditional loop
33
Sam = Jeroo (WEST,3,4) is valid. (TRUE OR FALSE)
TRUE
FALSE
34
Which of these is not a valid Jeroo constructor?
Jeroo hero = new Jeroo(3,4,5);
Jeroo hero = new Jeroo(6);
Jeroo hero = new Jeroo(WEST,8);
Jeroo hero = new Jeroo( );
35
Jeroo hero = new Jeroo(0,0,West,7); is a valid constructor.
TRUE
FALSE
36
Jeroo hero = new Jeroo(0,0,9); is a valid constructor.
FALSE
TRUE
37
_______________ is a set of rules for writing or speaking that language.
Method
Syntax
Compiler
Code
38
hero = Jeroo(WEST,7) in an invalid constructor
FALSE
TRUE
39
Jeroo Sam = new Jeroo (WEST,3,4); is valid. (TRUE OR FALSE)
FALSE
TRUE
40
The command
bob = Jeroo(7,7)
creates a Jeroo with 7 flowers.
TRUE
FALSE
41
bob.hop(5) is a valid command.
TRUE
FALSE
42
Jeroo hero = new Jeroo(); is a valid construtor
TRUE
FALSE
43
Jenny.hop(24) is a valid command.
TRUE
FALSE
44
You can only create a Jeroo facing north with 6 flowers without saying a location.
TRUE
FALSE
45
Which of these can not be set at the same time inside Jeroo constructors?
Flowers and Location of Jeroo
Flowers, Direction, and Location
Location and Direction the Jeroo is facing.
Flowers and Direction the Jeroo is Facing
46
A __________is a request for a specific object to perform a specific task.
rule
message
method
call
47
It is possible to create a Jeroo facing east without any other conditions.
TRUE
FALSE
48
The process of creating a specific object is called _____________.
instantiation
method
conditional
making
49
Jeroos live on _____________ Island.
Satong
Sanong
Sarong
Santong
50
The story behind the Jeroos. A jeroo is an animal similar to a ______________.
seal
kangaroo
elephant
wallaby
51
Jeroos can do a lot of things but they can not _________.
talk
burp
fly
swim