vuassignemnts.com upload the CS504 Solved MCQs mega Collection for Mid Term Papers. Try to solved the CS504 Solved MCQs mega Collection for Mid Term Papers yourself.
Patterns are devices that allow programs to share knowledge about their ——-.
- Code
- Design
- Analysis
- None of the given
Client server model tries to …….data and processing.
- Distribute
- Merge
- Clone
- Proceed
STL Stnads for ——————
- Standard Template Library
- Standard Type Link
- Standard Tempo Line
- None of the given
Three tier architecture contains ————- layers
- Presentation
- Application
- Database
- All of the above
Which of following is/are among ten things, which the basic template of GOF design pattern includes.
- Problem
- Context
- Forces
- All of the given
Vertical partitioning is also known as…..
- Balancing
- Mutating
- Parallelizing
- Factoring
Vertical partitioning is also known as…..
- Balancing
- Mutating
- Parallelizing
- Factoring
N-tier architecture stems from the struggle to find a ———– between the fat-client architecture and the thin-client architecture.
- Concurrency
- Distribution point
- Middle ground
- Similarity
Vertical partitioning divides the architecture application from a …… making perspective.
- Decision
- Design
- Conclusion
- Move
Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture
- Subtracting
- Partitioning
- Cloning
- Balancing
The nominal case should be put in the if-part and the exception in the else-part of an if statement.
- TURE
- FALSE
Charles Simonyi first discussed Hungarian Notation. He was of —— .
- Microsoft
- IBM
- Dell
- Cisco
The terms get/set must be used where an attribute is accessed
Indirectly
Directly
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
“is” prefix should be used for—— variables and methods.
- General
- Boolean
- Constant
- None of the given
The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.
- TRUE
- FALSE
Variables should be initialized where they are ——and they should be declared in the ——scope possible.
- defined and smallest
- declared and medium
- defined and medium
- declared and smallest
Unrelated variables should be declared in the same statement.
- True
- False
which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2
- (1) and (3) only
- (2) and (3) only
- (1) and (2) only
- All produce the same result
Goto statements violate the idea of
- object oriented code
- structured code
- control structure
- repetition structure
MVC pattern was based on the ————— pattern.
- Observer
- Structural
- Behavioral
- None of given
Which one is correct?
- double total = 0.5;
- double total = .5;
- double total = .50;
- all of the given
Code should not be:
- commented
- indented
- cryptic
- aligned
Global variables in C++ should always be referred to by using the
- :: operator
- : operator
- Without an operator
- None of the given
_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model View Controller pattern
- Smalltalk
- PASCAL
- JAVA
- C++
Using proper paranthesis normally makes the code
- easy to read
- easy to understand
- less ambigous
- All of the given options
Which of the following shows a commented statement in C++
- # Ans = first + second
- // Ans = first + second
- \\ Ans = first + second
- /# Ans = first + second
The form for (;;) should be used for
- nested loop
- empty loop
- more than 1000 iterations
Identifier names also play a significant role in enhancing the ——– of a program
- Writ ability
- Readability
- Reliability
It ensures that a class only has one instance and provides a global point of access to it.
- Singleton Pattern
- Observer Pattern
- Real Pattern
- None of the given
Names representing methods and functions should be—-and written in mixed case starting
- with —–case.
- Noun—lower
- Verb—-lower
- Noun —upper
A function should not be larger in any case and should not exceed ______ in length .
- Half page
- One page
- Two pages
- Three Pages
—–provides a unified interface to a set of interfaces in a sub-system.
- Observer Pattern
- Singleton Pattern
- Façade Pattern
- All of the above
MVC stands for —————
- Model View Controller
- Modern View Center
- Model View Center
- Modern View Controller
A self documenting code is a code that explains itself without the need of comments and extraneous documentation, like _______
- Flowcharts
- UML diagrams
- Process-flow state diagrams
- All of the given choices
Complex expressions:
- Make the code easy to modify
- Make the code difficult to modify
- Make the code easy to understand
- Does not effect understandability
Comments should NOT be indented relative to their position in the code
- TRUE
- FALSE
—-Provides a unified interface to a set of interfaces in a sub-system
- Observer Pattern
- Singleton Pattern
- Façade Pattern
- All of the above
In Client Server model, there application is modeled as a set so — that are provided by server
- Application
- Protocol
- Services
- All of the above
Vertical Partitioning is also know as
- Balancing
- Mutating
- Parallizing
- Factoring
Façade Pattern provides a unified interface to a set of interfaces ina sub-system.
- True
- False
Which of the is/are among ten things which the basis template of GOF design pattern includes.
- Problem
- Context
- Forces
- All of the above
Thin Client Model places a heavy processing load on……
- Only Server
- Only Network
- Both Server and Network(Not Sure)
- Neither server nor network
Zero install architecture does not need any installation on ____________.
- Server side
- Client side
- Client & Server Side (Not Sure)
- None of the above
Data-Centered Architectural Style is also called ….
- Repository model
- Client Server model
- Sub system model
- Reference model
Client Server model tries to data and processing
- Distribute
- Merge
- Clone
- Proceed
Anti- Patterns is another concept that corresponds to common in analysis and design
- Mistake
- Issues
- Problems
- All of the given
Three tier architecture contains layers
- Presentation
- Application
- Database
- All of the above
MVC stands for
- Model View Controller
- Modern View Center
- Model View Center
- Modern View Controller
Fat client model is one of the configurations of model
- Data-Centered
- Layered
- Reference
- Client Server
Description of communicating objects and classes that are customized to solved a general problem in a particular context is called
- Design Pattern
- System Patter
- System Design
- None of the Given
In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines.
- Usability
- Performance
- Interpretability
- None of the given
Thin Client model is one of the configurations of ….. model
- Data Centered
- Client Server
- Layered
- Reference
Dynamic process model shows the process ……….. of the system
- Components
- Objects
- Structure
- Linkage
It ensures that a class only has one instance and provides a global point of access to it.
- Singleton Pattern
- Observer Pattern
- Real Pattern
- None of the given