DSQ Placement Question Papers




DSQ Placement Question Papers

Filed under:

DSQ Placement Question Papers

1.Is it possible for a member function of a class to activate another member function of the same class?
a. no
b. yes,but only public member functions.
c. Yes, only private member functions
d. Yes, both public & private member functions can be activated

2. Can 2 classes contain member functions with the same name?
a. no
b. yes, but only if the 2 classes have the same name
c. yes, but only if the main program does not declare both kinds
d. yes, this is always allowed

3.what is the purpose of template functions?
a. to allow a single function to be used with varying types of arguments
b. to hide the same name of the function from the linker
c. to implement container classe
d. to permit the use of the debugger without the –gstabs flag

4.what kind of functions can access private member variables of a class
a. friend function of a class
b. private member functions of the class
c. public member functions of the class
e. all of the above
f. none

5. what technique is used to step thro’ items of a container class?
a. copy constructor
b. default constructor
c. iterator (ans)

6. what is the term used to describe the situation when a derived class provides a function already provided in the base class ?
a. inheritning
b. overriding
c. abstraction
d. none

7. what r the characteristics of object, in general
a. it has name, properties
b. name, properties, behaviour
c. it can act on receiving a message
d. a &c
e. b&c

8. bundling data members together with the functions is called
a. data hiding
b. encapsulation (ans)
c. data morphism
d. data binding

9.why is OO programming useful?
a. It supports good s/w engg. Practices
b. It promotes thinking abt s/w in a way that models the way we think & interact naturally
c. Supports code reuse
d. A &b
e. A,b & c

10. suppose tu want 2 develop 2 diff, + operators that calculate & return an object of the same class. Which stmt is correct?
a. 1 operator must be a frnd & the other must not
b. 1 operator must be public & the other private
c. operators must have different parameter lists
d. it is not possible 2 have 2 different + operators

11.what is inheritance?
a. a relationship in which the structure & functionality of a class (“child ) is defined in terms of the structure & functionality of another(parent)
b. a relationship in which the structure & functionality of a class (“parent” ) is defined in terms of the structure & functionality of another(“child”)
c. a relationship in which the structure & functionality of a class make calls 2 functionalty of another
d. a relationship in which the structure of a class includes 1 or more instances of another
e. all of above

12. what is relationship betn . a class & its public parent class
a. “.is a….”
b. “has a”
c. “is implemented as a ……”
d. uses a
e. becomes a

13. how does inheritance relate 2 abstraction?
A . a base class is an abstraction of all its derived classes
b. a derived class is an abstraction of all its base classes
d. Base & derived classes are abstractions for each other
e. Inheritance prevents abstration
f. No relationship betn them

14. why can’t compiler “hard-code” direct calls to virtual functions?

a. b’coz hard –coding the fn. Call wud slow compilation of the program too much
b. b’coz hard –coding the fn. Call wud slow execution of the program too much
c. b’coz the correct fn. To call generally isn’t know at compile –time
d. b’coz virtual fns are always at compile-time so no run-time code is needed at all.
e. Compiler does hard-code direct calls 2 virtual functions.

15. what is accessibility of a protected member of a base class which is inherited privately?

a. private: b’coz the private inheritance makes everything frm the base class private in the derived class (ans)

DBMS

1. Indexing must be applied on fields that are
a. seldom refernced in query
b. containing few unique columns
c. on frequently searched columns
d. changed frequently

2. The relational data model includes several types of data integrity .which type of data integrity is ensured by the use of a primary key?
a. entity integrity
b. domain integrity
c. referential integrity
d. relational integrity

3. a student has 3 diff. Teachers . Each of these teachers has several students. Which type of relationship in relation model would effective represent this?
a. 3 one-to-many relationships
b. two many-to-one relationships
c. a single many-to –many relationshjips
d. at least 2 many-to-many relationships

4. which of the following properties are required of a column or column sets for the column to function as a primary key?
a. no nulls
b. a clustered index
c. a non-clustered index
d. ther must be atleast 1 foreign key on tha same table.

5. select a.pk, fn, b.zip, c.city from a, b, c wher a.pk=b.pk
tables a,b,&c each contain 100 rows & the primary key for tables a & b is pk. What is the maxm. No. of rows that could be returned by query

a. 100
b. 0
c. 100,000
d. 10,000
e. 1,000,000

6. which of the following is only used with a foreign key constraint ?
a . primary key constraint
b. the refereces clause
c. a check constraint

