Hello World
Quiz por , criado more than 1 year ago

Quiz sobre oop, criado por Hello World em 20-01-2017.

392
5
0
Sem etiquetas
Hello World
Criado por Hello World mais de 7 anos atrás
Fechar

oop

Questão 1 de 138

1

1. C-style languages are

Selecione uma das seguintes:

  • a) C, C#

  • b) C, C++

  • c) C, C#, C++

  • d) C, C#, C++, Java

  • e) C#, C++

Explicação

Questão 2 de 138

1

2. Choose the incorrect statement for C style languages.

Selecione uma das seguintes:

  • a) semicolons are not used to denote the end of a statement

  • b) curly brackets are used to group statements

  • c) variables are assigned using an equals sign, but compared using two consecutive equals sign

  • d) square brackets are used with arrays

  • e) a, b, c, d

Explicação

Questão 3 de 138

1

3. Which aspects does variable have?

Selecione uma das seguintes:

  • a) type, size and memory address

  • b) memory address, type and value

  • c) type and value

  • d) value, size and memory address

Explicação

Questão 4 de 138

1

4. What declaration of variables is the correct?

Selecione uma das seguintes:

  • a) char c;i;

  • b) int b;c;

  • c) char c, char s;

  • d) double a, b;

Explicação

Questão 5 de 138

1

5. Declaration of variable is not a statement of C# language, but ends with semicolon.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 6 de 138

1

6. Declaration of variable is a statement of C# language.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 7 de 138

1

7. Which rule is correct when naming variables?

Selecione uma das seguintes:

  • a) the first character must be letters, underscore only

  • b) an identifier can consist of letters, number and reserved words

  • c) reserved words can be used as variable names

  • d) the first character must be only letter

Explicação

Questão 8 de 138

1

8. C# is case sensitive language.

Selecione uma das seguintes:

  • a) yes

  • b) no

  • c) it depends on data type

Explicação

Questão 9 de 138

1

9. Choose the correct statement with initializing.

Selecione uma das seguintes:

  • a) string c="0";

  • b) int i="0";

  • c) char c="0";

  • d) int i='0';

Explicação

Questão 10 de 138

1

10. What method in C# is Console output?

Selecione uma das seguintes:

  • a) ReadLine

  • b) WriteLine

Explicação

Questão 11 de 138

1

11. What method in C# is Console input?

Selecione uma das seguintes:

  • a) ReadLine

  • b) WriteLine

Explicação

Questão 12 de 138

1

12. The result in Console application of this code will be? int a=8, b=2, c=0; c=a+b;

Console.WriteLine(“{0}+{1}={2}”,b,a,c);

Selecione uma das seguintes:

  • a) 2+8=10

  • b) 8+2=10

  • c) 10=2+8

  • d) 10=8+2

Explicação

Questão 13 de 138

1

13. Choose the incorrect assignment? int i,j;

Selecione uma das seguintes:

  • a) i=j=1;

  • b) i=10,j=10;

  • c) i=(j=10);

  • d) a, b, c

Explicação

Questão 14 de 138

1

14. What will be the result? int i=5; int j=1; int x=(j--)+(--i);

Selecione uma das seguintes:

  • a) x=6;

  • b) x=5;

  • c) x=7;

  • d) x=8;

Explicação

Questão 15 de 138

1

15. What will be the result? int x=10,i=0,j=2; x+=(i-j);

Selecione uma das seguintes:

  • a) 14

  • b) 10

  • c) 12

  • d) 8

Explicação

Questão 16 de 138

1

16. The “for” statement can be an infinite loop.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 17 de 138

1

17. Choose the incorrect For statement?

Selecione uma das seguintes:

  • a) for(;;){}

  • b) for( int x = 0, x<= 100; x++){}

  • c) int x = 0;
    for(; x<= 100; x++){}

  • d) a,b,c

Explicação

Questão 18 de 138

1

18. The statements bodies of the “for” and “while” operators might never be executed.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 19 de 138

1

19. The statements bodies of the “for” and “while” operators must be executed at least once.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 20 de 138

