Professional Documents
Culture Documents
(A), (B), (C), (D)
(A), (B), (C), (D)
Concept:Discrete Probability
Concept Field:NA
Question :1
A traffic count at a highway junction revealed that out of 5,000 cars that
passed through the junction in 1 week, 3,000 turned to the right. Find the
probability that a car will turn to the right, and to the left.
(A) ⅖,⅗
(B) ⅗ ,⅖
(C) ⅖,⅖
(D) ⅗.3/5
Correct Option : B
Explanation:
Concept:Mathematical Logic
Sub Concept:Logic
Concept Field:NA
Question :2
(A) Valid
(B) Invalid
(C) Satisfiable
(D) Information incomplete
Correct Option: A
Explanation:
∴ q
Concept:Mathematical Logic
Sub Concept:Logic
Concept Field:NA
Question : 3
Correct Option: B
Explanation:
(i) "If it is raining, then the streets are wet."
(ii) "If the streets are wet, then it is raining."
Sub Concept:
Concept Field:NA
Question :4
Correct Option:A
Explanation:
Concept:Graph Theory
Concept Field:NA
Question :5
(A) 15
(B) 16
(C) 4
(D) 12
Correct Option: B
Explanation:
Concept:Group Theory
Concept Field:NA
Question :6
Correct Option: C
Explanation :
Concept:Optimization
Concept Field:NA
Question :7
Which of the following is not used for finding the initial feasible for the
transportation problem
Correct Option: D
Methods for finding the initial tableau for the transportation problem
- Northwest corner
- Minimum cost of the row
- Russell’s approximation method
Concept:Optimization
Concept Field:NA
Question :8
(A) 80
(B) 85
(C) 83
(D) 81
Correct Option: C
Explanation:
Cost = 7 × 2 + 4 × 3 + 1 × 8 + 4 × 7 + 1 × 7 + 2 × 7
= 14 + 12 + 8 + 28 + 7 + 14
= 83
Concept:Optimization
Concept Field:NA
Question :9
Explanation:
Max Z = 5x1 + 7x2
Subject to,
2x1 + x2 >= 8
x1 + 2x2 >=10
x1 x2 >= 0
2x1 + x2 = 8
x1 = 0 x2 = 8 (0, 8) (away)
x1 = 4 x2 = 0 (4, 0)
x1 + 2x2 = 10
x1 = 0 x2 = 5 (away)
x1 = 10 x2 = 0
Concept:Optimization
Concept Field:NA
Question :10
Min Z = 20 x1 + 10 x2
S.T. x1 + x2 ≥ 10
3 x1+ 2 x2 ≥ 24
x1, x2, ≥ 0
W1 + 2W2 <= 10
W1, W2 ≥ 0
W1 + 2W2 <= 10
W1, W2 ≥ 0
W1 + 2W2 <= 10
W1, W2 ≥ 0
W1 + 2W2 >= 10
W1, W2 ≥ 0
Correct Option: A
Explanation:
W1 + 2W2 <= 10
W1, W2 ≥ 0
Concept:Preliminaries
Concept Field:NA
Question: 11
Correct Option: A
Explanation:
Concept:Linked Lists
Concept Field:NA
Question:12
Time and Space Complexity to display a Linked List from the end using
stack
Correct Option: C
Explanation:
Time Complexity to display a Linked List from the end using stack
: O(n).
Space Complexity to display a Linked List from the end using stack
Question:13
A queue is set up in a circular array A[O..n - 1] with front and rear defined
as usual. Assume that n – 1 locations in the array are available for
storing the elements (with the other element being used to detect
full/empty condition). Formula for the number of elements in the queue
in terms of rear, front, and n, when rear!= front .
Correct Option: C
Explanation:
the number of elements in the queue in terms of rear, front, and n, when
rear!= front ,
Concept:Trees
Question:14
(A) 2h + 1 – 1 nodes
(B) 2h – 1 nodes
(C) 2h + 1 nodes
(D) 2h + 1 +1 nodes
Correct Option: A
Explanation:
The upper bound on the number of nodes in an AVL tree of height h
with 2h + 1 – 1 nodes
Concept:Trees
Question:15
(A) 5y2*^3y*-2+
(B) 5 y 2 ^ * 3* y - 2 +
(C) 5y2^*3y*-2+
(D) 5y2^*3y-*2+
Correct Option: C
Explanation:
Question:16
Correct Option: B
Explanation:
The shortest path problem uses a greedy method: Always pick the next
closest vertex to the source.
Concept Field:NA
Question:17
How many simple directed graphs with no parallel edges and self-loops
are possible in terms of V.
(A) (V) × (V – 1)2.
(B) ((V) × (V + 1))/2.
(C) (V) × (V – 1).
(D) ((V) × (V – 1))/2.
Correct Option: C
Explanation:
Sub Concept:Sorting
Question:18
Insertion sort, Selection sort, Merge sort, Heap sort, Which of these are
stable?
Correct Option: B
Selection sort: No
Heap sort: No
Topic : Algorithms
Concept:Pattern-Matching Algorithms
Sub Concept:NA
Concept Field:NA
Question:19
Correct Option: D
Explanation:
Topic : Algorithms
Concept:NP-Complete Problems
Concept Field:NA
Question : 20
(a) R is NP-complete
(b) R is NP-hard
(c) Q is NP-complete
(d) Q is NP -hard.
Correct Option: B
Explanation:
Concept:Process Management
Sub Concept:Processes
Question : 21
Correct Option: C
Explanation:
Concept:Process Management
Sub Concept:Processes
Question : 22
Correct Option: D
Explanation:
In general, the operating system must save the state of the currently
running process and restore the state of the process scheduled to be run
next. Saving the state of a process typically includes the values of all the
CPU registers in addition to memory allocation. Context switches must
also perform many architecture-specific operations, including flushing
data and instruction caches.
Concept:Process Management
Sub Concept:Semaphores
Question : 23
A. 28
B. 12
C. 6
D. 42
Correct Option: C
Explanation:
10-18+14= 6
Concept:Process Management
Sub Concept:Deadlocks
Question : 24
Correct Option: C
Explanation:
Demand< #process+#resources
2n<n+10
n<10
n=9
Concept:Memory Management
Sub Concept:Paging
Concept Field:NA
Question : 25
(A) 200 ns
(B) 250 ns
(C) 225 ns
(D) 275 ns
Correct Option: B
Explanation:
Effective access time = 0.75 × (200 nanoseconds) + 0.25 × (400
nanoseconds) = 250 nanoseconds.
Concept:Memory Management
Question : 26
(b) The processor cache organization can be made more efficient now
Correct Option: C
Concept:Memory Management
Sub Concept:Page Replacement
Question : 27
1,2,3,4,2,1,5,6,2,1
(A) 6
(B) 7
(C) 8
(D) 9
Correct Option: A
Explanation:
Concept:Security
Question : 28
Correct Option: C
Explanation:
Concept:Storage Management
Question : 29
(A) CSCAN
(B) SCAN
(C) SSTF
(D) FCFS
Correct Option: B
Explanation:
Concept:Process Management
Sub Concept:Threads
Question : 30
Many user level threads to be mapped to many kernel threads, is known
as
Correct Option: A
Explanation:
Concept:Database Normalization
Concept Field:NA
Question : 31
Then {AB}+
(A) {ABCEGH}
(B) {ABCDEFGH}
(C) {ABDEFGH}
(D) {ABCEFGH}
Correct Option: B
Explanation:
{AB}+={ABCDEFGH}
Using trivial and non trivial functional dependencies,
A→ E,
AC→ D,
B→ CFGH,
Concept:SQL
Question : 32
Correct Option: B
Explanation:
The UNION ALL operator returns rows for the combined queries along
with duplicate values
Concept:Database Normalization
Question : 33
Correct Option: C
Explanation:
The value written by the transaction T2 is lost because of the write of the
transaction T1.This is known as lost update problem.
Concept:Database Normalization
Concept Field:NA
Question : 34
Correct Option : C
Explanation:
According to two-phase locking, locks can not be acquired after the first
unlock action.
Concept:Database Normalization
Concept Field:NA
Question : 35
Correct Option: D
Explanation:
Question : 36
Explanation:
Correct Statement:
Physical Data Independence – the ability to modify the physical schema
without changing the logical schema.
Question : 37
Explanation:
Both Statements are true.
(S1) The deferred database modification scheme records all
modifications to the log, but defers all the writes to after partial commit
Concept:NA
Sub Concept:NA
Concept Field:NA
Question : 38
An index whose search key specifies an order different from the
sequential order of the file, is called
Correct Option: C
Explanation:
Concept:Database Normalization
Question : 39
Correct Option: B
Explanation:
Concept:Database Normalization
Question : 40
(A) 1
(B) 2
(C) 3
(D) 4
Correct Option: B
Concept:Process
Concept Field:NA
Question : 41
________________ is a consistent method for describing problems and
solutions within the context of the software process.
(A) Software process
(B) Task Set
(C) Umbrella activity
(D) Process Pattern
Correct Option:D
Explanation:
Process pattern is a consistent method for describing problems and
solutions within the context of the software process.
Concept:Process
Concept Field:NA
Question : 42
When to use Structured Evolutionary Prototyping Model
(i) Requirements are unstable or have to be clarified
(ii)Risk, funding, schedule, program complexity, or need for early
realization of benefits
(A) Only (i)
(B) Only (ii)
(C) Both (i) and (ii)
(D) None of the above
Correct Option: A
Explanation:
Structured Evolutionary Prototyping Model when Requirements are
unstable or have to be clarified
Topic : Software Engineering
Concept:Process
Concept Field:NA
Question : 43
Concept:Software Requirements
Concept Field:NA
Question : 44
Which of the following are not functional Requirements
(A) Availability
(B) External Interface
(C) Audit Tracking
(D) Authentications
Correct Option: A
Explanation :
Availability is a not functional requirement. functional Requirements
- External Interface
- Audit Tracking
- Authentications
Concept:Software Design
Sub Concept:Modularity
Concept Field:NA
Question : 45
Match the following
Group I Group II
Correct Option:B
Explanation:
Concept Field:NA
Question : 46
Which of the following is not type of Cohesion:
(A) Temporal Cohesion
(B) Functional Cohesion
(C) Common Cohesion
(D) Sequential Cohesion
Correct Option: C
Explanation: Type of Cohesion
- Temporal Cohesion
- Functional Cohesion
- Sequential Cohesion
Concept Field:NA
Question : 47
Consider a Basic Constructive Cost Model model where E is the effort
applied in person-months, D is the development time in chronological
months, KLOC is the estimated number of delivered lines of code (in
thousands) and ab and cb are multiplicative factors while cb, db are
exponential factors. The basic COCOMO equations are of the form.
Correct Option : A
Explanation:
In Basic Cocomo model Effort can be calculated by E = a b(KLOC) exp(bb),
and duration can be calculated by D = cb(E) exp(db)
Sub Concept:NA
Concept Field:NA
Question : 48
Restructuring or re-writing part or all of a legacy system without
changing its functionality
(A) Reuse Engineering
(B) Re - engineering
(C) Reverse Engineering
(D) Reusability
Correct Option: B
Explanation:
Concept Field:NA
Question : 49
Consider the statements below
(S1) Regression testing allows the software team to assess its project on
a frequent basis.
(S2) Smoke Testing re-executes a small subset of tests that have
already been conducted.
Which of the above is correct.
(A) Only S1
(B) Only S2
(C) Both S1 and S2
(D) None of the above
Correct Option: D
Explanation:
(S1) Regression testing re-executes a small subset of tests that have
already been conducted.
(S2) Smoke Testing allows the software team to assess its project on a
frequent basis.
Concept Field:NA
Question : 50
Which of the following is not System Testing
(A) Alpha Testing
(B) Recovery testing
(C) Security testing
(D) Performance testing
Correct Option: A
Explanation:
System Testing are
- Recovery testing
- Security testing
- Performance testing
Topic : Computation & Compilers: Theory
Concept:Regular Language Models
Concept Field:NA
Question : 51
Explanation:
Concept Field:NA
Question : 52
Correct Option : A
Explanation:
The set of regular languages is closed under the union operation, i.e., if A
and B are regular languages over the same alphabet Σ, then A ∪ B is also a
regular language is also decidable problem.
Concept Field:NA
Question : 53
A context-free grammar G = (V, Σ, R, S) is said to be in Chomsky normal
form, if every rule in R in form,
(i). A → BC, where A, B, and C are elements of V , B !=
S, and C != S.
(ii). A → a, where A is an element of V and a is an
element of Σ.
(iii)S → eps, where S is the start variable.
(A) (i) or (ii)
(B) (ii) or (iii)
(C) (i) or (iii)
(D) Any of the above form
Correct Option: D
Concept Field:NA
Question : 54
Consider the languages
L1= {a n b a2n b a3n : n ≥ 0}.
L2= {a nb na n b n : n ≥ 0}.
L3= { w ∈ {a, b, c} ∗ : w contains more b’s than a’s and w contains
more c’s than a’s }.
Which of the following statements is true.
(A) L1,L2 is CFL but L3 is not CFL
(B) L3,L2 is CFL but L1 is not CFL
(C) L1,L2 and L3 are not CFL
(D) L1 is CFL , L2 and L3 are not CFL
Correct Option: C
L1= {a n b a2n b a3n : n ≥ 0} is not CFL
L2= {a nb na n b n : n ≥ 0} is not CFL
L3= { w ∈ {a, b, c} ∗ : w contains more b’s than a’s and w contains
more c’s than a’s } is not CFL.
Concept Field:NA
Question : 55
Which of the following computational models are equivalent
(i) One-tape Turing machines.
(ii). k-tape Turing machines, for any k ≥ 1.
(iii) Non-deterministic Turing machines.
(A) (i) and (ii) are equivalent but (iii) not
(B) (ii) and (iii) are equivalent but (i) not
(C) (i) and (iii) are equivalent but (ii) not
(D) All three (i) , (ii) and (iii) are equivalent
Correct Option: D
Explanation:
Concept Field:NA
Question : 56
Consider the statements
(S1) ANFA = { M is a nondeterministic finite automaton that accepts the
string w} is decidable.
(S2) L = {(P, w): P is a Java program that terminates on the input string
w} is undecidable.
Which of the following is correct.
(A) Only S1
(B) Only S2
(C) Both S1 and S2
(D) None of the above
Correct Option: C
Explanation:
Both statements are true.
(S1)ANFA = { M is a nondeterministic finite automaton that accepts the
string w} is decidable.
(S2) L = {(P, w): P is a Java program that terminates on the input string
w} is undecidable.
Sub Concept:NA
Concept Field:NA
Question : 57
Information about the name is entered into the symbol table during
____________ and ___________.
Correct Option: A
Explanation:
Information about the name is entered into the symbol table during
lexical and syntactic analysis.
Sub Concept:NA
Concept Field:NA
Question : 58
Syntax directed translation subroutines generate --------------- code.
(A)intermediate
(B)source
(C)object
(D)error
Correct Option: A
Explanation:
Syntax directed translation subroutines generate intermediate code.
Sub Concept:NA
Concept Field:NA
Question : 59
The first of S.
Correct Option: A
Explanation:
FIRST(true) = { “true” }
FIRST(false) = { “false” }
FIRST( (S) ) = { “(“ }
FIRST( S and S ) = FIRST( S or S ) = FIRST( S ) = { “(“, “true”, “false” }
Question : 60
Correct Option: D
Concept Field:NA
Question : 61
Consider the logic diagram
Logic expression for above diagram
(A) F = ABC+ AC'+ A'C
(B) F = ABC+ ABC'+ AB'C
(C) F = ABC+ ABC'+ A'BC
(D) F = ABC+ ABC'+ A'C
Correct Option: D
Explanation:
Question : 62
Consider the Boolean function in sum-of-products
Correct Option: A
Explanation:
F=(A’+C)(B+C)(A’+B+D)
Question : 63
Consider A sequential circuit has two D flip-flops A and B, two inputs x
and y , and one output z.
The flip-flop input equations and the circuit output are
(A) DA = x'y + x’A; DB = x'B + xA; z = B
(B) DA = x'y’ + xA; DB = x'B + xA; z = B
(C) DA = x'y + xA; DB = x'B + x’A’; z = B
(D) DA = x'y + xA; DB = x'B + xA; z = B
Correct Option: D
Explanation:
The sequential circuit has two D flip-flops A and B, two inputs x and y ,
and one output z. The flip-flop input equations and the circuit output are
DA = x'y + xA; DB = x'B + xA; z = B
Sub Concept:Registers
Question : 64
The content of a 4-bit register is initially 1101. The register is shifted six
times to the right with the serial input being 101101. What is the content
of the register after shift
(A) 1111
(B) 0110
(C) 1101
(D) 1011
Correct Option: D
Explanation:
Question : 65
Question : 66
An instruction is stored at location 300 with its address field at location
301 . The address field has the value 400. A processor register R 1
contains the number 200.
The effective address if the direct addressing mode is used
(A) 400
(B) 301
(C) 600
(D) 200
Correct Option: A
Explanation:
Address field has value 400
Question : 67
An instruction is stored at location 300 with its address field at location
301 . The address field has the value 400. A processor register R 1
contains the number 200.
The effective address if the register indirect addressing mode is used
(A) 400
(B) 301
(C) 600
(D) 200
Correct Option: D
Question : 68
An instruction is stored at location 300 with its address field at location
301 . The address field has the value 400. A processor register R 1
contains the number 200.
The effective address if the register indexed addressing mode is used
(A) 400
(B) 301
(C) 600
(D) 200
Correct Option: C
Explanation:
Indexed: 200 + 400 = 600
Sub Concept:Pipelining
Concept Field:NA
Question : 69
A pipeline has 4-phases with duration 60ns,50ns,90ns and 80 ns. There
is latch delay of 10 ns.The pipelining cycle time
(A) 90ns
(B) 100ns
(C) 80ns
(D) 110 ns
Correct Option: B
Explanation:
max(50,60,80,90)+10 = 100 ns
Sub Concept:Pipelining
Concept Field:NA
Question : 70
A pipeline has 4-phases with duration 60ns,50ns,90ns, and 80 ns. There
is latch delay of 10 ns. The pipelining time for 1000 tasks
(A) 1003
(B) 10030
(C) 100300
(D) None of the above
Correct Option: C
Explanation:
(1000+4-1)x100=100300
Sub Concept:Scripting
Concept Field:NA
Question : 71
Which of these is a correct method to create a new array in Java Script?
A. var myArray = ();
B. var myArray = [];
C. var myArray = new Array[];
D. var myArray = {};
Correct Option: B
Explanation:
correct method to create a new array in Java Script
var myArray = [];
Sub Concept:Java
Concept Field:NA
Question : 72
Correct Option: D
Concept Field:NA
Question : 73
XML uses the features of
A. HTML
B. XHTML
C. VML
D. SGML
Correct Option: D
Explanation:
Concept Field:NA
Question: 74
Assume that the size of an integer is 32 bit. What is the output of the
following program?
#include<stdio.h>
struct st
{ int x;
int y; };
int main()
(A) 4
(B) 8
Correct Option: B
Explanation:
Sub Concept:Encapsulation
Concept Field:NA
Question: 75
Correct Option: A
Explanation:
Encapsulation can be achieved in C++ using an access specifier.
Concept Field:NA
Question: 76
(A) If we derive an abstract class and do not implement all the abstract
methods, then the derived class should also be marked as abstract
using ‘abstract’ keyword
Correct Option:D
Question: 77
Explanation:
Sub Concept:Clipping
Question: 78
(A) AND
(B) OR
(C) NOT
(D) NOR
Correct Option: B
Explanation:
Sub Concept:Projections
Concept Field:NA
Question: 79
Correct Option: B
Sub Concept:Projections
Concept Field:NA
Question: 80
A. (3,7)
B. (7,3)
C. (3,5)
D. (5,8)
Correct Option:
x′=xcosθ−ysinθ
y′=xsinθ+ycosθ
After putting value we have new co-ordinates (3,7)
Topic : Data Comm. & Computer Networks
Concept:Introduction
Question: 81
Layer Description
--------- -----------------
a)Transport P)Framing
Answer:
Question: 82
a]8 Subnets
b]12 Subnets
c]4 Subnets
d]62 Subnets
Correct Option: C
Explanation:
Question: 83
(A) 32 hosts
(B) 64 hosts
(C) 62 hosts
(D) 48 hosts
Correct Option: C
Question: 84
Correct Option: B
Explanation:
Question: 85
Correct option: B
Question: 86
(A) 192.168.10.255
(B) 192.168.10.254
(C) 192.168.10.63
(D) 192.168.10.64
Correct Option: C
Explanation:
Concept Field:NA
Question: 87
Stream Control Transmission Protocol works in layer_______
Correct Option: B
Question: 88
Correct Option: B
Sub Concept:Basics
Concept Field:GEO 173
Question: 89
Correct Option: C
Explanation: Geostationary satellites are not useful for global coverage
for small mobile phones and data transmission, typically used for radio
and TV transmission
Question: 90
In GoBack N ARQ,if sequence bits are taken as 5, then what would be the
sender window size and receiver's windows size.
Correct Option: B
Explanation:
Question: 91
Correct Option: C
Explanation: The Hill-Climbing algorithm terminates when no neighbour
has higher value.
Question: 92
Correct Option: D
Explanation:
- Search Algorithm
- Heuristic Search Algorithm
- Greedy Search Algorithm
Sub Concept:Planning
Concept Field:Overview
Question: 93
(A) Deterministic
(B) Fully Observable
(C) Single Agent
(D) Stochastic
Correct Option: A
Concept Field:NA
Question: 94
Correct Option: A
Explanation:
Depth-First Search takes less memory since only the nodes on the
current path are stored, but in Breadth First Search, all of the tree that
has been generated must be stored.
Concept Field:NA
Question: 95
(A) Learning
(B) Observing
(C) Perceiving
(D) None of the mentioned
Correct Option: A
Question: 96
Correct Option: A
Concept Field:Introduction
Question: 97
Correct Option: A
Explanation:
Concept Field:Introduction
Question: 98
An activation value in an artificial neural network_______?
Sub Concept:Planning
Question: 99
Correct Option: D
Explanation:
Concept:Advanced Topics
Question: 100
Correct Option: D
Explanation: