Showing posts with label Online Resources. Show all posts
Showing posts with label Online Resources. Show all posts

Friday

Uses of ICT in Self Learning and Online Resources for Students

 

Dear Learners,

In this video I have explained about Online resources and ICT tools for self learning:

https://youtu.be/_Hq2V5m4tAs




Wednesday

Important Questions for Class 12 Computer Science (C++) – Constructor and Destructor (Part 3)

 Question 26:

Answer the questions (i) and (ii) after going through the following class: Delhi 2013

class Motor
{
int MotorNo, Track; 
public:
Motor();          //Function 1
Motor(int MN);    //Function 2
Motor(Motor &M);  //Function 3
void Allocate()   //Function 4
void Move();
};
void main() 
{
Motor M;
  :
  :
}
  1. Out of the following, which of the option is correct for calling Function 2?
    Option 1 – Motor N(M);
    Option 2 – Motor P(10) ;
  2. Name the feature of object oriented programming, which is illustrated by Function 1, Function 2 and Function 3 combined together.

Аnswer:

  1. Option 2-Motor P( 10) is correct.
  2. Constructor overloading.

Question 27:
Answer the questions (i) and (ii) after going through the following class: Delhi 2012

class Tour 
{
int LocationCode;
char Location[20]; 
float charges;
public:
Tour()    //Function 1
{
LocationCode = 1; 
strcpy(Location,"PURI"); 
charges = 1200;
}
void TourPlan(float C) //Function 2
{
cout<<LocationCode<<":"<< Location<<":”<<charges<<endl; 
charges += 100;
}
Tour(int LC, char L[], float C)  //Function 3
{
LocationCode=LC; 
strcpy(Location,L); 
charges = C;
}
~Tour()    //Function 4
{
cout<<"TourPlan Cancelled"<<endl;
}
};
  1. In object oriented programming, what are Function 1 and Function 3 combined together as?
  2. In object oriented programming, which concept is illustrated by Function 4? When is this function called/invoked?

Аnswer:

  1. Function 1 and Function 3 combined together referred as constructor overloading, i.e. polymorphism.
  2. Function 4 indicates destructor. This function is called/invoked whenever an object goes out of scope.

Question 28:
Answer the questions (i) and (ii) after going through the following class: All India 2012

class Travel 
{
int PlaceCode; 
char Place[20]; 
float Charges; 
public:
Travel()    //Function 1
{
PlaceCode = 1; 
strcpy(Place, "DELHI");
Charges = 1000;
}
void TravelPlan(float C) //Function 2 
{
cout<<PlaceCode<<":"<<Place<<":"<<Charges<<endl;
}
∼Travel()    //Function 3
{
cout<<"TravelPlan Cancelled"<<endl;
}
Travel(int PC, char P[], float C)    //Function 4 
{
PlaceCode = PC; 
strcpy(Place, P):
Charges = C;
}
};
  1. In object oriented programming, what are Function 1 and Function 4 combined together as ?
  2. In object oriented programming, which concept is illustrated by Function 3? When is this function called/invoked?

Аnswer:

  1. Function 1 and Function 4 combined together referred as constructor overloading, i.e. polymorphism.
  2. Function 3 indicates destructor/ This function is called/invoked whenever an object goes out of scope.

Question 29:
Find the output of the following program: Delhi 2012

#include<iostream.h> 
class Train 
{ 
int TNo.TripNo.PersonCount;
public:
Train(int TN = 1)
{
TNo = TN:
TripNo=0;
PersonCount=0;
}
void Trip(int TC=100)
{
TripNo++;
PersonCount+=TC;
}
void Show()
{
cout<<TNo<<":"<<TripNo<<":"<<PersonCount<<endl;
}
};
void main()
{
Train T(10),N;
N.Trip();
T.Show();
N.Trip(70);
N.Trip(40);
N.Show();
T.Show();
}

Аnswer:
Output of the given program would be:
10:0:0
1:3:210
10:0:0

Question 30:
Find the output of the following program: All India 2012

#include<iostream.h> 
class METRO 
{
int Mno,TripNo,PassengerCount; 
public:
METR0(int Tmno=1)
{
Mno=Tmno:
TripNo=0;
PassengerCount=0;
}
void Trip(int PC=20)
{
TripNo++;
PassengerCount+=PC;
}
void StatusShow()
{
cout<<Mno<<":"<<TripNo<<":"<<PassengerCount<<endl;
};
void main()
{
METRO M(5),T;
M.Trip();
T.Trip(50);
M.StatusShow();
M.Trip(30);
T.StatusShow(); 
M.StatusShow();
}

Аnswer:
Output of the given program would be:
5:1:20
1:1:50
5:2:50

Question 31:
Rewrite the following program after removing the syntactical errors (if any). Underline each correction. Delhi 2011c

#inc1ude<iostream.h> 
#include<stdio.h> 
class AUTO 
{
char Model[20]; 
float Price;
AUTO()
{
Price = 0;
strcpy(Model,"NULL");
}
public:
void GetInfo()
{
cin>>Price; 
gets(Model);
}
void PutInfo()
{
cout<<setw(10)<<Price<<setw(10)<<Model<,<endl;
}
}
void main()
{
AUTO Car; 
Car.GetInfo(); 
Car.PutInfo();
}

Аnswer:

#include<iostream.h>
#include<stdio.h> 
#include<string.h>
#inc1ude<iomanip.h> 
class AUTO
{
char Model[20]; 
float Price; 
public:
AUTO()
{
Price = 0;
strcpy(Model, "NULL”);
}
void Getlnfo()
{
cin>>Price; 
gets(Model);
}
void Putlnfo()
{
cout<<setw(10)<<Price<<setw(10)<<Model<<endl;
}
};
void main()
{
AUTO Car;
Car.Getlnfo();
Car.Putlnfo();
}

Question 32:
Answer the questions (i) and (ii) after going through the following class; All India 2010

class Exam 
{
int Rno, MaxMarks, MinMarks, Marks; 
public:
Exam()    //Module 1
{
Rno - 101; MaxMarks = 100; 
MinMarks = 40; Marks = 75;
}
Exam(int Prno.int Pmarks) //Module 2
{
Rno = Prno; MaxMarks = 100; 
MinMarks = 40; Marks = Pmarks;
}
∼ExamO    //Module 3
{
cout<<"Exam over"<<endl;
}
void show()    //Module 4
{
cout<<Rno<<":"<<MaxMarks<<":"<<MinMarks<<endl; 
cout<<"[MarksGot]"<<Marks<<endl;
}
};
  1. As per object oriented programming, which concept is illustrated by Module 1 and Module 2 together?
  2. What is Module 3 specifically referred as, when do you think Module 3 will be invoked/called?

Аnswer:

