13.07.2015 Views

B.Tech E & T 3rd Sem

B.Tech E & T 3rd Sem

B.Tech E & T 3rd Sem

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BTETE20III SEMESTER B.TECH EXAMINATION, JANUARY-2013PRINCIPLES OF PROGRAMMINGTime: 3 Hours Max. Marks: 75GROUP A : Answer any three questions. (Question No. 1 is compulsory)Q.1 Compare (a) array and vector(b) call by value and call by reference (05)Q.2 Explain direct file organization and indexed sequential file organization. (10)Q.3 Explain abstract data types with example. (10)Q.4 Declare a class employee having data members as emp-id& name from thisclass derive two classes as worker and manager. Class worker will haveadditional data members as “skill” i.e. “welding” etc. and manager will haveadditional data members as car allowance. Accept and display data for theobject of class. (10)Q.5 WAP to define a structure tender having data members tender no, cost,company name. Accept and display data for one variable of this structure. (10)GROUP B : Answer any three questions. (Question No. 6 is compulsory)Q.6 Why study programming language? (05)Q.7 Discuss embedded system environment and its effect on language design. (10)Q.8 What are virtual computers and language implementation? (10)Q.9 Discuss Byte code and explain JVM in detail? (10)Q.10 Discuss storage representation for linear data structure. (10)GROUP C: All Questions are Compulsory.Q.11 Fill in the blanks (each question carries 2 marks).(i)(ii)(ii)(iv)(v)Data object represents a ___________________ for data values.Embedded computer system is often a ________________composed of morethan one computerA ______________ is a data object containing an unordered collection ofdistinct values.______________ means the ability of a single operator or subprogram nameto refer to any number of function definitions depending on the data types ofthe arguments and results.Prolog is a______ programmingQ.12 Multiple choice question. (Each question carries 2 marks)(i)The programs executed by a computer are written in the following language.(a) High level (b) Low level (c) Machine level

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!