SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
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. Manipulate the data in data structures in various ways such as sorting.
new
objects methods
algorithms
constructor
2. Any ___________ that wants to access data in a class can do so by using a method of that class.
outside entity
parse.Int()
new
real-world modeling
3. A special method that is called automatically whenever a new object is created. It prepares the object for use.
data structure
new
real-world modeling
constructor
4. Must be added to all input methods for them to work
linked lists
throws IOException
data structure
algorithms
5. An arrangement of data inside a computers memory or a disk.
new
linked lists
data structure
algorithms
6. 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.
real-world modeling
main()
variable
data structure
7. This keyword creates a new object in Java.
data structure
variable
new
main()
8. Converts the string type into an integer.
parse.Int()
class
charAt()
class
9. Data structure storage that is accessed by the program itself. Ex - stacks and queues.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. Returns a character at the specific position in the string object.
programmer's tools
charAt()
objects methods
class
11. The constructor has the same name as the ______ it resides in.
outside entity
parse.Int()
main()
class
12. Other parts of your program interact with objects by interacting with an __________
data structure
objects methods
constructor
main()
13. 5 data types - BLASH: binary trees - _______ - arrays - stacks - hash tables
class
throws IOException
main()
linked lists
14. A field of method that is private can only be accessed by _________ that are apart of the same class.
constructor
object
methods
new
15. Execution of the program starts here
objects methods
instance
data structure
main()
16. A blueprint that defines an objects variables and methods.
new
methods
throws IOException
class
17. An object is often referred to as _____ of a class.
real-world modeling
variable
main()
instance
18. Invoking a method for a specific object.
objects methods
object.method();
new
constructor
19. Data structures that directly model real-world situations...think graphs.
outside entity
real-world modeling
linked lists
real-world storage data
20. A software bundle of variables and related methods.
object.method();
parse.Int()
object
methods
21. Data structure storage that describes physical entities external to the computer. Accessed by a programs user.
class
real-world storage data
constructor
real-world modeling