7. which is used to return the no. of rows in a table?
a. sel;ect all count from tablename
b. select count(*) from tablename
c. select numrows from table name

8. when writing sql queries , how do u control the query execution plan used by the databases
a. query directly against an idex instead of table
b. define a static cursor & specify the “using specific index’ keyword
c. most databases provide propreitory methods to give database hint
d. enclose quey in atransaction & add a statement using the “set search” keyword

9,. Which is not allowed in a trigger
a. update
b. select into
c. while
d. begin

10.select type, avg(price), min(price) from product group by category

what is wrong??
a. u can’t include multiple aggregates in a select list
b. there is no where clause
c. nothing

C/C++

1. when shud apointer p be a reference parameter?
a. when fn. Changes p, & u want the change to affect actual pointer argument
b. when fn. Changes p, & u do not want the change to affect actual pointer argument
c. when fn. Changes *p, & u want the change to affect actual pointer argument
d. when fn. Changes *p, & u do not want the change to affect actual pointer argument
e. when pointer points to large object

2. output???
Int y=1;
Int k=2;
Int *p1;
Int *p2;
P1=&y;
P2=&k;
p1=p2;
*p1=3
*p2=4;
printf(“%d”,y);

a. 1
b. 2
c. 3
d. 4

3.when shud u use a const reference paprameter ??
a. whenever the data type might be many bytes
b. whenever the data type might be many bytes, the fn. Changes the papramter within its body, & u do not want these changes to alter the actual argument
c. whenever the data type might be many bytes, the fn. Changes the papramter within its body, & u DO want these changes to alter the actual argument
d. whenevr the data type might be many bytes , & the function does not change the parameter within it body
4..6
A is a class & B is a new class derived from A
A a;
B b;
Bb1;
B b2;

4. what c++ syntax is used to declare that a class B is derived from Class A”
a. class A derives B {……};
b. class B: public A {,……..};

5. using the variable , which is legat?
a. a=b;
b. b=a;
c. b1=b2;
d. both a & b are legal but not c;
e. both a & c are legal but not b;
f. both b & c are legal , but not a;

6. suppose there ar e 2 fns. F has an argument of type A and g has an argument of type B. Which is correct?
a. both f(a) & g(a) are legal fn. Calls
b. f(a) is legal , but g(a) is not legal
c. f(a) is not legal , g(a) is legal
d. neither f(a) nor g(a) is legal fn call

7. template
void foo(Item x);

which is right way to call with integer argument I?
a. foo(i);
b. foo (i);
c. foo(i);
d. foo( i);
e. foo( i);

8. void quiz(int w)
{
if(w>1)
{ quiz (w/2);
quiz(w/2);
}
printf(“*”);
}
how many asterisks are printed by the function call quiz(5)?
a. 3
b. 4
c. 7
d. 8

9. void test_a (int n)
{
printf(“%d”,n);
if(n>0)
test_a(n-2);
}
test_a(4)?

a . 0 2 4
c. 0 2
d. 2 4
e. 4 2
f. 4 2 0

10. char string[8]=”abcdefg”;
*string=’’;
printf(“%s”,string);
a. compiler error
b. run-time error
c. no o/p, but no error
d. creates bcdefg

11. char string[8]=”abcdefg”

o/p :
printf(“%sn”,string +3);
a. abcdefg
b. abc
c. defg
d. cdefg

