Answer:
1. - Observer
2. - iterator
3. - strategy
4. - composite
5. - decorator
Explanation:
An object contains other objects (elements) and must give access to them for clients, without exposing its internal structure. This is an observation.
The subject-object can generate events as an iterable (iterator) and could use different strategic algorithms to achieve a task. Class objects can be used to aggregate other class objects.
In python, the decorator function mimics the outer function of a nested function, but still maintains the functionality of the second function
Answer:
False
Explanation:
The good example of pivoting is NOT changing the dimensions along the axis.
In this program, I am using the school-based grading system and the program should accept the subject and the number of students.
Program approach:-
- Using the necessary header file.
- Using the standard I/O namespace function.
- Define the main function.
- Declare the variable.
- Display enter obtain marks in 5 subjects.
- Return the value.
Program:-
//header file
#include<iostream>
//using namespace
using namespace std;
//main method
int main()
{
//declare variable
int j;
float mark, sum=0, a;
//display enter obtain marks in 5 subjects
cout<<"Enter Marks obtained in 5 Subjects: ";
for(j=0; j<5; j++)
{
cin>>mark;
sum = sum+mark;
}
a = sum/5;
//display grade
cout<<"\nGrade = ";
if(a>=91 && a<=100)
//display a1
cout<<"a1";
else if(a>=81 && a<91)
//display a2
cout<<"a2";
else if(a>=71 && a<81)
cout<<"b1";
else if(a>=61 && a<71)
cout<<"b2";
else if(a>=51 && a<61)
//display c1
cout<<"c1";
else if(a>=41 && a<51)
//display c2
cout<<"c2";
else if(a>=33 && a<41)
//display d
cout<<"d";
else if(a>=21 && a<33)
//display e1
cout<<"e1";
else if(a>=0 && a<21)
//display e2
cout<<"e2";
else
//display invalid
cout<<"Invalid!";
cout<<endl;
//return the value
return 0;
}
Learn more grading system
brainly.com/question/24298916
The information that would be the next to be processed by the receiving device is: IP at the internet layer.
<h3>Internet protocol (IP)</h3>
Internet protocol is a network protocol that help to transmit data to user device across the internet or network which inturn make it possible for user device to connect and communicate over the network.
Internet protocol at the internet layer is a TCP/IP software protocol which sole purpose is to transfer data packets across the internet after receiving and processing the data.
Inconclusion the information that would be the next to be processed by the receiving device is: IP at the internet layer.
Learn more about internet protocol here:brainly.com/question/17820678
Answer:
The answer is "Option A"
Explanation:
Escalation is the process of manipulating a bug, design failure in software program to obtain elevated access to the resources, which are usually shielded from the user, and wrong choices can be described as follows:
- In option B, It is wrong because It can't provide any type of problem-solving.
- In option C, It is wrong because it is a searching module.
- In option D, It is wrong because it is used to verify the system.