1

20. The statements bodies of the “for” and “foreach” operators might never be executed.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 21 de 138

1

21. The statements bodies of the “for” and “foreach” operators must be executed at least once.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 22 de 138

1

22. In what statement the Statements body is always executed at least once?

Selecione uma das seguintes:

  • a) for, do while, while

  • b) do while

  • c) foreach, while

  • d) do while, for

Explicação

Questão 23 de 138

1

23. C# classes contain:

Selecione uma das seguintes:

  • a) properties and functions

  • b) data members(field, variables), properties and methods

  • c) method, functions and constructors

  • d) variables and methods

Explicação

Questão 24 de 138

1

24. The properties in C# classes are…

Selecione uma das seguintes:

  • a) procedures and functions

  • b) constructors

  • c) data members(variables)

  • d) members with get and set

Explicação

Questão 25 de 138

1

25. C# procedure specifies with …

Selecione uma das seguintes:

  • a) this keyword

  • b) void keyword

  • c) return data type

  • d) static keyword

Explicação

Questão 26 de 138

1

26. An object is …

Selecione uma das seguintes:

  • a) a property of the class

  • b) an instance of the class

  • c) a method of the class

  • d) a data member of the class

Explicação

Questão 27 de 138

1

27. The classes are like new data types.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 28 de 138

1

28. Access modifiers are ...

Selecione uma das seguintes:

  • a) void and return data types

  • b) public and private

  • c) data types

  • d) this and static keywords

Explicação

Questão 29 de 138

1

29. A public method with the same name as the class with no return type is ...

Selecione uma das seguintes:

  • a) constructor

  • b) function

  • c) procedure

  • d) property

Explicação

Questão 30 de 138

1

30. Procedures and constructors can’t be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 31 de 138

1

31. Functions can’t be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 32 de 138

1

32. Functions can be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 33 de 138

1

33. Procedures can’t be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 34 de 138

1

34. Procedures can be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 35 de 138

1

35. Methods can be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 36 de 138

1

36. Methods can’t be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 37 de 138

1

37. The default constructor is a method with …

Selecione uma das seguintes:

  • a) any arguments

  • b) no arguments

Explicação

Questão 38 de 138

1

38. In the static method must be absent “this” reference, as such method doesn’t work with any object.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 39 de 138

1

39. In the static method allowed immediate call only other instance methods.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 40 de 138

1

40. The “this” keyword can be used for...

Selecione uma das seguintes:

  • a) methods

  • b) functions and procedures

  • c) constructors

  • d) a, b, c

Explicação

Questão 41 de 138

1

41. Choose the correct declaration of array.

Selecione uma das seguintes:

  • a) int[] a = int[10];

  • b) int[] c = new int[10];

  • c) int[] a = new [10];

  • d) a, b, c

Explicação

Questão 42 de 138

1

42. Choose the correct declaration of jugged array.

Selecione uma das seguintes:

  • a) int [][] j = new int[];

  • b) int [][] j = new int[][5];

  • c) int [][] j = int [5][5];

  • d) int [][] j = new int[5][];

Explicação

Questão 43 de 138

1

43. Choose the correct declaration and initialization of array.

Selecione uma das seguintes:

  • a) int[] a = new int[5]{1,5,8,4,5};

  • b) int[] a = {1,5,8,4,5};

  • c) a,b

  • d) there is no correct answer

Explicação

Questão 44 de 138

1

44. Choose the correct declaration of two-dimensional array.

Selecione uma das seguintes:

  • a) int[][] a = new int [2][5];

  • b) int [] a = new int [2][5];

  • c) int [,] a = new int[2,5];

  • d) int[,] a = new int[2][5];

Explicação

Questão 45 de 138

1

45. The last unit (element) index of array is…

Selecione uma das seguintes:

  • a) 0

  • b) 10

  • c) length

  • d) length-1

Explicação

Questão 46 de 138

1

46. How many elements does the next array include? Int[] a=new int[77];

Selecione uma das seguintes:

  • a) 76

  • b) 77

  • c) 78

Explicação