12. main()
{ int I=-3, j=2,k=0,m;
m=++I&&++j||++k;
printf(“n%d%d%D”, I,j,k,m);

a. –2 3 0 1
b. –2 3 1 1
c. –2 3 1 0
d. –2 3 0 0

13. main()
{
int I;
for(;;)
{
printf(“%d”,I++)
if(I>10)
break;
}
}
a. condition in a for-loop is mudt
b. no error
c. 2 ; shud be dropped

14.void goop ( int z[]);//prototype
int x[10];
which ois the correct way to call goop
a. goop(x);
b. goop(x[]);
c. goop(x[10]);
d. goop(&x);
e. goop(&x[]);

15. int a=3,b=17;
a=b%a;
b=++a+5;
printf(“a,b);

a. 2 8
b. 2 7
c. 3 7
d. 2 8
e. none

16. how many time shello will be printed?
FILE *fp=fopen(“test.txt”,w)
Fprintf(fp,”hello”);
Fork();

a. 1
b. 2
c. 0
d. none

17. int a;
int b=0;
while(a)
{
{ a&=a-1;
b++;
}
a &b
a. 0 & 15
b. 1 & 16
c. 0 & 16
d. none

18. class A
{
public:
static int a;
A() {a=10};
};
int main()
{
A b;
Printf(“%d”,b.a);
Return 0;
}
will the program compile?
a yes
b. no

NUMERICAL ABILITY

1. A salesman marks an item 60% above the cost price & offers 2 successive discounts of 25% & 15% on the marked price. His profit is:
a. 15% b 2% c 7.5% d. 10 e. none

2.Had it been sold at 55% loss, SP would have been Rs. 10.80. The C.P is;
a. Rs 26 b. 28 c. 36 d.24 e. none

3. If 18 men can build a wall 140 mtrs. In 42 days . In how many days can 15 men be able to construct a similar wall 100 mtrs . long??
a. 36 b. 60 c. 60 d. 33 e. none

4. Successive discounts of 15% & 20% on any goods amount to a total discount of :
a. 50 % b. 35% c, 34% d.32 % e.none

5. In a km race A beats B by 40 m or 7 secs. A’s time (in secs) over the cource is:
a.180
d. 280
e. 168
f. 175
g. none

7. A widow & a son are to receive Rs 20000 and Rs 10,000 respectively frm inheritance of Rs. 70,000. The rest is 2 be divide so that the widow recives 3/2 times as much of it as the son. Then the amnt received by (widow,son) pei9r in thousands of rs. Is:
a. (44,26)
b. 42,28
c. 40,30
d. 45,30
e. none

8.the demand for a commodity linearly decreases by 0.5 unit for each unit increase in price & it vanishes when the price is set at 60 . The supply of the commodity vanishes when the price is set at 25 & equals the square root of the price in excess of this threshold price. Then the equilibrium at which the supply coincides with the demand is:
a. 45
b. 50
c. 55
d. 62+/-3 under-root86
e. none

9. gre type column questions:
area of triangle pqs is 45:
PQ=12 P

QR=20

Col. A : length of segment PS
COL. B: Length of SR

a. if A is greater
b. if B is greater
c. if both equal
d. d. can’t determined

10.Col. A: (0.82)^2(0.82)^3
Col. B: (0.82)^6

11. t is a positive integer
4/7 = t/s

Col. A: s
Col. B: 7

12. Col. A 1-1/27
Col. B: 8/9+1/81

13…. 14. these types simple (-0.64)^4 & (-0.6)^3

15…16

M/c A produces x units of output per hour, while m/c B produces x units of output every 1.5 hrs.

17. How many hrs. does it take 2 produce x units of o/p , with both m/cs A &B working together??
a. (4x +!)/4x
b. 5/4
c. 3/(5x)
d. 3/5

18. 4 more m/cs are installed with their capacities lying betn those of m/cs A & B . Wchi of the following ca’t be the average no. opf hrs. per m/c for producing x units of output?
a. 1.05
b. 1.15
c. 1.25
d. 1.35

Problem Solving (19-21)

19. if 0 a. s<-1 & t>0
b. s< -1 & t<-1
c. s>-1& t< -1
d. s>1 & t< -1
e. s>1 & t>1

20. To reproduce an old photograph , a photographer charges x dollars to make negative , 3x/5 dollars for each of the first 10 prints, & x/5 dollars for each print in excess of 10 prints . If $45 is the total charge to make a negative & 20 prints from an old photograph, what is the value sof x?
a. 3
b. 3,5
c. 4
d. 4.5
e. 5

21. A certain cake reciope states that the cake shud be baked ina pan 8 inches in diameter . If Jules want to make a cake of the same depth but 12 inches in diameter , by what factor shud he multiply the recipe ingredients?
a. 2 & half
b. 2 & one-fourth
c. 1 & half
d. 1 & 4/9
e. 1 & a/3

Data interpretation 22…28

ANALYTICAL ABILITY

A farmer plants only 5 diff. Vegetables-beans, corn, kale, peas& squash. Every year the farmer plants exactly 3 kinds of vegetables as follows:]

If the farmer plants corn, the farmer also plants beans that year.
If he plants kale 1 year, he does not plant it next year
In any year, farmer plants no more than one of the vegetable the farmer planted in the previous year.

29. Which of the following is possible combinations plant in 2 successive years?
a. beans, corn, kale,; corn, peas, squash
b. beans,corn,peas; beans,corn,squash
c. beans, peas,squash; beans,corn.kale
d. corn,peas, squash; beans,kale,peas
e. kale, peas, squash; beans, corn,kale

30.if he plants beans, corn & kale in 1st year , which must be planted in 3rd year?
a. beans, corn, kale
b. peas, corn & kale
c. beans, kale , peas
d. beans, peas, squash
e. kale, peas , squash

In a game exactly 6 inverted cups stand side by side ina straight line & each exactly has 1 ball hidden under it. The cups are numbered consecutively 1 thro’ 6. Each of the balls is painted a single solid color. The colors of the balls are green, magenta, orange ,purple,red & yellow. The balls have been hidden under following conditions:

The purple ball must be hidden under a lower-numbered cup than the original ball.
The red ball must be hidden under a cup immediately adjacent 2 the cup under which the magenta ball is hidden
The green ball must be hidden under cup 5.

31. which of the following could be colors of balls from 1 to 6?
a. green, yellow, magenta,red, purple, orange
b. magenta, green , purple, red, orange, yellow
c. magenta, red , purple, yellow, green , orange
d. orange, yellow. Red, magenta, green, purple
e. red, purple, magenta, yellow, green, orange

32. if red ball is under cup4 ? howmany sequences are possibl;e
a. 0
b. 1
c. 2
d. 3
e. 4

33. which is true?
a. green ball is under lower-numbered than the yellow ball.
b. orange ball is under lower-numbered than the green ball.
c. purple ball is under lower-numbered than the green ball.
d. purple ball is under lower-numbered than the RED ball.
e. Red ball is under a lower- numbered cup than the yellow ball

34. If red & orange ball are kept 0ofadjacnet to each other, how many valid seqiuences sre possible?
a. 1
b. 2
c. 3
d. 4
e. 5

35. If the magenta is bill is under cup, 1 balls of which ththf following colors must be under cops immedistely adjacent to each ather??
a. gree & orange.
b. Green & yellow
c. Purple & tred
d. Purple & yellow
e. Red & yellow
State the assumption 36…..39
36.
37. Karim is exactly twice as old as Rahim. Karim’s age 10 yrs. Ago was 2 times saleem’s present age.
a. saleem is 5 yrs. Younger than rahim
b. rahim is twice as old as saleem
c. saleem is the same age as rahim
d. saleem is 10 yrs. Younger than rahim

38. X & Y are +ve integers. The sum of X&Y is less then their product
a. atleast one of X & Y is not 1
b. both X & Y are greater than 2
c. neither takes value 1
d. atleast one of X & Y is greater than 2

39.

Logical Reasoning
40.
41. He greatest chance for the existence of extraterrestrial life is on a planet beyond our solar system. This is b’coz the Milky Way galaxy alone contains 100 billion other suns, many of which could be accompanied by planets similar enough to make them suitable abodes of life.
The argument above assumes which of following?
a. living creatures on another planet would probably have the same appearance as those on earth
b. life cannot exist on other planets in solar system
c. if the appropriate physical conditions exist, life is an inevitable consequence
d. more than one of the suns in the galaxy is accompanied by an earth like planet
e. it is likely that life on another plane would require conditions similar to those on earth

42.
43
44.

a. if u get ans from I alone
b. if u get ans from II alone
c. if u get ans from both
d. neither

45….50
I. Ram is 10 yrs. Older than shym , while laxman is half the age of shyam
II. Bharat is 5 yrs. Younger than laxman , & shyam is 3 times older than bharat

45. what is the age of ram
46. age of laxman?
47. when ram married sita , she was half his age . now sita’s age & shyam’s age add upto 50 yrs. Wwhat is sita’s age?
48. ratio betn. Shyam’s age & bharat’s age
49. ratio betn laxman & bhara ‘s age
50. bharat’s wife radha married him 10 yrs before the present year. What is radha’s age?

DSQ Placement Question Papers

Filed under:

DSQ Placement Question Papers

Technical aptitude test

1. the 2’s complement number of 110010 is
ans; none of those

2.Truth table of a logic function
ans: displays all its input output possibilities

3.The process of varying one signal according to the pattern provided by another signal is
ans:modulation

4.The octal equivalant of hexa number 123 is
ans:443
.Determine how many times the given loop is executed

5.m=3 while (m<18) do {m=m+2;m=m-1}
ans:15

6.m=1;a=30;while (m<>1) do {m=m+1;a=a-1;}

7.m=1;a=30;while (e*m-5<a) do {m=m+1;a=a-2}
ans:9
in questions 8 to 12 find the values of a and b at the end of the xecution of the program segment

8.a=2;b=1;x=1;while(x<=4)do {a=a+b;x=x+1}
ans:(5,1)

9.a=1;b=2;x=1 while (x<=5)do {b=a+b;x=x+1;}
ans:(1,6)

10.a=0;b=0;x=1;while (x<=4){a=a+x;b=b-x;x=x+1;}
ans:(10,-10)
In questions 11-15 find the odd man out

11.address

12.cmos

13.lisp ( from 11-15 these are the answers dont confuse)

14.mouse

15.csh

16.The complexity of bublle sort is0(a),then kequals
ans:2

17.In BCD,the decimal number 516 is
ans:10101110

18. RS 232 is standards for
ans:physical layer

19. which of the following is not true of a DBMS
ans:maintain integrity

20.the method of access used for obtaining a record from a tape is
ans:sequential

21.Whichof the following is an universal gate
ans:nor

22.an ASCII text file containing 500 characters will have size approximately
ans:500bytes

23.which of the following is a vector
ans;force

24.The lowest attainable temperature
ans 0k

25.viscosity is most similar to
ans:friciton

26.The elapsed time between the submission of the job and getting the output is
ans:seek time

27.the earliest calculating device still in use is
ans: abacus

28.an acronym for the organisation that publishes programming langauge standards is
ans:ANSI

29.Qunatities used to bring fields to standards sixe are
ans:pixels

30.the base of a number system is called as
ans:radix

31.An 8kb computer will bave addresses —–
ans:8191

32.Arranging data in a specific form is called
ans: sorting

33.A translator which reads an entire programme written in a high level language and converts it into machine language code is
ans: interpreter

34.a data hierarchy in assending order is
ans:bit-byte -field-record-file-database

35.a computer generated output that lets programmer follow the execution of the program line by line is

36.data items grouped togother for storage form a

37. the most dangerous aspect of computer virusesis their ability to
ans: change system memory

38.a distributed data processing configuration in which all activities must pass through an centrally located computer is called a
ans: ring network

39.communication circuite that transmit data inboth directions but not at the same time areoperating in

40.which of the following is not an application software
ans:unix

41.For which of the folowing computer application is real time processing not essential
ans;

42.a data structure with one to many relationship is a
ans:tree

43. which of the following hardware components is most important to operation of a database management system
ans:high speed,large capacity disk

44. computer viruses can spread from one system to another by means of
ans:all the above

45. afront end processor is ususally used in
ans: multi processing

46.a radioactive material of mass 16 grms in 10 years due to radiation. how many years will it take for the material to attain a mass f 1 gm
ans:30

47.a block of ice floats on water in a beaker, as the ice melts,the water level in the beaker will
ans:remain same

48.if va,vn,vs are velocities of sound in air,water, and steel then,
ans:vs>vn>va

49.in usual computer arthemetic, the value of the integer expression 22/5*2+8*2/6
ans:10

50.an operating system is
ans: all the above

REASONING ABILITY TEST

1. find the next letter in the series B,F,J,P —ANS:V
2. find the next letter in the series O,T,T,F,F,S,S–ANS:E
3. find the next letter inthe series Q,W,E,R,T,–ANS:B
4. FIND THE NEXT LETTER IN THE SERIES c,o,m,p,u,t,e–ans:r
5. find the next letter in the series A,C,F,J,0–U
6. FIND THE NEXT letter in the series C,O,M,P,U,T,E,—ANS:R
7. FIND the next number in the series 11,112,1124,11248,–ans:1124816
8.find the next number in the series 12,21,,112,121,122—ans:221
9.find the nuxt number in the series 1,2,5,10,,15,22–ans:29
10.find the next number in the series 0,3,8,15,,24,48,63–ans:80

11. ——-is to district as district is to——-
1)country 2)continent 3)state 4)village
p)town q)village r)state s)city
ans)3-P
12. ——-is to seeds as hen is to ———-
1)embrayo 2)plant c)cock d)chicken
p)bird q)craaper r)egg s)tree
ans) 2-R

