📖 Samacheer Kalvi · 11th TN - English Medium · Computer Science · Page 278question

Evaluation · Part 3

Chapter 3: 4 · Computer Science

object of the following class: (a) Personal (b) Marks (c) Result . . Write the names of data members accessible from the object of class Result. .

. Write the names of all member functions accessible from the object of class Result. . Write the names of all members accessible from member functionsof class Result.

. Write the output of the following program #include<iostream> using namespace std; class A protected: int x; public: void show() {cout<<"x = "<<x<<endl;} A() { cout<<endl<<" I am class A "<<endl;} ~A() { cout<<endl<<" Bye ";} }; class B : public A {protected: int y; public: B(int x1, int y1) { x = x1; y = y1; B() { cout<<endl<<" I am class B "<<endl; } ~B() { cout<<endl<<" Bye "; } void show() { cout<<"x = "<<x<<endl; cout<<"y = "<<y<<endl; } }; int main() {A objA; B objB( , ); objB.show(); return ; } . Debug the following program %include(iostream.h) #include<conio.h> class A() { public; int a1,a2:a3; void getdata[] a1= ; a2= ; a3= ; } class B:: public A() PUBLIC voidfunc() { int b1:b2:b3; A::getdata[]; b1=a1; b2=a2; a3=a3; cout<<b1<<’\t’<<b2<<’t\’<<b3; } void main() B der; der1:func(); } CASE STUDY Write a class for a class Stock Each Stock has a data member which holds the net price, and a constructor which sets this price. Each Stock has a method (), which calculates and returns the gross price (the gross price includes VAT at %) Reference: Object Oriented Programming with C++ (4th Edition), Dr.

E. Balagurusamy, Mc.Graw Hills. Chapter Page - - Learning Objectives After learning this chapter, the students will be able to • To know about cyber-crimes. • To understand the guidelines and need for ethics in cyber-world.

• To understand issues related to cyber-crimes. • To know the functionality of firewalls and proxy servers. • To learn about encryption and decryption. • To gain knowledge on IT Act.

. INTRODUCTION Internet is a communication media which is easily accessible and open to all. Information Technology is widespread through computers, mobile phones and internet. There is a lot of scope and possibility for misuse of

Related topics

Have a question about this topic?

Get an AI answer grounded in your actual textbook — with the exact page reference.

Ask AI about this topic →