Questão 47 de 138

1

47. How many elements does the next array include? Int[] a=new int[100];

Selecione uma das seguintes:

  • a) 99

  • b) 100

  • c) 101

Explicação

Questão 48 de 138

1

48. C# function specifies with …

Selecione uma das seguintes:

  • a) this keyword

  • b) void keyword

  • c) return data type

  • d) static keyword

Explicação

Questão 49 de 138

1

49. The statements body of the “do while” operator might never be executed.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 50 de 138

1

50. The statements body of the “do while” operator must be executed at least once.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 51 de 138

1

51. Choose the correct assignment? int i,j;

Selecione uma das seguintes:

  • a) i,j=8;

  • b) i=8,j=8;

  • c) i=(j=8);

  • d) a,b,c;

Explicação

Questão 52 de 138

1

52. Constructors can’t be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 53 de 138

1

53. Constructors can be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 54 de 138

1

54. Default constructors can’t be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 55 de 138

1

55. Default constructors can be passed any arguments.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 56 de 138

1

56. How many elements does the next array include? int[] a=new int[99];

Selecione uma das seguintes:

  • a) 99

  • b) 100

  • c) 101

Explicação

Questão 57 de 138

1

57. Choose the core principles of OOP

Selecione uma das seguintes:

  • a) Encapsulation and Inheritance

  • b) Encapsulation, Inheritance and Polymorphism

  • c) encapsulation and polymorphism

  • d) encapsulation, inheritance, polymorphism, aggregation and composition

Explicação

Questão 58 de 138

1

58. Hiding an object’s internal implementation detail is…

Selecione uma das seguintes:

  • a) encapsulation

  • b) inheritance

  • c) polymorphism

  • d) composition

Explicação

Questão 59 de 138

1

59. Which concept promotes code reuse?

Selecione uma das seguintes:

  • a) encapsulation

  • b) inheritance

  • c) polymorphism

  • d) composition

Explicação

Questão 60 de 138

1

60. Which statement shows Encapsulation concept?

Selecione uma das seguintes:

  • a) string s = “Hello World!”;

  • b) int a,b=0;

  • c) b++;

  • d) string s = “hello”, bool i=s.Equals(“!”);

Explicação

Questão 61 de 138

1

61. Closely related to the notion of encapsulating programming logic is the idea of…

Selecione uma das seguintes:

  • a) overriding

  • b) data protection

  • c) overloading

  • d) realization

Explicação

Questão 62 de 138

1

62. Which access modificator (s) related to the data protection?

Selecione uma das seguintes:

  • a) public

  • b) protected

  • c) private

  • d) private and protected

Explicação

Questão 63 de 138

1

63. Members of a class that represent an object’s state should not be marked as

Selecione uma das seguintes:

  • a) public

  • b) private

  • c) protected

Explicação

Questão 64 de 138

1

64. Choose traditional technique to encapsulate class’s data.

Selecione uma das seguintes:

  • a) Define default constructor

  • b) Define your own constructor

  • c) Define a pair of public accessor(get) and mutator(set) methods

  • d) Mark the data of class as public

Explicação

Questão 65 de 138

1

65. Choose a technique to encapsulate class’s data

Selecione uma das seguintes:

  • a) Define fields of class

  • b) Define your own constructor

  • c) Define a public properties

  • d) Define a private properties

Explicação

Questão 66 de 138

1

66. The “Black boxing programming” term is related to

Selecione uma das seguintes:

  • a) inheritance

  • c) objects

  • b) encapsulation

  • d) polymorphism

Explicação

Questão 67 de 138

1

67. A “get” method …

Selecione uma das seguintes:

  • a) returns the current value of state data

  • b) returns the default value of state data

  • c) allows to change the current value of state data

  • d) allows to change the methods of class

Explicação

Questão 68 de 138

1

68. A “set” method …

Selecione uma das seguintes:

  • a) returns the current value of state data

  • b) returns the default value of state data

  • c) allows to change the current value of state data

  • d) allows to change the methods of class

Explicação

Questão 69 de 138

1

69. Is it possible to perform any internal logic necessary before making the value assignment in properties of class?

Selecione uma das seguintes:

  • a) yes

  • b) no

Explicação

Questão 70 de 138

1

70. Which keyword is related to the "get" block of property?

Selecione uma das seguintes:

  • a) value

  • b) return

  • c) this

  • d) public

Explicação

Questão 71 de 138

1

71. Which keyword is related to the "set" block of property?

Selecione uma das seguintes:

  • a) value

  • b) return

  • c) this

  • d) public

Explicação

Questão 72 de 138

1

72. Inheritance of OOP facilities ...

Selecione uma das seguintes:

  • a) data protection

  • b) data hiding

  • c) code reuse

Explicação

Questão 73 de 138

1

73. Classical inheritance is …

Selecione uma das seguintes:

  • a) a model of “is-a” relationship

  • b) a model of a “has-a” relationship

Explicação

Questão 74 de 138

1

74. The parent class is

Selecione uma das seguintes:

  • a) a child class

  • b) a derived class

  • c) a base class

Explicação

Questão 75 de 138

1

75. The extending classes are formally termed...

Selecione uma das seguintes:

  • a) child classes

  • b) parent classes

  • c) base classes

Explicação

Questão 76 de 138

1

76. What role of parent class?

Selecione uma das seguintes:

  • a) define all the common data and members for the classes that extend it

  • b) define all the common methods for the classes that extend it

  • c) define all the common data for the classes that extend it

  • d) define all the common properties and functions for the classes that extend it

Explicação

Questão 77 de 138

1

77. A child class inherits the constructor of a parent class.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 78 de 138

1

78. Which members can never be accessed from parent class?

Selecione uma das seguintes:

  • a) public members

  • b) private members

  • c) protected members

  • d) private and protected

Explicação

Questão 79 de 138

1

79. (?)Is it possible to build multiple inheritance for classes in C# language ?

Selecione uma das seguintes:

  • a) yes

  • b) no

Explicação

Questão 80 de 138

1

80. Which classes cannot have its child classes?

Selecione uma das seguintes:

  • a) public classes

  • b) sealed classes

  • c) private classes

  • d) derived classes

Explicação

Questão 81 de 138

1

81. Which members of parent class cannot be accessed to other classes, but can be accessed to its child classes?

Selecione uma das seguintes:

  • a) all members

  • b) public members

  • c) private members

  • d) protected members

Explicação

Questão 82 de 138

1

82. Another use of the "this" keyword is to design a class using a technique termed…

Selecione uma das seguintes:

  • a) constructor definition

  • b) constructor creation

  • c) constructor chaining

  • d) constructor using

Explicação

Questão 83 de 138

1

83. The "base" keyword refers to …

Selecione uma das seguintes:

  • a) the parent class

  • b) the child class

  • c) derived class

Explicação

Questão 84 de 138

1

84. The process termed "method overriding" is …

Selecione uma das seguintes:

  • a) a way for base classes to define as own version of a method defined by its parent class

  • b) a way for child classes to define its own version of a method defined by its derived class

  • c) a way for parent classes to define its own version of a method defined by its child class

  • d) a way for child classes to define its own version of a method defined by its parent class

Explicação

Questão 85 de 138

1

85. A virtual method of a parent class must be overridden for by each derived classes.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 86 de 138

1

86. A virtual method of a parent class must not be overridden for by each derived classes.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 87 de 138

1

87. A virtual method of a parent class has its own implementation body block.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 88 de 138

1

88. A virtual method of a parent class has not its own implementation body block.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 89 de 138

1

89. An abstract method of a parent class has its own implementation body block.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 90 de 138

1

90. An abstract method of a parent class has not its own implementation body block.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 91 de 138

1

91. An abstract method of a parent class must be overridden for by each child class.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 92 de 138

1

92. An abstract method of a parent class must not be overridden for by each child class.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 93 de 138

1

93. Which feature is not related to an abstract class?

