Question # 2 of 10 ( Start time: 10:27:43 PM ) Total
Marks: 1
The expressions with logical operators can be evaluated only from ___________________.
Select correct option:
Right to left
Left to right
Top to bottom
Bottom to top
Question # 3 of 10 ( Start time: 10:28:21 PM ) Total Marks: 1
In the switch statement, cases should always end with a -------statment.
Select correct option:
Switch
Go
Break ok
Stop
Question # 4 of 10 ( Start time: 10:29:15 PM ) Total Marks: 1
Variables should be initialized where they are ------and they should be declared in the ------scope possible.
Select correct option:
defined and smallest
declared and medium
defined and medium
declared and smallest ok
Question # 5 of 10 ( Start time: 10:29:57 PM ) Total Marks: 1
________ and _________ are two important tools that helps in managing the program complexity.
Select correct option:
Composition, Inheritance
Abstraction, Encapsulation ok
Aggregation, Inheritance
Modularity, Composition
Question # 6 of 10 ( Start time: 10:30:41 PM ) Total Marks: 1
Class variables should never be declared public. Public variables violate which of the following:
Select correct option:
Information hiding
Encapsulation
Information hiding and Encapsulation ok
None of the given
Question # 7 of 10 ( Start time: 10:31:08 PM ) Total Marks: 1
1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1;
Select correct option:
Statement (1) is more complex than (2) ok
Statement (2) is more complex than (1)
Both statements are very complex
None of the given options
Question # 8 of 10 ( Start time: 10:31:49 PM ) Total Marks: 1
Global variables in C++ should always be referred to by using the
Select correct option:
:: operator ok
: operator
Without an operator
None of the given
Question # 9 of 10 ( Start time: 10:32:12 PM ) Total Marks: 1
The size of __________ plays a significant role in making the program easy or difficult to understand.
Select correct option:
function ok
object
data type
none of the above
Question # 10 of 10 ( Start time: 10:32:40 PM ) Total Marks: 1
“Description of communicating objects and classes that are customized to solve a general design problem in a particular context.” is called ----------
Select correct option:
Design Pattren ok
System Pattren
System Design
None of the given
The expressions with logical operators can be evaluated only from ___________________.
Select correct option:
Right to left
Left to right
Top to bottom
Bottom to top
Question # 3 of 10 ( Start time: 10:28:21 PM ) Total Marks: 1
In the switch statement, cases should always end with a -------statment.
Select correct option:
Switch
Go
Break ok
Stop
Question # 4 of 10 ( Start time: 10:29:15 PM ) Total Marks: 1
Variables should be initialized where they are ------and they should be declared in the ------scope possible.
Select correct option:
defined and smallest
declared and medium
defined and medium
declared and smallest ok
Question # 5 of 10 ( Start time: 10:29:57 PM ) Total Marks: 1
________ and _________ are two important tools that helps in managing the program complexity.
Select correct option:
Composition, Inheritance
Abstraction, Encapsulation ok
Aggregation, Inheritance
Modularity, Composition
Question # 6 of 10 ( Start time: 10:30:41 PM ) Total Marks: 1
Class variables should never be declared public. Public variables violate which of the following:
Select correct option:
Information hiding
Encapsulation
Information hiding and Encapsulation ok
None of the given
Question # 7 of 10 ( Start time: 10:31:08 PM ) Total Marks: 1
1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1;
Select correct option:
Statement (1) is more complex than (2) ok
Statement (2) is more complex than (1)
Both statements are very complex
None of the given options
Question # 8 of 10 ( Start time: 10:31:49 PM ) Total Marks: 1
Global variables in C++ should always be referred to by using the
Select correct option:
:: operator ok
: operator
Without an operator
None of the given
Question # 9 of 10 ( Start time: 10:32:12 PM ) Total Marks: 1
The size of __________ plays a significant role in making the program easy or difficult to understand.
Select correct option:
function ok
object
data type
none of the above
Question # 10 of 10 ( Start time: 10:32:40 PM ) Total Marks: 1
“Description of communicating objects and classes that are customized to solve a general design problem in a particular context.” is called ----------
Select correct option:
Design Pattren ok
System Pattren
System Design
None of the given
Comments
Post a Comment
Please give us your feedback & help us to improve this site.