Filter
Oil India Limited Placement Papers Ramco Placement Papers Rockwell Placement Papers3i Placement PapersABB Placement PapersAccel Frontline Placement PapersAccenture Placement PapersAcumen Software Placement PapersAditi Placement PapersAdobe Placement PapersADP Placement PapersAgile Placement PapersAgreeya Placement PapersAIG Placement PapersAkamai Placement PapersAks Software Systems Placement PapersAlcatel Placement PapersAllahabad Placement PapersAlle Placement PapersALLFON Placement PapersAlter Placement PapersAlumnus Placement PapersAmdocs Placement PapersAMI Placement PapersAndhra Bank Placement PapersANZ Placement PapersAppLabs Placement PapersAricent Placement PapersASDC Placement PapersAshok Placement PapersAshok LeyLand Placement PapersAspire Placement PapersASPNET Placement PapersAST Pvt Ltd Placement PapersAsto Placement PapersAtlas Placement PapersAxentis Soft Placement PapersAxes Placement PapersAztec Placement PapersBAAN Placement PapersBajaj Placement PapersBank Of Maharashtra Placement PapersBARC Placement PapersBEL Placement PapersBEML Placement PapersBently Placement PapersBFL Placement PapersBHEL Placement PapersBirlasoft Placement PapersBlueStar Placement PapersBOB Placement PapersBOSCH Placement PapersBPL Placement PapersBrakes Placement PapersBSNL Placement PapersC-DOT Placement PapersCadence Placement PapersCalsoft Placement PapersCampaq Placement PapersCanarys Placement PapersCapgemini Placement PapersCaritor Placement PapersCarrizalsoft Technologies Placement PapersCarrizalsoft Technologies Pvt Ltd Placement PapersCaterpillar Placement PapersCD Placement PapersCDAC Placement PapersCelstream Placement PapersCGI Placement PapersChangepond Placement PapersChatargee Placement PapersCisco Placement PapersCiticorp Placement PapersCMC Placement PapersCOGNIZENT Placement PapersComputer Placement PapersConsagous Placement PapersConsagous Technologies Placement PapersConvergys Placement PapersCORDYS Placement PapersCOSL Placement PapersCovansys Placement PapersCrompton Placement PapersCSC Placement PapersCTS Placement PapersDaimler Placement PapersDell Placement PapersDeloitte Placement PapersDelphi-tvs Placement PapersDeutsche Placement PapersDharma Placement PapersDigital Placement PapersdMtechnologies Placement PapersDot Placement PapersDot Com Infoway Placement PapersDRDO Placement PapersDSL Placement PapersDSQ Placement PapersDSRC Placement PapersE2E Placement PapersEasyTech Placement PapersEDS Placement PapersEFFIGENT Placement Papersefunds Placement PapersEIL Placement PapersELGI Placement PapersELICO Placement PapersEnercon Placement PapersEpson Placement PapersEricssion Placement PapersEssar Placement PapersFCG Placement PapersFidelity Placement PapersFlextronics Placement PapersForbes Placement PapersFORCE Placement PapersFuture Placement PapersFX Placement PapersFX Labs Placement PapersG2One Network Private Limited Placement PapersGDA Placement PapersGE Placement PapersGenpact Placement PapersGeodesic Placement PapersGeometric Placement PapersGlobal Placement PapersGodrej Placement PapersGoogle Placement PapersGrapcity Placement PapersGSSL Placement PapersHAL Placement PapersHCL Placement PapersHCL Technologies Placement PapersHello Placement PapersHexaware Placement PapersHFCL Placement PapersHindustan Placement PapersHo Placement PapersHoneywell Placement PapersHorizon Placement PapersHP Placement PapersHPCL Placement PapersHSBC Placement PapersHuawei Placement PapersHughes Placement PapersI-Flex Placement PapersI-Gate Placement Papersi2 Placement PapersIBM Placement PapersIBPS Placement PapersIBS Placement PapersICICI PO DRIVE Placement PapersIDBI Placement PapersIikanos Placement PapersIindus Placement PapersIkosindia Placement PapersImpetus Placement Papersinautix Placement PapersIndian Overseas Bank Placement PapersIndusTeqsite Placement PapersInfineon Placement PapersInformatica Placement PapersInfosys Placement Papersinfotech Placement PapersInphlox Placement PapersIntec Placement PapersIntegra Placement PapersIntegraphr Placement PapersInterwoven Placement PapersIntex Placement PapersIOCL Placement PapersIonnor Solutions Placement PapersiSoft Placement PapersIspat Placement PapersISRO Placement PapersIttiam Placement PapersIvega Placement PapersJ&B Placement PapersJataayu Placement PapersJean Placement PapersJean Martin Placement PapersJet Placement PapersJEYPEE Placement PapersJindal Placement PapersJKT Placement PapersJOHN Placement PapersKalam Software Technology Placement PapersKanbay Placement PapersKeane Placement PapersKenexa Placement PapersKkshema Placement PapersKleward Placement PapersKnoah Solutions Placement PapersKPIT Placement PapersKPIT Cummins Placement PapersL&T Placement PapersL&T Infotech Placement PapersL&T(EEC) Placement PapersLCube Placement PapersLG Placement PapersLG Soft India Placement PapersLifetree Placement PapersLinkwell Placement PapersLionBridge Placement PapersLogica Placement PapersLucent Placement PapersM-Phasis Placement PapersMA Placement PapersMANGANESE Placement PapersMascot Placement PapersMastek Placement PapersMatrix Placement PapersMAXSOFT Placement PapersMcAfee Placement PapersMECON Placement PapersMentor Placement PapersMerrill Placement PapersMicrosoft Placement PapersMindfire Solutions Placement PapersMindtree Placement PapersMiraclesoft Placement PapersMistral Placement PapersMotorola Placement PapersMTNL Placement PapersNagarro Placement PapersNalko Placement PapersNCR Placement PapersNess Placement PapersNest Placement PapersNewgen Placement PapersNFL Placement PapersNHPC Placement PapersNihilent Placement PapersNIIT Placement PapersNovartis Placement PapersNovell Placement PapersNTPC Placement PapersNucleus Placement PapersNYROS TECHNOLOGY Placement PapersOil Placement PapersONGC Placement PapersOnline Education Placement PapersOnMobile Placement PapersOracle Placement PapersOrange Placement PapersParagon Placement PapersPCS Placement PapersPDIL Placement PapersPentaware Placement PapersPentaware Tech Placement PapersPerot Placement PapersPersistent Placement PapersPhilips Placement PapersPlanetasia Placement PapersPNESTEC Placement PapersPolaris Placement PapersPoor Placement PapersPramati Placement PapersProdEx Placement PapersPSI Placement PapersQuark Placement PapersQuinnox Placement PapersQwest Placement PapersR Placement PapersRamco Placement PapersRapidigm Placement PapersRBI Placement PapersRedpine Placement PapersReliance Placement PapersReliance(RIL) Placement PapersRinl Placement PapersRipples Infolink Placement PapersRobert Placement PapersRobert Bosch Placement PapersRockwell Placement PapersRRB(Railway Placement PapersRRB(Railway Recruitment Board ) Placement PapersRSsoftware Placement PapersSahi Placement PapersSail Placement PapersSamsung Placement PapersSamtel Placement PapersSAP Placement PapersSapient Placement PapersSasken Placement PapersSatyam Placement PapersSBI Placement PapersScandent Placement PapersSchneider Placement PapersSCT Placement PapersSemanticSpace Placement PapersShriram Placement PapersSIEMENS Placement PapersSierra Placement PapersSkyTECH Placement PapersSLK Software Placement Paperssobha Placement PapersSoftSol Placement PapersSonata Placement PapersSony India Placement PapersSQL Placement PapersSQL Star Placement PapersSSC Placement PapersStarent Placement PapersStarent Networks Placement PapersSTMicroelectronics Placement PapersSubex Placement PapersSUN Placement PapersSuther Placement PapersSynergy Placement PapersSynopsys Placement PapersSyntel Placement PapersSystech Solutions Placement PapersTalisma Placement PapersTata Placement PapersTata Technologies Placement PapersTavant Placement PapersTCE Placement PapersTCS Placement PapersTech Placement PapersTech Mahindra Placement PapersTELCO Placement PapersTelserra Placement PapersTEMNOS Placement PapersTesco Placement PapersTexas Placement PapersThermax Placement PapersThink Placement PapersTHOROGOOD Placement PapersThoughtWorks Placement PapersTIL Placement PapersTISL Placement Paperstorry Placement PapersTriad Placement PapersTriam Placement PapersTrianz Placement PapersTrilogy Placement PapersTSPL Placement PapersTVS Placement PapersUbiNetics Placement PapersUnited Placement PapersUnited Health Group Placement PapersUS Placement PapersValueLabs Placement PapersValueOne Placement PapersVariFone Placement PapersVedanta Placement PapersVerchaska Placement PapersVERITAS Placement PapersVerizon Placement PapersVernalis Placement PapersVirtusa Placement PapersVisual Placement PapersVIT Placement PapersVizag Steel Plant Placement PapersVizual Placement PapersVSNL Placement PapersVsworx Placement PapersWBPDCL Placement PapersWepIndia Placement PapersWilco Placement PapersWipro Placement PapersXansa Placement PapersXcino Placement PapersYahoo Placement PapersYantro Placement PapersYASH Placement PapersZenith Placement PapersZenser Placement PapersZTE Placement Papers

Download bluestar Placement Papers in MS Word and PDF Format for Job Interview

List of all download bluestar placement papers in ms word and pdf format for job interview. Click Here View Job List. This page will help you to get all details about download bluestar placement papers in ms word and pdf format for job interview. Download bluestar placement papers in PDF and Ms word format. Latest and bluestar last 5 years placement papers with solutions pdf download for campus job.

BlueStar Placement Paper : BlueStar Aptitude - General

Blue star paper has got 2 sections. Firstly u need to clear the aptitude test. It is very easy. Some of the ques are as follows: 

    1.   Complete the series  1 6 3 7 5 8 7 ?    
              ans: 9

    2.   If circle is one octagon is 2 4 6 8 or 1                                         

    3.    pick the odd one out   bend   shave   chop   whittle   shear
            ans bend.

   4.    2 persons start from a pt. and go in opposite  directions. After going 3 km they turn left 
          and walk  4 km .how far r they now?   Ans: 10 km

  5.     There was a ques on work something like 2 typists type 2 papers in 4 hrs then in how much 
          time will 5 typists take or something like that

  6.     There were 2 ques on proverbs u were supposed to tell the meaning.they were easy.

  7.     A person runs 6 ft in 1/4 sec. how much it will run in 10 sec. ans 240

  8.     Find odd one cat ,dog,rabbit,hamster,elk.

  9.     In a party man & his wife ,and there r 2 son with their wives, and every son has 4 children

          in his family .how  manyperson r in party.

 10.    Unsreambled the word P U T E C A S A H (like that) paraschute

 11.    Add a word in starting of SCAPE and at the end of Grass, u will get two different word 
         ans:- land grassland landscape                                                                

 13.   All men of this party are republican . mohan is member of this party. mohan is republican is 

         true or false or camn,t say?

 14.   There r 1200 elephant .some have blue and pink strips.some have pink & green strip. 400 ele.
         have only pink strip. how many have only blue strip   Ans:. 400
         b. can,t determined. c.none

 15.   Day light Day break Day time After clearing aptitude there was technical paper.  It had 2
         sections.In section A there were 4 subsections out of  which 2 were to be attempted. the
          first subsection was on c and unix, second on c++,third on vb/asp/com and  fourth on rdbms. In 
          section B general computer awareness.  In section A I did c and c++. Some ques were
          as follows

                                         Technical 

   1.   void main()
         {
          extern int a;
          a=10;
           printf("%d",a);
          }
         1.  Give linker error- a not defined ans
          2.  Print 10
          3.  Give compiler error

   2.    int a[10];
         printf("%d,%d",a[0],a[12]);
         will compiler show any error?                                                                   
         ans no

  3.    socket() is a
           1.  system call ans
           2.   library function
           3.   both
           4.   none

         In c++ there were conceptual ques on virtualfunctions , operator overloading etc. in section B 

          some ques were as follows 1.in microprocessor over clocking will result in
           1.  overheating
           2.  malfunctioning  ans(check)
           3.   life would be half
           4.

  4.    Cache is
           1.  ROM
           2.  RAM ans
           3.  PRAM
           4.  EPRAM

  5.      How can pass an array to a fns.                                                       
           1.   desgin(**a)
           2.   desgin (*a)
           3.  dasgien(&a[0]);
           4.

  6.     Unix has pipelining fromatted &
              a.  high level
              b.  low "
              c .  mid level
              d.  none "

  7.     Task switching is
             1.process switching
             2.
             3
             4.all of the above ans

  8.     Thread arev ans .light weight process+(c)....................... 

  9.     virual fns are defined as ................

 10.     which is not bus interface
            a.  pci
            b.  ide
            c.  age
            d.   none

 11.      switch statement use only                                                                           
            a.  char
            b.  int
            c.  both
            d.  all of the above

 12.    Multiple inheritence can not be used in a case.......................................?

 13.    What is difference b/w simple SQDL & Object oriented SQDL.

 14.    Virtual Destructor is used...........................

 15.    Question on two pass assembler.........................

 16.    Link list uses
            a.  countiguos memory allocation
            b.  non coun. " "
            c.  both
            d.  none

 17.    Non linear structure a. q & stack
            ans:- b.tree & graph
               c. tree & stack
               d. tree & linklist

 18.    E ncryption is
             ans a. change readable code to cipher text
               b.none
                c.
                d.
 19.    Sizeof () operator is used for
          a.  data type
          b.  data type & veriable
          ans c. both
         d.   none

 20.    deadlock condition
          ans. no process knows exactly that both are waiting for each other.

 21.     static
          ans:- it,s initial value is one --- not true
 22.     new can be overloaded ------ true
 23.     virtual function------- ans a and c means no code and forceful inheritance
 24.       for(;;)
           ans:- infinite loop

          Only three unix questions were there                                                           
           1. socket() is  a   answer: a)  system call

          2. two types of pipeline in unix one is formatted  and  other one   is highlevel  middle level  
              
lowlevel none  ( i don,t answer for this question  pls check  it out)
 RDBMS
         
1. CAN foreign key have null values??  
              
answer: YES

          2 IN RDbms SORTING IS PERFORMED IN   

             ANSWER: TEMP  

BlueStar Placement Paper : BlueStar Whole Testpaper

 BlueStar Paper

1st Round – GD – Topics –

1. What should India to improve its winning chances against australia in forthcoming tour.

2. America’s War on Iraq.

3. Freedom of Press.

4.Latest developments on India-Pakistan peace process.

5.Effect of tv on society.

Each group was given two topics and they had to discuss 5 minutes on each topic.

2nd Round – Written Test – 47 questions in 1 hour. All were technical. No negative marking.

3rd Round – Personal Interview.

All three round were shortlisting rounds.

TECHNICAL

Montreal protocol limits the use of _______ ? ans. Ozone depleting substance
Rain drop is spherical due to ________ ? ans. Surface tension
Global warming is due to _______ ? ans. Carbon-di-oxide
One ton of refrigeration is equal to_______ ? ans. 12000 btu/hr
For a laminar flow Reynolds flow should be ______ ? ans. Less than 2000
In latent heating a substance _________ ? ans. Changes phase without increase in temperature
Degree of saturation is ratio of _______ ?
A pipe friction test shows that, over the range of speeds used for the test, the non-dimensional friction factor f, varies inversely with Reynolds No. It can be inferred from above that, ans. Pipe should be smooth.
In a rough turbulent flow in a pipe, the friction factor would depend upon? Ans. Pipe diameter and pipe condition.
What is the refrigerant used in vapour absorption cycle?
Pick the odd one out. F12, F22, F11, CO
Expansion in a vapour compression cycle is an_______ ? ans. Isenthalpic process
What is the work of throttling process? Ans. Expansion
What is the material of heat exchanger tubes? Ans. Copper
Tachometer is used to measure _________ ? ans. Speed
Mercury is used in manometer because ________ ?
Check valves are used to ensure ________ ? ans. Unidirectional flow
Anti-freeze agent used is _________? Ans. Ethylene glycol
Anemometer can be used to measure _________ ?
Bypass factor of a cooling coil is _________?
Aspect ratio of a rectangular duct is the ratio between its _______ ?
The temp that is numerically the same in Fahrenheit & centigrade scales is ________ ?
The loudness of sound depends upon its ________ ?
Dewpoint is the temperature at which water vapor will undergo ________ ? ans. Condensation
One question using the formula 120fs/p
In inductance _______ leads _______ ?
Power factor is least in ______ ? a. capacitance b. resistance c. inductance
Barometer is used to measure _______ ?
Identify the odd one out a. DIN b. ISI c. JIS d. IIT
If the NPSH requirements of a pump are not satisfied it will _______ ?
Approach of a cooling tower is the difference between temperatures of ________ ?
A parallel flow heat exchanger will perform better than a counter flow heat exchanger. State whether this is true or false
The index that normally reflects laminar flow in a tube is ______ ? ans. Reynolds no.
Pressure drop in air duct is influenced by __________ ? ans. shape of the duct
By increasing the intake air temp, efficiency of IC engine will _______ ? ans. decrease
Interview questions

