Please get me previous years CDAC entrance exam papers.. its urgent

Showing Answers 1 - 38 of 38 Answers

Shinde Dattatray

  • Aug 21st, 2006
 

Sir,

Pls send me detail Information about C-DAC Courses & sample papers of CST Entrance Examination.

                                                                                your's thanksful

                                                                                   Datta Shinde

shafali mangal

  • Aug 28th, 2006
 

please send me the date of cdac exame it urgent 

  Was this answer useful?  Yes

priyank khare

  • Aug 28th, 2006
 

respected sir,memplz tell me the present cdac examination date iam desperate to give an exami hav done Btech computers sciencei wann do cdac plz tell me the current exam datepriyank khare

Sachin Sharma

  • Sep 4th, 2006
 

Respected Sir/Mem

Please tell me the present CDAC examination date, I am desperate to give an exam. I have done B.Sc (Science) I want to do CDAC. Please tell me the current exam and about exams.

nitin ashish

  • Sep 21st, 2006
 

Hi,

      I am preparing for the C-DAC entrance.I am looking for somebody who can send me the previous year question.It will be a great help.

please do this for me.

Thanks & Regards...

nitin ashish.

prachee singh

  • Sep 27th, 2006
 

Please get me previous year cdac question papers of fpgdst/pgdst course.and also tell me the date of exam of fpgdst/pgdst course.please do the needful.thanks

  Was this answer useful?  Yes

sugam srivastava

  • Sep 28th, 2006
 

sir , i am a student of b.tech.final year with e.c. branch in U.P.T.U.. i want the last year admission papers of the cdac examination.pls mail me if u have

  Was this answer useful?  Yes

manish kumar

  • Oct 4th, 2006
 

i want to prepare for c dac . so please give me the previous question paper..

vikas

  • Oct 9th, 2006
 

i want to apply  in cdac this year

 but i have no enough knowledge about the entrance

exam of cdac please help me.

u r annoying

  • Nov 6th, 2006
 

i have done BE Mech, in 2005,and lookin for doing cdac computing course.can anyone tell me the courses offered, elegibilty, best course, exam date, and best place to do the course, plzits really urgent,

  Was this answer useful?  Yes

silpa

  • Nov 6th, 2006
 

iam intrested to write exam in ur cdacso if u help me r if u give the oppurtunity i will be thank full

  Was this answer useful?  Yes

randhir anand

  • Nov 12th, 2006
 

I want previous year questions paper for cdac for post graduate diploma in advanced software design & development entrence exam.

  Was this answer useful?  Yes

Geeta

  • Nov 12th, 2006
 

Hello sir, It will be a great help if you can send some CDAC entrance exam papers...Thanks a lot in advance.Looking forward to your quick reply.Warm Regards,Geeta

  Was this answer useful?  Yes

samir

  • Nov 13th, 2006
 

i would comment when i get results

  Was this answer useful?  Yes

ABHAY

  • Nov 18th, 2006
 

wanna papers of previous years for CDAC entrance exam,immegiatly.please.

  Was this answer useful?  Yes

prathapkumar kalluri

  • Dec 18th, 2006
 

What is the procedure for entrance exam of CDAC for BTech electronics and communication students and please send me previous entrance exam papers

  Was this answer useful?  Yes

Mayank Madhav

  • Jan 9th, 2007
 

