1.1-2.6 Flashcards

1
Q

What is the course goal?
Learn the basic elements of computer programming

Learn the basics of the Java programming language

Write programs

All of the above
A

All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Throughout this course you will learn how to program in:

A

Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The Oracle Academy Java Fundamentals and Java Programming courses help you prepare for what exam?

Microsoft certification exam

Oracle Certified Associate, Java SE7

IBM certification exam

None of the above

A

Oracle Certified Associate, Java SE7

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following courses are part of the Oracle Academy Java training?

Java Programming

Java Application Development

Java Fundamentals

Animating with Java

A

Java Programming

Java Fundamentals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following instructional methods are included in this course?
Quizzes and exams

Journaling and blogging

Practice activities

Lectures

All of the above
A

All of the above (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The teaching strategy for the Oracle Academy Java training includes lectures and practical exercises.
t/f

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Oracle iLearning is used to access everything in the course except what?
Quizzes

Slides

Exams

Java IDE
A

Java IDE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the learning management system used in this course?
Alice 3

Greenfoot

iLearning

BlueJ

Eclipse
A

iLearning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does IDE stand for in this course?
International development environment

Interactive design environment

Integrated development environment
A

Integrated development environment (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

An IDE includes tools for which tasks?
Writing code

Compiling code

Editing code

Debugging programs

All of the above
A

All of the above (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why is teamwork important?

Individuals must work together effectively for companies to remain competitive.

Goals can be reached faster and more efficiently.

Teamwork can result in new and innovative ideas.

All of the above

2 and 3 only
A

All of the above (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Effective teamwork is essential for organizations to realize their full potential and to meet certain goals.
t/f

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why is it useful to learn Alice 3 and Greenfoot?
(Choose all correct answers)

They both teach you how to code objects to move.

They both allow you to drag and drop objects.

They both allow you to learn the fundamental ideas in programming by creating objects in a virtual world.

None of the above
A

They both teach you how to code objects to move. (*)

They both allow you to drag and drop objects. (*)

They both allow you to learn the fundamental ideas in programming by creating objects in a virtual world. (*)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Alice is a good introduction to learning how to program for which of the following reasons?

  1. It uses the Alice+ programming language syntax.
  2. It is easy to drag and drop objects on the screen rather than type.
  3. You learn fundamentals of computer programming by creating animations.
A

2 and 3 only

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following steps is not needed to generate an animation in Alice or to create a game in Greenfoot?
Test

Implement

Import graphical objects

Create a scenario

Design a storyboard
A

Import graphical objects (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When designing the scenario for a game or animation, what questions should you answer?

What programming constructs are needed?

What objects are needed? 

What actions should take place? 

What story is to be told?
A

What objects are needed?

What actions should take place? 

What story is to be told?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

The list below provides good characteristics of a team, except which one?

Shared responsibility

Clear roles

Clearly defined tasks

Regular participation

A single leader
A

A single leader (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which of the following components can help a team be successful?

  1. A common goal
  2. Shared responsibility
  3. A project plan clearly defining roles and tasks
  4. Equal participation and attendance at all meetings
A

1, 2, 3, and 4 (*

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

In a team assessment rubric, which of the following would earn a 4 (the highest score) in the Collaboration category?
Rarely listens to, shares with, and supports the efforts of others. Often is not a good team player.

Almost always listens to, shares with, and supports the efforts of others. Tries to keep people working well together and mentors team members when appropriate.

Usually listens to, shares, with, and supports the efforts of others. Does not cause "waves" in the group.

Often listens to, shares with, and supports the efforts of others, but not always.
A

Almost always listens to, shares with, and supports the efforts of others. Tries to keep people working well together and mentors team members when appropriate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

In a team assessment rubric, which of the following would earn a 1 (the lowest score) in the attitude category?

Is often publicly critical of the project or the work of other members of the group. Is often negative about the task(s).

Is rarely publicly critical of the project or the work of others. Often has a positive attitude about the task(s).

Is never publicly critical of the project or the work of others. Always has a positive attitude about the task(s).

Is occasionally publicly critical of the project or the work of other members of the group. Usually has a positive attitude about the task(s).
A

Is often publicly critical of the project or the work of other members of the group. Is often negative about the task(s). (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

The following provides examples of a team rubric, except which one?

Ensures that there will be no errors in the project.

Set of rules and standards.

Helps the team meet its criteria for success.

Defined by the team.
A

Ensures that there will be no errors in the project. (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Why might you create a journal for programming?

  1. To document new concepts and techniques.
  2. To track problems in your code and how you solved them.
  3. To serve as a review guide when preparing for an exam.
A

123

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What kind of information is useful in a programming journal?
New programming concepts

Problems encountered and how you solved them

Both 1 and 2

Neither 1 nor 2
A

Both 1 and 2 (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Which of the following is not a good tip for protecting information and systems (cyber security)?

Share strong passwords.

Keep anti-virus software up-to-date.

Only open emails from trusted sources.

Follow your organization's cybersecurity rules and report issues when they happen.
A

Share strong passwords. (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Which of the following is an example of behaving ethically online?
Copying and pasting parts of someone elseメs work into your own without giving them credit.

Posting information about people at school that they would never want shared.

Pretending you are someone else in an online chat room.

Starting a cruel social network page about members of the community.

Refraining from using rude or bad language online.
A

Refraining from using rude or bad language online.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What do moving objects provide to your scene? Mark for Review
(1) Points

The sky and ground

The action

The procedures

The non-moving scenery
A

The action (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

In Alice, where are objects added and positioned in the scene? Mark for Review
(1) Points

The Code editor

The gallery

The Scene editor

The template
A

The Scene editor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Which button is selected in the Alice file menu to save a version of an animation? Mark for Review
(1) Points

File

New

Save As...

Open
A

Save As… (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Alice 3 will periodically remind you to save your project. True or false? Mark for Review
(1) Points

True/False
A

False (*)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

In Alice, once an instance is added to the scene, it cannot be deleted. True or false?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

When is an instance created in Alice? Mark for Review
(1) Points

After the code is created.

After the scenario is saved.

After the folder is selected in the gallery.

After the class icon is dragged into the scene.
A

After the class icon is dragged into the scene.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

Creating multiple versions of your Alice project saves time. True or false?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

After objects are positioned in the scene, it is wise to save multiple versions of the project, giving each version the same name. True or false?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

How do you create a programming instruction in Alice? Mark for Review
(1) Points

Click and drag the desired programming instruction into the Procedures tab.

Click and drag the desired programming instruction into the myFirstMethod tab.

Click and drag the desired programming instruction into the Scene editor.

Click and drag the desired programming instruction into the Functions tab.
A

Click and drag the desired programming instruction into the myFirstMethod tab.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

How do you view the results of procedures entered in the Alice code editor? Mark for Review
(1) Points

Select the Play button.

Select the Run button.

View the procedures in the gallery.

Save the scene.
A

Select the Run button.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

Copying programming instructions saves time when programming your Alice project. True or false?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

Which option copies a programming instruction to the clipboard?
Clipboard

Is Enabled

Copy to Clipboard

Paste
A

Copy to Clipboard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

When something is broken or doesn’t work as intended in a software program, it is referred to as a _________? Mark for Review
(1) Points

Bug

Debug

Error

Code
A

Bug

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

Debugging is the process of finding bugs in a software program. True or false?

A

True

40
Q

Saved Alice projects can be opened and edited. True or false?

A

True

41
Q

Which of the following are ways to open an existing Alice project file after launching Alice? Mark for Review
(1) Points

		(Choose all correct answers)	

Click and drag the file from your computer into Alice 3.

Select the project from the My Projects tab.

Browse for the project using the File System tab.

Double-click on the project file name in the folder it is stored in on your computer.
A

Select the project from the My Projects tab.

Browse for the project using the File System tab.
42
Q

In Alice, where are objects added and positioned in the scene? Mark for Review
(1) Points

The Code editor

The gallery

The Scene editor

The template
A

The Scene editor

43
Q

In Alice, there is a limit of 10 objects per scene. True or false?

A

False

44
Q

In Alice, what does the resize handle style do? Mark for Review
(1) Points

Simple rotation and movement

Rotate about the x, y, and z axes

Change size of the object and stretch it along the x, y, and z axes

Move along the x, y, and z axes
A

Change size of the object and stretch it along the x, y, and z axes

45
Q

Manually manipulating an Alice object with your cursor is a way to precisely position an object. True or false?

A

False

46
Q

Which of the following is not an example of a one-shot procedure? Mark for Review
(1) Points

Roll

Move

Turn

Spin
A

Spin

47
Q

Only acting objects have one-shot procedures. True or false?

A

False

48
Q

When you edit an object’s properties in the Scene editor, the changes do not take effect until the Run button is clicked. True or false?

A

False

49
Q

One type of object property is an object’s position in the scene. True or false?

A

True

50
Q
Which of the following is not one of the positioning axes used in Alice 3?
x
z
w
y
A

w

51
Q

In Alice, where does an instance’s axes intersect? Mark for Review
(1) Points

At the instance's head.

At the instance's feet.

At the instance's center point. 

At the world's center point.
A

At the instance’s center point.

52
Q

Which handle style would be used to rotate an object’s sub-part about the x, y, and z axes? Mark for Review
(1) Points

Rotation

Default

Translation

Resize
A

Rotation

53
Q

Rings will appear around a sub-part indicating how you can reposition it. True or false?

A

True

54
Q

To access the Alice Code editor from the Scene editor, which button do you click? Mark for Review
(1) Points

Access Code Editor

Code Editor

Edit Code

Code
A

Edit Code

55
Q

The Alice Scene editor contains tools to rotate the camera view. True or false?

A

True

56
Q

In Alice the Functions tab will display the pre-defined functions for the selected instance. True or false?

A

True

57
Q

The Procedures tab and the Functions tab are the two tabs available in the Alice methods panel. True or false?

A

True

58
Q

Which of the following instructions turns the clown fish left 5 meters?
this.clownFish turn Left 5.0

this. clownFish turn Left 0.5
this. clownFish turn Left 5
this. Fish turn Left 5
A

this.clownFish turn Left 5.0

59
Q

Which of the following procedures turns an object to face another object? Mark for Review
(1) Points

turn

turnToFace

orientToUpright

moveToward
A

turnToFace

60
Q

Which of the following is the default control statement in myFirstMethod? Mark for Review
(1) Points

Count

Do Together

Do In Order

Comment
A

Do In Order

61
Q

To add a procedure to myFirstMethod, right-click on the procedure you wish to add and select the Add button. True or false?

A

False

62
Q

The Alice move procedure contains which arguments? Mark for Review
(1) Points

		(Choose all correct answers)	

Object

Direction

Amount

Text
A

Direction

Amount
63
Q

An argument is a value that the procedure uses to complete its task. True or false?

A

True

64
Q

Programming comments do not affect the functionality of your Alice animation. True or false?

A

True

65
Q

What is the first step to entering comments in an Alice program? Mark for Review
(1) Points

Type comments that describe the sequence of actions in the code segment.

Drag and drop the comments tile above a code segment. 

Drag and drop the comments tile below a code segment.

Select the instance from the instance menu.
A

Drag and drop the comments tile above a code segment.

66
Q

Which of the following ways can you alter a procedure in Alice? Mark for Review
(1) Points

		(Choose all correct answers)	

Copy 

Count

Disable 

Reorder
A

Copy

Disable 

Reorder
67
Q

When you disable a programming instruction, it is still executed when you run the Alice animation. True or false?

A

False

68
Q

After each execution of your Alice animation, what element or elements could be adjusted in your code? Mark for Review
(1) Points

Control statements

Procedures

Arguments

All of the above
A

All of the above

69
Q

It is important to save often while debugging your program. True or false?

A

True

70
Q

Which Alice control statement executes a set of procedures simultaneously? Mark for Review
(1) Points

Together

Do together

Do in order

While
A

Do together

71
Q

Which Alice execution task corresponds with the following storyboard statement?
Cat rolls to the left. Mark for Review
(1) Points

roll Left 1

this.Cat roll Left 1.0

Cat roll Left 1

Cat roll Right 1
A

this.Cat roll Left 1.0

72
Q

In Alice, control statements are dragged into the Code editor. True or false?

A

True

73
Q

In Alice, the while control statement executes a set of procedures a specific number of times. True or false?

A

False

74
Q

In Alice, the computer specifies the low and high range values for the range of numbers from which to pull a randomized number. True or false?

A

False

75
Q

In Alice, which of the following arguments could be replaced with a random number? Mark for Review
(1) Points

		(Choose all correct answers)	

Distance 

Object name

Duration 

Direction

Procedure name
A

Distance

Duration

76
Q

In Alice, what are the forms of a scenario?
A section of code to write.

A problem to solve. 

A task to perform. 

A person to help.

A system to start.
A

A problem to solve.

A task to perform.
77
Q

An animation gives the scenario a purpose. True or false?

A

False

78
Q

Breaking down a problem or process into smaller parts makes it easier to manage. True or false?

A

True

79
Q

A textual storyboard helps the reader understand the actions that will take place during the animation. True or false?

A

True

80
Q

Which Alice tool is used to demonstrate the process flow of an animation?
Visual storyboard

Textual storyboard

Flowchart 

World

Pie chart
A

Flowchart

81
Q

A flowchart is a useful way to illustrate how your Alice animation’s characters will look. True or false?

A

False

82
Q
From your Alice lessons, what does inheritance mean?
Each class inherits the methods and properties of all classes available in Alice.
Each superclass inherits the methods and properties of its subclass.

Each subclass inherits the methods and properties of its superclass.

Each class has its own methods and properties that are non-transferable to any other class.
A

Each subclass inherits the methods and properties of its superclass.

83
Q

Which of the following would a clown fish object in Alice inherit from its class? Mark for Review
(1) Points

Fins

Two eyes

Procedures

Functions

All of the above
A

All of the above

84
Q

Procedural abstraction may need to be implemented if an object in Alice needs to perform an action, but there isn’t an inherited procedure that accomplishes that action. True or false?

A

True

85
Q

Which of the following is a reason why procedural abstraction may be used in programming an animation?
The code is too long.

The programmer wants to save the animation.

The code is difficult to read. 

The programmer wants to reuse the code.
A

The code is too long. (*)

The code is difficult to read. (*)

The programmer wants to reuse the code. (*)
86
Q

In Alice, new procedures are declared in the Scene editor. True or false?

A

F

87
Q

In Alice, you could identify when new procedures need to be declared by reviewing the textual storyboard for the animation. True or false?

A

T

88
Q

In Alice, which of the following situations could benefit from declaring a new procedure?
An object needs to move forward, then move up 10 meters.

An object needs to say three statements.

An object does not have a default procedure for a motion, such as swimming.

Multiple objects need to use a motion, such as bunnies hopping.

A single motion, such as walking, takes up a lot of room in myFirstMethod.
A

An object does not have a default procedure for a motion, such as swimming.

Multiple objects need to use a motion, such as bunnies hopping.

A single motion, such as walking, takes up a lot of room in myFirstMethod.
89
Q
In Alice, if only objects that walk on four legs need to use a procedure, in which superclass would the procedure be declared?	 Mark for Review 
(1) Points
Quadruped

Biped

Swimmer

Prop
A

Quadruped

90
Q

In Alice, which of the following is not a control statement? Mark for Review
(1) Points

Do In Order

While

Count

Move
A

Move

91
Q

In Alice, which control statement is used to invoke simultaneous movement? Mark for Review
(1) Points

Do Together

Do In Order

While

Count

Variable
A

Do Together

92
Q

In Alice, a walking motion for a bipedal object can be achieved without the Do Together control statement. True or false?

A

False

93
Q

In Alice, different programming is not required for different objects, because all objects move the same way. True or false?

A

False

94
Q

In Alice, when two objects are synchronized and move together, this means that one object is:

A vehicle of another

A class of another

An object of another

An instance of anothe
A

A vehicle of another

95
Q

In Alice, which procedure is used to assign one object as the vehicle of another?

setClassVehicle

setObjectVehicle

setVehicle

Vehicle
A

setVehicle