Advertisements
Advertisements
Classify the following Web Scripting as Client-Side Scripting and Server Side Scripting
Java Scripting
Concept: Web Scripting - Client Side (VB Script, Java Script, PHP)
Classify the following Web Scripting as Client-Side Scripting and Server Side Scripting
ASP
Concept: Web Scripting - Client Side (VB Script, Java Script, PHP)
Classify the following Web Scripting as Client-Side Scripting and Server Side Scripting
VB Scripting
Concept: Web Scripting - Client Side (VB Script, Java Script, PHP)
Classify the following Web Scripting as Client-Side Scripting and Server Side Scripting
JSP
Concept: Web Scripting - Client Side (VB Script, Java Script, PHP)
Differentiate between communication using Optical Fiber and Ethernet Cable in context of the wired medium of communication technologies.
Concept: Optical Fiber
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:
1) Computer Virus
2)Spain Mail
3) Computer Bacteria
4) Trojan Horse
Concept: Threats and Prevention
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 organization 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?
Justify the reason for your chosen option :
1) Hacker
2) Cracker
3) Operator
4) Network Admin
Concept: Cyber Crimes
Hi-Standard Tech Traj.ning Ltd. is a Mumbai based organization 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.

Shortest differences between various blocks/locations:
| Admin Block to Accounts Block | 300 Metres |
| Accounts Block to Training Block | 150 Metres |
| Admin Block to Training Block | 200 Metres |
| MUMBAI Head Office to CHENNAI Office | 1300 Km |
The number of computers installed at various blocks is as follows:
| Training Block | 150 |
| Accounts Block | 30 |
| Admin Block | 40 |
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
Concept: Network Devices
Differentiate between packet switching over message switching
Concept: Network Devices
What is Trojan Horse?
Concept: Threats and Prevention
Out of the following, which all comes under cyber crime ?
1) Stealing away a brand new hard disk from a showroom
2) Getting in someone's social networking account without his consent and posting on his behalf
3) Secretly copying data from server of an organization and selling it to the other organization.
4) Looking at online activities of a friends blog.
Concept: Cyber Crimes
Write the type of C++ token (keywords) and the User-defined identifier from the following.
1) else
2) Long
3) 4Queue
4) _count
Concept: Concept of Object Oriented Programming in C++
The following C++ code during compilation reports errors as follows:
Error: 'ofstream' not declared
Error: 'strupr' not declared
Error: 'strcat' not declared
Error: 'FIN' not declared
Write the names of the correct header files, which must be included to compile the code successfully
void main()
{
of stream FIN ("WISH. TXT") ;
char TEXT2[]="good day";
char TEXTl []="John! ";
strupr(TEXT2);
strcat(TEXTl , TEXT2);
FIN<<TEXTl<Concept: Header File - fstream.h
Rewrite the following C++ code after removing any/all syntactical error with each correction underline
Note: Assume all required header files are already included in the program.
Typedef Count(int);
void main()
(
Count C;
cout<<"Enter the count:";
cin>>C;
for (K = 1 ; K<=C;K++)
cout<< C "*" K <<end1;
}Concept: Concept of Object Oriented Programming in C++
Find and write the output of the following C++ program code:
Note: Assume all required header files are already included in the program
void Revert(int &Num, int Last=2)
{
Last =(Last%2==0)?Last+l: Last - l;
for(int C=l; C <= Last; C++)
Num+=C;
)
void main()
{
int A=20, B=4;
Revert(A, B) ;
cout<<A<<"&"<<B<<end1;
B--;
Revert{A,B);
cout<<A<<"#"<<B<<endl;
Revert{B);
cout<<A<<"#"<<B<<endl;
}Concept: Member of a Class - Data Members and Member Functions (Methods)
Look at the following C++ code and find the possible output from the options (i) to (iv) following it. Also, write the highest and lowest values that can be assigned to the array A.
Note:
- Assume all the required header files are already being included in the code
- The function random(n) generates an integer between 0 and -1
void main()
{
randomize();
int A(4], C;
for(C=0; C<4; C++)
A(C] = random(C+l) + 10;
for (C=3; C >= 0; c--)
cout<<A(C]<<"@";
}
1) 13@10@11@10@
2) 15$14$12$10$
3) 12@11@13@10@
4) 12@11@10@10@
Concept: Pointers and Arrays - Array of Pointers, Pointer to an Array (1 Dimensional Array), Function Returning a Pointer, Reference Variables and Use of Alias
Which function(s) out of the following can be considered as an overloaded function(s) in the same program? Also, write the reason for not considering the other(s) as an overloaded function(s)
void Execute(char A,int B); // Function 1
void Execute(int A,char B); // Function 2
void Execute(int P=10) ; // Function 3
void Execute(); // Function 4
int Execute(int A); // Function 5
void Execute(int &K); // Function 6
Concept: Overloaded Constructors
Observe the following C++ code and answer the questions (i) and (ii).
Note: Assume all necessary files are included.
class FIRST
{
int Numl;
public:
void Display()
{
cout<<Numl<<endl; //Member Function 1
}
};
class SECOND: public FIRST
{
int Num2;
public:
void Display() //Member Function 2
{
cout<<Num2<<endl;
}
};
Void main()
{
SECOND S;
___________ // Statement 1
___________ // Statement 2
}
1) Which Objected Programming features is illustrated by the definition of classes FIRST and SECOND?
2) Write Statement 1 and Statement 2 to execute Member Function 1 and Member Function 2 respectively using the object S
Concept: Member of a Class - Data Members and Member Functions (Methods)
Write the definition of a class CONTAINER in C++ with the following description.
Private Members
-Radius, Height // float
- Type // int (1 for Cone, 2 for Cylinder)
- Volume // float
- CalVolume() // Member function to calculate
// volume as per the Type
| Type | Formula to calculate Volume |
| 1 | 3.14*Radius*Height |
| 2 | 3.14*Radius*Height/3 |
Public Members
- GetValues () //A function to allow a user to enter of Radius, Height and Type. Also, call function CalVolume() from it.
- ShowAll () // A function to display Radius, Height, Type and Volume of Container
Concept: Member of a Class - Data Members and Member Functions (Methods)
Answer the question (i) to (iv) based on the following:
class Teacher
{
int TCode;
protected:
char Name[20];
public:
Teacher();
void Enter() ; void Show();
};
class Course
(
int ID;
protected:
Char Title[30];
public:
Course();
void Initiate();
void Display();
};
class Schedule : public Course, private Teacher
{
int DD, MM, YYYY;
public:
Schedule();
void Start();
void View();
};
void main()
{
Schedule S;
}
1) Which type of Inheritance out of the following is illustrated in the above example?
2) Write the name of all the member which are directly accessible by the member function View() of Class Schedule.
3) Write the names of all the members, which are directly accessible by the object S of Class Schedule declared in the main() function.
4) What will be the order of execution of the constructors, when the object S of the Class Schedule Schedule is declared inside the main() function?
Concept: Inheritance in C++