  1. Constructor overloading or polymorphism.
  2. Function 3 is referred to as destructor. It is invoked or called, when scope of an object gets over.

Question 33:
Answer the questions (i) and (ii) after going through the following class: Delhi 2016

class TEST
{
int Regno, Max, Min, Score; 
public:
TESTO    //function 1
{
Regno = 101; Max = 100;
Min = 40; Score = 75;
}
TEST(int Pregno.int Pscore) //Function 2
{
Regno = Pregno; Max = 100; 
Min = 40; Score = Pscore;
}
~TEST()    //Function 3
{
cout<<"TEST over"<<endl;
}
void Display()   //Function 4
{
cout<<Regno<<":"<<Max<<":"<<Min<<endl; 
cout<<"[Score]"<<Score<<endl;
}
};
  1. As per object oriented programming, which concept is illustrated by Function 1 and Function 2 together?
  2. What is Function 3 specifically referred as, when do you think Function 3 will be invoked/called?

Аnswer:

  1. Constructor overloading or polymorphism.
  2. Function 3 is referred to as destructor. It is invoked or called, when scope of an object gets over.

Question 34:
Answer the questions (i) and (ii) after going through the following class: HOTS; Delhi 2009

class WORK
{ 
int Workld; char WorkType; 
public:
∼WORK()    //Function 1
{
cout<<"Un-allocated"<<endl;
}
void status()    //Function 2
{
cout<<WorkId<<":"<<WorkType<<endl;
}
WORK()    //Function    3
{
Workld = 10; WorkType = 'T';
}
WoRK(WORK &W)    //Function 4
{
WorkId = W.WorkId+12;
WorkType = W.WorkType+1;
}
};
  1. Which member function, out of Function 1, Function 2, Function 3 and Function 4 shown in the above definition of class WORK is called automatically, when the scope of an object gets over? Is it known as constructor or destructor or overloaded function or copy constructor?
  2. WORK W; //Line 1
    WORK Y(W); //Line 2
    Which member function, out of Function 1, Function 2, Function 3 and Function 4 shown in the above definition of class WORK will be called on execution of statement written as Line 2? What is this function specifically known as out of destructor or copy constructor or default constructor?

Аnswer:

  1. Function 1 is called, when the scope of an object gets over. It is called destructor.
  2. Function 4 will be called and this function is referred to as copy constructor.

Question 35:
Answer the questions (i) and (ii) after going through the following class: Delhi 2009C

class Factory
{
char Name[20]; 
int Workers; 
public:
Factory()    //Function 1
{
strcpy(Name, "Default”); 
Workers = 0;
}
void Details() //Function 2
{
cout<<Name<<endl<<Workers<<endl;
}
Factory(char*act_Name,int No);  //Function 3 
Factory(Factory & F);   //Function 4
};
  1. In object oriented programming, what is function 4 referred as? Also, write a statement which will invoke this function.
  2. In object oriented programming, which concept is illustrated by Function 1, Function 3 and Function 4 together?

Аnswer:

  1. Function 4 is referred to as copy constructor.
    The statement to invoke it as follows:
    Factory F2(“ABC”, 101);
    Factory F3(F2); //Invoking Function 4
  2. Function 1, Function 3 and Function 4 illustrate the concept of constructor overloading; i.e. polymorphism

Question 36:
Answer the questions (i) and (ii) after going through the following class: All India 2009

class Job 
{
int JobId; 
char JobType; 
public:
∼Job()    //Function 1
{
cout<<"Resigned"<<endl;
}
Job()    //Function 2
{
JobId = 10; JobType = 'T';
}
void TellMe()   //Function 3
{
cout<<JobId<<":"<<JobType<<endl;
}
Job(Job &J)    //Function 4
{
JobId = J.JobId+10;
JobType = J.JobType+1;
}
};
  1. Which member function out of Function 1, Function 2, Function 3 and Function 4 shown in the above definition of class Job is called automatically, when the scope of an object gets over? Is it known as constructor or destructor or overloaded function or copy constructor?
  2. Job P; // Line 1
    Job Q(P1 ; // Line 2
    Which member function out of Function 1, Function 2, Function 3 and Function 4 shown in the above definition of class Job will be called on execution of statement written as Line 2? What is this function specifically known as out of destructor or copy constructor or default constructor?

Аnswer:

  1. Function 1 is called, when the scope of an object getsover. It is called destructor.
  2. Function 4 is called, when Line 2 is executed. It is called copy constructor.

Question 37:
Rewrite the following C++ program code after removing the syntax error(s) (if any). Underline each correction. Delhi 2009

#inClude<iostream.h> 
#include<stdio.h> 
class Employee 
{
int EmpId=901; 
char EName[20]; 
public
Employee(){} 
void Joining()
{
cin>>EmpId; 
gets(EName);
}
void List()
{
cout<<EmpId<<":"<<EName<<endl;
}
};
void main()
{
Employee E;
Joining.E();
E.List();
}

Аnswer:

#include<iostream.h> 
#include<stdio.h>
class Employee 
{
int Empld:   //cannot initialise data member here
char EName[20]; 
public:    //: symbol is required after public 
Employee(){EmpId = 901;} 
void Joining()
{ 
cin>>EmpId; 
gets(EName);
}
void List() 
{
cout<<EmpId<<":"<<EName<<endl;
}
};
void main()
{
Employee E;
E.Joining(); //object name is used before members 
E.List();
}

Question 38:
Rewrite the following program after removing the syntactical error(s) (if any). Underline each correction. All India 2009

#include<iostream.h> 
#include<stdio.h> 
class MyStudent 
{
int StudentId=1001; 
char Name[20]; 
public
MyStudent(){}
void Register() 
{
cin>>StudentId;
gets(Name);
}
void Display()
{
cout<<StudentId<<":"<<Name<<endl;
}
};
void Main()
{
Mystudent MS;
Register.MSC();
MS.Display();
}

Аnswer:

#include<iostream.h>
#1nclude<stdio.h> 
class MyStudent
{
int Studentld; 
char Name[20]; 
public:
MyStudent(){Studentld=1001;}
void Register()
{
cin>>StudentId; 
gets(Name);
}
void Display!)
{
cout<<StudentId<<":"<<Name<<endl;
}
};
void main()
{
MyStudent MS;
MS.Reaister();
MS.Display();
}

4 Marks Questions

Question 39:
Define a class CABS in C++ with the following specification: Delhi 2014
Data members