Person 1

Tell about urself (Background specifically)
What do u know about bluestar?
What are its products?
What is the type of air conditioner used in this interview room?
We are going to appoint u as a sales executive for a product which is newly produced by bluestar. But that product is being produced by its competitors. How will u promote the product?
How will u show difference from ur competitors?
Why haven’t u continued ur painting art works? ( The person had said I used to do paintings once)
Why did u choose mechanical engineering when coimbatore is famous for textiles?
What is ur aim in life?
How will u achieve that?
PERSON 2

Tell about urself.
Why did u choose bluestar?
Tell about ur family.
Whether u are payment or free seat?
What is ur fee structure?
How will u satisfy ur customers?
U are talking a lot. But do u know whether u are listening to u are not? How?
How do u say that u have management skills?
What do u do other than studies?
You are supposed to sell a product in a place which is very new to you.(u don’t know that language). There are no dealers also. How will u sell the product?
What is ur ambition?
What is ur weakness?

BlueStar Placement Paper : BlueStar Whole Testpaper

BLUE STAR INFOTECH  Question Papers 4 2004

/*****************BLUE STAR BIT,MESRA 2004****************/
there were two sections A and B
section A was mandatory
section B contained 4 parts. u have to solve problems of any two parts


/******************Section ,a,*******************************/


