Shared Flashcard Set

Details

Scratch / Procedural and OOPs
Scratch / Procedural and OOPs
52
Computer Science
Professional
02/19/2014

Additional Computer Science Flashcards

 


 

Cards

Term
Define GIF
Definition
Graphical Interchange Format
Term
What does Graphical Interchange Format (GIF) support and where is it used?
Definition
animation and on the WWW
Term
Name two types of Interfaces?
Definition
Graphical and text based
Term
Define GUI?
Definition
Graphical User Interface
Term
What are some benefits of GUI?
Definition
o Communication bridge between user and the system
o Very user friendly
Term
In GUI, there are many visual _______. (Fill in the blank)
Definition
objects
Term
In GUI, Each ______ can interact with other ________. (Fill in the blank)
Definition
object and objects
Term
SCRATCH has what type of interface?
Definition
GUI
Term
What is a script?
Definition
Script is an instruction given to an object to perform certain action
Term
In SCRATCH, where can you view sprites and backgrounds.
Definition
Stage and project editor map
Term
In SCRATCH, where can you list sprites and backgrounds.
Definition
Sprite list
Term
In SCRATCH, what type of controls can you find under the motion tool.
Definition
o Move
o Turn
o Point in direction
o Point towards
o Go to x
o Glide
Term
In SCRATCH, what type of controls can you find under the looks tool.
Definition
o Switch to another
costume
o Say Hello for certain
seconds
o Think ….. for certain
seconds
o Change color of the
object
o Change size
o Show the object
o Hide the object
Term
In SCRATCH, what type of controls can you find under the Control tool.
Definition
o Repeating certain
actions
o Decision making
statements
o Start some action
when some button is
clicked
o Start some action
when green flag is
clicked
o Stop scripts/all
Term
In SCRATCH, what type of controls can you find under the Sound tool.
Definition
o Play some existing
sound files
o Record your voice
and play sound
o Play notes
o Increase / Decrease
volume
o Change tempo
o Adding the sound to
the image
Term
In SCRATCH, what type of controls can you find under the Sensing tool.
Definition
o If certain object is
touched, do some
action
o If mouse pointer is
touched, do some
action
o If certain color is
touched, do some
action
o If some keys is
pressed, do some
action
o Take some input from
the user
Term
In SCRATCH, what type of controls can you find under the Pen tool.
Definition
o Dealing with a line
• Drawing a line
• Changing the
thickness of a
line
• Changing the
color
• Changing the
pen shades
• Erasing a line
• Stamping the
image (Leaving
the image)
Term
What are operators in SCRATCH and what is used to make comparisons.
Definition
Relational operators
o Used to make
comparisons like <, >, =
Term
What does the variable tool in SCRATH do?
Definition
Used to create and use
variable
Term
In procedural programming, when designing a problem what would you define the problem as? And what would it be called once broken down.
Definition
(Problem)Procedure and (sub-problems)sub-procedures
Term
Problems are also called?
Definition
Functions
Term
how is Procedural languages executed?
Definition
Each line of code is executed one after the other in sequence.
Term
What type of language use sequence, selection and repetition constructs?
Definition
Procedural
Term
What are characteristics of a Procedure?
Definition
-A collection of programming instructions
-It has a name
-You can call it multiple times with different data
-Avoids repetition of same logic
-It is otherwise called a Sub-routine
Term
What is OOPs?
Definition
Object Oriented Programming
Term
What is the fundamental/basic unit of OOPS?
Definition
objects.
Term
What does an object contain?
Definition
Object contains properties and methods.
Term
what type of approach does OOPs take?
Definition
Bottom-up approach.
Term
Steps in OOPs?
Definition
-Take a problem
-Discover objects
-Assign properties, responsibilities to objects
-Relate the objects, make them communicate
-Design modules
-Solve the problem
Term
A Constructor is a method you can use to set__________.
Definition
Term
What is a disadvantage of a text based interface?
Definition
Recall
Term
When the object is created what is called first and automatically?
Definition
Constructor
Term
Any code inside your Constructor gets _______.
Definition
Executed
Term
Constructor method takes the same name as the ________.
Definition
Class
Term
A Method defines the _______ of an object.
Definition
behavior
Term
A Method is equivalent to a ______ in C which helps in
_________.
Definition
function and code reusing
Term
What MAKES a method? And what can be invoked or called through other statements?
Definition
a set of statements and The method
Term
When a method is called, what is executed?
Definition
all the statements that are a part of
the Method
Term
What is the object type called ?
Definition
A Class
Term
A class can have many ______.
Definition
Objects
Term
What is instantiated from a class?
Definition
An object
Term
What is visible in source code? a Class or an Object
Definition
A Class
Term
True or False: An object is active in running program
Definition
True
Term
What has its own set of instructions given in the class?
Definition
An Object
Term
What is Encapsulation?
Definition
Information hiding and Data can only be accessed through that package
Term
What is encapsulated in OOPS?
Definition
Fields and variables
Term
In OOPs what is another word to describe reusability?
Definition
Inheritance
Term
Methods can change or adapt to specific types of
objects is called?
Definition
Polymorphism
Term
What are some Object Oriented Programming Advantages?
Definition
-Data security
-Code reusability
-Easy maintenance
-Quick bug fixing
-Flexibility ( Easy to add more features )
-Effective collaboration
Term
An object is made up of __________.
Definition
Properties and methods
Term
What is instantiated from a class?
Definition
An object
Term
What are some Object Oriented Programming Advantages?
Definition
-Data security
-Code reusability
-Easy maintenance
-Quick bug fixing
-Flexibility ( Easy to add more features )
-Effective collaboration
Supporting users have an ad free experience!