Question # 1 of 10 ( Start time: 09:40:03 PM ) Total
Marks: 1
________ is a tool that can help us in reducing the size of individual functions.
Select correct option:
Inheritance
Modularity ok
Association
Abstraction
Question # 2 of 10 ( Start time: 09:40:48 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 # 3 of 10 ( Start time: 09:41:15 PM ) Total Marks: 1
Floating point constants should always be written with decimal point and at least
Select correct option:
one decimal ok
two decimal
three decimal
none of the given
Question # 4 of 10 ( Start time: 09:41:45 PM ) Total Marks: 1
One of the main reasons to make functions is ________.
Select correct option:
Reliability
Reusability ok
Maintainability
Effeciency
Question # 5 of 10 ( Start time: 09:42:13 PM ) Total Marks: 1
80/20 rule states that:
Select correct option:
you spend 80 percent of your time in 20 percent of the code ok
you spend 20 percent of your time in 80 percent of the code
We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.
Question # 6 of 10 ( Start time: 09:42:42 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 # 7 of 10 ( Start time: 09:43:03 PM ) Total Marks: 1
Which indent size eliminates the chance of code lines splitting?
Select correct option:
2 ok
4
3
6
Question # 8 of 10 ( Start time: 09:43:42 PM ) Total Marks: 1
Comma ( , ) is very dangerous because
Select correct option:
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options
Question # 9 of 10 ( Start time: 09:44:12 PM ) Total Marks: 1
if a major rework is required to translate a program written for one environment to another, it means code is not or less _________
Select correct option:
Secure
Bug Free
plateform dependent
Portable ok
Question # 10 of 10 ( Start time: 09:45:32 PM ) Total Marks: 1
Which one is correct?
Select correct option:
double total = 0.5; ok
double total = .5;
double total = .50;
all of the given
________ is a tool that can help us in reducing the size of individual functions.
Select correct option:
Inheritance
Modularity ok
Association
Abstraction
Question # 2 of 10 ( Start time: 09:40:48 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 # 3 of 10 ( Start time: 09:41:15 PM ) Total Marks: 1
Floating point constants should always be written with decimal point and at least
Select correct option:
one decimal ok
two decimal
three decimal
none of the given
Question # 4 of 10 ( Start time: 09:41:45 PM ) Total Marks: 1
One of the main reasons to make functions is ________.
Select correct option:
Reliability
Reusability ok
Maintainability
Effeciency
Question # 5 of 10 ( Start time: 09:42:13 PM ) Total Marks: 1
80/20 rule states that:
Select correct option:
you spend 80 percent of your time in 20 percent of the code ok
you spend 20 percent of your time in 80 percent of the code
We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.
Question # 6 of 10 ( Start time: 09:42:42 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 # 7 of 10 ( Start time: 09:43:03 PM ) Total Marks: 1
Which indent size eliminates the chance of code lines splitting?
Select correct option:
2 ok
4
3
6
Question # 8 of 10 ( Start time: 09:43:42 PM ) Total Marks: 1
Comma ( , ) is very dangerous because
Select correct option:
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options
Question # 9 of 10 ( Start time: 09:44:12 PM ) Total Marks: 1
if a major rework is required to translate a program written for one environment to another, it means code is not or less _________
Select correct option:
Secure
Bug Free
plateform dependent
Portable ok
Question # 10 of 10 ( Start time: 09:45:32 PM ) Total Marks: 1
Which one is correct?
Select correct option:
double total = 0.5; ok
double total = .5;
double total = .50;
all of the given
CS504 Quiz No.4 Shared by
Comments
Post a Comment
Please give us your feedback & help us to improve this site.