Question # 1 of 10 (Start time: 05:08:46 PM) Total Marks: 1
The pattern movement became very quiet until ------------- when patterns appeared again at an OOPSLA conference.
Select correct option:
§  1987
1988
1962
1995
Question # 2 of 10 ( Start time: 05:09:52 PM ) Total Marks: 1

Which piece of code is self-documented?
Select correct option:
if (x==0) // this is the case when we are allocating a new number
if (AllocFlag == 0)
§  If (AllocFlag == NEW_NUMBER)
None of the given
Question # 3 of 10 (Start time: 05:11:13 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
Click here to Save Answ er & Move to Next Question
Question # 4 of 10 ( Start time: 05:11:55 PM ) Total Marks: 1
Complex expressions should be broken down into multiple statements. Select the
Correct one *x += (*xp= (2*k < (n-m)? c [k+1]: d [k--]));
Select correct option:
§  if (2*k < n-m) *xp = c[k+1]; else *xp = d[k--]; *x = *x + *xp;
if (2*k <= n-m) *xp = c[k+1]; *xp = d[k--]; *x = *x + *xp;
if (2*k < n-m) *xp = d[k--]; else *xp = c[k+1]; *x = *x + *xp;
None of the given
Question # 5 of 10 (Start time: 05:13:12 PM) Total Marks: 1
Goto statements violates the idea of
Select correct option:
object oriented code
§  Structured code
control structure
Repetition structure
Question # 6 of 10 ( Start time: 05:14:11 PM ) Total Marks: 1
in the case of zero-install, the network environment is used to ---------server side processing by adding a number of servers which share processing load.
Select correct option:
§  Distribute
Centeralize
Shift
None of the above
Question # 7 of 10 (Start time: 05:15:14 PM) Total Marks: 1
Which one is the most desirable quality of a software artifact?
Select correct option:
Reliability
Performance
§  Maintainability
All of the given
Question # 8 of 10 (Start time: 05:16:37 PM) Total Marks: 1
Which of these is a graphical notation for depicting procedural detail?
Select correct option:
Box diagram
§  Decision table
ER diagram
Graph matrix
Question # 9 of 10 (Start time: 05:18:25 PM) Total Marks: 1
A decision table should be used
Select correct option:
To document all conditional statements
To guide the development of the project management plan
only when building an expert system
When a complex set of conditions and actions appears in a component
Question # 10 of 10 (Start time: 05:19:09 PM) Total Marks: 1
N-tier architecture stems from the struggle to find a --------between the fat client
architecture and the thin-client architecture.
Select correct option:
Concurrency
Concurrency
§  Middle ground
The nominal case should be put in the if-part and the exception in the else-part of an if statement.
Select correct option:
§  TURE
FALSE

Question # 2 of 10 ( Start time: 01:35:59 PM ) Total Marks: 1
Charles Simonyi first discussed Hungarian Notation. He was of ----- .
Select correct option:
§  Microsoft
IBM
Dell
Cisco
sec(s)
Question # 3 of 10 ( Start time: 01:36:25 PM ) Total Marks: 1
The terms get/set must be used where an attribute is accessed
Select correct option:
Indirectly
§  Directly
sec(s)
Question # 4 of 10 ( Start time: 01:36:37 PM ) Total Marks: 1
A self documented program/code contains the following attribute(s):
Size of each function
Choice of variable
Choice of variable
§  All of the given choices
sec(s)
Question # 7 of 10 ( Start time: 01:55:56 PM ) Total Marks: 1
-----provides a unified interface to a set of interfaces in a sub-system.
Select correct option:
§  Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
sec(s)
Question # 8 of 10 ( Start time: 01:56:35 PM ) Total Marks: 1
MVC stands for ---------------
Select correct option:
§  Model View Controller
Modern View Center
Model View Center
Modern View Controller
sec(s)
Question # 8 of 10 ( Start time: 01:59:40 PM ) Total Marks: 1
A self documenting code is a code that explains itself without the need
of comments and
extraneous documentation, like _______
Select correct option:
Flowcharts
UML diagrams
Process-flow state diagrams
§  All of the given choices
sec(s)
Question # 10 of 10 ( Start time: 02:00:38 PM ) Total Marks: 1
Complex expressions:
Select correct option:
Make the code easy to modify
§  Make the code difficult to modify
Make the code easy to understand
Does not effect understandablity
Question # 10 of 10 ( Start time: 01:49:27 PM ) Total Marks: 1
Comments should NOT be indented relative to their position in the
code
Select correct option:
TRUE
§  FALSE
Question # 1 of 10 ( Start time: 11:18:46 PM ) Total Marks: 1
Which one is correct?
Select correct option:
double total = 0.5;     
double total = .5;
double total = .50;
all of the given


