Final It Exam Answer Key
Final It Exam Answer Key
B Searching in Binary search requires time in worst case when the array is
sorted
Q.No: 3
then we have
A f(n) =
B f(n) =
C f(n) =
D All are correct
Q.No: 4 Which of the following problems can be solved using greedy approach?
Finding the shortest path between a pair (s, d) of vertices in a weighted undirected
A
graph. Assuming that every weight is positive.
B Fractional knapsack problem
C A problem which exhibits optimal substructure property.
D All are correct
Q.No: 7 Which is not a correct statement for binary heap data structure with n nodes?
A It can be efficiently implemented using array data structure.
B It can be used to design a sorting algorithm.
C Both insertion and deletion operations can be performed in constant time.
D Its height is .
The running time of an algorithm A is described by the recurrence T(n) = 7T(n/2)+ n2. A
Rank the functions: n2, lg50(n), nlg(n) by order of growth; that is, find an arrangement g1,
Q.No: 11
g2, g3 of the functions satisfying g1= Ω(g2), g2 =Ω(g3).
A n2, lg50(n), ,nlg(n)
B lg50(n),n2, nlg(n)
C n2, nlg(n), lg50(n),
D lg50(n),nlg(n), n2
Q.No: 14 A binary search tree is generated by inserting in order the following integers:
50, 15, 62, 5, 20, 58, 91, 3, 8, 37, 60, 24
The number of nodes in the left subtree and right subtree of the root respectively is
A (7, 4)
B (4, 7)
C (6, 5)
D (8, 3)
For merging two sorted lists of sizes m and n into a sorted list of size m+ n, we require
Q.No: 15
comparisons of
A O(mn)
B O(log(m + n))
C O(log m)+ O(log n)
D O(m + n)
Q.No: 16 A binary tree T has n leaf nodes. The number of nodes of degree >1 in T is
A n-1
B n
C log2 n
D 2n
Q.No: 17
A T(n) = ( log n)
B T(n) = (log n)
C T(n) = ( )
D T(n) = (n log n)
Consider the two functions f(n) = n, and g(n) = n1+Sin n, then select the correct answer for
the statements:
Q.No: 18
I.f(n) = (g(n))
II.g(n) = O(f(n))
A Both I and II are true.
B Both I and II are false.
C Only I is true
D Only II is true
Q.No: 20
The most important floating-point representation is defined in IEEE Standard 754, adopted
Q.No: 27
in
A 1985
B 1990
C 1970
D 1991
Q.No: 29 A thread
A Is a basic unit of CPU utilization
B Can be in ready, blocked, running, or terminated states
C Is used to implement virtual memory
Both (Is a basic unit of CPU utilization & Can be in ready, blocked, running, or
D
terminated states) are correct
Q.No: 33 The mechanism that brings a page into memory when it is needed is called
A Segmentation
B Fragmentation
C Demand Paging
D Page Replacement
A feasibility study is a short, focused study that aims to answer a number of questions
Q.No: 39
including
Can the system be implemented using current technology and within given cost
A
and schedule constraints?
B Does the system contribute to the overall objectives of the organization?
C Can the system be integrated with other systems which are already in place?
D All are correct
Pick-up the option that is not correct in connection with the software system requirements
Q.No: 42
classification
A Functional requirements
B Domain requirements
C Non-functional requirements
D None of these
Considering the statements below select the correct option that applies
(I) Software project management is an essential part of software engineering.
Q.No: 44 (II) Good management cannot guarantee project success.
(III) Bad management usually results in project failure.
(IV) Software managers are responsible for planning and scheduling project development.
A I and III are correct
B I, III and IV are correct
C III and IV are correct
D All are correct
Which of the following statements is/are not correct?
(I) Quality plan describes developing the skills and experience of the project team
Q.No: 45 members.
(II) Maintenance plan describes the approach, resources and schedule for system
validation.
A II
B I and II
C I
D No sufficient information given to decide
Q.No: 46
Read the following statements and select the option that applies
(I) An IP address does not actually refer to a host
Q.No: 48 (II) An IP address refers to a network interface
(III) If a host is on two networks, then also it must have only one IP address
(IV) Routers have multiple interfaces and thus multiple IP addresses
A I, II and IV are correct
B II, III and IV are correct
C I, II and III are correct
D All are correct
Q.No: 49 In slotted ALOHA, the vulnerable time is ______ the frame transmission time.
A three times
B two times
C the same as
D None of these are correct
In Ethernet addressing, if the least significant bit of the first byte in a destination address is
Q.No: 51
0, the address is
A Multicast
B Unicast
C Broadcast
D None of these are correct
Q.No: 55 If the HTTP protocol is used for accessing the web page, the well-known port number is
A 125
B 25
C 80
D 81
Consider the following statements and select the correct option that applies
(I) DNS stands for Domain Name Server.
Q.No: 59
(II) To identify an entity, TCP/IP protocols use the IP address
(III) TCP/IP uses a DNS client and a DNS server to map a name to an address.
A All are correct
B II and III are correct
C I and II are correct
D Only III is correct
Q.No: 62 Which layer is concerned with the syntax and semantics of the information transmitted?
A Presentation Layer
B Session Layer
C Transport Layer
D Network Layer
In technical descriptions of relational databases the concepts of table, row, and columnare
Q.No: 66
more formally referred to as
A relation, attribute, and tuple, respectively
B tuple, relation, and attribute, respectively
C relation, tuple, and attribute, respectively
D None of these are coorect
Consider the following statements, and select the correct option that applies
(I) The duplication of string data violates one of the best practices for database
normalization which basically states that we should never put the same string data in the
Q.No: 67
database more than once.
(II) If we need the data more than once, we create a numeric key for the data and
reference the actual data using this key.
(III) In practical terms, a string takes up a lot more space than an integer on the disk and
in the memory of our computer, and takes more processor time to compare and sort.
A III is true
B I and II are true
C I and III are true
D All are true
Q.No: 76 The natural join R*R of a relation R with n tuples will result in how many tuples?
A n2 tuples
B n tuples
C tuples
D None of these are correct
Q.No: 81 Which SQL command is used to modify attribute values of one or more selected tuples?
A DELETE
B UPDATE
C INSERT
D None of these are correct
Consider the following statements and select the option that applies.
(I) Objects are the basic run-time entities in an object oriented system.
(II) Objects take up space in the memory and have an associated address like a structure in
Q.No: 83 C.
(III) When program is executed, the objects do not interact by sending message to one
another.
(IV) Classes are known as Abstract Data Types.
A I, II and IV are true
B I and II are true
C I, II and III are true
D All are true
What is the output of the following C program when executed?
#include<stdio.h>
#include<conio.h>
void main()
clrscr();
z=(a-b)>=0?a:b;
printf(“%d”,z);
getch();
}
A 20
B 5
C 25
D It will produce an error.
#include<stdio.h>
Q.No: 86
#include<conio.h>
void main()
{
float f=5.6;
clrscr();
getch();
}
A The value of f is: 5.60
B The value of f is: 5.6
C The value of f is:5.60
D It will give an error
#include<stdio.h>
void main(){
int p, q;
for(q=0;q<2;q++)
k++;
printf("%d\t%d",j,k);
}
A 24
B 44
C 22
D 00
#include<stdio.h>
void main()
for(i=1;i<=n;i++);
printf("Hello\n");
What values for a and b, respectively the following program will print, if the "Call by
reference" parameter transmission technique is followed?
#include<stdio.h>
void main()
{
int a = 10, b = 5;
swap(&a, &b);
int temp;
temp = *a;
*a = *b;
*b = temp;
}
A 5, 10
B 5, 5
C 10, 5
D 10, 10
main(){
Q.No: 94 int j;
for(j=0;j++ <=4;printf("%d\t",j));
}
A 0123
B 1234
C 12345
D 01234
#include<stdio.h>
#include<alloc.h>
Q.No: 97
void main()
struct node
{
int data;
};
p = malloc(sizeof(struct node));
q = malloc(sizeof(struct node));
}
A 12 12
B 88
C 16 16
D None of these are correct
Question Deleted
#include<stdio.h>
void main()
Q.No: 100 static int b[] = {10, 20, 30, 40, 50};
int i;
printf("%d ",i[b]);
}
A 1010 2020 3030 4040 5050
B 10 20 30 40 50
C 12345
D Error