20 questions were asked

1.configuration of an UART in serail communication has
a.clock signal
b.baud rate,stop bit,data length
c.both
d.none

2.deadlock happens when two process waiting for the resources used by each other in this condition
a.both process knows that they are waiting for each other
b.one process knows that other is waiting
c.both a and b
d.none

3.physical memory location in running program is resolved by
a.linker
b.compiler
c.loader
d.none

4.task switching is switching between
a.process
b.threads
c.concurrent part in same progarm
d.all

5.in 2-pass compiler
a.identifier can be used without its declaration
b.indentifier should be declared before its first use.
c.both
d.none

6.difference between functional/ordinary SDLC and object-oriented SDLC is
a.in functional SDLC the develpoment time is more than design time
b.in object oriented SDLC ,design time is more than development time.
c.both
d.none

7.which of the following is not a bus-interface for a microprocessor
a.ISA
b.AGP
c.PCI
d.ICE

8.which of the following statement are true for structure
a. a structure can contain a pointer to itself.
b. structure can be compared
c.both
d.none

9.which is not defined as codd,s rule of RDBMS
a.comprehensive data sub language rule
b.view updates.
c.physical data dependency
d.integrity dependency

10.encryption means
a.text to cipher
b.cipher to text
c.
d.

11. in microprocessor over clocking will result in
a.overheating
b.malfunctioning
c.
d.

