Friday, December 30, 2011

[ vuZs.net ] 2nd QUIZ of CS504 Solved

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

 

Question # 1 of 10 ( Start time: 06:15:15 PM )  Total Marks: 1 

STL Stnads for ------------------ 

Standard Template Library

 Standard Type Link

 Standard Tempo Line

 None of the given

 

 

Question # 2 of 10 ( Start time: 06:16:10 PM )  Total Marks: 1 

Three tier architecture contains ------------- layers 

Select correct option: 

  Presentation

 Application

 Database 

 All of the above

 

Question # 3 of 10 ( Start time: 06:17:05 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 # 4 of 10 ( Start time: 06:18:40 PM )  Total Marks: 1 

Vertical partitioning is also known as….. 

Select correct option: 

 

 Balancing

 Mutating

 Parallelizing 

 Factoring

 

Question # 4 of 10 ( Start time: 06:18:40 PM )  Total Marks: 1  

Vertical partitioning is also known as….. 

Select correct option: 

  Balancing

 Mutating

 Parallelizing 

 Factoring

 

Question # 5 of 10 ( Start time: 06:20:06 PM )  Total Marks: 1 

Patterns are devices that allow programs to share knowledge about their -------------. 

Select correct option: 

 

 Code

 Design

 Analysis

 None of the given

 

Question # 6 of 10 ( Start time: 06:22:07 PM )  Total Marks: 1 

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

Select correct option: 

 

 Distribute

 Merge

 Clone

 Proceed

 

Question # 7 of 10 ( Start time: 06:23:24 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

 Distribution point

 Middle ground 

 Similarity

 Question # 8 of 10 ( Start time: 06:24:20 PM )  Total Marks: 1 

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

Decision

 Design

 Conclusion

 Move

 

 

Question # 9 of 10 ( Start time: 06:25:23 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

 Cloning

 Balancing

 

Question # 1 of 10 ( Start time: 01:35:10 PM ) Total Marks: 1

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

sec(s)

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 # 5 of 10 ( Start time: 01:37:42 PM ) Total Marks: 1

"is" prefix should be used for------ variables and methods.

Select correct option:

General

Boolean

Constant

None of the given

sec(s)

Question # 6 of 10 ( Start time: 01:38:16 PM ) Total Marks: 1

The use of comments should be minimized by making the code self-documenting by appropriate name choices and an

explicit logical structure.

Select correct option:

TRUE

FALSE

sec(s)

Question # 7 of 10 ( Start time: 01:38:44 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

sec(s)

Question # 8 of 10 ( Start time: 01:39:56 PM ) Total Marks: 1

Unrelated variables should be declared in the same statement.

Select correct option:

True

False

sec(s)

Question # 9 of 10 ( Start time: 01:40:22 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

sec(s)

Question # 10 of 10 ( Start time: 01:41:38 PM ) Total Marks: 1

Goto statements violate the idea of

Select correct option:

object oriented code

structured code

control structure

repetition structure

sec(s)

Question # 2 of 10 ( Start time: 01:44:29 PM ) Total Marks: 1

MVC pattern was based on the --------------- pattern.

Select correct option:

Observer

Structural

Behavioral

None of given

sec(s)

Question # 3 of 10 ( Start time: 01:44:56 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

sec(s)

Question # 4 of 10 ( Start time: 01:46:09 PM ) Total Marks: 1

Code should not be:

Select correct option:

commented

indented

cryptic

aligned

sec(s)

Question # 5 of 10 ( Start time: 01:46:41 PM ) Total Marks: 1

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

Select correct option:

:: operator

: operator

Without an operator

None of the given

sec(s)

Question # 6 of 10 ( Start time: 01:47:17 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++

sec(s)

Question # 7 of 10 ( Start time: 01:47:56 PM ) Total Marks: 1

using proper paranthesis normally makes the code

Select correct option:

easy to read

easy to understand

less ambigous

All of the given options

sec(s)

Question # 9 of 10 ( Start time: 01:48:58 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

sec(s)

Question # 1 of 10 ( Start time: 01:51:42 PM ) Total Marks: 1

The form for (;;) should be used for

Select correct option:

nested loop

empty loop

more than 1000 iterations

sec(s)

sec(s)

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

sec(s)

Question # 3 of 10 ( Start time: 01:53:08 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

sec(s)

Question # 4 of 10 ( Start time: 01:53:49 PM ) Total Marks: 1

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

with -----case.

Select correct option:

Noun—lower

Verb----lower

Noun ---upper

Noun----upper

 

sec(s)

Question # 5 of 10 ( Start time: 01:54:45 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

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

 

----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 (not Sure)

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

--
Zindagi mein 2 Logo ka buhat khayal rahkoooo

Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo (Father)

2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)

Regards, 
Umair Saulat

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
 
To post a new message on this group, send email to vuZs@googlegroups.com
 
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe

No comments:

Post a Comment