Question # 1 of 10 ( Start time: 09:49:28 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 # 2 of 10 ( Start time: 09:50:20 PM ) Total Marks: 1
Code should not be:
Select correct option:
commented ok
indented
cryptic
aligned
Question # 3 of 10 ( Start time: 09:51:26 PM ) Total Marks: 1
Which of the following shows a commented statement in C++
Select correct option:
# Ans = first + second
// Ans = first + second
\\ Ans = first + second
/# Ans = first + second
Question # 4 of 10 ( Start time: 09:52:32 PM ) Total Marks: 1
Which of the following is used for multi level commenting?
Select correct option:
// Comment
/* Comment */ ok
(Comment)
*/ Comment/*
Question # 5 of 10 ( Start time: 09:53:48 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
Question # 6 of 10 ( Start time: 09:54:22 PM ) Total Marks: 1
________ and ________ are important short circuiting logical operators. a.AND b. OR c. NOT d. NOR
Select correct option:
a & b ok
b & c
c & d
a & c
Question # 7 of 10 ( Start time: 09:54:52 PM ) Total Marks: 1
One of the main reasons to make functions is ________.
Select correct option:
Reliability
Reusability ok
Maintainability
Effeciency
Question # 8 of 10 ( Start time: 09:55:11 PM ) Total Marks: 1
Charles Simonyi first discussed Hungarian Notation. He was of ------ .
Select correct option:
Microsoft ok
IBM
Dell
Cisco
Question # 9 of 10 ( Start time: 09:55:55 PM ) Total Marks: 1
The form for (;;) should be used for
Select correct option:
nested loop
empty loop ok
more than 1000 iterations
less than 1000 iterations
Question # 10 of 10 ( Start time: 09:56:39 PM ) Total Marks: 1
Be very careful when you use functions with side effects – functions that change the values of the ________
Select correct option:
Objects
Classes
Structures
Variables ok
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
A useful technique for evaluating the overall complexity of a proposed architecture is to look at the component
Select correct option:
number and size of components ok
flow dependencies and sharing dependencies
size and cost
none of the given
Question # 2 of 10 ( Start time: 10:17:04 PM ) Total Marks: 1
Thin Client Model is one of the configurations of ……Model.
Select correct option:
Data-centered
Client Server ok
Layered
Reference
Question # 3 of 10 ( Start time: 10:17:47 PM ) Total Marks: 1
Thin Client Model places a heavy processing load on……
Select correct option:
Only Server
Only Network
Both Server and Network ok
Neither Server nor Network
Question # 4 of 10 ( Start time: 10:18:30 PM ) Total Marks: 1
There are ……layers in OSI reference model.
Select correct option:
5
6
7 ok
8
Question # 5 of 10 ( Start time: 10:19:12 PM ) Total Marks: 1
Whole Part Structure is also called ______
Select correct option:
Generalization
Aggregation ok
Specialization
Association
Question # 6 of 10 ( Start time: 10:19:54 PM ) Total Marks: 1
In sequence diagram, the boxes denote:
Select correct option:
Objects (or classes) ok
Messages, sent from one object to other
Life-time of Objects
None of the given options
Question # 7 of 10 ( Start time: 10:20:41 PM ) Total Marks: 1
The purpose of Interaction diagrams is to:
Select correct option:
Model interactions between objects
Assist in understanding how a system (a use case) actually works
Identify responsibilities/operations and assign them to classes
All of the given options ok
Question # 8 of 10 ( Start time: 10:21:14 PM ) Total Marks: 1
To determine the architectural style or combination of styles that best fits the Proposed system, requirements engineering is used to uncover
Select correct option:
algorithmic complexity
characteristics and constraints
control and data
design patterns ok
Question # 9 of 10 ( Start time: 10:22:04 PM ) Total Marks: 1
Client server is a ______________ system model.
Select correct option:
Integrated
Distributed ok
Heterogeneous
Homogeneous
Question # 10 of 10 ( Start time: 10:22:44 PM ) Total Marks: 1
Development view in Krutchen’s 4+1 architectural view model captures
Select correct option:
Object model of the design
Concurrency and synchronization aspects of the design
Mapping(s) of the software onto the hardware and reflects its distributed aspect
Static organization of the software in its development environment ok
Vertical partitioning divides the architecture application from a …… making perspective.
Select correct option:
Decision ok
Design
Conclusion
Move
Question # 2 of 10 ( Start time: 10:11:22 PM ) Total Marks: 1
Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture.
Select correct option:
Subtracting
Partitioning ok
Cloning
Balancing
Question # 3 of 10 ( Start time: 10:11:46 PM ) Total Marks: 1
Three tier architecture contains ------------- layers
Select correct option:
Presentation
Application
Database
All of the above ok
Question # 4 of 10 ( Start time: 10:12:11 PM ) Total Marks: 1
The key objective(s) of OOD process should achieve the following:
Select correct option:
The class as far as possible should be Independent , but could be dependent on only a few classes.
Interaction between two classes should be explicit.
Class hierarchy should be built on specialization of higher class.
All of the given options ok
Question # 5 of 10 ( Start time: 10:12:37 PM ) Total Marks: 1
Identifying Whole-Part structures (Aggregations) means what are my _________
Select correct option:
Components ok
Attributes
Methods
Messages
Question # 6 of 10 ( Start time: 10:13:09 PM ) Total Marks: 1
In the N-Tire Architecture,the idea is to enhance scalability and -------------- by distributing both the data and the application using multiple server machines.
Select correct option:
Usability
Performance ok
Interoperability
None of the given
Question # 7 of 10 ( Start time: 10:13:40 PM ) Total Marks: 1
Development view in Krutchen’s 4+1 architectural view model captures
Select correct option:
Object model of the design
Concurrency and synchronization aspects of the design
Mapping(s) of the software onto the hardware and reflects its distributed aspect
Static organization of the software in its development environment ok
Question # 8 of 10 ( Start time: 10:14:37 PM ) Total Marks: 1
The purpose of Interaction diagrams is to:
Select correct option:
Model interactions between objects
Assist in understanding how a system (a use case) actually works
Identify responsibilities/operations and assign them to classes
All of the given options ok
Question # 9 of 10 ( Start time: 10:15:05 PM ) Total Marks: 1
The focus of sequence diagrams is:
Select correct option:
On objects (and classes) and message exchanged among them
On static Model of system
On object constraints
None of the given options