  • CNo – to store Cab No
  • Type – to store a character ‘A’, ‘B’ or ‘C as City Type
  • PKM – to store per Kilometre charges
  • Dist – to store Distance travelled (in KM)

Member functions

  • A constructor function to initialise Type as ‘A’ and CNo as ‘1111’
  • A function Charges( ) to assign PKM as per the following table:
  • A function Register( ) to allow administrator to enter the values for CNo and Type. Also, this function should call Charges( )to adding PKM charges.
  • A function ShowCab( ) to allow user to enter the value of Dist and display CNo, Type, PKM, PKM Dist (as Amount) on screen.
TypePKM
‘A’25
‘B’20
‘C15

Аnswer:

class CABS 
{
int CNo; 
char Type; 
float PKM; 
float Dist; 
public;
CABS()
{
 Type = 'A';
 CNo = 1111;
}
void Charges!)
{
if(Type == 'A')
PKM = 25;
else if(Type == 'B')
PKM = 20;
else if(Type == 'C')
PKM = 15;
}
void Register()
{
cout<<"Enter value for CNo:"; 
cin>>CNo;
cout<<"Enter value for Type:"; 
cin>>Type;
Charges();
}
void ShowCab()
{
cout<<"Enter the value of Distance:”; cin>>Dist; 
cout<<"\nCab Number: "<<CNo; 
cout<<"\nType:"<<Type; 
cout<<"\nPer Kilometre Charges:"<<PKM; 
cout<<"\nAmount:"<<PKM*Dist;
}
};

Question 40:
Define a class Tourist in C++ with the following specification: All India 2014
Data members

  • CNo – to store Cab No
  • CType – to store a character A B or C as City Type
  • PerKM – to store per Kilometre charges
  • Distance – to store Distance travelled (in KM)

Member functions

  • A constructor function to initialise CType as A and CNo as ‘0000’
  • A function CityChargesO to assign PerKM as per the following table:
  • A function RegisterCab( ) to allow administrator to enter the values for CNo and CType. Also, this function should call CityChargesO to assign PerKM Charges.
  • A function Display( ) to allow user to enter the value of Distance and display CNo, CType, PerKM, PerKM*Distance (as Amount) on screen.
CTypePerKM
A20
B18
C15

Аnswer:

class Tourist 
{
int CNo; 
char CType; 
float PerKM; 
float Distance; 
public:
Tourist()
{
CType = 'A';
CNo = 0000; 
}
void CityCharges()
{
if(CType == 'A')
PerKM = 20;
else if(CType == 'B')
PerKM = 18;
else if(CType == 'C')
PerKM = 15;
}
void RegisterCab()
{
cout<<"Enter the Cab Number:"; 
cin>>CNo;
cout<<"Enter the Cab Type:"; 
Cin>>CType;
CityCharges();
}
void Display()
{
cout<<"Enter the Distance:";
cin>>Distance;
cout<<"Registered details are\n"; 
cout<<"Cab Number:"<<CNo<<endl; 
cout<<"Cab Type:"<<CType<<endl; 
cout<<"Charges per km :"<<PerKM<<endl;
cout<<"Amount:"<<PerKM*Distance<<endl;
}
};

Question 41:
Define a class CONTEST in C + + with the following description: All India 2014C
Private Data Members
Eventno – integer
Description – char (30)
Score – integer
qualified –  char
Public Member functions

  • A constructor to assign initial values Eventno as 11, Description as “School level”, Score as 100, qualified as ‘N’.
  • Input( )-To take the input for Eventno, description and score.
  • Award (int cutoffscore)- To assign qualified as ‘Y’, if score is more than the cutoffscore that is passed as argument to the function, else assign qualified as ‘N’.
  • Displaydata( )-to display all data members.

Аnswer:

class CONTEST
{
private:
int Eventno; 
char Description[30]; 
int Score; 
char qualified; 
public:
CONTEST()
{
Eventno=11;
Description-"School level";
Score-100;
qua1ified='N';
}
void input()
{
cout<<”Enter the event no, description and score"; 
cin>>Eventno>>Description; 
cin>>Score;
}
void Award(int cutoffscore) 
{
if(score>cutoffscore) 
qualified='Y'; 
else
qualified='N';
}
void Displaydata()
{
cout<<"Eventno:"<<Eventno; 
cout<<endl; 
cout<<"Description:";<<Description<<endl; 
cout<<"Score:"<<Score<<endl; 
cout<<"Qualified:"cout<<qualified<<endl;
}
};

Question 42:
Define a class Bus in C++ with the following specifications: HOTS; All India 2013
Data members

  • Busno – to store Bus Number
  • From – to store Place name of origin
  • To – to store Place name of destination
  • Type – to store Bus Type such as ‘O’ for ordinary
  • Distance – to store the Distance in Kilometre
  • Fare – to store the Bus Fare

Member functions

  • A constructor function to initialise Type as ‘O’ and Freight as 500.
  • A function CalcFare( ) to calculate Fare as per the following criteria:
  • A function Allocate! ) to allow user to enter values for Busno, From, To, Type and Distance. Also, this function should call CalcFare( ) to calculate Fare.
  • A function Show( ) to display the content of all the data members on screen.
TypePKM
‘O’15* Distance
‘E’20* Distance
‘L’24* Distance

Аnswer:

class Bus 
{
int Busno; 
char From[25]; 
char To[25]; 
char Type; 
float Distance; 
float Fare; 
public:
Bust()
{
Type = ' '; Fare = 500;
}
void CalcFare()
{
if(Type == ' ')
{
Fare = 15*Distance;
}
else if(Type == 'E')
{
Fare = 20*Distance;
} 
else if(Type == 'L')
{ 
Fare = 24*Distance;
}
}
void Allocated()
{
cout<<"Enter the values for Busno, From, To, Type and Distance";
cin>>Busno; 
cin>>From; 
cin>>To; 
cin>>Type; 
cin>>Distance;
Call C Fared();
}
void Show()
{
cout<<"\nBus No:"<<Busno; 
cout<<"\nFrom:"<<From; 
cout<<"\nTo:"<<To; 
cout<<"\nType:"<<Type; 
cout<<"\nDistance:"<<Distance;
cout<<"\nFare:"<<Fare;
}
};

Question 43:
Define a class Tourist in C++ with the following specification: Delhi 2013
Data members

  • Carno-to store Bus No
  • Origin-to store Place name
  • Destination-to store Place name
  • Type-to store Car Type such as ‘E’ for Economy
  • Distance-to store the Distance in Kilometere
  • Charge-to store the Car Fare

Member functions

  • A constructor function to initialise Type as ‘E’ and Freight as 250
  • A function CalcChargef) to calculate Fare as per the following criteria:
  • A function Enter( ) to allow user to enter values for Carno, Origin, Destination, Type and Distance. Also, this function should call CalcCharge( ) to calculate Fare.
  • A function Show( ) to display the content of all the data members on screen.
TypeCharge
‘E’16* Distance
‘A’22* Distance
‘L’30* Distance

Аnswer:

class Tourist 
{
int Carno;
char Origin[20];
char Destination[20];
char Type;
float Distance;
float Charge;
public:
Tourist()
{
Type='E';
Charge=250;
}
void CalcCharge()
{
if(Type=='E')
Charge=16*Distance; 
else if(Type=='A') 
Charge=22*Distance; 
else if(Type='L') 
Charge=30*Distance;
}
void Enter() 
{
cout<<"Enter Carno, Origin, Type, Destination and Distance"; 
cin>>Carno; 
gets(Origin); 
gets(Destination); 
cin>>Type>>Distance; 
CalcCharge();
}
void Show()
{
cout<<"Car No:"<<Carno; 
cout<<"0rigin;"<<0rigin; 
cout<<"Destination:"<<Destination; 
cout<<"Type:"<<Type; 
cout<<" Distance:"<<Distance; 
cout<<"Charge:"<<Charge;
}
};

Important Question Answers - Computer Science with C++ - Communication Technologies

 Question 76:

G.R.K International Inc. is planning to connect its Bengaluru Office Setup with its Head Office in Delhi. The Bengaluru Office G.R.K. International Inc. is spread across an area of approx. 1 square kilometres consisting of 3 blocks.
Human Resources, Academics and Administration. You as network expert have to suggest answers to the four queries (i) to (iv) raised by them.
important-questions-for-class-12-computer-science-c-communication-technologies-(339-2)
important-questions-for-class-12-computer-science-c-communication-technologies-(340-1)

  1. Suggest the most suitable block in the Bengaluru Office Setup, to host the server. Give a suitable reason with your suggestion.
  2. Suggest the cable layout among the various blocks within the Bengaluru Office Setup for connecting the blocks.
  3. Suggest a suitable networking device to be installed in each of the blocks essentially required for connecting computers inside the blocks with fast and efficient connectivity.
  4. Suggest the most suitable media to provide secure, fast and reliable data connectivity between Delhi Head Office and the Bengaluru Office Setup. Delhi 2013

Аnswer:
(i) Human Resources, because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(349-8)
(iii) Hub/Switch
(iv) Satellites

Question 77:
Expertia Professional Global (EPG) in an online corporate training provider company for IT related courses. The company is setting up their new campus in Mumbai. You as a network expert have to study the physical locations of various buildings and the number of computers to be installed. In the planning phase, provide the best possible answers for the queries (i) to
(iv) raised by them.
Physical Locations of the buildings of EPG
important-questions-for-class-12-computer-science-c-communication-technologies-(340-2)
important-questions-for-class-12-computer-science-c-communication-technologies-(340-3)

  1. Suggest the most appropriate building, where EPG should plan to install the server.
  2. Suggest the most appropriate building to building cable layout to connect all three buildings for efficient communication.
  3. Which type of network out of the following is formed by connection the computers of these three buildings?
    (a) LAN
    (b) MAN
    (c) WAN
  4. Which wireless channel out of the following should be opted by EPG to connect to students of all over the world?
    (a) Infrared
    (b) Microwave
    (c) Satellite Delhi 2013

Аnswer:

(i) EPG should install the server in the Faculty Studio Building because it has maximum
important-questions-for-class-12-computer-science-c-communication-technologies-(350-1)
(iii) LAN(Local Area Network)
(iv) Satellite

Question 78:
Granuda consultants are setting up a secured network for their office campus at Faridabad for their day-to-day office and Web based activities. They are planning to have connectivity between 3 buildings and the head office situated in Kolkata. Answer the questions (i) to (iv) after going through the building positions in the campus and other details, which are given below:
important-questions-for-class-12-computer-science-c-communication-technologies-(340-4)
important-questions-for-class-12-computer-science-c-communication-technologies-(341-1)

  1. Suggest the most suitable place (i.e. block) to house the server of this organisation. Also, give a reason to justify your suggested location.
  2. Suggest a cable layout of connections between the building inside the campus.
  3. Suggest the placement of the following devices with justification : ,
    (a) Switch (b) Repeater
  4. The organisation is planning to provide a high speed link with its head office situated in the Kolkata using a wired connection. Which of the following cable will be most suitable for this job?
  5. (a) Optical fibre (b) Coaxial cable (c) Ethernet cable All India 2012

