Previous Years Solved Placement Papers
- What will be the output of the following code?
{ int x = 10, y = 15; x = x++; y = ++y; printf(“%d, %d \n”, x, y); }
(A) 10, 15
(B) 10, 16
(C) 11, 16
(D) 11, 15
(Ans: C) - Which one of the following is not an advantage of functions?
(A) Debugging is easier
(B) Testing is easier
(C) Recursive call is possible
(D) It consumes low disk space
(Ans: D) - Which of the following is/are storage classes?
(A) Automatic
(B) Static
(C) Allocated
(D) All of the above
(Ans: D)
Technical Questions
- Shell is an exclusive feature of:
(A) UNIX
(B) DOS
(C) System software
(D) Application software
(Ans: A) - A UNIX device driver is:
(A) Structured into two halves called top half and bottom half
(B) Three equal partitions
(C) Unstructured
(D) None of the above
(Ans: A) - A one-to-sixteen demultiplexer requires:
(A) 2 select input lines
(B) 3 select input lines
(C) 8 select input lines
(D) 4 select input lines
(Ans: D) - In an analog multiplier, if both inputs are positive or negative, the multiplier is said to be:
(A) A two-quadrant multiplier
(B) A one-quadrant multiplier
(C) A four-quadrant multiplier
(D) A three-quadrant multiplier
(Ans: C) - The conversion time of a dual-slope ADC is typically in the range of:
(A) 5 to 10 ns
(B) 10 to 100 ns
(C) 100 to 200 ns
(D) 2 to 3 ns
(Ans: C) - Which command is used to sort the lines of data in a file in reverse order?
(A) sort
(B) sh
(C) st
(D) sort -r
(E) None of the above
(Ans: D) - Which command addresses all users currently hooked on?
(A) write
(B) mail
(C) wall
(D) mesg
(E) None of the above
(Ans: C) - What command is used to count the total number of lines, words, and characters in a file?
(A) countw
(B) wcount
(C) wc
(D) count p
(E) None of the above
(Ans: C) - Which command is used to access an SMB share on a Linux system?
(A) NFS
(B) SMD
(C) smbclient
(D) smbserver
(E) None of the above
(Ans: C) - What command is used to list the contents of directories?
(A) tar
(B) dir
(C) lp
(D) ls
(E) None of the above
(Ans: D) - A computer cannot “boot” if it does not have the:
(A) Compiler
(B) Loader
(C) Operating system
(D) Assembler
(Ans: C) - The output of a half-adder is in the form of:
(A) Sum
(B) Carry
(C) Sum & Carry
(D) None of these
(Ans: C) - The full adder circuit adds how many digits at a time?
(A) 1
(B) 2
(C) 3
(D) 4
(Ans: C) - A file is corrected immediately after the input of a transaction. This is an example of:
(A) Sorting
(B) Batching
(C) On-line updating
(D) Off-line updating
(Ans: C) - WAN hardware includes:
(A) Multiplexers and routers
(B) EDF
(C) Bridgers and modems
(D) None of the above
(Ans: A)