Software Development Flashcards

SDLC and Programming

1
Q

Name one key difference between OOP and Non-OOP?

A

Non-OOP is a program divided into procedures and functions while OOP’s are programs divided into objects which can contain functions, procedures and variables within them.

Define own data types.

Encapsulation is a key concept in OOP that promotes modularity, data security, and code organization, and this concept may be less emphasized or structured in Non-OOP paradigms.

OOP’s can have a hierarchy through inheritance while Non-OOP’s cannot.

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

What data type should be used for a decimal number?

A

Real/Float/Double

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

Why is commenting programs helpful for other developers?

A

It enables readability for developers helping them understand how the program operates/ designed for.

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

What are the main access modifier’s we use in C#?

A

Private, public, protected, static.

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

Explain what a bubble sort is made to do?

A

A bubble sort works by sorting an array for example, lowest to highest.

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

What does a global scope mean?

A

It means that a data type such as a string can be accessed by any program, function, procedure, etc.

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

What does a local scope mean?

A

It means that a data type such as a integer is only local/ can be accessed by the function, procedure, program, etc it is in.

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

Name three common data structures we use in C#

A

Arrays, dictionary’s, lists and hash sets

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