CvLTAELG1AAv7GMjp8RSaPGsvS8 CS504 Solved MCQs mega Collection for Mid Term Papers |
Tuesday , 22 June 2021
You are here: Home - CS504 - CS504 Solved MCQs mega Collection for Mid Term Papers

CS504 Solved MCQs mega Collection for Mid Term Papers

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 ——-.

  1. Code
  2. Design
  3. Analysis
  4. None of the given

Client server model tries to …….data and processing. 

  1. Distribute
  2. Merge
  3. Clone
  4. Proceed

STL Stnads for —————— 

  1. Standard Template Library
  2. Standard Type Link
  3. Standard Tempo Line
  4. None of the given

Three tier architecture contains ————- layers

  1. Presentation
  2. Application
  3. Database
  4. All of the above

Which of following is/are among ten things, which the basic template of GOF design pattern includes.  

  1. Problem
  2. Context
  3. Forces
  4.  All of the given 



Vertical partitioning is also known as….. 

  1. Balancing
  2. Mutating
  3. Parallelizing
  4.  Factoring

Vertical partitioning is also known as…..

  1. Balancing
  2. Mutating
  3. Parallelizing
  4. Factoring

N-tier architecture stems from the struggle to find a ———– between the fat-client architecture and the thin-client architecture. 

  1. Concurrency
  2. Distribution point
  3.  Middle ground 
  4. Similarity

 
Vertical partitioning divides the architecture application from a …… making  perspective. 

  1. Decision
  2. Design
  3. Conclusion
  4. Move

Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture

  1. Subtracting
  2.  Partitioning
  3. Cloning
  4. Balancing 

The nominal case should be put in the if-part and the exception in the else-part of an if statement.

  1. TURE
  2. FALSE

Charles Simonyi first discussed Hungarian Notation. He was of —— .

  1. Microsoft
  2. IBM
  3. Dell
  4. 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):

  1. Size of each function
  2. Choice of variable
  3. Choice of variable
  4. All of the given choices

“is” prefix should be used for—— variables and methods.

  1. General
  2. Boolean
  3. Constant
  4. 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.

  1. TRUE
  2. FALSE

Variables should be initialized where they are ——and they should be declared in the ——scope possible.

  1. defined and smallest
  2. declared and medium
  3. defined and medium
  4. declared and smallest

Unrelated variables should be declared in the same statement.

  1. True
  2. False

which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2

  1. (1) and (3) only
  2. (2) and (3) only
  3. (1) and (2) only
  4. All produce the same result

Goto statements violate the idea of

  1. object oriented code
  2. structured code
  3. control structure
  4. repetition structure

MVC pattern was based on the ————— pattern.

  1. Observer
  2. Structural
  3. Behavioral
  4. None of given

Which one is correct?

  1. double total = 0.5;
  2. double total = .5;
  3. double total = .50;
  4. all of the given

Code should not be:

  1. commented
  2. indented
  3. cryptic
  4. aligned

Global variables in C++ should always be referred to by using the

  1. :: operator
  2. : operator
  3. Without an operator
  4. None of the given

_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model View Controller pattern

  1. Smalltalk
  2. PASCAL
  3. JAVA
  4. C++

Using proper paranthesis normally makes the code

  1. easy to read
  2. easy to understand
  3. less ambigous
  4. All of the given options

Which of the following shows a commented statement in C++

  1. # Ans = first + second
  2. // Ans = first + second
  3. \\ Ans = first + second
  4. /# Ans = first + second

The form for (;;) should be used for

  1. nested loop
  2. empty loop
  3. more than 1000 iterations

Identifier names also play a significant role in enhancing the ——– of a program

  1. Writ ability
  2. Readability
  3. Reliability

It ensures that a class only has one instance and provides a global point of access to it.

  1. Singleton Pattern
  2. Observer Pattern
  3. Real Pattern
  4. None of the given

Names representing methods and functions should be—-and written in mixed case starting

  1. with —–case.
  2. Noun—lower
  3. Verb—-lower
  4. Noun —upper

A function should not be larger in any case and should not exceed ______ in length .

  1. Half page
  2. One page
  3. Two pages
  4. Three Pages

—–provides a unified interface to a set of interfaces in a sub-system.

  1. Observer Pattern
  2. Singleton Pattern
  3. Façade Pattern
  4. All of the above

MVC stands for —————

  1. Model View Controller
  2. Modern View Center
  3. Model View Center
  4. Modern View Controller

A self documenting code is a code that explains itself without the need of comments and extraneous documentation, like _______

  1. Flowcharts
  2. UML diagrams
  3. Process-flow state diagrams
  4. All of the given choices

Complex expressions:

  1. Make the code easy to modify
  2. Make the code difficult to modify
  3. Make the code easy to understand
  4. Does not effect understandability

Comments should NOT be indented relative to their position in the code

  1. TRUE
  2. FALSE

—-Provides a unified interface to a set of interfaces in a sub-system

  1. Observer Pattern
  2. Singleton Pattern
  3. Façade Pattern
  4. All of the above

In Client Server model, there application is modeled as a set so — that are provided by server

  1. Application
  2. Protocol
  3. Services
  4. All of the above

Vertical Partitioning is also know as

  1. Balancing
  2. Mutating
  3. Parallizing
  4. Factoring

Façade Pattern provides a unified interface to a set of interfaces ina sub-system.

  1. True
  2. False



Which of the is/are among ten things which the basis template of GOF design pattern includes.

  1. Problem
  2. Context
  3. Forces
  4. All of the above

Thin Client Model places a heavy processing load on……

  1. Only Server
  2. Only Network
  3. Both Server and Network(Not Sure)
  4. Neither server nor network

Zero install architecture does not need any installation on ____________.

  1. Server side
  2. Client side
  3. Client & Server Side (Not Sure)
  4. None of the above

Data-Centered Architectural Style is also called ….

  1.  Repository model
  2. Client Server model
  3. Sub system model
  4. Reference model

Client Server model tries to data and processing

  1. Distribute
  2. Merge
  3. Clone
  4. Proceed

Anti- Patterns is another concept that corresponds to common in analysis and design

  1. Mistake
  2. Issues
  3. Problems
  4. All of the given

Three tier architecture contains layers

  1. Presentation
  2. Application
  3. Database
  4. All of the above

MVC stands for

  1. Model View Controller
  2. Modern View Center
  3. Model View Center
  4. Modern View Controller

Fat client model is one of the configurations of model

  1. Data-Centered
  2. Layered
  3. Reference
  4. Client Server

Description of communicating objects and classes that are customized to solved a general problem in a particular context is called

  1. Design Pattern
  2. System Patter
  3. System Design
  4. 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.

  1. Usability
  2. Performance
  3. Interpretability
  4. None of the given

Thin Client model is one of the configurations of ….. model

  1. Data Centered
  2. Client Server
  3. Layered
  4. Reference

Dynamic process model shows the process ……….. of the system

  1. Components
  2. Objects
  3. Structure
  4. Linkage

It ensures that a class only has one instance and provides a global point of access to it.

  1. Singleton Pattern
  2. Observer Pattern
  3. Real Pattern
  4. None of the given

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*