Friday, April 26, 2019

Most frequently asked questions series 5

1) The C language is.
a. A context sensitive language
b. A regular language
c. A context free language
d. None of the above.

2) If a binary tree has height 10 then what is the maximum number of nodes in that tree?
a. 1000
b. 1023
c. 1024
d. 1002

3) The search time in hashing is
a. O(n)
b. O(logn)
c. O(nlogn)
d. O(1)

4) From the given below options, which has the unit as bits/second
a. Propagation speed
b. Propagation time
c. Throughput
d. None of the above.

5)  If the maximum amplitude of a sine wave is 4 units, then minimum amplitude is.
a. 4
b. 2
c. 3
d. -4

6) Which of the following is/are channelization protocol?
a. FDMA (Frequency-Division Multiple Access)
b. TDMA (Time-Division Multiple Access)
c. CDMA (Code-Division Multiple Access)
d. All of the above

Answers

1) c
2) b
3) d
4) c
5) d
6) d

Thursday, April 25, 2019

Most frequently asked questions series 4

1) From the following which of the statement is true
a. Any procedure cannot raise an error and return a system message and error number
b. Error numbers ranging from 20000 to 20999 are system defined error messages
c. Oracle checks uniqueness of user defined messages
d. The Raise_Application_Error is used for raising user defined error messages

2)Which tag can be used to insert a horizontal line on a web page?
a. < hr>
b. < br>
c. < line>
d. < line direction = “horizontal”>

3) Trace the output.
void main()
{
printf("%d",-5%3);
}
a. 1
b. 2
c. -2
d. 2.5

4) Which of the following operation can be applied to pointer variable?
a. Multiplication
b. Division.
c. Addition.
d. All of the above.

5) Interrupts which are initiated by an instruction are
a. Internal
b. External
c. Hardware
d. Software

6) Where does a computer add and compare data?
a. Hard disk
b. Floppy disk
c. CPU chip
d. Memory chip

7) The number of possible binary trees with 5 nodes is.
a. 40
b. 41
c. 42
d. 32

8) Bandwidth can be described as:
a. The range of frequencies in a composite signal.
b. The range of frequencies that a channel can pass.
c. The number of bits per second that a channel can transmit.
d. All of the above.

Answers

1) d
2) a
3) c
4) c
5) d
6) c
7) c
8) d

Wednesday, April 24, 2019

Most Frequently asked questions Series 3

1) If you want to align text to the right side of an block element in a cascading style sheet (CSS) then which of the following property would you use?

a. Right align
b. Justify
c. Left align
d. Text align


2) See the following C declaration
struct v

     int n;
     float a;
}
struct v * x[10];
        
Define x as

a. An array which has the same name as a program name
b. A structure with 10 elments in it
c. An array, where each element is a pointer to a structure of type node
d. A structure of 3 fields and an array of 10 elements


3) Which is the major data structure used in RDBMS?
a. Trees
b. Stacks
c. Graph 
d. Array


4)  Which is the final form of testing used in the COTS software?
a. Beta testing
b. Module testing
c. Integration testing
d. Unit testing


5) From the following ________ is a type of abstraction?
a. Data
b. Design
c. Testing
d. All of the above


6) Which of the following is of importance in a software development life cycle?
a. Planning
b. Designing
c. Testing
d. Requirement gathering


7) From the following statements which one is not a valid deadlock prevention scheme?
a. Number the resources uniquely and never request a lower numbered resource than the last one
b. Release all the resources before requesting for a new resource
c. Request all the resources before execution
d. Never request a resource after releasing any resources


8) What is page cannibalizing?
a. Page swapping or Page replacements
b. Adding timestamps to the page
c. Avoiding page replacements
d. All the above


9)  In which package do we have the gc() method?
a. java.lang package
b. java.util package
c. java.awt package
d. java.io package


10) For using JDBC applications which of the following driver is preferable and efficient?
a. Type 1 driver
b. Type 2 driver
c. Type 3 driver
d. Type 4 driver



Answers
1)    d
2)    c
3)    d
4)    a
5)    a
6)    a
7)    d
8)    a
9)    a
10)  d

Tuesday, April 23, 2019

Most Frequently asked questions series 2

1) Which of the following transport protocols uses UDP?

a. SMTP
b. Telnet
c. HTTP
d. DNS


2) Why are B+ trees preferred over binary trees in databases?