12.cache is
a..ROM
b.RAM
c.PROM
d.EPROM

13.unix os implements two types of pipes ,one is formatted and other is
a.low level pipes
b.high level pipes
c.middle level pipes
d.none

/*******************section B ********************************/


-------part A (c and unix, 10 questions were asked)-----------


1.void main()
{
extern int a;
a=10;
printf("%d",sizeof(a));
}
will
a. give linker error- a not defined
b. print 10
c. give compiler error

2.int a[10];
a[0]=12;
a[12]=17;
printf("%d,%d",a[0],a[12]);
will compiler show any error?

3.socket() is a
a.system call
b. library function
c.both
d. none

4.the parameter of sizeof operatror is
a.data type
b.variable
c.both
d.none

5.the argument of switch command is of type
a.character
b.integer
c.both
d.all of the above

6.


-------part b(c++ ,10 question)------


1. differance between pointer and referance

2.inheritance of a class is relationship like
a. IS A(answer)
b. HAS A
c.
d.

3.In c++ differance between structure and class
a.
b.
c.
d.access specifier (answer)

4.default parameter implies
5.

guidelines: have a command on these topics
virtual functon
multiple inheritance( 2 questions)
operator overloading 
 

BlueStar Placement Paper : BlueStar Whole Testpaper

BLUE STAR INFOTECH  Question Papers 3 2004

