EDS Placement Papers - Technical Question

EDS Placement Papers - Technical Question


Electronic Data Systems known as EDS was founded in the year 1962 is a giant in IT services and data processing in specific. The students are expected to clear a written test in order to be eligible for a personal interview to be selected as an EDS employee.

Here are a few frequently asked questions in the technical section of the written test of EDS:

1. Name the sorting algorithm which has proved to be a best algorithm in one case and also a worst algorithm in one case?

a. Heap sort
b. Quick sort
c. Insert sort
d. Merge sort

2. From the options given below which is a broadband communication channel?

a. Fibre optic cable
b. Coaxial cable
c. Microwave circuits
d. All a, b and c.

3. What would be the output for the C program?

void f(char**);
main(){
char *argv[]= {"pq", "mn", "rj", "gh", "xy", "ab"];
f(argv);
}
void f(char**p){
char *t;
t= (p+=sizeof(int))[-1];
printf("%s", t);} the output for this program is;

a. pq
b. mn
c. rj
d. gh

4. What would be the output for the C program?

main(){
char *p;
char buf[100]= {10,20,30,40,50,60,90,80};
p= (buf +1)[50];
printf("%d", p);} The output for this program is

a. 50
b. 60
c. 90
d. None of the above

5. What would be the output for the C program?

# include
void main() {
char p1[]="Martial";
char p2[]="Soldier";
p1=p2;
printf("%p," p1);}

a. Martial
b. Soldier
c. Compilation Error
d. None of the above

6. In C, what does "-%d" format specify and why it is used?

a. Justifying a string left
b. Justifying a string right
c. String removed from the console
d. Used for the scope specification of a char[] variable

7. What would be the output for the C program?

# include
void main() {
int p=20, q=35;
p=q+++ p++;
q= ++q +++p;
printf("%d %d
", p,q); }

a. 50 90
b. 25 50
c. 57 94
d. 45 80

8. How many bytes will be occupied by a structure called record which holds an integer called loop, a character array of 5 elements which is called word, and a float which is called sum.
a. 11
b. 10
c. 5
d. 4

9. Why is the shift register used for?
a. Serial conversion to parallel conversion
b. Parallel conversion to serial conversion
c. Digital delay line
d. All a, b and c.

10. What would be the output for the C program?

# include
#include
void main() {
char *m1="Age";
char *m2;
m2=(char*)malloc(20);
while(*m2++=*m1++);
printf("%s
", m2);
}

a. junk
b. Age
c. 0
d. empty string
Post your comment