13. ——is to animal as —-is to plants
ans)blood-sap (4-S)

14. ——is to cardic as brain is to ————
ans)heart-nerves (2-P)

15.——–is to myopia as long sight is to ——-
ans)

16.) —– is to japan as rupee is to —–
ans)YEN -INDIA (3-P)

17) ——is to christian as synage gue is to ——
ans)church-Jaws

18) —–is to thermometer as velocity is to ——
ans)Temperature-animeter

19) ——is to sentence as act is to——-
ans)paragraph -scene

20) —— IS TO EARTH AS EARTH IS TO —-
ANS)Moon -sun

21) ——-is to london as yamuna is to ——
ans)thames-delhi

22) —–is to india as alps is to—–
ans)himalayas -switzerland

23) —— is to proton as cathode is to——
ans)electron -anode

24) ——is to a river isto branch is to ——–
ans)lake-tree

25) ——is to proofread as account is to ——-
ans)proof -audit

MATHEMATICS TEST

1. if a**2+b**2+c**2=1 then ab+bc+cd lies in the intrval

a. -1/2,1 b.-1,1 c.-1/2,2 d.-1,2

2.if x is root of 4*y**2+2*y-1=0, the its other root is given by

a.4x**2+2*x+1 b.x-1/2 c 2x-1 d.2-x

