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