Q. वित्तीय आपात स्थिति में निम्नलिखित में से क्या किया जा सकता है? [NET-P-I-D-12-41-ED]

1. राज्य विधान सभाओं को समाप्त किया जा सकता है

2. केन्द्र सरकार राज्यों के बजट और व्यय को अपने नियंत्रण में ले सकती है

3. उच्च न्यायालयों और उच्च न्यायलय के न्यायाधीशों के वेतन को कम किया जा सकता है

4. संवैधानिक उपचारों के अधिकार को निलंबित किया जा सकता है

नीचे दिये गये कोड के प्रयोग से सही उत्तर का चयन कीजिये:

A. 1, 2 और 3

B. 2, 3 और 4

C. 1 और 2

D. 2 और 3


Ans: D

Description:

राज्य विधान सभा –> State Legislative Assembly.

संवैधानिक उपचार के अधिकार –> Right to Constitutional Remedies.

In case of financial emergency, the President can reduce salaries of all government officials, including Judges of High Court and Supreme Court. 

All money bills passed by the State Legislatures are submitted to the president for his approval.

He can direct the state to observe certain principles(economy measures) relating to financial matters.


Q. Assume that each alphabet can have a value between 0 to 9 in cryptoarithmetic problem

 

  C R O S S
+ R O A D S
D A N G E R

Which of the following statements is true?

(i) No two alphabets can have the same numeric value.

(ii) Any two alphabets may have the same numeric value.

(iii) D = 0

(iv) D = 1

A. (i) and (iii)

B. (i) and (iv)

C. (ii) and (iii)

D. (ii) and (iv)


Ans: B

Description:

Basic Rules of Cryptoarithmetics:

(i) Each unique digit must be replaced by a unique character.

(ii) The number so formed cannot start with a zero.


Q. Computer can have instruction formats with- [NET-P-III-J-13-42-CA]

A. Only two address and three address instruction

B. Only one address and two address instruction

C. Only one address, two address and three address instruction

D. Zero address, one address, two address and three address instruction


Ans: D

Description:

Computer Instruction Set:

An Instruction have two component-

OPCODE OPERANDS

Ex.

ADD AL, 3

“OPERANDS” field may have following format-

1- Zero Address

2- One Address

3- Two Address

4- Three Address

Instruction Length determine by Total Number of Operands, Type of Operands and Format of Operands.


Q. Which is not a typical program control instruction? [NET-P-III-J-13-43-CA]

A. BR

B. JMP

C. SHL

D. TST


Ans: C

Description:

BR Instruction:

It is called Branch Instruction.

It is a Program Control Instruction.

JMP Instruction:

It is a program control instruction in assembly language.

It is also called jumping instruction.

This instruction is used to jump control on any specific location of assembly code.

SHL Instruction:

It is called Shift Left (Left Shift) Instruction.

It is an Arithmetical Instruction.


Q In multiuser database, if two users wish to update the same record at the same time, they are prevented from doing so by- [NET-P-II-J-12-7-RDBMS]

A. Jamming

B. Password

C. Documentation

D. Record Lock


Ans: D

Description:

Record Lock:

It is a technique to preventing simultaneous access to data in a database, to prevent inconsistent result.

For Example, same record access by two user at the same time managed by Record Lock operation.


Q. Which of the following matrix does not depend on the programming language use? [NET-P-II-J-12-25-SE]

A. Line of Code

B. Function Count

C. Member of Token

D. All of the above


Ans: B

Description:

Matrix:

Here "Line of Code” and “Member of Token” both depend on the programming language

But “Function Count” does not depend on the programming language.


Q. In_________modules A and B make use of common datatype, but perhaps perform different operations on it. [NET-P-III-S-13-46]

A. Data Coupling

B. Stamp Coupling

C. Control Coupling

D. Content Coupling


Ans: B

Description:

Coupling:

It is represent as dependency.

Data Coupling:

This coupling occurs when modules share data through parameters.

Content Coupling:

This Coupling occurs  when one module modifies the internal working of another module.

Common Coupling:

This coupling occurs when two module share same global data (through global variable).

Stamp or Data Structured Coupling:

This coupling occurs when modules share a composite data-structure and use only part of it.

Control Coupling:

One module controlling the flow of another module by passing information on what to do.


Q. Improving processing efficiency or performance or restructuring of software to improve changeability is known as- [NET-P-III-S-13-45-SE]

A. Corrective Maintenance

B. Perfective Maintenance

C. Adoptive Maintenance

D. Code Maintenance


Ans: B

Description:

Perfective Maintenance:

->In this maintenance, modify the software after delivery to improve performance of the software.

Corrective Maintenance:

->In this maintenance, modification in the software to correct discovered problem.

Adoptive Maintenance:

->In this maintenance, modification in the software to change environment.


Q. The value of postfix expression: 834+-382/+*2$3+ is- [NET-P-II-J-13-29-DS]

A. 17
B. 131
C. 64
D. 52


Ans: A
Description:
Postfix Notation or Expression:
->It is also called Reverse Polish Notation.
->Operators are written after their operands.
Examples of Postfix Notation or Expression:
->AB*CD/+ (multiply A and B, divide C by D, add the result)
->ABC+*D/ (add B and C, multiply by A, divide by D)
->ABCD/+* (divide C by D, add B, multiply by A)
Conversion of Infix to Postfix to Prefix:
->Infix Notation –> ((A*B)+(C/D)).
->Postfix Notation –> ((AB*)(CD/)+).
->Prefix Notation –> (+(*AB)(/CD)).
Example:
834+-382/+*2$3+
It is postfix expression
Now convert it into infix-
=(((3+4-8)*(8/2+3))$2)+3
=((-1*7)$2)+3
=((-7)$2)+3
=(7*2)+3
=14+3
=17 (Ans)

Q. Assume that x and y are non-zero positive integer. What does the following program segment perform?

 
while(x!=0)
{
if(x>y)
x=x-y
else
y=y-x
printf(“%d”, x)

A. Computes LCM of two numbers

B. Computes GCD of two numbers

C. Divides large number with small number

D. Subtracts smaller number from large number


Ans: D

Description: