APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 6

Year : 2020

Term : SEPTEMBER

Scheme : 2015 Full Time

Course Code : EC 312

Page:2





PDF Text (Beta):

a)

b)

a)
b)

a)

b)

a)

b)

a)

b)
a)

b)

03000EC312052002

PART ‏تا‎
‎Answer any two full questions, each carries 15 marks
What is this pointer? Give a sample code illustrating any one application of this

pointer.

What are packages in Java? What are the steps to add a class to a package?

What is a virtual function? Explain with a sample code.

Write a program to create three threads A, B, C in Java using the thread class.
Thread A shall print all the even natural numbers less than 100, Thread B shall print
all the natural numbers divisible by 3 and less than 100, Thread C shall print all the
numbers which are common in Thread A and Thread B.

What is the output of the following code? Explain

#include
using namespace std;
class Parent

{

public:

virtual ~Parent() {cout<<”In Destructor A\n”; }

7
class Child: public Parent
{

public:

~Child() {cout<<”In Destructor B\n”; }

};
int main()
{

Parent *ptr = new Child();

delete ptr;

return 0;
}

Explain the use of ‘super’ keyword with an example.
PART C

Answer any two full questions, each carries 20 marks
What are activities in android? Draw the android activity cycle diagram and explain
the callback methods.
Explain Uses-permission and Use-sdk in labels in AndroidManifest.xml file.
What are broadcast receivers? Explain creation and registering of broadcast receiver
with an example.
Explain what is Android Virtual Device? Write any four functionalities of AVD.
Explain any 5 UI controls used in android.
What is AndroidManifest.xml file in android? What are the details included in the
file?

Page 2 of 2

(7)

(8)

(7)
(8)

(8)

(7)

(10)

(10)
(10)

(10)
(10)
(10)

Similar Question Papers