Аnswer:
(i) The most suitable place to house the server
in building JAMUNA because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(350-2)
(iii) Switches are needed in every building as they help share bandwidth in every building.
Repeaters may be skipped as per above layout(because distance is less than 100 m) however if building RAVI and building JAMUNA are directly connected, we can place a repeater there as the distance between these two building is more than 100 m.
(iv) Coaxial cable

Question 79:
Workalot consultants are setting up a secured network for their office campus of Gurgaon for their day-to-day office and Web based activities. They are planning to have connectivity between 3 buildings and the head office situated in Mumbai. Answer the questions (i) to (iv) after going through the building positions in the campus and other details, which are given below:
important-questions-for-class-12-computer-science-c-communication-technologies-(341-2)
important-questions-for-class-12-computer-science-c-communication-technologies-(341-3)

  1. Suggest the most suitable place (i.e. building) to house the server of this organisation. Also, give a reason to justify your suggested location.
  2. Suggest a cable layout of connections between the buildings inside the campus.
  3. Suggest the placement of the following devices with justification :
    (a) Switch
    (b) Repeater
  4. The organisation is planning to provide a high speed link with its head office situated in the Mumbai using a wired connection. Which of the following cables will be most suitable for this job?
    (a) Optical fibre
    (b) Coaxial cable
    (c) Ethernet cable Delhi 2012

Аnswer:
(i) Building RED is the suitable place to house the server because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(350-3)
(iii) Switches are needed in every building as they help share bandwidth in every building.
Repeaters may be skipped as per above layout (because distance is less than 100 m) however if building Green and building Red are directly connected, we can place a repeater there as the distance between these two buildings is more than 100 m.
(iv) Coaxial cable

Question 80:
Quick Learn University is setting up its academic blocks at Prayag Nagar and planning to set-up a network. The university has three academic blocks and one human resource centre as shown in the diagram below:
important-questions-for-class-12-computer-science-c-communication-technologies-(341-4)
important-questions-for-class-12-computer-science-c-communication-technologies-(342-1)

  1. Suggest the most suitable place (i.e. block/centre) to install the server of this university with a suitable reason.
  2. Suggest an ideal layout for connecting these block/centre for a wired connectivity.
  3. Which device will you suggest to be placed/installed in each of these blocks/centre to efficiently connect all the computers with in these blocks/centre ?
  4. The university is planning to connect its admission office in the closest big city, which is more than 250 km from university, which type of network out of LAN, MAN or WAN will be formed? Justify your answer. Delhi 2011

Аnswer:
(i) The most suitable place to install the server is HR Centre because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(350-4)
(iii) Switch
(iv) Wan as it is another city.

Question 81:
Great Studies University is setting up its academic schools at Sunder Nagar and planning to set-up a network. The university has three academic schools and one administration centre as shown in the diagram:
important-questions-for-class-12-computer-science-c-communication-technologies-(342-2)
important-questions-for-class-12-computer-science-c-communication-technologies-(342-3)

  1. Suggest the most suitable place (i.e. school/centre) to install the server of this university with a suitable reason.
  2. Suggest an ideal layout for connecting these block/centre for a wired connectivity.
  3. Which device will you suggest to be placed/installed in each of these school/centre to efficiently connect all the computers with in these schools/centre.
  4. The university is planning to connect its admission office in the closest big city, which is more than 350 km from university. Which type of network out of LAN, MAN or WAN will be formed? Justify your answer. All India 2011

Аnswer:
(i) The most suitable place to install the server is Admin Centre because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(350-5)
(iii) Switch device
(iv) WAN as it is outside the city.

Question 82:
Learn Together is an educational NGO. It is setting up its new campus at Jabalpur for its Web-based activities. The campus has four compounds as shown in the diagram below:
important-questions-for-class-12-computer-science-c-communication-technologies-(342-4)
important-questions-for-class-12-computer-science-c-communication-technologies-(343-1)

  1. Suggest a cable layout of connections between the compounds.
  2. Suggest the most suitable place (i.e. compound) to house the server for this NGO. Also, provide a suitable reason for your suggestion.
  3. Suggest the placement of the following devices with justification:
    (a) Repeater
    (b) Hub/Switch
  4. The NGO. is planning to connect its international office situated in Mumbai, which out of the following wired communication link, will you suggest for a very high speed connectivity?
    (a) Telephone analog line
    (b) Optical fibre
    (c) Ethernet cable. Delhi 2010

