Software Development Flashcards
SDLC and Programming
Name one key difference between OOP and Non-OOP?
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.
What data type should be used for a decimal number?
Real/Float/Double
Why is commenting programs helpful for other developers?
It enables readability for developers helping them understand how the program operates/ designed for.
What are the main access modifier’s we use in C#?
Private, public, protected, static.
Explain what a bubble sort is made to do?
A bubble sort works by sorting an array for example, lowest to highest.
What does a global scope mean?
It means that a data type such as a string can be accessed by any program, function, procedure, etc.
What does a local scope mean?
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.
Name three common data structures we use in C#
Arrays, dictionary’s, lists and hash sets