1.What would be the output of the following program.
#include<stdio.h>
main()
{
extern int a;
printf("%d",a);;
}
int a=20;
(a) 20 (b) 0 (c) garbage value (d) error!!

2.What would be the output of the following program.
main()
{
int a[5]={2,3};
printf("\n %d %d %d",a[2],a[3],a[4]);
}
(a) garbage value (b) 2 3 3 (c) 3 2 2 (d) 0 0 0

3.What would be the output of the following program.
main()
{
inti=-3,j=2,k=0,m;
m=++i&&++j||++k;
printf("\n %d %d %d %d",i,j,k,m);
}
(a) -2 3 0 1 (b) -3 2 0 1 (c) -2 3 1 1 (d) error

4.What would be the output of the following program.
main()
{
int a,b;
a=sumdig(123);
b=sumdig(123);
printf("%d %d",a,b);
}
sumdig(int n)
{
static int s=0;
int d;
if(n!=0)
{
d=n%10;
n=(n-d)/10;
s=s+d;
sumdig(n);
}
else return(s);
}
(a) 12 6 (b) 6 12 (c) 3 15 (d) error

5.What would be the output of the following program.
#define CUBE(x) (x*x*x)
main()
{
int a,b=3;
a=CUBE(b++);
printf("\n %d %d",a,b);
}
(a) 64 4 (b) 27 4 (c) 27 6 (d) 64 6

6.What would be the output of the following program.
main()
{
const int x=get();
printf("%d",x);
}
get()
{
return(20);
}
(a) 20 (b) garbage value (c) error (d) 0

7.A function has this prototype void f1(int **x),
How will you call this function?
(a) int **a; (b) int a; (c) int *a; (d) int a=5;
f1(a); f1(&a); f1(&a); f1(&&a);

8.pointout the error, if any, in the for loop
main()
{
int l=1;
for(;
{
printf("%d",l++);
if(l>10)
break;
}
}
(a) The condition in the for loop is a must (b) The two semicolons should be dropped
(c) The for loop should be replaced by awhile loop (d) No error

9.Can the following piece of code be executed?
int main(void)
{
char strA[10]="compile",strB[10];
my_strcpy(strB,strA);
puts(strB);
}
char * my_strcpy(char *destination,char *source)
{
char *p=destination;
while(*source!=,\0,)
{
*p++=*source++;
}
*p=,\0,;
return destination;
}
(a) Compilation will only give a warning but will proceed to execute & will display "compile"
(b) The compilation error char *(char *,char *) differs in levels of indirection from ,int(), will occur
(c) Yes & it will print compile on the screen (d) None of the above

10.What would be the output of the following program.
#include<stdio.h>
main()
{
char str[5]="fast";
static char *ptr_to_array = str;
printf("%s",ptr_to_array);
}
(a) Compilation will only give a warning but will proceed to execute & will display "fast"
(b) display "fast" on screen (c) will give a compilation error (d) none of the above

11.What would be the output of the following program.
main()
{
int num,*p;
num=5;
p=&num;
printf("%d",*p);
}
(a) 6 (b) 5 (c) junk value (d) compilation error

12.What would be the output of the following program.
main()
{
int a[3]={2,3,4};
char *p;
p=a;
p=(char *)((int *)p+1);
printf("%d",p);
}
(a) 2 (b) 0 (c) junk value (d) 3

13.What would be the output of the following program.
main()
{
int i=10;
fn(i);
printf("%d",i);
}
fn(int i)
{
return ++i;
}
(a) 10 (b) 11 (c) 12 (d) Compilation error

14. What will be the value of i & j after the loop isexecuted?<BR> for(i=0,j=0;i<5,j<25;i++,j++)
(a) i=4,j= 24 (b) i=24,j= 24 (c) i=25,j= 25 (d) i=5,j=25

15.What would be the output of the following program.
main()
{
int i,j;
i=10;
j=sizeof(++i);
printf("%d",i);
}
(a) 11 (b) 10 (c) 4 (d) compilation error

16.What would be the output of the following program.
main()
{
int i=7;
printf("%d\n",i++*i++);
}
(a) 49 (b) 56 (c) 72 (d) compilation error

17. What will the printf print?
main()
{
char *p,*f();
p=f();
printf("f() returns:%s\n",p);
}
char *f()
{
char result[80];
strcpy(result,"anything will do");
return (result);
}
(a) f() returns: anything will do (b) f() returns:
(c) compilation error (d) The printf statement is not going to be executed

18.How many times the following program would print ,Jamboree,?
main()
{
printf("\n Jamboree");
main();
}
(a) infinite number of times (b) 32767 times
(c) 65535 times (d) till the stack does not overflow

19.Notice the error in the default statement in the code snippet below.Will it give a compilation error?
main()
{
int a=10,j;
j=fn(a);
switch(j)
{
case 30: printf("the value is 30");
break;
case 50: printf("the value is 50");
break;
default:printf("the value is not 30 or 50");
}
}
fn(int a)
{
return (++a);
}
(a) Will display "the value is 30" (b) Will display "The value is not 30 or 50"
(c) Yes a compilation error would happen
(d) No compilation errors but there will be no output on the screen

20.What would be the output of the following program.
main()
{
struct emp
{
char name[20];
int age;
float sal;
};
struct emp e = {"tiger"};
printf("\n %d %f",e.age,e.sal);
}
(a) 0 0.000000 (b) Garbage values (c) Error (d) none of the above
   

BlueStar Placement Paper : BlueStar Whole Testpaper

Bluestar - Placement sample paper format

Paper 1 : Aptitude
Paper 2: Technical Paper.


Paper 2 has following 2 sections:-
Section A: It has four sub sections, out of which two have to be done.
Section B: General Computers Awareness.

The Subsections of Section A are:-
Subsection A: C & Unix.
Subsection B: C++.
Subsection C: VB/ASP/Com.
Subsection D: RDBMS
  

BlueStar Placement Paper : BlueStar Paper Whole Testpaper - 1 March 2004

BLUE STAR INFOTECH  Question Papers 3 2004

1.What would be the output of the following program.
#include<stdio.h>
main()
{
extern int a;
printf("%d",a);;
}
int a=20;
(a) 20 (b) 0 (c) garbage value (d) error!!

2.What would be the output of the following program.
main()
{
int a[5]={2,3};
printf("\n %d %d %d",a[2],a[3],a[4]);
}
(a) garbage value (b) 2 3 3 (c) 3 2 2 (d) 0 0 0

3.What would be the output of the following program.
main()
{
inti=-3,j=2,k=0,m;
m=++i&&++j||++k;
printf("\n %d %d %d %d",i,j,k,m);
}
(a) -2 3 0 1 (b) -3 2 0 1 (c) -2 3 1 1 (d) error

4.What would be the output of the following program.
main()
{
int a,b;
a=sumdig(123);
b=sumdig(123);
printf("%d %d",a,b);
}
sumdig(int n)
{
static int s=0;
int d;
if(n!=0)
{
d=n%10;
n=(n-d)/10;
s=s+d;
sumdig(n);
}
else return(s);
}
(a) 12 6 (b) 6 12 (c) 3 15 (d) error

5.What would be the output of the following program.
#define CUBE(x) (x*x*x)
main()
{
int a,b=3;
a=CUBE(b++);
printf("\n %d %d",a,b);
}
(a) 64 4 (b) 27 4 (c) 27 6 (d) 64 6

6.What would be the output of the following program.
main()
{
const int x=get();
printf("%d",x);
}
get()
{
return(20);
}
(a) 20 (b) garbage value (c) error (d) 0

7.A function has this prototype void f1(int **x),
How will you call this function?
(a) int **a; (b) int a; (c) int *a; (d) int a=5;
f1(a); f1(&a); f1(&a); f1(&&a);

8.pointout the error, if any, in the for loop
main()
{
int l=1;
for(;
{
printf("%d",l++);
if(l>10)
break;
}
}
(a) The condition in the for loop is a must (b) The two semicolons should be dropped
(c) The for loop should be replaced by awhile loop (d) No error

9.Can the following piece of code be executed?
int main(void)
{
char strA[10]="compile",strB[10];
my_strcpy(strB,strA);
puts(strB);
}
char * my_strcpy(char *destination,char *source)
{
char *p=destination;
while(*source!=,\0,)
{
*p++=*source++;
}
*p=,\0,;
return destination;
}
(a) Compilation will only give a warning but will proceed to execute & will display "compile"
(b) The compilation error char *(char *,char *) differs in levels of indirection from ,int(), will occur
(c) Yes & it will print compile on the screen (d) None of the above

10.What would be the output of the following program.
#include<stdio.h>
main()
{
char str[5]="fast";
static char *ptr_to_array = str;
printf("%s",ptr_to_array);
}
(a) Compilation will only give a warning but will proceed to execute & will display "fast"
(b) display "fast" on screen (c) will give a compilation error (d) none of the above

11.What would be the output of the following program.
main()
{
int num,*p;
num=5;
p=&num;
printf("%d",*p);
}
(a) 6 (b) 5 (c) junk value (d) compilation error

12.What would be the output of the following program.
main()
{
int a[3]={2,3,4};
char *p;
p=a;
p=(char *)((int *)p+1);
printf("%d",p);
}
(a) 2 (b) 0 (c) junk value (d) 3

13.What would be the output of the following program.
main()
{
int i=10;
fn(i);
printf("%d",i);
}
fn(int i)
{
return ++i;
}
(a) 10 (b) 11 (c) 12 (d) Compilation error

14. What will be the value of i & j after the loop isexecuted?<BR> for(i=0,j=0;i<5,j<25;i++,j++)
(a) i=4,j= 24 (b) i=24,j= 24 (c) i=25,j= 25 (d) i=5,j=25

15.What would be the output of the following program.
main()
{
int i,j;
i=10;
j=sizeof(++i);
printf("%d",i);
}
(a) 11 (b) 10 (c) 4 (d) compilation error

16.What would be the output of the following program.
main()
{
int i=7;
printf("%d\n",i++*i++);
}
(a) 49 (b) 56 (c) 72 (d) compilation error

17. What will the printf print?
main()
{
char *p,*f();
p=f();
printf("f() returns:%s\n",p);
}
char *f()
{
char result[80];
strcpy(result,"anything will do");
return (result);
}
(a) f() returns: anything will do (b) f() returns:
(c) compilation error (d) The printf statement is not going to be executed

18.How many times the following program would print ,Jamboree,?
main()
{
printf("\n Jamboree");
main();
}
(a) infinite number of times (b) 32767 times
(c) 65535 times (d) till the stack does not overflow

19.Notice the error in the default statement in the code snippet below.Will it give a compilation error?
main()
{
int a=10,j;
j=fn(a);
switch(j)
{
case 30: printf("the value is 30");
break;
case 50: printf("the value is 50");
break;
default:printf("the value is not 30 or 50");
}
}
fn(int a)
{
return (++a);
}
(a) Will display "the value is 30" (b) Will display "The value is not 30 or 50"
(c) Yes a compilation error would happen
(d) No compilation errors but there will be no output on the screen

20.What would be the output of the following program.
main()
{
struct emp
{
char name[20];
int age;
float sal;
};
struct emp e = {"tiger"};
printf("\n %d %f",e.age,e.sal);
}
(a) 0 0.000000 (b) Garbage values (c) Error (d) none of the above  

 

By Category
Post Your Resume Here