Fundamental Concepts of Programming Flashcards

1
Q

The fetch-decode-execute-store cycle is also known as …

A

the machine cycle.

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

The heap (allocated to variable and object too large) provides …

A

the ability to run more than one process at a time. But for the most part with software, memory attacks on the stack is most prevalent.

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

The stack is an area of memory that is used to …

A

store function arguments and local variables and it is allocated when a function in the source code is called to execute.

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

VHLL

A

high-level programming languages

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

The compilation is the process of …

A

converting textual source code written by the programmer into raw processor-specific instruction codes. Output: object code.

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

Linking is the process of combining …

A

the necessary functions, variables, and dependencies files and libraries required for the machine to run the program. Output: executable program.

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

Dynamic linking should be chosen only after careful consideration of security is given, especially if the linked object files are …

A

supplied from a remote location and are open source in nature. A hacker can maliciously corrupt a dependent library and when they are linked at runtime, they can compromise all programs that are dependent on that library.

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