Question # 2 of 10 ( Start time: 11:19:21 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   


Question # 3 of 10 ( Start time: 11:20:10 PM ) Total Marks: 1
________ is a tool that can help us in reducing the size of individual functions.
Select correct option:
Inheritance
Modularity
Association
Abstraction


Question # 4 of 10 ( Start time: 11:20:38 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 # 5 of 10 ( Start time: 11:21:06 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
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: 11:21:30 PM ) Total Marks: 1
-----provides a unified interface to a set of interfaces in a sub-system.
Select correct option:
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above


Question # 7 of 10 ( Start time: 11:22:02 PM ) Total Marks: 1
Which of following is/are among ten things,which the basic template of GOF design pattern includes.
Select correct option:
Problem
Context
Forces
All of the given


Question # 8 of 10 ( Start time: 11:22:29 PM ) Total Marks: 1
________ and _________ are two important tools that helps in managing the program complexity.
Select correct option:
Composition, Inheritance
Abstraction, Encapsulation
Aggregation, Inheritance
Modularity, Composition


Question # 9 of 10 ( Start time: 11:22:55 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 # 10 of 10 ( Start time: 11:23:20 PM ) Total Marks: 1
Goto statements violate the idea of
Select correct option:
object oriented code
structured code
control structure
repetition structure

Question # 1 of 10 ( Start time: 10:41:25 PM ) Total Marks: 1
If a function changes the value of some other accessible data object along with returning its value after execution, is called ___________.
Select correct option:
Short Circuiting
Modularity
Side Effects
Abstraction


Question # 2 of 10 ( Start time: 10:41:47 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


Question # 3 of 10 ( Start time: 10:42:21 PM ) Total Marks: 1
It ensures that a class only has one instance and provides a global point of access to it.
Select correct option:
Singleton Pattern
Observer Pattern
Real Pattern
None of the given


Question # 4 of 10 ( Start time: 10:42:55 PM ) Total Marks: 1
Code should not be:
Select correct option:
commented
indented
cryptic       
aligned


Question # 5 of 10 ( Start time: 10:43:16 PM ) Total Marks: 1
In case of header files, construction is to avoid ------ errors. The construction should appear in the top of the file (before the file header).
Select correct option:
compilation
run time
logical
All of the given


Question # 6 of 10 ( Start time: 10:43:46 PM ) Total Marks: 1
The size of __________ plays a significant role in making the program easy or difficult to understand.
Select correct option:
function
object
data type
none of the above


Question # 7 of 10 ( Start time: 10:44:09 PM ) Total Marks: 1
Identifier names also play a significant role in enhancing the -------- of a program.
Select correct option:
Writ ability
Readability
Reliability
All of the given choices


Question # 8 of 10 ( Start time: 10:44:39 PM ) Total Marks: 1
A function should not be larger in any case and should not exceed ______ in length .
Select correct option:
Half page
One page
Two pages
Three Pages


Question # 9 of 10 ( Start time: 10:45:00 PM ) Total Marks: 1
_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model View Controller pattern
Select correct option:
Smalltalk
PASCAL
JAVA
C++


Question # 10 of 10 ( Start time: 10:45:42 PM ) Total Marks: 1
which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2
Select correct option:
(1) and (3) only
(2) and (3) only
(1) and (2) only
All procduce the same result

Question # 1 of 10 ( Start time: 10:34:01 PM ) Total Marks: 1
It ensures that a class only has one instance and provides a global point of access to it.
Select correct option:
Singleton Pattern        ok
Observer Pattern
Real Pattern
None of the given


Question # 2 of 10 ( Start time: 10:34:41 PM ) Total Marks: 1
Anti-patterns is another concept that corresponds to common ------------- in analysis and design.
Select correct option:
mistakes        ok
issues
problems
All of the given


