General Aptitude

10 questions, 15 marks

  1. General AptitudeMCQ1 markEasy (estimate)

    Q.1 (GA Q.1)

    Out of the following four sentences, select the most suitable sentence with respect to grammar and usage.

    Verbal Ability and Grammar

  2. General AptitudeMCQ1 markEasy (estimate)

    Q.2 (GA Q.2)

    A rewording of something written or spoken is a ______________.

    Verbal Ability and Grammar

  3. General AptitudeMCQ1 markEasy (estimate)

    Q.3 (GA Q.3)

    Archimedes said, "Give me a lever long enough and a fulcrum on which to place it, and I will move the world." The sentence above is an example of a ___________ statement.

    Verbal Ability and Grammar

  4. General AptitudeMCQ1 markMedium (estimate)

    Q.4 (GA Q.4)

    If 'relftaga' means carefree, 'otaga' means careful and 'fertaga' means careless, which of the following could mean 'aftercare'?

    Verbal Ability and Grammar

  5. General AptitudeMCQ1 markMedium (estimate)

    Q.5 (GA Q.5)

    A cube is built using 64 cubic blocks of side one unit. After it is built, one cubic block is removed from every corner of the cube. The resulting surface area of the body (in s...

    Spatial Aptitude

  6. General AptitudeMCQ2 marksMedium (estimate)

    Q.6 (GA Q.6)

    A shaving set company sells 4 different types of razors, Elegance, Smooth, Soft and Executive. Elegance sells at Rs. 48, Smooth at Rs. 63, Soft at Rs. 78 and Executive at Rs. 17...

    Data Interpretation and Graphs

  7. General AptitudeMCQ2 marksEasy (estimate)

    Q.7 (GA Q.7)

    Indian currency notes show the denomination indicated in at least seventeen languages. If this is not an indication of the nation's diversity, nothing else is. Which of the foll...

    Verbal Ability and Grammar

  8. General AptitudeMCQ2 marksMedium (estimate)

    Q.8 (GA Q.8)

    Consider the following statements relating to the level of poker play of four players P, Q, R and S. I. P always beats Q II. R always beats S III. S loses to P only sometimes IV...

    Analytical and Logical Reasoning

  9. General AptitudeMCQ2 marksEasy (estimate)

    Q.9 (GA Q.9)

    If , which of the following is a factor of ?

    Quantitative Aptitude

  10. General AptitudeMCQ2 marksMedium (estimate)

    Q.10 (GA Q.10)

    In a process, the number of cycles to failure decreases exponentially with an increase in load. At a load of 80 units, it takes 100 cycles for failure. When the load is halved,...

    Quantitative Aptitude

Computer Science and Information Technology

55 questions, 85 marks

  1. Engineering MathematicsNAT1 markMedium (estimate)

    Q.11 (CS Q.1)

    Let represent the following propositions. is a composite number is a perfect square is a prime number The integ...

    Propositional and First-Order Logic

  2. Engineering MathematicsMCQ1 markEasy (estimate)

    Q.12 (CS Q.2)

    Let be the number of -bit strings that do NOT contain two consecutive 1s. Which one of the following is the recurrence relation for ?

    Combinatorics, Counting, Recurrence Relations and Generating Functions

  3. Engineering MathematicsNAT1 markEasy (estimate)

    Q.13 (CS Q.3)

    The value of is _____.

    Calculus

  4. Engineering MathematicsNAT1 markEasy (estimate)

    Q.14 (CS Q.4)

    A probability density function on the interval is given by and outside this interval the value of the function is zero. The value of is _____.

    Probability and Statistics

  5. Engineering MathematicsNAT1 markEasy (estimate)

    Q.15 (CS Q.5)

    Two eigenvalues of a real matrix are and . The determinant of is _____.

    Linear Algebra

  6. Digital LogicMCQ1 markEasy (estimate)

    Q.16 (CS Q.6)

    Consider the Boolean operator with the following properties: , , and . Then is equivalent to

    Boolean Algebra and Logic Minimization

  7. Digital LogicNAT1 markEasy (estimate)

    Q.17 (CS Q.7)

    The 16-bit 2's complement representation of an integer is 1111 1111 1111 0101; its decimal representation is _____.

    Number Representations and Computer Arithmetic

  8. Digital LogicNAT1 markMedium (estimate)

    Q.18 (CS Q.8)

    We want to design a synchronous counter that counts the sequence 0-1-0-2-0-3 and then repeats. The minimum number of J-K flip-flops required to implement this counter is _____.

    Sequential Circuits, Counters and Registers

  9. Computer Organization and ArchitectureNAT1 markEasy (estimate)

    Q.19 (CS Q.9)

    A processor can support a maximum memory of 4 GB, where the memory is word-addressable (a word consists of two bytes). The size of the address bus of the processor is at least _...

    Machine Instructions and Addressing Modes

  10. Data StructuresMCQ1 markEasy (estimate)

    Q.20 (CS Q.10)

    A queue is implemented using an array such that ENQUEUE and DEQUEUE operations are performed efficiently. Which one of the following statements is CORRECT ( refers to the num...

    Stacks and Queues

  11. AlgorithmsNAT1 markMedium (estimate)

    Q.21 (CS Q.11)

    Consider the following directed graph: Directed acyclic graph with six vertices labeled a, b, c, d, e, and f. Directed edges are from a to b, a to d, b to c, d to e, c to f, and...

    Graph Traversals, Topological Sort and Connectivity

  12. Programming in CMCQ1 markEasy (estimate)

    Q.22 (CS Q.12)

    Consider the following C program. void f(int, short); void main() { int i = 100; short s = 12; short *p = &s; __________ ; // call to f() } Which one of the following e...

    Pointers, Arrays and Strings

  13. AlgorithmsMCQ1 markEasy (estimate)

    Q.23 (CS Q.13)

    The worst case running times of Insertion sort, Merge sort and Quick sort, respectively, are:

    Searching and Sorting Algorithms

  14. AlgorithmsMCQ1 markMedium (estimate)

    Q.24 (CS Q.14)

    Let be a weighted connected undirected graph with distinct positive edge weights. If every edge weight is increased by the same value, then which of the following statements...

    Minimum Spanning Trees

  15. Programming in CNAT1 markEasy (estimate)

    Q.25 (CS Q.15)

    Consider the following C program. #include <stdio.h> void mystery(int *ptra, int *ptrb) { int *temp; temp = ptrb; ptrb = ptra; ptra = temp; } int main() { int a = 2016, b =...

    Pointers, Arrays and Strings

  16. Theory of ComputationMCQ1 markEasy (estimate)

    Q.26 (CS Q.16)

    Which of the following languages is generated by the given grammar?

    Context-Free Grammars, Pushdown Automata and CFLs

  17. Theory of ComputationMCQ1 markMedium (estimate)

    Q.27 (CS Q.17)

    Which of the following decision problems are undecidable? I. Given NFAs and , is ? II. Given a CFG and a strin...

    Decidability, Reducibility and Undecidability

  18. Theory of ComputationMCQ1 markEasy (estimate)

    Q.28 (CS Q.18)

    Which one of the following regular expressions represents the language: the set of all binary strings having two consecutive 0s and two consecutive 1s?

    Regular Expressions, Finite Automata and Regular Languages

  19. Compiler DesignNAT1 markMedium (estimate)

    Q.29 (CS Q.19)

    Consider the following code segment. x = u - t; y = x * v; x = y + w; y = t - z; y = x * y; The minimum number of total variables required to convert the above code...

    Intermediate Code Generation, Data Flow Analysis and Code Optimization

  20. Operating SystemsMCQ1 markEasy (estimate)

    Q.30 (CS Q.20)

    Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling al...

    CPU Scheduling

  21. DatabasesMCQ1 markEasy (estimate)

    Q.31 (CS Q.21)

    Which of the following is NOT a superkey in a relational schema with attributes and primary key ?

    ER Model and Relational Schema Design

  22. DatabasesMCQ1 markEasy (estimate)

    Q.32 (CS Q.22)

    Which one of the following is NOT a part of the ACID properties of database transactions?

    Transactions, Serializability and Concurrency Control

  23. DatabasesMCQ1 markMedium (estimate)

    Q.33 (CS Q.23)

    A database of research articles in a journal uses the following schema.…

    Functional Dependencies and Normalization

  24. Computer NetworksMCQ1 markEasy (estimate)

    Q.34 (CS Q.24)

    Which one of the following protocols is NOT used to resolve one form of address to another one?

    Application Layer: DNS, HTTP, SMTP, FTP

  25. Computer NetworksMCQ1 markMedium (estimate)

    Q.35 (CS Q.25)

    Which of the following is/are example(s) of stateful application layer protocols? (i) HTTP (ii) FTP (iii) TCP (iv) POP3

    Application Layer: DNS, HTTP, SMTP, FTP

  26. Engineering MathematicsNAT2 marksMedium (estimate)

    Q.36 (CS Q.26)

    The coefficient of in is _____.

    Combinatorics, Counting, Recurrence Relations and Generating Functions

  27. Engineering MathematicsNAT2 marksMedium (estimate)

    Q.37 (CS Q.27)

    Consider the recurrence relation , . Let . The value of is _____.

    Combinatorics, Counting, Recurrence Relations and Generating Functions

  28. Engineering MathematicsNAT2 marksHard (estimate)

    Q.38 (CS Q.28)

    A function , defined on the set of positive integers , satisfies the following properties…

    Sets, Relations, Functions, Partial Orders and Lattices

  29. Engineering MathematicsNAT2 marksEasy (estimate)

    Q.39 (CS Q.29)

    Consider the following experiment. Step 1. Flip a fair coin twice. Step 2. If the outcomes are (TAILS, HEADS) then output Y and stop. Step 3. If the outcomes are either (HEADS,...

    Probability and Statistics

  30. Digital LogicMCQ2 marksMedium (estimate)

    Q.40 (CS Q.30)

    Consider the two cascaded 2-to-1 multiplexers as shown in the figure. Logic circuit diagram of two cascaded 2-to-1 multiplexers. The first multiplexer has select input P, data i...

    Combinational Circuits

  31. Computer Organization and ArchitectureNAT2 marksMedium (estimate)

    Q.41 (CS Q.31)

    The size of the data count register of a DMA controller is 16 bits. The processor needs to transfer a file of 29,154 kilobytes from disk to main memory. The memory is byte addre...

    I/O Interface, Interrupts and DMA

  32. Computer Organization and ArchitectureNAT2 marksEasy (estimate)

    Q.42 (CS Q.32)

    The stage delays in a 4-stage pipeline are 800, 500, 400 and 300 picoseconds. The first stage (with delay 800 picoseconds) is replaced with a functionally equivalent design invo...

    Instruction Pipelining and Hazards

  33. Digital LogicMCQ2 marksMedium (estimate)

    Q.43 (CS Q.33)

    Consider a carry lookahead adder for adding two -bit integers, built using gates of fan-in at most two. The time to perform addition using this adder is

    Number Representations and Computer Arithmetic

  34. Programming in CMCQ2 marksEasy (estimate)

    Q.44 (CS Q.34)

    The following function computes the maximum value contained in an integer array p[] of size (). int max(int *p, int n) { int a = 0, b = n - 1; while (_______...

    Pointers, Arrays and Strings

  35. Programming in CMCQ2 marksMedium (estimate)

    Q.45 (CS Q.35)

    What will be the output of the following C program? #include <stdio.h> void count(int n) { static int d = 1; printf("%d ", n); printf("%d ", d); d++; if (n > 1) count(n - 1...

    Functions, Recursion, Scope and Storage Classes

  36. Compiler DesignMCQ2 marksHard (estimate)

    Q.46 (CS Q.36)

    What will be the output of the following pseudo-code when parameters are passed by reference and dynamic scoping is assumed? a = 3; void n(x) { x = x * a; print(x); } vo...

    Runtime Environments and Parameter Passing

  37. Data StructuresMCQ2 marksMedium (estimate)

    Q.47 (CS Q.37)

    An operator delete(i) for a binary heap data structure is to be designed to delete the item in the -th node. Assume that the heap is implemented in an array and refers...

    Binary Heaps and Priority Queues

  38. AlgorithmsNAT2 marksMedium (estimate)

    Q.48 (CS Q.38)

    Consider the weighted undirected graph with 4 vertices, where the weight of edge is given by the entry in the matrix …

    Single-Source and All-Pairs Shortest Paths

  39. AlgorithmsNAT2 marksMedium (estimate)

    Q.49 (CS Q.39)

    Let be a complete undirected graph on 4 vertices, having 6 edges with weights being 1, 2, 3, 4, 5, and 6. The maximum possible weight that a minimum weight spanning tree of...

    Minimum Spanning Trees

  40. AlgorithmsMCQ2 marksMedium (estimate)

    Q.50 (CS Q.40)

    is an undirected simple graph in which each edge has a distinct weight, and is a particular edge of . Which of the following statements about the minimum spa...

    Minimum Spanning Trees

  41. Data StructuresNAT2 marksMedium (estimate)

    Q.51 (CS Q.41)

    Let denote a queue containing sixteen numbers and be an empty stack. returns the element at the head of the queue without removing it from . Simi...

    Stacks and Queues

  42. Theory of ComputationMCQ2 marksMedium (estimate)

    Q.52 (CS Q.42)

    Consider the following context-free grammars: …

    Context-Free Grammars, Pushdown Automata and CFLs

  43. Theory of ComputationMCQ2 marksMedium (estimate)

    Q.53 (CS Q.43)

    Consider the transition diagram of a PDA given below with input alphabet and stack alphabet . is the initial stack symbol. Let den...

    Context-Free Grammars, Pushdown Automata and CFLs

  44. Theory of ComputationMCQ2 marksMedium (estimate)

    Q.54 (CS Q.44)

    Let be a recursive language and be a recursively enumerable but not recursive language. Let and be two languages such that reduces to , and ...

    Decidability, Reducibility and Undecidability

  45. Programming in CNAT2 marksMedium (estimate)

    Q.55 (CS Q.45)

    The attributes of three arithmetic operators in some programming language are given below. Operator Precedence Associativity Arity + High Left Binary - Medium Right Binary * Low...

    Data Types, Operators and Control Flow

  46. Compiler DesignMCQ2 marksEasy (estimate)

    Q.56 (CS Q.46)

    Consider the following Syntax Directed Translation Scheme (SDTS), with non-terminals and terminals …

    Syntax-Directed Translation

  47. Operating SystemsNAT2 marksEasy (estimate)

    Q.57 (CS Q.47)

    Consider a computer system with 40-bit virtual addressing and page size of sixteen kilobytes. If the computer system has a one-level page table per process and each page table e...

    Memory Management and Virtual Memory

  48. Operating SystemsNAT2 marksEasy (estimate)

    Q.58 (CS Q.48)

    Consider a disk queue with requests for I/O to blocks on cylinders 47, 38, 121, 191, 87, 11, 92, 10. The C-LOOK scheduling algorithm is used. The head is initially at cylinder n...

    File Systems, I/O and Disk Scheduling

  49. Operating SystemsNAT2 marksMedium (estimate)

    Q.59 (CS Q.49)

    Consider a computer system with ten physical page frames. The system is provided with an access sequence , where each i...

    Memory Management and Virtual Memory

  50. Operating SystemsMCQ2 marksHard (estimate)

    Q.60 (CS Q.50)

    Consider the following proposed solution for the critical section problem. There are processes: . In the code, function pmax returns an integer not smal...

    Process Synchronization and Concurrency

  51. DatabasesMCQ2 marksEasy (estimate)

    Q.61 (CS Q.51)

    Consider the following two phase locking protocol. Suppose a transaction accesses (for read or write operations), a certain set of objects . This is don...

    Transactions, Serializability and Concurrency Control

  52. Computer NetworksMCQ2 marksEasy (estimate)

    Q.62 (CS Q.52)

    Consider that wants to send a message that is digitally signed to . Let the pair of private and public keys for and be denoted by and for…

    Application Layer: DNS, HTTP, SMTP, FTP

  53. Computer NetworksNAT2 marksEasy (estimate)

    Q.63 (CS Q.53)

    An IP datagram of size 1000 bytes arrives at a router. The router has to forward this packet on a link whose MTU (maximum transmission unit) is 100 bytes. Assume that the size o...

    IPv4/IPv6 Addressing, Subnetting, CIDR, ARP, ICMP and NAT

  54. Computer NetworksNAT2 marksMedium (estimate)

    Q.64 (CS Q.54)

    For a host machine that uses the token bucket algorithm for congestion control, the token bucket has a capacity of 1 megabyte and the maximum output rate is 20 megabytes per sec...

    Transport Layer: UDP, TCP Flow and Congestion Control, Sockets

  55. Computer NetworksNAT2 marksMedium (estimate)

    Q.65 (CS Q.55)

    A sender uses the Stop-and-Wait ARQ protocol for reliable transmission of frames. Frames are of size 1000 bytes and the transmission rate at the sender is 80 Kbps (1Kbps = 1000...

    Data Link Layer: Framing, Error Detection and Sliding Window