Hello, I am working at NCST Mumbai juhu,gave CST 06 G level last yr ,papers as such are not allowed to be taken home.They are submitted at the time of exam.So as such I can't give you the exam papers but can tell you about the exam pattern.
GA aptitude paper was very easy and had only maths questions predominantly only 2 English, 25 questions and 1 hr time is good enough for this.
DS paper had same 25 questions comprising of Data Structure general concepts Trees,B-trees,and algorithms like breath first search,depth first search,.....very general questions like no. of nodes in m-way tree having s leaf nodes...etc.And questions on Algorithms were like u will be given graphs and expected to solve those graphs using algorithms.Enough time to solve them in detail if you know algo.Like Floyd warshal or Djikastra,...spaning tree.
CO/OS paper was mostly of OS theoritical questions checking ur OS knowledge.Small questions of Job Schedulling etc.If  u r preparing for GATE half of ur preapration is done for OS paper.
Optional papers consist of
 F.4. Web Technology
 F.5. Computer Networks
 F.6. Database Management
 F.7. Software Engineering
 F.8. Java Technologies
 F.9. Object-Oriented Programming and C++
 F.10. Power Electronics
 F.11. Embedded Technology
of these Software Engg was easiest for me.DBMS was tough.OOPS C++ easy.Java again had little knowledge so tough for me.2 hrs are enough for 2 of 7 papers.Try attempting atleast 3-4 for better chances of scoring.
BEST OF LUCK

  Was this answer useful?  Yes

 

Part I English Language Ability

 

Directions:- The given pair of words contains a specific relationship to each other. Select the best pair of choices which expresses the same relationship as the given

 

1. IGNOMINY : DISLOYALTY ::

fame : heroism

death : victory

derelict : fool

martyr : man

 

2. EXPLOSION : DEBRIS ::

flood : water

famine : food

fire : ashes

disease : germ

 

3. Bland : Piquant ::

inane : relevant

charlatan : genuine

slavish : servile

terse : serious

 

4. NEGLIGENT : REQUIREMENT::

remiss : duty

cogent :argument

easy : hard

careful : position

 

Directions:- Choose the best word, which is most opposite in the meaning to the given word

 

4. FETTER :

delay

stretch

comply

thrive

 

5. SEDULOUS :

rampant

esoteric

morose

indolent

    

6. SUCCULENT :

ordinary

tasteless

inexpensive

invigorating

  

7. DORMANT :

authoritative

elastic

active

uninteresting

 

8. COURT :

reject

uncover

infect

subject

 

Directions:- The given pair of words contains a specific relationship to each other. Select the best pair of choices which expresses the same relationship as the given

 

6. INTIMIDATE : FEAR ::

Maintain : satisfaction

Astonish : wonder

Soothe : concern

Lion : tame

 

Directions:- Pick out the best choice which can complete the incomplete stem correctly and meaningfully

 

7.It was an extremely pleasant surprise for the hutment-dweller when the Government officials told him that__________

he had to vacate hutment which he had been unauthorized occupying

he had been gifted with a furnished apartment in a multistoried building

he would be arrested for wrongly encroaching on the pavement outside his dwelling

they would not accede to his request

 

8. In the closing days of the civil War, President Abraham Lincoln was planning to graciously welcome the defeated confederate states back into the Union. After Lincoln was assassinated, however, the “Radical Republicans” in Congress imposed martial law in the South, creating resentment that caused problems well into this century. Had Lincoln lived, the history of regional conflict in 20th century America would have been considerably different. All of the following assumptions underline the argument above EXCEPT The imposition of martial law in the South was primarily responsible for the resentment felt in the South Had he lived, lincoln would have treated hte defeated South as he had planned Lincoln would have been able to prevent the Radical Republicans in Congress from imposing martial law in the South Factors other than the imposition of martial law in the South affected the history of regional conflicts in 20th century America

 

9. A politician wrote the following: “I realize there are shortcomings to the questionaire method. However, since I send a copy of the quetionnaire to every home in the district, I believe the results are quite representative…. I think the numbers received are so large that it is quite accurate even though the survey is not done scientifically” Most people who received the questionnaire have replied Most people in the district live in homes. the questionnaire method of data collection is unscientific A large, absolute number of replies is synonymous with accuracy

 