Selecione uma das seguintes:

  • a) it is impossible to create an instance(object) of an abstract class

  • b) all abstract methods and properties of a basic class have not to be realized in a derived class

  • c) the abstract class may contain both abstract and common methods/properties

  • d) all abstract methods and properties of a basic class have to be realized in a derived class

Explicação

Questão 94 de 138

1

94. An interface is defined using...

Selecione uma das seguintes:

  • a) the capital letter “I” in the name

  • b) the interface keyword

  • c) the abstract keyword

  • d) the virtual keyword

Explicação

Questão 95 de 138

1

95. An interface defines …

Selecione uma das seguintes:

  • a) the method signature

  • b) the virtual methods

  • c) the common methods

  • d) the abstract methods

Explicação

Questão 96 de 138

1

96. Classes that implement an interface are contractually required to implement the interface signature definition and can’t alter it.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 97 de 138

1

97. A class can support as many interfaces as necessary.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 98 de 138

1

98. A class can support only one interface.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 99 de 138

1

99. A class cannot support as many interfaces as necessary.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 100 de 138

1

100. "Has-a" relationship is ...

Selecione uma das seguintes:

  • a) traditional form of code reuse in the world of OPP

  • b) another form of code reuse in the world of OOP

  • c) traditional form of data protection in the world of OOP

  • d) another form of data protection in the world of OOP

Explicação

Questão 101 de 138

1

101. "Has-a" relationship commonly includes ...

Selecione uma das seguintes:

  • a) encapsulation and composition terms

  • b) aggregation and polymorphism terms

  • c) polymorphism and composition terms

  • d) aggregation and composition terms

Explicação

Questão 102 de 138

1

102. "Has-a" relationship must establish parent/child relationships.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 103 de 138

1

103. The "has-a" relationship allows one class to define a member variable of another class and expose its functionality (if required) to the object user indirectly.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 104 de 138

1

104. The .NET Framework allows to work with graphics using the ...

Selecione uma das seguintes:

  • a) System.Drawing namespace

  • b) System.IO namespace

  • c) System.Windows.Form namespace

  • d) System.Data namespace

Explicação

Questão 105 de 138

1

105. Which class is used to draw lines, curves and shapes?

Selecione uma das seguintes:

  • a) The Brush class

  • b) The Pencil class

  • d) The Region class

  • c) The Pen class

Explicação

Questão 106 de 138

1

106. Which class is used to fill shapes?

Selecione uma das seguintes:

  • a) The Brush class

  • b) The Pencil class

  • c) The Pen class

  • d) The Region class

Explicação

Questão 107 de 138

1

107. Choose the correct code to specify the location of control?

Selecione uma das seguintes:

  • a) button1.Size = new Size(10,10);

  • b) button1.Location = Point(10,10);

  • c) button1.Location(10,10);

  • d) button1.Location = new Point(10,10);

Explicação

Questão 108 de 138

1

108. Choose the correct code to specify the size of control?

Selecione uma das seguintes:

  • a) button1.Size = new Size(10,10);

  • b) button1.Location = Point(10,10);

  • c) button1.Location(10,10);

  • d) button1.Location = new Point(10,10);

Explicação

Questão 109 de 138

1

109. Which properties of controls can be used to specify its location?

Selecione uma das seguintes:

  • a) Size

  • b) Left, Right, Top, Bottom

  • c) ForeColor and BlackColor

  • d) Left, Right

Explicação

Questão 110 de 138

1

110. Drawing begins with the ...

Selecione uma das seguintes:

  • a) System.Drawing.Pen class

  • b) System.Drawing.Graphics class

  • c) System.Drawing.Brush class

  • d) System.Drawing.Image class

Explicação

Questão 111 de 138

1

111. To use Draw methods of the graphic object, we must provide an instance of the Pen class.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 112 de 138

1

112. To use Draw methods of the graphic object, we must provide an instance of the Brush class.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 113 de 138

1

113. Graphics.DrawLines, Graphisc.DrawPolygon, and Graphics.DrawRectangles accept arrays as parameters to allow us to create more complex shapes.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 114 de 138

1