4. the perimetere of a square is 44m more than that of another and 187 sqm more in area then the side of the larger square is
ans:17m

5. the value of x which makes xi+2j+3k and -i+5j+k perpendicular is
ans:none of the above

6. the value of determiterment —|matrix|
ans:6

7. the solution of the system of equations 2y-z=0,x+3y=-4,3x+4y=3 is
ans: x=5,y=3,z=6

8. the radius of the circle 4x**2+4y**2 =100
ans: 5

9. the ages of two brothers are now in the ratio 4:3 but fifteen years ago, they were in the ratio 3:2the present age are
ans:45

10.if z is the arithemtic mean between x and y , then the value of x/(x-z)+y/(y-z)
is ans:2

11.the least integer n for which the sum 1+3+5+—+(2n+1) exceeds
9999 is ans:100

12. the number of subsets of a set s is 64, then s has
a: 8 b.6 c.4.d. 16 elements

13.if n is a natural numbers, the n(n+1)(N+5) IS
ans:a multiple of 6

14.a spere circumscribes a cylinder . then the ratio of the surface area of the spere to the curved surface area of the cylinder is
ans:3:2

15.ax/b+b=bx/a+a,a//b. then x equals
ans:ab/(a+b)

16. if logs sqrt(5x)=1,then x equals
ans:

