dsa Flashcards

1
Q

these are the values that pointers are stroring

A

memory address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

these are data structure that follow an ordered list

A

linear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

a step by step process of solving a problem

A

algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

first index of an array

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

a sorting algorithm that switches the smallest element to the element at the first position

A

selection sort

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

parameters found in the function call

A

actual parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

a function aspect that indicates the task to be done by the function

A

function definition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

pointer variable names are prepended by this character

A

asterisk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

it is used for values that is represented by multiple variables

A

structures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

data structure operation involves the arrangement of records in some logical order

A

sorting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

nonlinear data structures

A

trees, graphs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

this operator is used to access the inner elements of a structure

A

dot operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

these data structure uses a hierarchy

A

nonlinear data structures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

this type of a recursion is the final statement in the function

A

tail recursion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

size of an integer value in bytes is

A

4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

in two dimensional arrays, the second dimension is intended for

A

number of columns

17
Q

they are parameters found in the function call

A

arguments/actual parameters

18
Q

in structs, this keyword is used to avoid using the word struct every time we declare an instance of it

19
Q

these are used to easily debug, and avoid repeating the same logic over and over

20
Q

this keyword is used if the function will not return a value

21
Q

how is last index of the array determines

22
Q

how do we access the elements of an array

A

through its index

23
Q

this is an object that stores a memory address instead of an actual value