Question # 3 of 10 ( Start time: 10:35:18 PM ) Total Marks: 1
Complex expressions:
Select correct option:
Make the code easy to modify
Make the code difficult to modify        ok
Make the code easy to understand
Does not effect understandablity


Question # 4 of 10 ( Start time: 10:35:52 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 # 5 of 10 ( Start time: 10:36:40 PM ) Total Marks: 1
A function should not be larger in any case and should not exceed ______ in length .
Select correct option:
Half page
One page        ok
Two pages
Three Pages


Question # 6 of 10 ( Start time: 10:37:20 PM ) Total Marks: 1
Patterns are devices that allow programs to share knowledge about their -------------.
Select correct option:
Code
Design        ok
Analysis
None of the given


Question # 7 of 10 ( Start time: 10:37:56 PM ) Total Marks: 1
In case of header files, construction is to avoid ------ errors. The construction should appear in the top of the file (before the file header).
Select correct option:
compilation        ok
run time
logical
All of the given


Question # 8 of 10 ( Start time: 10:38:28 PM ) Total Marks: 1
Which indent size eliminates the chance of code lines splitting?
Select correct option:
2        ok
4
3
6


Question # 9 of 10 ( Start time: 10:38:59 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 # 10 of 10 ( Start time: 10:39:52 PM ) Total Marks: 1
A self documenting code is a code that explains itself without the need of comments and extraneous documentation, like _______
Select correct option:
Flowcharts
UML diagrams
Process-flow state diagrams
All of the given choices        ok


Question # 1 of 10 ( Start time: 08:36:48 PM ) Total Marks: 1
Vertical partitioning is also known as…..
Select correct option:
Balancing
Mutating
Parallelizing
Factoring        ok


Question # 2 of 10 ( Start time: 08:38:05 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 # 3 of 10 ( Start time: 08:38:46 PM ) Total Marks: 1
In case of a file servers, client requests selected records from a .....and the server transmits records to client over the network.
Select correct option:
Local Memory
Network
Database
File        ok


Question # 4 of 10 ( Start time: 08:39:51 PM ) Total Marks: 1
Issues like system performance, availability, scalability, and security are analyzed in __________.
Select correct option:
Logical View        ok
Physical View
Code View
Concurrency View


Question # 5 of 10 ( Start time: 08:40:43 PM ) Total Marks: 1
A necessary supplement to transform or transaction mapping needed to create a complete architectural design is
Select correct option:
entity relationship diagrams
the data dictionary
processing narratives for each module
test cases for each module


Question # 6 of 10 ( Start time: 08:41:58 PM ) Total Marks: 1
Fat Client Model is one of the configurations of ……Model.
Select correct option:
Data-centered        ok
Layered
Reference
Client Server


Question # 7 of 10 ( Start time: 08:42:47 PM ) Total Marks: 1
Defining the services of an object means:
Select correct option:
What it does?        ok
What it knows?
Who knows it?
Whome it knows?


Question # 8 of 10 ( Start time: 08:43:31 PM ) Total Marks: 1
Aynchronous messages :
Select correct option:
are implemented as operation call
These block caller before response
occurs in multi-threaded applications        ok
are shown by dotted line


Question # 9 of 10 ( Start time: 08:44:28 PM ) Total Marks: 1
An architectural style encompasses which of the following elements?
Select correct option:
constraints
set of components
semantic models
all of the given        ok


Question # 10 of 10 ( Start time: 08:45:17 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


In case of a file servers, client requests selected records from a .....and the server
transmits records to client over the network.
local memory
network
database
*file
Different messages in sequence diagrams includes:
*Both Simple and Asynchronous
Return values in Synchronous messages are represented by:
*A dotted line with label
Data-Centered Architectural Style is also called ….
*Client Server model
Issues like system performance, availability, scalability, and security are analyzed in
__________.
*Physical View
The criteria used to assess the quality of an architectural design should be based on
system
*data and control
Physical view in Krutchen’s 4+1 architectural view model captures __________.
*Mapping(s) of the software onto the hardware and reflects its distributed aspect
Client server is a ______________ system model.
*Distributed
An architectural style encompasses which of the following elements?
Missed question
Dynamic process model shows the process ……of the system.
*Structure

Post a Comment

Don't Forget To Join My FB Group VU Vicky
THANK YOU :)

Previous Post Next Post