Shared Flashcard Set

Details

Java and Database
Day 10-11
33
Computer Science
Professional
02/24/2014

Additional Computer Science Flashcards

 


 

Cards

Term
An object is collection of:
Definition
o Properties
o Methods
Term
Properties determine the ________.
Definition
State of an object
Term
Methods determine the___________.
Definition
Behavior of an object
Term
In Object Oriented Programming, we consider everything as ________ and then do _________.
Definition
objects and programming
Term
Person is an _________.
Definition
Object
Term
Some Properties of the Person object are:
Definition
Height
Weight
Color
Age
City
Term
Some methods of Person object:
Definition
Talk
Walk
Read
Write
Term
The methods should be written as:
Definition
talk()
walk()
read()
write()
Term
coding convention and all methods are terminated by a pair of brackets (). This is called _________.
Definition
syntax
Term
Data is very important, because it contains the ________ which determine the _________ of the object.
Definition
actual values and behavior
Term
When the state of an object will keep on changing is called
Definition
Dynamic
Term
All properties of an object are otherwise known as _______________.
Definition
The data
Term
The data are safe inside the object. True or False
Definition
True
Term
Why is data safe inside an object?
Definition
the data are encapsulated inside the method, you can’t play around with the data from outside directly.
Term
True or False: Data don’t get exposed accidentally to outside the object
Definition
Term
Variables are
Definition
place-holders to hold the data.
Term
True or False: The variables don’t have any values by default.
Definition
True
Term
Variables – Direct Assignment:
Definition
a = 10
Term
Variables – Dynamic Assignment:
Definition
 a=10
 b=5
 c=a+b
Term
Dynamic assignment assigns what?
Definition
the values to the variables indirectly.
Term
who will change the value for variables?
Definition
method.
Term
Definition of Method:
Definition
a collection of statements,It is a named entity that operates on variables and changes the value
Term
How are methods secured?
Definition
Set of curly braces { } include all statements
Term
What is Data structure?
Definition
Arranging the data in some fashion
Term
Examples of Basic Data Structure:
Definition
 Arrays
 Linked Lists
 Stacks
 Queues
Term
What is Array?
Definition
systematic arrangement of data, usually in rows and columns
Term
In an Array all data types should be the ______.
Definition
Same
Term
In a Linked Lists the data is stored in a special placeholder called
Definition
"NODE"
Term
Two operations available on Queue are:
Definition
 Enqueue – Adding elements at the back
 Dequeue – Removing elements at the front
Term
Creating a new project using BlueJ steps:
Definition
 Click the menu Project
 Select New Project
 Browse the folder where you want to create project
 Give the name of the project (Example: MyProject)
Term
Edit Menu:
This menu is used to:
Definition
 -Create new class
- Create new package
 -Represent the class relationship pictorially
Term
Project Menu:
This menu has basic operations like:
Definition
 Used to create new project
 Used to open an existing project
 Save the project
Term
what is a database?
Definition
A database is a data structure that stores organized information.
Supporting users have an ad free experience!