17. which of the following triplets cannot be sides o a ritht angled triangle
ans: (p-q),(p+q),sqrt(p+q)

18.inwhat time will RS. 3200 amount to RS.3528 at 5% annum compound interest
ans:2 years

19.if the price of orange falls by 20 % one can buy 5 dozens more for RS 300, THEN THE ORIGINAL price per dozen is
ans:15

20. the triangle formed by (0,0),(0,4,),(3,8) is
ans: right angled triangle

21. The area of parallegram (0,0),(0,4),(3,8) is
a.12 b.6 c.24 d.25

22. A man can do a piece of work in 9 days, a woman can do 3/4 as much work as a man in one day and a boy in twice the time that a man takes. How many days wil 2 men, 3 women and 5 boys together take to do the
work?
ans:4/3 days

23.The probability of getting at least one head in a single throw of three coins is
ans:7/8

24.A problem is given to two student A and B WHOSE REspective chances of solving it are 1/2 and 2/3 . IF BOTH OF THEM TRY TO SOLVE THE PROBLEM INDEPENDENTLY, THE PROBability that the rpoblem will be solved is
ans:5/6

25.In a single throw of 3 dice, the chance of throwing a total of 15 is
ans:a.1/15b.5/216 c.1/3 d. 1/4

26.(3x-2)/(x-2)<=0,then
ans:2/3<=x<2

40 . P and Q are positive integers with their averagfe 15, find how many different values can one take
ans:29

41.The hands of clock coincide after every 66 min of correct time.How much does the clock gain or lose in a day.
ans:gains 11 min

42.Ifxto the power of 5=4 and x to the power of 4=5/y , then x equals
ans:4y/5

43.if x,y,z are natural numbers, and if 2x=y and y=3z, which of the following numbers could be x+y+z
ans:44

44.The pipes can fill a cistern in 1.5 hours and 2 hours respectively. A wste pipe can empty a full cistern in 3 hours. If the cisternis empty and all three pipes are opened together, in how many min will the cistern be half full
ans:36

45. The members a,b,12 forma geometric progression and the nos a,b,9 form an arithmetic progression. find the value of a+b
ans:9or 45

46.IN a group of 15,7 can speak spanish, 8 can speak french, and 3 can speak neither.How much of the group can speak both french andspanish
ans:2/3

47.Oranges are bought at 11 for Rs. 10 and sold at 10. for Rs. 11 the profit is
ans:21%

48.If x/y=2/3 then y**2/x**2 is equal to
ans:9/4

49. the cordinates of A,b,c are respectively (2,3) ,(4,4) AND (0,-2). If abcd is a parallelgram. The coordinates of D are
ans:(-1,-3)

50. If nis odd which of the following statements is true

ans: 1.n is odd 2. n**2 is odd 3. n**2 is even
a.1 only b.2 only c. 3 only 4. 1&2 only

DSQ Placement Question Papers

Filed under:

DSQ Placement Question Papers

Techanical paper

1. what is the final output of the if the input is 2,14,12 (m,n,z)
a)1,8,4 b)1,4,8 c)4,8,1 d)8,4,2
ans=C.

2. what is the final output if the input is 1,18,2? (m,n,z)
ans) 5,6,2 i.e
ans =c.

3. How many times is TEST execute ed if the input is 2,14,1?
ans) twice ans=c.

4) How many times the TEST exected if the input is 1,18,2?
ans)four times

5) what are the values taken by Z when input being 8,24,1?
a)only 5 b)only 6 c)neither 5 or 6 d)both 5 and 6
ans)D.

6) the function f(x) is defined as follows
if x=0 then f(x) =1
if x>0 then if ((x>10)then f(x) =x-10 else f(x) =x+1))
if x<0 then if (x**2 <100) then f(x) =f(-x+1) else f(x) =f(-(x+1))
6) the above of f(2) +f(-3) is
ans=8.

7) the value of f(8)+f(9) is
ans=20

8) the value of f(1)+f(2)+f(3)………….+f(10) is
ans=65

9) the value of f(-10)+f(-9)+f(-8) is
a) 33 b)25 c)-27 d)27

10. 1997 haeadecimal is
a)7cb b)7cd c)7cf d)7ca
ans-c

11. the remainder when 9FA (hexa) is divided by 8 is added to the

12(to base ten) to get x.then x has the binary opertion
ans=1110

13. the remainder when 1221 (in hexa) is diveded by 17(decimal) in (hexa)is
ans=0

14. The binary number 100010011 will the hexa representation
ans=113

15. The binary number 10011001 will the octal representation
ans=463

16 Find the odd man out
16 a) Intel b)motorola c)nec d)Ibm
ans =nec

17. a)BIt b)byte c)nibble d)field
ans= field

18 a)Tree b)Root c)Log d)leaf
ans=log

19. a)ROM b)PROM c)EPROM d)EEPROM
ans=ROM

20. a)MOVE b)DEL c)COPY d)REN
ans=DEL

21. What’s the output of the following program
main()
{
int z=3;
printf("%d %d ",z,main());
}
a)prints a value 3 b)prints junk value c)error message d)infinite loop

22) main()
{
int i=3,j=5;
while (i–,J–)
{
printf("%d %d".i,j);
}
}
The loop will be executed
a)3 times b)5times c)8times d)infinite times

23) main()
{
int i=3,j=5
If(i–,j–)
printf("%d %d ",i,j);
}
The output of the program for (i,J)is
a)3,5 b)3,4 c)2,4 d)2,5
ans=B

24) main()
{
int i=3
printf ("%d %d %d ",++i,i-,i+=5);
}
The the out put of the program is
a)8,8,8 b)4,3,8 c)3,2,7 d)4,4,9
ans=B

25) main()
{
int times =5;
int i=3;
int j=4;
int k=34;
i=j+k;
while(times –)
{
i=times
j=times
k=times
}
printf("%d %d %d " ,i,j,k)
}
THe output of the praogram is (i,j,k)
a)19,9,35 b)38,42,80 c)43,47,85 d)15,14,41
ans=C

26) main()
{
int num =32765;
while (num++);
printf(" %d ",num)
}
what"s the out put ofthe program
a)prints all the number above 32765 including the number 32765
b)prints all the number above 32765 excluding the number 32765
ans=B.

27) main()
{
float k=3.4156
printf("%f %f ",float(k),c(k))
}
The output of the program
a) 3.4156 ,3.4156 b)4,5 c)3,4 d)3.45 3.40
ans=C.

28) main()
{
int bounce =4;
printf ("total number of bounce =%d",bounce ++);
}
The out put of the program is
ans=D (stoP)

29) main()
{
int number =25;
char name =’A’
printf("The addition of the name and the number is %o "name +_number)
}
the output of the program is
a)compiler error
b)run time error
ans= A

30) ODBC means
ans= open data base connectivity

31) ASCII stands for
ans= american standard for information interchange

32) flops stands for
ans)floating point operation per second

33) by superconductivity
ans)

34) PERT stands for
Program evalution and review techniq

35) IMS is a
ans) data base system

36) HTML is a
ans) Hyper text markup language

37) The default backend of visual basic is
ans)sybase

38) Client server is based on
ans) distribution processing

39) computer viruses can spread from one system to anther by means of
a) infected disks b)links to a network
c)downloaded program from a bulletin boardd)all of the program
ans)D

40) A front end processor is usually used in
ans=multi processing.

41) A radio active material of mass 16gms loses in 10 years due to radiation.How many more years will take for the material to attain a mass of of 1gm ?
ans=80 years

42) A block of ice floats on water in a beaker as the melts the water level n the beaker will remain the same
ans=Remains same.

43) if va,vn,vs are velocities of sound in a air ,water ,and steel then
ans)vs>vn>va

44) in usual computer arthimetic the value of the integer expression
22/5*2+8*2/6
ans= 8.

45) an operting system is a
a)file manager b)memory manager
c)i/o manager d)all of the above
ans=D.

1.How many liters of water must be added to 30 liters of alcohol to make a solution thatis 25%
ans:120

2.How much is 3/7 larger than 20 percent of 2
ans;1/35

3.xyz=120,then which of the following cannot be a value of y
ans:0

4.a number of subsets of a set s is 128, then s has
ans:7

5. xsqrt(0.09)=3 , then x equals
ans:

6.perimeter of rectangle is s and the other sideis x, then the other side
ans:(s-2x)/2

7.solution of system of equations y-z=0,x+8y=4,3x+4y=7z is
ans:x=1,y=1,z=1

8. f(x,y) =x**2 -y**2 then the value of f(4,(f(1,2) is
ans =7.

9 . if the radius of the circle is incresed by 6% then its area incresed by
ans=36%

10. the average of seven numbers is 2.5 then their product
asn=17.5

11. the minimum of (2x+1)**2 + (x+2) is at x =
ans = (-4/5)

12. the probability of getting at least in a single through of three coins is
ans=7/8.

13. atrain covers the distance D beteween two cities in hhours arriving 2 hours late.what rate would permit to train to arrive on schdule?
ans= (D/H-2)

14. in a single throw of dice ,the chance of throwing a total of 3 is
ans) 1/216.

15. a triangle of sides 3,4,5 then its—-is
ans:6

16. Which of the following is next smaller invalue than— one half
ans:2/5

17. if f(x)=1/x then f(f(f(x))) equals
ans:1/x

18. if f(x)=1/x**2 , then f(f(f(x)))
ans:1/x

19.if 8x+4y=6 and 4x+5y=7, x+y equlals
ans:1

20. find the next number in the series 1,2,5,10,17,26
ans:37

21,.sqrt(0.16)+cubic root(0.027) equals
ans:0.7

22.if a,b>0 and a+b=2 then the max value of ab is
ans:1

23. p and q are positiveintegers with their average 5, find how many different values can p take
ans:9

24. if 0<x<1 which of the following is the largest
ans:1/x

25. If x,y,z are three consecutive natural numbers, which of the following numbers should be x+y+z
ans:2/3

26. two persons run a race of 100m. the winner won by (110/11)m and one second in time. find the speed of lsoer in met
ans:9.09

27. in a group of 15,7 can speak spanish, 8 can speak french and 3 can speak neither,. how much of the group can speak both french and spanish
ans:1/5

28. which of the following intefgers is the square of an integer for every integer
ans:a**2+2n+1

29. which of the following has the largest numberical value
ans:0.2/0.000001

30. ifn is odd which of the following statements is true
ans: 3n+1 is even

31. which of the following is the prime
ans:80

  • Resources













  • Placement Papers Archives