10. A worldwide ban on the production of certain ozone-destroying chemicals would provide only an illusion of protection. Quantities of such chemicals, already produced, exist as coolants in millions of refrigerators. When they reach the ozone layer in the atmosphere, their action cannot be halted. So there is no way to prevent these chemicals from damaging the ozone layer further. Which of the following, if true, most seriously weakens the argument above? It is impossible to measure with accuracy the quantity of ozone-destroying chemicals that exist as coolants in refrigerators. In modern societies, refrigeration of food is necessary to prevent unhealthy and potentially life-threatening conditions. Even if people should give up the use of refrigerators, the coolants already in existing refrigerators are a threat to atmospheric ozone. The coolants in refrigerators can be fully recovered at the end of the useful life of the refrigerators and reused

 

11. Every town with a pool hall has its share of unsavory characters.This is because the pool hall attracts gamblers and all gamblers are unsavory. Which of the following, if true cannot be inferred from the above?

All gamblers are unsavory

All pool halls attract gamblers

Every town has unsavory characters

All gamblers are attracted by pool halls

 

Directions:- The workweek in a small business is a five-day workweek running from Monday through Friday. In each workweek, activities L,M,N,O and P must all be done.The work is subject to the following restrictions:

 

L must be done earlier in the week than O and earlier than P

M must be done earlier in the week than N and earlier than O

No more than one of the activities can ever be done on any one day

 

12. Which of the following is an acceptable schedule starting from Monday to Friday? L, M, N, O, P<-------------ans

M, N, O, N, M

O, N, L, P, M

P, O, L, M, L

 

13. In a game, exactly six inverted cups stand side by side in a straight line, and each has exactly one ball hidden under it. The cups are numbered consecutively 1 through 6. Each of the balls is painted a single solid color. The colors of the balls are green, magenta, orange, purple, red, and yellow. The balls have been hidden under the cups in a manner that conforms to the following conditions:

 

The purple ball must be hidden under a lower-numbered cup than the orange ball.

The red ball must be hidden under a cup immediately adjacent to the cup under which the magenta ball is hidden.

The green ball must be hidden under cup 5.

Which of the following could be the colors of the balls under the cups,in order from 1 through 6?

Green, yellow, magenta, red, purple, orange

Magenta, green, purple, red, orange, yellow Magenta, red, purple, yellow, green, orange<-ans

Orange, yellow, red, magenta, green, purple

 

Directions:- In a group there are five students coded as P Q R S T.Qand R are intelligent in mathematics and geology. P and R are intelligent in mathematics and hindi. Q and S are intelligent in psychology and buddhist studies. T is intelligent in buddhist studies hindi and psychology

 

14. who is intelligent in psychology, geology and buddhist studies

Q <-------------ans

T

R

S

 

Directions:- The following questions are based on the following situations.Asha, Babli, Charn, Deepti, Eira, Farha are cousins. No two cousins are of the same age ,but all have birth days on the same date in that year. The youngest is 17 years old and the oldest is Eira is 22.Farha is somewhere between Babli and Deepti in age.Asha is older than Babli. Charn is older than Deepti

 

15. If asha is one year older than charn the number of logically possible orderins of all six cousins by increasing age is

2 <-ans (Babli, Asha, Farha, Charn, Deepti, Eira )

3

4

5

 

16. It is easier to swim in the sea water than in river water because sea is vast mass of water sea water is generally calm

The density of sea water is higher than river water<---------ans

They water of sea is cool and greenish

 

17. starting from a point x jayant walked 15metres towards the west he turned to his left and walked 20 metres he then turned to his left and walked 15 metres he then further turned to his right and walked 12 metres how far is jayant from the point x and in which direction?

32 metres south

47 metres east

42 metres north

27 metres south <-------------ans

 

18. Rock and roll music started in the 1950s as a young mans medium and rock is still best performed by men in their twenties and thirties. As rock performers grow into their forties and even fifties, they are simply less physically capable of producing the kind of exciting music they did when they were younger. All of the following assumptions underline the argument above EXCEPT: As rock performers mature, their performances tend to become less exciting

