SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
Search
Test your basic knowledge |
Data Structures And Algorithms Java
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 21 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Execution of the program starts here
charAt()
main()
throws IOException
real-world modeling
2. A special method that is called automatically whenever a new object is created. It prepares the object for use.
outside entity
constructor
methods
variable
3. Returns a character at the specific position in the string object.
variable
methods
linked lists
charAt()
4. Data structures that directly model real-world situations...think graphs.
methods
new
real-world modeling
data structure
5. Any ___________ that wants to access data in a class can do so by using a method of that class.
real-world storage data
new
constructor
outside entity
6. This keyword creates a new object in Java.
real-world storage data
new
real-world modeling
class
7. Invoking a method for a specific object.
object.method();
real-world storage data
programmer's tools
outside entity
8. To create an object in Java you must do two things: 1. Use the keyword "new" 2. Store a reference to the object in a ______ that is the same type as the class.
instance
linked lists
class
variable
9. Must be added to all input methods for them to work
linked lists
object.method();
throws IOException
objects methods
10. 5 data types - BLASH: binary trees - _______ - arrays - stacks - hash tables
instance
linked lists
real-world modeling
charAt()
11. Converts the string type into an integer.
linked lists
parse.Int()
throws IOException
algorithms
12. Other parts of your program interact with objects by interacting with an __________
instance
object.method();
new
objects methods
13. A blueprint that defines an objects variables and methods.
charAt()
class
methods
data structure
14. An arrangement of data inside a computers memory or a disk.
constructor
data structure
object
charAt()
15. Data structure storage that describes physical entities external to the computer. Accessed by a programs user.
new
real-world storage data
object
class
16. An object is often referred to as _____ of a class.
instance
variable
constructor
object.method();
17. A field of method that is private can only be accessed by _________ that are apart of the same class.
algorithms
methods
real-world modeling
constructor
18. Data structure storage that is accessed by the program itself. Ex - stacks and queues.
19. Manipulate the data in data structures in various ways such as sorting.
object.method();
main()
algorithms
real-world modeling
20. A software bundle of variables and related methods.
main()
throws IOException
outside entity
object
21. The constructor has the same name as the ______ it resides in.
algorithms
variable
class
object.method();