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