Rock music is dominated by male performers

Women performers have always played a significant role in rock music

The physical demands of performing rock are better met by the young <————-ans

  

Question:  CDAC - Data Structures Aptitude Question and Answers

 

Answer: 1. what is data structure?

A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data.

 

2. List out the areas in which data structures are applied extensively?

Compiler Design,

Operating System,

Database Management System,

Statistical analysis package,

Numerical Analysis,

Graphics,

Artificial Intelligence,

Simulation

 

3. What are the major data structures used in the following areas : RDBMS, Network data model & Hierarchical data model.

RDBMS - Array (i.e. Array of structures)

Network data model - Graph

Hierarchical data model - Trees

 

4. If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

 

5. Minimum number of queues needed to implement the priority queue?

Two. One queue is used for actual storing of data and another for storing priorities.

 

6. What is the data structures used to perform recursion?

Stack. Because of its LIFO (Last In First Out) property it remembers its 'caller' so knows whom to return when the function has to return. Recursion makes use of system stack for storing the return addresses of the function calls.

 

Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent iterative procedures are written, explicit stack is to be used.

 

/*******************************************/***********************************

 

GOIIT website question papers

 

Physics

Multiple Choice Question with Only One Choice Correct

The photoelectric current in a photoelectric cell depends upon

(a) the nature of the metal used as the emitter

(b) the wavelength of the incident light

(c) the intensity of the incident light

(d) all the above parameters 

Ans: (d)

 

Chemistry

Multiple Choice Question

Among the hydrohalic acids, the strongest one in water is (a) HF (b) HCl (c) HBr (d) HI

Ans: (d)

 

Mathematics

Multiple Answer Question

The foot of the perpendicular from the origin to the join of A(-9, 4, 5) and B (11, 0, -1) lies on the plane (a) 2x + y + z = 6  (b) x - y + z = 1 

(c) x + y + z = 1  (d) x - y - z = 1 

Ans: (a), (b), (c)

**************************************/**********************************/******cst.cdac question and answers

 

Sample Questions for General Aptitude (GA)

  

Five example questions are given below to apprise candidates of the type of questions they may expect in the exam. Give yourself on an average two and a half minutes to answer each question.

  

1) Stock options for employees are the latest step in progression from management ownership to employee ownership. Employee ownership can save loss-making companies.

 

From the following statements, choose that one, which if true, does NOT provide support for the claim above.

 

(a)   Employee owned companies generally have higher productivity

 

(b)   Employee participation in management raises morale

 

(c)   Employee ownership tends to drive up salaries

 

(d)   Employee ownership enables workers to share in company profits

 

 

2) If  log8 3 = 0.5283 and  log8 5 = 0.7740,   then what is the value of log8 45 ?

  

(a) 1.6553   (b) 1.8306    (c) 3.8066   (d) 0.8178

  

3) The following represents the summation of two numbers where X, Y and Z represent distinct digits among 0, 1, 2, …, 9.

 

                  XYZ

                  ZYX

              -----------

 

                YYZY

 

What does X represent?

 

(a) 6      (b) 7      (c) 8      (d) 9

  

4) Four places A, B, C and D are situated in a city as follows:

 

B is situated due east of A at a distance of 6 km.

 

C can be reached from B by travelling 2 km due east and then 4 km due north.

 

D is situated due west of C and is at equal distance from A and B.

 

What is the distance between A and D?

 

(a) 3.5 km     (b) 4 km    (c) 4.5 km     (d) 5 km

    

5) Any government officer who allows bribery to flourish must be subject to ________ .

  

(a) stringency (b) stricture (c) vagary (d) mockery

  

Answers to Sample Questions:

 

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

 

 

Sample Questions for Computer Concepts (CC)

 

1) Floating point numbers in a computer are represented using a 10-bit mantissa (including a sign bit) and a 6-bit exponent (including a sign bit). What is the approximate value of the maximum number, which can be represented? Assume that the mantissa is stored in the normalised form, that is, without leading zeroes.

(a)     264     (b)     263     (c)     232     (d)     231

 

2) Which one of the following statements is always true?

(a)    A compiled program uses more memory than an interpreted program.

(b)    A compiler converts a program to a lower level language for execution.

(c)    A compiler for a high level language takes less memory than its interpreter.

(d)    Compiled programs take more time to execute than interpreted programs.

 

3) Suppose a system has been evolved, called the ternary system, by creatures having only 3 fingers. Numbers in this system are written down, using the digits 0, 1, and 2, with 2>1>0.

 

    What will be the binary equivalent of 222 in this system?

(a)    101010   (b) 11000   (c) 10110    (d) 11010

 

4)  What will be the value of the C expression?

        4 + 6 / 3 * 2 - 2 ?

 

     (a) 3         (b) 4     (c) 5    (d) 6

 

5)  Consider the following program segment:

i = 6720; j = 4;

while ( (i % j) = = 0){

    i = i / j;

    j = j + 1;

 }

   

What will be the value of j on termination of the segment?

a) 4     (b) 8     (c) 9     (d) 6720

 

 Answers to Sample Questions

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

  

