PUBLIC SERVICE COMMISSION & OTHER TESTS INFORMATION IN PAKISTAN

PPSC, SPSC, BPSC, KPKPSC, AJKPSC, FPSC, NTS, ENTRY TESTS, EXAM HELP

Lecturer Professor Jobs Help 2016-17 CTI Jos Help 2016-17 AEO Jobs In Punjab SchoolsHelp Educator Jobs Help 2016-17 Headmaster Headmistress Jobs Help 2016
ADVERTISEMENT

Software Engineering Job TEST Solved MCQs Different Jobs Test, PPSC , NTS , FPSC , CSS, PMS , KPSC , SPSC , BPSC , OTS , JTS , PTS , All Types Jobs Test Preparation JOBS TEST Solved MCQs Different Jobs Test, PPSC , NTS , FPSC , CSS, PMS , KPSC , SPSC , BPSC , OTS , JTS , PTS , All Types Jobs Test

Software Engineering    Job TEST Solved MCQs Different Jobs Test, PPSC , NTS , FPSC , CSS, PMS , KPSC , SPSC , BPSC , OTS , JTS , PTS , All Types Jobs Test Preparation JOBS TEST Solved MCQs Different Jobs Test, PPSC , NTS , FPSC , CSS, PMS , KPSC , SPSC , BPSC , OTS , JTS , PTS , All Types Jobs Test

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

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

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

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 (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

Some bit field members are stored: I) left to right II) right to left III) in circular array
only (I) is true
Only (II) is true
Both (I) and (II) are true
All of the options (I, II and III) are true

Question # 2 of 10
Comma ( , ) is very dangerous because
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options

Question # 3 of 10
_________ cause major portability issues
Loops
Bugs in code
Sizes of data types
Conditional Structures

Question # 4 of 10
In order to write a portable code which of the following guideline will be helpful:
Stick to the standards
Program in the mainstream
Size of data types
All of the given options

Question # 5 of 10
The complexity of a program may ______ if there are exceptional paths in it
Decrease
Increase
Remain same
All of given options

Question # 6 of 10
In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible
STL
ANSI
ISO
CMMI

Question # 7 of 10
Exception handling provides:
Portability mechanism
Code Usability mechanism
Error Handling mechanism
All of the given options

Question # 8 of 10
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem
Lack of usability
Lack of security
Lack of performance
Lack of portability

Question # 9 of 10
if (e.Title() == “CEO” || e.Salary() > 10000) in the above statement if e.Title()==”CEO”) is TRUE then
Second part is not evaluated
Second part is always evaluated
Second part must also be TRUE
Second part is not evaluated but e.Salary() is called

Question # 10 of 10
A test case involves
Input/output specification plus a statement of the function under test
Steps to perform the function
Expected results that the software application produces
All of the given options

 

Leave a Reply

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

PUBLIC SERVICE COMMISSION & OTHER TESTS INFORMATION IN PAKISTAN © 2016