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
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.
Refraining from using rude or bad language online.
26
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
The action (*)
27
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
The Scene editor
28
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
Save As... (*)
29
Alice 3 will periodically remind you to save your project. True or false? Mark for Review (1) Points True/False
False (*)
30
In Alice, once an instance is added to the scene, it cannot be deleted. True or false?
False
31
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.
After the class icon is dragged into the scene.
32
Creating multiple versions of your Alice project saves time. True or false?
True
33
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?
False
34
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.
Click and drag the desired programming instruction into the myFirstMethod tab.
35
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.
Select the Run button.
36
Copying programming instructions saves time when programming your Alice project. True or false?
True
37
Which option copies a programming instruction to the clipboard? Clipboard Is Enabled Copy to Clipboard Paste
Copy to Clipboard
38
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
Bug
39
Debugging is the process of finding bugs in a software program. True or false?
True
40
Saved Alice projects can be opened and edited. True or false?
True
41
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.
Select the project from the My Projects tab. Browse for the project using the File System tab.
42
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
The Scene editor
43
In Alice, there is a limit of 10 objects per scene. True or false?
False
44
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
Change size of the object and stretch it along the x, y, and z axes
45
Manually manipulating an Alice object with your cursor is a way to precisely position an object. True or false?
False
46
Which of the following is not an example of a one-shot procedure? Mark for Review (1) Points Roll Move Turn Spin
Spin
47
Only acting objects have one-shot procedures. True or false?
False
48
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?
False
49
One type of object property is an object's position in the scene. True or false?
True
50
``` Which of the following is not one of the positioning axes used in Alice 3? x z w y ```
w
51
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.
At the instance's center point.
52
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
Rotation
53
Rings will appear around a sub-part indicating how you can reposition it. True or false?
True
54
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
Edit Code
55
The Alice Scene editor contains tools to rotate the camera view. True or false?
True
56
In Alice the Functions tab will display the pre-defined functions for the selected instance. True or false?
True
57
The Procedures tab and the Functions tab are the two tabs available in the Alice methods panel. True or false?
True
58
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
this.clownFish turn Left 5.0
59
Which of the following procedures turns an object to face another object? Mark for Review (1) Points turn turnToFace orientToUpright moveToward
turnToFace
60
Which of the following is the default control statement in myFirstMethod? Mark for Review (1) Points Count Do Together Do In Order Comment
Do In Order
61
To add a procedure to myFirstMethod, right-click on the procedure you wish to add and select the Add button. True or false?
False
62
The Alice move procedure contains which arguments? Mark for Review (1) Points (Choose all correct answers) Object Direction Amount Text
Direction Amount
63
An argument is a value that the procedure uses to complete its task. True or false?
True
64
Programming comments do not affect the functionality of your Alice animation. True or false?
True
65
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.
Drag and drop the comments tile above a code segment.
66
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
Copy Disable Reorder
67
When you disable a programming instruction, it is still executed when you run the Alice animation. True or false?
False
68
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
All of the above
69
It is important to save often while debugging your program. True or false?
True
70
Which Alice control statement executes a set of procedures simultaneously? Mark for Review (1) Points Together Do together Do in order While
Do together
71
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
this.Cat roll Left 1.0
72
In Alice, control statements are dragged into the Code editor. True or false?
True
73
In Alice, the while control statement executes a set of procedures a specific number of times. True or false?
False
74
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?
False
75
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
Distance | Duration
76
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 problem to solve. A task to perform.
77
An animation gives the scenario a purpose. True or false?
False
78
Breaking down a problem or process into smaller parts makes it easier to manage. True or false?
True
79
A textual storyboard helps the reader understand the actions that will take place during the animation. True or false?
True
80
Which Alice tool is used to demonstrate the process flow of an animation? Visual storyboard Textual storyboard Flowchart World Pie chart
Flowchart
81
A flowchart is a useful way to illustrate how your Alice animation's characters will look. True or false?
False
82
``` 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.
Each subclass inherits the methods and properties of its superclass.
83
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
All of the above
84
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?
True
85
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.
The code is too long. (*) The code is difficult to read. (*) The programmer wants to reuse the code. (*)
86
In Alice, new procedures are declared in the Scene editor. True or false?
F
87
In Alice, you could identify when new procedures need to be declared by reviewing the textual storyboard for the animation. True or false?
T
88
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.
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
``` 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
Quadruped
90
In Alice, which of the following is not a control statement? Mark for Review (1) Points Do In Order While Count Move
Move
91
In Alice, which control statement is used to invoke simultaneous movement? Mark for Review (1) Points Do Together Do In Order While Count Variable
Do Together
92
In Alice, a walking motion for a bipedal object can be achieved without the Do Together control statement. True or false?
False
93
In Alice, different programming is not required for different objects, because all objects move the same way. True or false?
False
94
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 vehicle of another
95
In Alice, which procedure is used to assign one object as the vehicle of another? setClassVehicle setObjectVehicle setVehicle Vehicle
setVehicle