*************/****************************************

 

L-LEVEL

 

Sample Questions for General Aptitude (GA)

 

Five example questions are given below to apprise candidates of the type of questions they may expect in the exam. Give yourself on an average two and a half minutes to answer each question.

1) Stock options for employees are the latest step in progression from management ownership to employee ownership. Employee ownership can save loss-making companies.

From the following statements, choose that one, which if true, does NOT provide support for the claim above.

(a)     Employee owned companies generally have higher productivity

(b)     Employee participation in management raises morale

(c)     Employee ownership tends to drive up salaries

(d)     Employee ownership enables workers to share in company profits

2) If  log8 3 = 0.5283 and  log8 5 = 0.7740,   then what is the value of log8 45 ?

 

(a) 1.6553   (b) 1.8306    (c) 3.8066   (d) 0.8178

 

3) The following represents the summation of two numbers where X, Y and Z represent distinct digits among 0, 1, 2, …, 9.

             X Y Z

             Z Y X

        _________

 

          Y Y Z Y

What does X represent?

(a) 6      (b) 7      (c) 8      (d) 9

 

4) Four places A, B, C and D are situated in a city as follows:

B is situated due east of A at a distance of 6 km.

C can be reached from B by travelling 2 km due east and then 4 km due north.

D is situated due west of C and is at equal distance from A and B.

What is the distance between A and D?

(a) 3.5 km     (b) 4 km    (c) 4.5 km     (d) 5 km

 

5) Any government officer who allows bribery to flourish must be subject to ________ .

 

(a) stringency (b) stricture (c) vagary (d) mockery

 

Answers to Sample Questions:

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

A.2.3. Sample Questions

1) Floating point numbers in a computer are represented using a 10-bit mantissa (including a sign bit) and a 6-bit exponent (including a sign bit). What is the approximate value of the maximum number, which can be represented? Assume that the mantissa is stored in the normalised form, that is, without leading zeroes.

(a)         (b)      (c) 2       (d) 2

 

2) Which one of the following statements is always true?

(a)    A compiled program uses more memory than an interpreted program.

(b)    A compiler converts a program to a lower level language for execution.

(c)    A compiler for a high level language takes less memory than its interpreter.

(d)    Compiled programs take more time to execute than interpreted programs.

 

3) Suppose a system has been evolved, called the ternary system, by creatures having only 3 fingers. Numbers in this system are written down, using the digits 0, 1, and 2, with 2>1>0.

 

    What will be the binary equivalent of 222 in this system?

(a)    101010   (b) 11000   (c) 10110    (d) 11010

 

4)  What will be the value of the C expression?

        4 + 6 / 3 * 2 - 2 ?

 

     (a) 3         (b) 4     (c) 5    (d) 6

 

5)  Consider the following program segment:

i = 6720; j = 4;

while ( (i % j) = = 0){

    i = i / j;

    j = j + 1;

 }

 

What will be the value of j on termination of the segment?

a) 4     (b) 8     (c) 9     (d) 6720

 

Answers to Sample Questions

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

    

Sample Questions for Computer Concepts (CC)

 

1) Floating point numbers in a computer are represented using a 10-bit mantissa (including a sign bit) and a 6-bit exponent (including a sign bit). What is the approximate value of the maximum number, which can be represented? Assume that the mantissa is stored in the normalised form, that is, without leading zeroes.

(a)         (b)      (c) 2       (d) 2

 

2) Which one of the following statements is always true?

(a)    A compiled program uses more memory than an interpreted program.

(b)    A compiler converts a program to a lower level language for execution.

(c)    A compiler for a high level language takes less memory than its interpreter.

(d)    Compiled programs take more time to execute than interpreted programs.

 

3) Suppose a system has been evolved, called the ternary system, by creatures having only 3 fingers. Numbers in this system are written down, using the digits 0, 1, and 2, with 2>1>0.

 

    What will be the binary equivalent of 222 in this system?

(a)    101010   (b) 11000   (c) 10110    (d) 11010

 

4)  What will be the value of the C expression?

        4 + 6 / 3 * 2 - 2 ?

 

     (a) 3         (b) 4     (c) 5    (d) 6

 

5)  Consider the following program segment:

i = 6720; j = 4;

while ( (i % j) = = 0){

    i = i / j;

    j = j + 1;

 }

 

What will be the value of j on termination of the segment?

a) 4     (b) 8     (c) 9     (d) 6720

 

Answers to Sample Questions

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

Sample Questions for Computer Programming in C (CP)

1) What will be the output of the following program segment? (Given that ASCII codes are used and that the codes for the lowercase letters are greater than that of the uppercase letters).

 char c;

 c = 'C' + 'a' - 'A' + 1;

 printf("%c", c);

(a)     a     (b) p    (c) d      (d) r

2)  The following code segment is supposed to print out letters from 'a' to 'z'. What is the smallest piece of code possible to substitute for XXX so that the program does this?

 char c = 'a';

 while(c++ <= 'z') putchar(XXX);

   (a) c--      (b) c            (c) c - 1          (d) c++

3) The following program segment is supposed to find the number of lowercase letters in the input. There is a bug in one of the lines in the program.

 lower = 0;

 while ((c = getchar()) != EOF){

     if((c >= 'a') || (c <= 'z'))

     lower++;

 }

 

     Which of the choices below is the correct version of the line?

     (a) lower = 1;      (b) if((c >= 'a') && (c < 'z'))

     (c) ++lower;        (d) if((c >= 'a') && (c <= 'z'))

4)  In the following segment of 'C' code, which of the lines has a syntax error?

   char *a, *b, c[100], d[100];

   a = b;  (1)

   b = d;  (2)

   c = a;  (3)

   a = c;  (4)

     (a) 1   (b) 2   (c) 3   (d) 4

5)  What does the following program print?

 void max(int x, int y, int m)

 {

      if (x > y) m = x;

     else m = y;

 }

 int main(void)

 {

     int i, j, k;

     i = 20; j = 5; k = 0;

     max(i, j, k);

     printf("%dn", k);

 }

 

(a) 5     (b) 20     (c) 0     (d) None of these

 

Answers to Sample Questions

1) (c)    2) (c)     3) (d)     4) (c)     5) (c)

 

/**************************/*****************************

 

D-LEVEL

 

Sample Questions for General Aptitude (GA)

 

Five example questions are given below to apprise candidates of the type of questions they may expect in the exam. Give yourself on an average two and a half minutes to answer each question.

