Concepts Flashcards

1
Q

Pass by value

A

The compiler copies the value of an argument in a calling to a corresponding non-pointer or non-reference parameter in the called function definition.

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

Pass by value with reference argument

A

To pass the reference of an argument in the calling function to the corresponding formal parameter of the called function.

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

Pass by value with pointer arguments

A

The contents of the pointer variable (the address of the object pointed to) is copied.

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

.h files

A

A header file is a file with extension .h which contains C function declaration and macro definitions to be shared between several source files.

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

.cpp files

A

Source code written in C++ files.

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

Static list

A

References a dynamic array of strings or other data types in only one location in your program.

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

Dynamic List

A

A random access, variable-size list data structure that allows elements to be added or removed.

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

Standard template library

A

C++ template classes to provide common programming data structures and functions.

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

Algorithm analysis

A

Process of finding the computational complexity of algorithms.

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

Heaps

A

An area of pre-reserved computer main storage (memory) that a program process can use to store data in some variable amount that won’t be known until the program is running.

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

Heap sort

A

Eliminate the elements one by one from the heap part of the list, and then insert them into the sorted part of the list.

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