wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DATASTRUCT

Total questions: 39

Worksheet time: 39mins

Name
Class
Date
1.

➢ A specialized format for organizing and storing data so that it can be accessed and modified efficiently.

(a)  

2.

➢ Elements follow a sequence (e.g., Arrays, Stacks, Queues).

(a)  

3.

➢ Elements are connected hierarchically (e.g., Trees, Graphs).

(a)  

4.

➢ A step-by-step procedure or set of rules used to solve a specific problem.

(a)  

5.

➢ Optimizes Time Complexity (speed) and Space Complexity (memory).

(a)  

6.

➢ Essential for building software that can handle large amounts of data.

(a)  

7.

➢ used to control the flow of execution

➢ This execution order depends on the supplied data values

(a)  

8.

➢ A versatile, high-level, object oriented programming language

➢ Platform independent

(a)  

9.

➢ Wrapping data and methods into a single unit.

➢ Protecting data by bundling it with methods within a class (using private

variables).

(a)  

10.

➢ One class can acquire the properties and methods of another class

➢ Creating a new class based on an existing one (using extends).

(a)  

11.

➢ The ability of a method to perform different task based on the object

➢ Allowing methods to take many forms (Overloading vs. Overriding).

(a)  

12.

➢ Strong implementation details and showing only functionally

➢ Hiding complex logic and showing only essential features to the user.

(a)  

13.

➢ Return me length of the string

(a)  

14.

➢ Return me character at a specific index

(a)  

15.

➢ Extract a portion of the String

(a)  

16.

➢ Compare two thing for extract equality

(a)  

17.

➢ Converts all character to upper case

(a)  

18.

➢ Converts all character to lower case

(a)  

19.

➢ check if the string I empty

(a)  

20.

➢ Removes leading and trailing whitespace

(a)  

21.

➢ Concatenates me specified String to the end

(a)  

22.

➢ FIXED-SIZE DATA STRUCTURE THAT STORES DATA WITH THE SAME DATA TYPE

(a)  

23.

Occurs when accessing an invalid index.

(a)  

24.

Is when a method calls itself to solve a smaller version of the original problem.

(a)  

25.

★ The condition that stops the recursion (prevents infinite loops).

(a)  

26.

★ The part where the method calls itself with a reduced input

(a)  

27.

➢ ACCESSING EACH ELEMENT OF THE ARRAY SEQUENTIALLY

(a)  

28.

➢ ADDING A NEW ELEMENT TO A SPECIFIC POSITION

(a)  

29.

➢ PROCESS OF REMOVING OF ELEMENT IN SPECIFIC POSITION

(a)  

30.

➢ STORES DATA IN A SINGLE LINEAR SEQUENCE

(a)  

31.

➢ TABLES AND MATRICES

(a)  

32.

➢ GRID-LIKE STRUCTURE

(a)  

33.

➢ If ... else

➢ Switch.. Cale

(a)  

34.

➢ while

➢ for

➢ do... while

(a)  

35.

➢ break

➢ continue

(a)  

36.

➢ Decision making

(a)  

37.

➢ Classes and objects make it easier to represent data structure.

(a)  

38.

➢ Built in libraries like java.util for commonly used data structure.

(a)  

39.

➢ Java’s probability makes it ideal for implementing data structure in different environments.

(a)