CAD Flashcards
Reasons for software complexity:
A. The problem domain is complex it requires that non-functional requirements should be identified.
B. The user may have a vague idea of what they expect from a software
C. Developers expect requirements in a specific format
D. all of these choices are correct
D. all of these choices are correct
In software development, requirements must be identified in a clear and concise manner to avoid confusion and any unexpected outputs. What is the nature of a requirements?
A. The requirements can be long and lengthy pieces of information
B. They define functions and functionality within and from the software system therefore they are not supposed to be modifiable.
C. The requirements can be obvious or hidden, known or unknown, expected or unexpected from client’s point of view.
D. all of these choices are correct
C. The requirements can be obvious or hidden, known or unknown, expected or unexpected from client’s point of view.
Functional programming means using functions to the best effect for creating clean and maintainable software. The ideal in functional programming is what is known as
A. pure functions
B. anticipated functions
C. paradigm functions
D. structured functions
A. pure functions
OOP focuses on the objects that developers want to manipulate rather than the logic required to manipulate them. This
approach to programming is well-suited for programs that are?
A. small, concise, and easily managed
B. large, complex and actively updated or maintained
C. data are modifiable outside the function
D. all of these choices
B. large, complex and actively updated or maintained
Objects are instances of a class created with specifically defined data. Objects can correspond to?
A. data and methods that control the data
B. represents only the behavior of a real-world entity
C. collaboration of identified identities
D. real-world objects or an abstract entity
D. real-world objects or an abstract entity
A class is a user-defined data type. It consists of data members and member functions, which can be accessed and used by creating an instance of that class. It-represents?
A. basic unit of Object-Oriented
Programming and represents the real-life entities
B. the set of properties or methods that are common to all objects of one type
C. only essential information about the data
D. wrapping up of data under a single unit,
the variables or data are hidden from any other
B. the set of properties or methods that are common to all objects of one type
UML is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems. UML stands for
A. Undying Model Language
B. Unified Methodology Language
C. United Modification Language.
D. Unified Modeling Language
D. Unified Modeling Language
OOP Languages are built upon 4 principles, what are they?
A. Inheritance, Absolution, Polarization, Encapsulation
B. Abstraction, Inheritance, Encapsulation, Polarization
C. Abstraction, Inheritance, Polymorphism, Encapsulation
D. Polymorphism, Encapsulation, Incorporation, Abstraction
C. Abstraction, Inheritance, Polymorphism, Encapsulation
The capability of a class to derive properties and characteristics from another class is called _____?
A. Abstraction
B. Polymorphism
C. Inheritance
D. Encapsulation
C. Inheritance
It refers to providing only essential information about the data to the outside world,
A. Abstraction
B. Polymorphism
C. Inheritance
D. Encapsulation
A. Abstraction
In Encapsulation, the variables or data of a class are hidden from any other class and can be accessed only through any member function of their class in which they are declared. As in encapsulation, the data in a class is hidden from other classes, so it is also known as _____?
A. data freezing
B. data protecting
C. data encapsuling
D. data hiding
D. data hiding
A computer program is also called computer software, which can range from two lines to millions of lines of instructions. Computer programming is also called _____?
A. syntax coding
B. program coding
C. relative programming
D. software coding
B. program coding
It is a way to store some sort of information for later use, and we can retrieve this information by referring to a “word” that will describe this information.
A. array
B. loop
C. variable
D. syntax
C. variable
Loops are common types of iterations in which a program performs certain actions an infinite number of times until a new condition is met. Loops also make it possible for programs to do something else while a given process is running.
A. true
B. false
C. incomplete information
D. cannot be validated
A. true
A programming language used for artificial intelligence (AI) and machine learning.
A. JAVA
B. PYTHON
C. C#
D. PHP
B. PYTHON