Escolar Documentos
Profissional Documentos
Cultura Documentos
(Options)
a) Realization
b) Generalization
c) Aggregation
d) Dependency
Answer: b
Explanation: The generalization relationship is also known as the inheritance relationship. In the
figure Square is the sub class of super class shape.
5) Upload the MCQ (or a question of your paper/quiz with more than one line) in the respective quiz:
What is the output of this C code?
#include <stdio.h>
void main()
{
char *str = "";
do
{
printf("hello");
} while (str);
}
(Options)
a) Nothing, b) Run time error, c) Vares, d) Hello is printed infinite times
Answer: d
6) Upload the MCQ (or a question of your paper/quiz with equation) in the respective quiz:
What is the result of?
64
7) Upload the MCQ (or a question of your paper/quiz with equation) in the respective quiz:
What is the result of?