114. To use Fill methods of the graphic object, we must provide an instance of the Brush class.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 115 de 138

1

115. To use Fill methods of the graphic object, we must provide an instance of the Pen class.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 116 de 138

1

116. What method returns a String array containing the substrings in this instance that are delimited by elements of a specified char array or string array? Answer: Split!

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 117 de 138

1

117. An enumerated type is declared using the … keyword. Answer: Enum

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 118 de 138

1

118. By default, the first enumerator has the value…

Selecione uma das seguintes:

  • 0

  • 1

  • 2

  • 9

Explicação

Questão 119 de 138

1

119. C# structures are created with … keyword.

Selecione uma das seguintes:

  • struct

  • new

  • is

Explicação

Questão 120 de 138

1

120. Virtual methods are defined in …

Selecione uma das seguintes:

  • Parent class

  • Child class

Explicação

Questão 121 de 138

1

121. What big advantage of using interfaces ?

Selecione uma das seguintes:

  • Is that class can implement multiple interfaces;

  • Is that class can not implement multiple interfaces;

Explicação

Questão 122 de 138

1

122. Is it enough to create polymorphic methods using the "virtual" and "override" keywords?

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 123 de 138

1

123. Inheritance allows to build …

Selecione uma das seguintes:

  • a dependency between two or more class

  • a dependency only between two

Explicação

Questão 124 de 138

1

174. Which of the following returns true if at least one expression is true?

Selecione uma das seguintes:

  • and

  • or

Explicação

Questão 125 de 138

1

175. Which of the following returns true if two expressions are true?

Selecione uma das seguintes:

  • and

  • not

Explicação

Questão 126 de 138

1

176. The keywords of the Switch statement are ...

Selecione uma das seguintes:

  • switch, case default, goto, return, throw

  • for, case default, goto, return, throw

  • begin,end,swap

Explicação

Questão 127 de 138

1

125. The int type is …

Selecione uma das seguintes:

  • value,predefined

  • reference,predefined

  • value,user-defined

  • reference,user-defined

Explicação

Questão 128 de 138

1

126. The bool type is …

Selecione uma das seguintes:

  • value,predefined

  • reference,predefined

  • value,user-defined

  • reference,user-defined

Explicação

Questão 129 de 138

1

127. The char type is …

Selecione uma das seguintes:

  • value,predefined

  • reference,predefined

  • value,user-defined

  • reference,user-defined

Explicação

Questão 130 de 138

1

128. The long type is …

Selecione uma das seguintes:

  • value,predefined

  • reference,predefined

  • value,user-defined

  • reference,user-defined

Explicação

Questão 131 de 138

1

129. The float type is …

Selecione uma das seguintes:

  • value,predefined

  • reference,predefined

  • value,user-defined

  • reference,user-defined

Explicação

Questão 132 de 138

1

130. The double type is …

Selecione uma das seguintes:

  • value,predefined

  • reference,predefined

  • value,user-defined

  • reference,user-defined

Explicação

Questão 133 de 138

1

131. The class type is …

Selecione uma das seguintes:

  • reference, user-defined

  • value,predefined

  • value,user-defined

  • reference,predefined

Explicação

Questão 134 de 138

1

132. The interface type is …

Selecione uma das seguintes:

  • reference, user-defined

  • value,user-defined

  • value,predefined

  • reference,predefined

Explicação

Questão 135 de 138

1

133. The object type is…

Selecione uma das seguintes:

  • value,predefined

  • value,user-defined

  • reference,user-defined

  • reference,predefined

Explicação

Questão 136 de 138

1

134. The string type is …

Selecione uma das seguintes:

  • reference,predefined

  • value,predefined

  • value,user-defined

  • reference,user-defined

Explicação

Questão 137 de 138

1

135. The struct type is …

Selecione uma das seguintes:

  • value, user-defined

  • reference,user-defined

  • value,predefined

  • reference,predefined

Explicação

Questão 138 de 138

1

136. The enum type is …

Selecione uma das seguintes:

  • value, user-defined

  • reference,user-defined

  • reference,predefined

  • value,predefined

Explicação