a. Disk capacities are greater than memory capacities
b. Disk access is much slower than memory access
c. Disk data transfer rates are much less than memory data transfer rates
d. Disks are more reliable than memory


3) Which system call results in the sending of the SYN Packets?

a. Socket
b. Connect
c. Bind
d. Listen


4) Which of the following objects can be used in expression and scriplets in JSP without explicitly declaring them?

a. Request and response only
b. Response and session only 
c. Session and request only
d. Session,request and response


5) From the following sorting algorithms which has the lowest worst case complexity?
a. Bubble sort
b. Quick sort
c. Merge sort
d. Selection sort

6) From the following sorting algorithms which algorithm needs the minimum number of swaps
a. Bubble sort
b. Quick sort
c. Merge sort
d. Selection sort

7)  Out of 4 distinct keys how many distinct primary keys can be created?
a. 5
b. 20
c. 45
d. 14

Answers

1) d
2) d
3) a
4) c
5) c
6) d
7) d

Thursday, April 18, 2019

Most frequently asked questions Series 1

1) In an Ethernet local area network, which one of the following statements is TRUE ?
a. 
A station stops to sense the channel once it starts transmitting a frame
b. 
The purpose of the jamming signal is to pad the frames that are smaller than the minimum frame size
c.
A station continues to transmit the packet even after the collision is detected
d.
The exponential backoff mechanism reduces the probability of collision on retransmissions


2) Which of the following statements is FALSE regarding a bridge?
a. 
Bridge is a layer 2 device
b. 
Bridge reduces collision domain
c.
Bridge is used to connect two or more LAN segments
d.
Bridge reduces broadcast domain


3) Which of the following statements is TRUE about CSMA/CD ?
a. 
IEEE 802.11 wireless LAN runs CSMA/CD protocol
b. 
Ethernet is not based on CSMA/CD protocol
c.
CSMA/CD is not suitable for a high propagation delay network like satellite network
d.
There is no contention in a CSMA/CD network


4) Which one of the following statements is FALSE ?
a. 
Packet switching leads to better utilization of bandwidth resources than circuit switching
b. 
Packet switching results in less variation in delay than circuit switching
c.
Packet switching requires more per packet processing than circuit switching
d.
Packet switching can lead to reordering unlike in circuit switching


5) In serial data transmission, every byte of data is padded with a ‘0’ in the beginning and one or two ‘I’ s at the end of byte because
a. 
Receiver is to be synchronized for byte reception
b. 
Receiver recovers lost ‘0’ and ‘1’s from these padded bits
c.
Padded bits are useful in parity computation
d.
None of these


6) There are n stations in a slotted LAN. Each station attempts to transmit with a probability p in each time slot. What is the probability that ONLY one station transmits in a given time slot?
a. 
(1-p)^(n-1)
b. 
np(1-p)^(n-1)
c.
p(1-p)^(n-1)
d.
1-(1-p)^(n-1)


7) In Ethernet when Manchester encoding is used, the bit rate is:
a. 
Half the baud rate
b. 
Twice the baud rate
c.
Same as the baud rate
d.
None of the above


8) Let G(x) be the generator polynomial used for CRC checking. What is the condition that should be satisfied by G(x) to detect odd number of bits in error?
a. 
G(x) contains more than two terms
b. 
G(x) does not divide 1+x^k, for any k not exceeding the frame length
c.
1+x is a factor of G(x)
d.
G(x) has an odd number of terms



Answers

1) d
2) d
3) c
4) b
5) a
6) b
7) b
8) c

Thursday, August 9, 2018

Important

1) Capability Maturity Model is meant for:
a) Product
b) Process
c) Both a & b
d) None


Show Answer
right ans is C

2) A B-tree of minimum degree t has maximum pointer in a node
(1) t-1
(2) 2t-1
(3) 2t
(4)t


Show Answer
right ans is B

3) Unix operating system is an example of
(a) batch os
(b) multi user os
(c) partially multi user os
(d) single user os


Show Answer
right ans is B

4) Device on one network can communicate with devices in another network via a
1. Hub/Switch
2. utility Server
3. File Server
4. Gateway


Show Answer
right ans is D


5) Which storage device is mounted on 'reels'?
1 Floppy Disk
2 Hard Disk
3 Magnetic Tapes
4 CDROM


Show Answer
right ans is 3