Аnswer:
important-questions-for-class-12-computer-science-c-communication-technologies-(350-6)
(ii) The most suitable place to house the server is Training Compound because it has maximum number of computers. •
(iii) (a) Repeater As per one layout (shown in (i), the repeater can be avoided as all distances between the compounds are <=100m.
(b) Hub/Switch Training building as it is hosting the server.
(iv) Optical fibre.

Question 83:
‘Vidya for All’ is an educational NGO. It is setting up its new campus at Jaipur for its Web-based activities. The campus has four buildings as shown in the diagram below:
important-questions-for-class-12-computer-science-c-communication-technologies-(343-2)
important-questions-for-class-12-computer-science-c-communication-technologies-(343-3)

  1. Suggest a cable layout of connections between the buildings.
  2. Suggest the most suitable place (i.e. building) to house the server for this NGO. Also, provide a suitable reason for your suggestion.
  3. Suggest the placement of the following devices with justification
    (a) Repeater (b) Hub/Switch.
  4. The NGO is planning to connect its international office situated in Delhi. Which out of the following wired communication links, will you suggest for a very high speed connectivity?
    (a) Telephone analog line
    (b) Optical fibre
    (c) Ethernet cable. All India 2010

Аnswer:
important-questions-for-class-12-computer-science-c-communication-technologies-(351-1)
(ii) The most suitable place to house the server for this NGO is Training Building because it has the maximum number of computers.
(iii) (a) Repeater As per one layout (shown in (i)), the repeater can be avoided as all distances between the compounds are <= 100 m.
(b) Hub Switch Training building as it is hosting the server
(iv) Optical fibre

Question 84:
Freshminds University of India is starting its first campus in Ana Nagar of South India with its centre admission office in Kolkata. The university has three major blocks comprising of Office block, Science block and Commerce block is in 5 km area campus. ”
As a network expert, you need to suggest the network plan as per (i) to (iv) to the authorities keeping in mind the distance and other given parameters
important-questions-for-class-12-computer-science-c-communication-technologies-(344-1)

  1. Suggest the authorities, the cable layout amongst various blocks inside university campus for connecting the blocks.
  2. Suggest the most suitable place (i.e. block) to house the server for this university with a suitable reason.
  3. Suggest an efficient device from the following to be installed in each of the block to connect all the computers.
    (a) Modem
    (b) Switch
    (c) Gateway
  4. Suggest the most suitable (very high speed) service to provide data connectivity between admission office located in Kolkata and the campus located in Ana Nagar from the following options:
    • Telephone line
    • Fixedline dial-up connection
    • Coaxial cable network
    • GSM
    • Leased line
    • Satellite connection. Delhi 2010,2009

Аnswer:
important-questions-for-class-12-computer-science-c-communication-technologies-(351-2)
(ii) The most suitable place to house the server is Science Block because it has maximum number of computers.
(iii) Switch is the device to be installed in each of the block to connect all the computers.
(iv) Satellite connection

Question 85:
Eduminds University of India is starting its campus in a small town Parampur of Central India with its centre admission office in Delhi. The university has three major buildings comprising of admin building academic buildings and research building in 5 km area campus. As a network expert, you need to suggest the network plan as per (i) to (iv) to the authorities keeping in mind the distances and other given parameters.
important-questions-for-class-12-computer-science-c-communication-technologies-(344-2)

  1. Suggest the authorities, the cable layout amongst various buildings inside the university campus for connecting the buildings.
  2. Suggest the most suitable place (i.e.building) to house the server of this organisation, with a suitable reason.
  3. Suggest an efficient device for the following to be installed in each of thebuilding to connect all the computers
    (a) Gateway
    (b) Modem 1
    (c) Switch
  4. Suggest the most suitable (very high speed) service to provide data connectivity between admission building located in Delhi and the campus located in Parampur form the following options:
    • Telephone line
    • Fixedline dial-up connection
    • Coaxial cable network
    • GSM
    • Leased line
    • Satellite connection. All India 2009

Аnswer:
important-questions-for-class-12-computer-science-c-communication-technologies-(351-3)
(ii) The most suitable place to house the server is Academic Building because it has maximum number of computers.
(iii) Switch is to be installed in each of building to connect all the computers.
(iv) Satellite connection

Question 86:
Institute of Distance Learning is located in Pune and is planning to go in for networking of four wings for better interaction. The details are shown below:
important-questions-for-class-12-computer-science-c-communication-technologies-(345-1)
important-questions-for-class-12-computer-science-c-communication-technologies-(345-2)

  1. Suggest the type of networking (LAN, MAN, WAN) for connecting Lib Wing to Admin Wing. Justify your answer.
  2. Suggest the most suitable place (i.e. wing) to house the server, with a suitable reason.
  3. Suggest and placement of the following devices with reasons
    (a) Repeater (b) Switch
  4. The Institu 3 is planning to link its study centre situated in Delhi. Suggest an economic way to connect it with reasonably high speed. Justify your answer. Delhi 2009C

Аnswer:

  1. Since, the distance between Lib Wing and Admin Wing is small, so type of networking is small, i.e. LAN.
  2. The most suitable place to house the server is student wing because it has maximum number of computers.
  3. (a) Repeater should be installed between Student wing and Admin wing as distance is more than 60 m.
    (b) Switch should be installed in each wing to connect several computers.
  4. Broadband connection as it is between economical and speedy.

Monday

Important Questions for Class 12 Computer Science (C++) – Communication Technologies (Part 2)

 Question 46:

Name any two components required for networking. Delhi 2011C
Аnswer:

Switch/Hub and Repeaters.

Question 47:
What is repeater? Delhi 2011C
Аnswer:

Repeater is an electronic device, that receives a signal and retransmits it at a higher level so that the signal covers longer distance. It’s required if the distance between source and destination is 90 m or more.

Question 48:
What was the role of ARPANET in the computer network? Delhi; All India 2010
Аnswer:

ARPANET (Advanced Research Projects Agency Network). The goal of this project was to connect computers at different universities and US defence.
ARPANET started with a handful of computer but it expanded rapidly.

Question 49:
Which of the following is not an unit for data transfer rate?

  1. Bps
  2. Abps
  3. Gbps
  4. Kbps Delhi 2010

Аnswer:
(ii) Abps is not unit for data transfer rate.

Question 50:
What is the difference between trojan horse and virus in terms of computers? Delhi 2010
Аnswer:

Unlike viruses, trojan horse do not replicate themselves but they can be just a lot destructive. One of the most insidious type of trojan is a program that claims to rid your computer of viruses but instead introduce viruses onto your computer.

Question 51:
What term we use for a software/ hardware device, which is used to block, unauthorised access while permitting authorised communications. This term is also used for a device or set of devices configured to permit, deny, encrypt, decrypt, or proxy all (in and out) computer traffic between different security domains based upon a set of rules and other criteria. Delhi; All India 2010
Аnswer:

Firewall

Question 52:
Write the full forms of the following:

  1. GNU
  2. XML Delhi 2010

Аnswer:

  1. GNU GNU’S NOT UNIX
  2. XML extensible Markup Language

Question 53:
Which of the following is not an unit for data transfer rate?

  1. Mbps
  2. Kbps
  3. Sbps
  4. Gbps Delhi 2011

Аnswer:
(iii) Sbps

Question 54:
What is the difference between virus and worm in the computer? All India 2010
Аnswer:

The main difference between virus and worm is the method by which they reproduce and spread. A virus is dependent upon a boot sector and the transfer of files between machines to spread, while a worm can run completely independently and spread itself through network connections.

Question 55:
Write the full form of the following:

  1. FTP
  2. FSF All India 2010

Аnswer:

  1. FTP File Transfer Protocol
  2. FSF Free Software Foundation.

Question 56:
Name any two common web browsers. All India 2010
Аnswer:

Google Chrome and Internet Explorer.

Question 57:
What is protocol? Which protocol is used to search information from Internet using an Internet browser? Delhi 2009
Аnswer:

Protocol is a set of rules that two or more computers must follow in order to communicate on network. HTTP (HyperText Transfer protocol) is used for searching information from Internet using Internet browser.

Question 58:
Name two switching techniques used to transfer data between two terminals (computers). Delhi; All India 2009
Аnswer:

Switching techniques used to transfer data between two terminals :

  1. Circuit switching
  2. Packet switching

Question 59 :
Expand the following abbreviations

  1. HTTP
  2. ARPANET All India 2009

Аnswer:

  1. HTTP HyperText Transfer Protocol
  2. ARPANET Advanced Research Projects Agency Network

Question 60:
What is protocol? Which protocol is used to copy a file from/to a remotely server ? All India 2009
Аnswer:

Protocol is a set of rules that two or more computers should follow in order to communicate on network. FTP (File Transfer Protocol) is used to copy a file from/to a remotely located server.

Question 61:
Expand the following terminologies

  1. GSM
  2. WLL Delhi 2009 (C)

Аnswer:

  1. GSM Global System for Mobile Communication,
  2. WLL Wireless Local Loop.

Question 62:
Distinguish between Website and Web browser. Delhi 2009 (c)
Аnswer:

Website is a collection of related Web pages served from a single Web domain while Web browser is a software that is used to access and display the Web pages.

Question 63:
What is firewall? Delhi 2009 (C)
Аnswer:

Firewall is a security system that prevents an unauthorised access to a private network. Firewalls can be implemented in both hardware and software or combination of both.

2 Marks Questions

Question 64:
Differentiate between communication using Optical Fibre and Ethernet Cable in context of wired medium of communication technologies. All India 2017
Аnswer:

Differences between Optical Fibre and Ethernet Cable are as follows :
important-questions-for-class-12-computer-science-c-communication-technologies-(348-1)

Question 65:
Janish Khanna used a pen drive to copy files from his friend’s laptop to his office computer. Soon his computer started abnormal functioning. Sometimes it would restart by itself and sometimes it would stop different applications running on it. Which of the following options out of (i) to (iv), would have caused the malfunctioning of the computer? Justify
the reason for your chosen option: All India 2017

  1. Computer Virus
  2. Spam Mail
  3. Computer Bacteria
  4. Trojan Horse

Аnswer:
(i) Computer virus
Reason Computer virus can spread through external media such as CDs, pen drive etc. It is designed to infect the host program and gain control over the system without the owner’s knowledge.

Question 66:
Ms. Raveena Sen is an IT expert and a freelancer. She recently used her skills to access the Admin password for the network server of Super Dooper Technology Ltd. and provided confidential data of the organisation to its CEO, informing him about the vulnerability of their network security. Out of the following options (i) to (iv), which one most appropriately defines Ms. Sen? All India 2017
Justify the reason for your chosen option:

  1. Hacker
  2. Cracker
  3. Operator
  4. Network Admin

Аnswer:
(ii) Cracker
Reason Crackers are generally responsible for breaking into networks, cracking passwords in websites and programs and generally causing havoc through the Internet.

Question 67:
Write any two differences between twisted pair and coaxial pair cable. All India (C)2014
Аnswer:

Two differences between twisted pair and coaxial pair cable are as follows :
important-questions-for-class-12-computer-science-c-communication-technologies-(348-2)

Question 68:
Give the full form of the following terms :

  1. XML
  2. FLOSS
  3. HTTP
  4. FTP Delhi 2011(c)

Аnswer:

  1. XML extensible Markup Language
  2. FLOSS Free Libre and Open Source Software
  3. HTTP HyperText Transfer Protocol
  4. FTP File Transfer Protocol

4 Marks Questions

Question 69:
Hi Standard Tech Training Ltd. is a Mumbai based organisation which is expanding its office set-up to Chennai. At Chennai office compound, they are planning to have 3 different blocks for Admin, Training and Accounts related activities. Each block has a number of computers, which are required to be connected in a network for communication, data and resource sharing.

As a network consultant, you have to suggest the best network related solutions for them for issues/problems raised by them in (i) to (iv), as per the distances between various blocks/locations and other given parameters.
important-questions-for-class-12-computer-science-c-communication-technologies-(336-1)

  1. Suggest the most appropriate block/location to house the SERVER in the CHENNAI office (out of the 3 blocks) to get the best and effective connectivity. Justify your answer.
  2. Suggest the best wired medium and draw the cable layout (Block to Block) to efficiently connect various blocks within the CHENNAI office compound.
  3. Suggest a device/software and its placement that would provide data security for the entire network of the CHENNAI office.
  4. Suggest a device and the protocol that shall be needed to provide wireless Internet access to all smartphone/laptop users in the CHENNAI office. All India 2017

Аnswer:

(i) Training Block is the most appropriate block/location to house the SERVER in the CHENNAI office to get the best and effective connectivity because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(349-1)

(iii) Suggested device is firewall. And it will be placed where all messages are entering or leaving the entire network of the CHENNAI office.
(iv) Device: WiFi card
Protocol: TCP/IP

Question 70:
Uplifting Skills Hub India is a knowledge and skill community which has an aim to uplift the standard of knowledge and skills in the society. It is planning to set-up its training centers in multiple towns and villages pan India with its head offices in the nearest cities. They have created a model of their network with a city, a town and 3 villages as follows. As a network consultant, you have to suggest the best network related solutions for their issues/problems raised in (i) to (iv) keeping in mind the distances between various locations and other given parameters.
important-questions-for-class-12-computer-science-c-communication-technologies-(336-2)
NOTE : In Villages, there are community centers, in which one room has been given as training center to this organisation to install computers.
The organisation has got financial support from the government and top IT companies.

  1. Suggest the most appropriate location of the SERVER in the B_HUB (out of the 4 locations), to get the best and effective connectivity. Justify your answer.
  2. Suggest the best wired medium and draw the cable layout (location to location) to efficiently connect various location within the B_HUB.
  3. Which hardware device will you suggest to connect all the computers within each location of B_HUB?
  4. Which service/protocol will be most helpful to conduct live interactions of Experts from Head Office and people at all locations of B_HUB? Delhi 2016

Аnswer:
(i) B_TOWN is the most appropriate location of the server inside the B_HUB because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(349-2)
Ethernet cable is the best wired medium to connect the various locations within the B HUB.
(iii) Switch
(iv) Telnet

Question 71:
Intelligent Hub India is a knowledge community aimed to uplift the standard of skills and knowledge in the society. It is planning to set-up its training centers in multiple towns and villages pan India with its head offices in the nearest cities.
They have created a model of their network with a city, a town and 3 villages as follows.
As a network consultant, you have to suggest the best network related solutions for their issues/problems raised in (i) to (iv), keeping in mind the distance between various locations and other given parameters.
important-questions-for-class-12-computer-science-c-communication-technologies-(337-1)
NOTE In Villages, there are community centers, in which one room has been given as training center to this organisation to install computers. The organisation has got financial support from the government and top IT companies.

  1. Suggest the most appropriate location of the SERVER in the YHUB (out of the 4 locations), to get the best and effective connectivity. Justify your answer.
  2. Suggest the best wired medium and draw the cable layout (location to location) to efficiently connect various locations within the YHUB.
  3. Which hardware device will you suggest to connect all the computers within each location of YHUB?
  4. Which service/protocol will be most helpful to conduct live interactions of Experts from Head Office and people at YHUB locations? All India 2016

Аnswer:

(i) YTOWN is the most appropriate location of the server inside the YHUB because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(349-3)
Ethernet cable is the best wired medium to connect the various locations within the YHUB.
(iii) Switch
(iv) Telnet

Question 72:
Perfect Edu Services Ltd. is an educational organisation. It is planning to set-up its India campus at Chennai-with its head office at Delhi. The chennai campus has 4 main buildings-ADMIN, ENGINEERING, BUSINESS and MEDIA.
You as a network expert have to suggest the best network related solutions for their problems raised in
(i) to (iv), keeping in mind the distance between the buildings and other given parameters.
important-questions-for-class-12-computer-science-c-communication-technologies-(337-2)

  1. Suggest the most appropriate location of the server inside the CHENNAI campus (oof the 4 buildings), to get the best connectivity for maximum number of computers. Justify your answer.
  2. Suggest and draw the cable layout to efficiently connect various buildings within the CHENNAI campus for connecting the computers.
  3. Which hardware device will you suggest to be procured by the company to be installed to protect and control the Internet uses within the campus?
  4. Which of the following will you suggest to establish the online face-to-face communication between the people in the Admin Office of CHENNAI campus and DELHI Head Office?
    (a) Cable TV
    (b) E-mail
    (c) Video Conferencing
    (d) Text Chat Delhi 2018

Аnswer:

(i) ADMIN is the most appropriate location of the server inside the CHENNAI campus because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(349-4)
(iii) Firewall
(iv) (c) Video Conferencing

Question 73:
Xcelencia Edu Services Ltd. is an educational organisation. It is planning to set-up its India campus at Hyderabad with its head office at Delhi. The Hyderabad campus has 4 main buildings -ADMIN, SCIENCE, BUSINESS and ARTS. You as a network expert have to suggest the best network related solutions for their problems raised in (i) to (iv), keeping in mind the distances between the buildings and other given parameters.
important-questions-for-class-12-computer-science-c-communication-technologies-(338-1)

  1. Suggest the most appropriate location of the server inside the HYDERABAD campus (out of the 4 buildings), to get the best connectivity for maximum number of computers. Justify your answer.
  2. Suggest and draw the cable layout to efficiently connect various buildings within the HYDERABAD campus for connecting the computers.
  3. Which hardware device will you suggest to be procured by the company to be installed to protect and control the Internet uses within the campus?
  4. Which of the following will you suggest to establish the online face-to-face communication between the people in the Admin Office of HYDERABAD campus and DELHI Head Office?
    (a) E-mail
    (b) Text Chat
    (c) Video Conferencing
    (d) Cable TVAII India 2015

Аnswer:

(i) ADMIN is the most appropriate location of the server inside the HYDERABAD campus because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(349-5)
(iii) Firewall
(iv) Videoconferencing

Question 74:
Trine Tech Corporation (TTC) is a professional consultancy company. The company is planning to set-up their new offices in India with its hub at .Hyderabad. As a network adviser, you have to understand their requirement and suggest them the best available solutions. Their queries are mentioned as (i) to (iv) below.
Physical locations of the blocks of TTC
important-questions-for-class-12-computer-science-c-communication-technologies-(338-2)

  1. What will the most appropriate block, where TTC should plan to install their server?
  2. Draw a block to block cable layout to connect all the buildings in the most appropriate manner for efficient
    communication.
  3. What will be the best possible connectivity out of the following, you will suggest to connect the new set-up of offices in Bangalore with its London based office.
    • Satellite Link
    • Infrared
    • Ethernet
  4. Which of the following device will be suggested by you to connect each computer in each of the buildings?
    • Switch
    • Modem
    • Gateway Delhi 2014

Аnswer:

(i) TTC should install its server in Finance Block because it has maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(349-6)
(iii) Satellite Link
(iv) Switch

Question 75:
Tech Up Corporation (TUC) is a professional consultancy company. The company is planning to set-up their new offices in India with its hub at Hyderabad. As a network adviser, you have to understand their requirement and suggest to them the best available solutions. Their queries are mentioned as (i) and (iv) below. You have to understand their requirement and suggest to them the best available solutions. Their queries are mentioned as (i) and (iv) below.
important-questions-for-class-12-computer-science-c-communication-technologies-(339-1)

  1. What will the most appropriate block, where TUC should plan to install their server?
  2. Draw a block to block cable layout to connect all the buildings in the most appropriate manner for efficient communication.
  3. What will be the best possible connectivity out of the following, you will suggest to connect the new set-up of offices in Bangalore with its London based office?
    • Infrared
    • Satellite Link
    • Ethernet Cable
  4. Which of the following devices will be suggested by you to connect each computer in each of the buildings?
    • Gateway
    • Sqwitch
    • Modem All India 2014

Аnswer:

(i) TUC should install its server in Human Resource Block as it is having maximum number of computers.
important-questions-for-class-12-computer-science-c-communication-technologies-(349-7)
(iii) Satellite Link
(iv)
 Swatch