1) Stock options for employees are the latest step in progression from management ownership to employee ownership. Employee ownership can save loss-making companies.

From the following statements, choose that one, which if true, does NOT provide support for the claim above.

(a)     Employee owned companies generally have higher productivity

(b)     Employee participation in management raises morale

(c)     Employee ownership tends to drive up salaries

(d)     Employee ownership enables workers to share in company profits

2) If  log8 3 = 0.5283 and  log8 5 = 0.7740,   then what is the value of log8 45 ?

 

(a) 1.6553   (b) 1.8306    (c) 3.8066   (d) 0.8178

 

3) The following represents the summation of two numbers where X, Y and Z represent distinct digits among 0, 1, 2, …, 9.

             X Y Z

             Z Y X

        _________

 

          Y Y Z Y

What does X represent?

(a) 6      (b) 7      (c) 8      (d) 9

 

4) Four places A, B, C and D are situated in a city as follows:

B is situated due east of A at a distance of 6 km.

C can be reached from B by travelling 2 km due east and then 4 km due north.

D is situated due west of C and is at equal distance from A and B.

What is the distance between A and D?

(a) 3.5 km     (b) 4 km    (c) 4.5 km     (d) 5 km

 

5) Any government officer who allows bribery to flourish must be subject to ________ .

 

(a) stringency (b) stricture (c) vagary (d) mockery

 

Answers to Sample Questions:

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

  

 

Sample Questions for Computer Programming in C (CP)

 

1) What will be the output of the following program segment? (Given that ASCII codes are used and that the codes for the lowercase letters are greater than that of the uppercase letters).

 char c;

 c = 'C' + 'a' - 'A' + 1;

 printf("%c", c);

(a)     a     (b) p    (c) d      (d) r

2)  The following code segment is supposed to print out letters from 'a' to 'z'. What is the smallest piece of code possible to substitute for XXX so that the program does this?

 char c = 'a';

 while(c++ <= 'z') putchar(XXX);

   (a) c--      (b) c            (c) c - 1          (d) c++

3) The following program segment is supposed to find the number of lowercase letters in the input. There is a bug in one of the lines in the program.

 lower = 0;

 while ((c = getchar()) != EOF){

     if((c >= 'a') || (c <= 'z'))

     lower++;

 }

 

     Which of the choices below is the correct version of the line?

     (a) lower = 1;      (b) if((c >= 'a') && (c < 'z'))

     (c) ++lower;        (d) if((c >= 'a') && (c <= 'z'))

4)  In the following segment of 'C' code, which of the lines has a syntax error?

   char *a, *b, c[100], d[100];

   a = b;  (1)

   b = d;  (2)

   c = a;  (3)

   a = c;  (4)

     (a) 1   (b) 2   (c) 3   (d) 4

5)  What does the following program print?

 void max(int x, int y, int m)

 {

      if (x > y) m = x;

     else m = y;

 }

 int main(void)

 {

     int i, j, k;

     i = 20; j = 5; k = 0;

     max(i, j, k);

     printf("%dn", k);

 }

 

(a) 5     (b) 20     (c) 0     (d) None of these

 

B.3.4. Answers to Sample Questions

1) (c)    2) (c)     3) (d)     4) (c)     5) (c)

 

 

Sample Questions for Computer Organization and Operating Systems (CO)

 

1) Which of the following fields must occur explicitly as a part of machine instruction?

 

(a)   Operation Code

 

(b)   Source operand reference

 

(c)   Result operand reference

 

(d)   Next instruction reference

 

2) Which of the following is not a feature of RISC architecture?

 

(a)   Large number of registers

 

(b)   Pipelining

 

  Was this answer useful?  Yes

sunil verma

  • Jun 2nd, 2012
 

Sir , I am a student of B.tech.final year with CSE branch in U.P.T.U.. I want the previous year entrance question papers of the c-dac examination.so plz send me..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions