Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

9051.

The gap by which actual aggregate demand exceeds the aggregate demand exceeds the aggregate demand required to establish full employment equilibrium is known as.(a) Deficient demand (b) Deflationary gap (c) Inflation gap (d) Excess demand

Answer»

(c) Inflation gap

9052.

What do you mean by an indirect tax?

Answer»

When the liability to pay and burden of a tax lie on same person, is treated as a Direct Tax. ExIncome Tax, Corporation Tax etc. 

9053.

State the impact of “Excess Demand” under the Keynesian theory on employment, in an economy.

Answer»

Excess Demand is not a desired situation because it does not lead to any increase in level of aggregate supply as the economy is already at full employment level. Excess demand has the following effect on output, employment and general price level: 

1. Effect on Output : Excess demand does not affect the level of output because economy is already at full employment level and there is no ideal capacity in the economy. 

2. Effect on Employment : There will be no change in the level of employment as the economy is already operating at full employment equilibrium and there is no involuntary unemployment. 

3. Effect on General Price Level : Excess demand leads to rise in the general price level (known as inflation) as aggregate demand is more than aggregate supply.

9054.

Complete the following reactions:FeCl3 + NH4OH →XeF4 + H2O →

Answer»
  1. 2FeCl3 + 3NH4OH(aq) → Fe2O3 . xH2O(s) + 3NH4Cl
  2. 6XeF4 + 12H2O → 4Xe + 2XeO3 + 24HF + 3O2
9055.

Name the transition element which does not exhibit variable oxidation state.

Answer»

Answer:Sc, Zn, Cd

9056.

In the given graph of Freundlich isotherm, which parameter is represented by the slope of the line?

Answer»

Slope of line represents 1/n value, i.e reverse of number of a layers of a adsorption.

9057.

Write IUPAC name of the following compound:

Answer»

2-bromo cyclopentane carbaldehyde

9058.

For a reaction R → P, half life is observed to be directly proportional to initial concentration of reactants. What is the order of the reaction?

Answer»

Second order

9059.

Mention the carbon positions to which the nitrogenous base and the phosphate molecule are respectively linked in the nucleotide given below:

Answer»

Nitrogenous base is linked to first carbon. 

Phosphate is linked to fifth carbon.

9060.

You are acting in a school play. How can you communicate your part most effectively to the audience?

Answer»

Marks to be allotted for creatively touching on following aspects of communication 

  • Verbal Communication 
  • Non – Verbal Communication
  • Paralanguage 
9061.

Write two differences between schottky and frenkel defects.

Answer»
Schottky defectFrenkel defect
Density decreasesNo change in density
Comparable size of cation and anionUncomparable size of cation and anion
9062.

How much Faraday’s of electricity is required for electrolysis of following1 mol Al2O3 to Al1 mol Cr2Cu2 to Cu

Answer»
  1. Al2O3 → 2Al3+
    2Al3+ + 6e → 2Al
    Thus, 6F of electricity is required.
  2. Cu2Cl2 → 2Cu+
    2Cu+ + 2e → 2Cu
    Thus, 2F of electricity is required.
9063.

State Faraday’s first law of electrolysis. Calculate the charge required in terms of Faraday for the reduction of 1 mole of Cu2+ to Cu.

Answer»

Faraday’s first law of electrolysis : The amount of any substance deposited or liberated at the electrode is directly proportional to the quantity of electricity passing through the electrolyte.

Cu2+ + 2e  Cu

:. Quantity of charge required for reduction of 1 mol of Cu2+ = 2F

9064.

Find the middle term of the sequence formed by all three-digit numbers which leave a remainder 5 when divided by 7. Also find the sum of all numbers on both sides of the middle term separately.

Answer»

The sequence is 103, 110, ......, 999

∴ 999 = 103 + (n – 1) × 7 

⇒ n = 129

Therefore (129+1)/2 = 65th term is the middle term

Middle term = 103 + (64) × 7 = 551

Sum of first 64 terms = 32 [206 + 63 × 7] = 20704

Sum of last 64 terms= 32 [1116 + 63 × 7] = 49824

9065.

Find the middle terms of the sequence formed by all numbers between 9 and 95, which leave a remainder 1 when divided by 3. Also, find the sum of the numbers on both sides of the middle term separately.

Answer»

The sequence is 10, 13, ..... 94. 

94= 10 + (n – 1) 3 ⇒ n = 29

Therefore (29 + 1)/ 2 = 15th term is the middle term

Middle term = 10 + 14 × 3 = 52

Sum of first 14 terms = 14/2 [20 + 13 × 3] = 413

Sum of the last 14 terms = 14/2 [110 + 13 × 13] = 1043

9066.

plss Solve for x: 1/(x–2)+2/(x–1)=6/xsolve it

Answer»

 1/x-2+2/x-1=6/x

1(x-1)+2(x-2)/x2-x-2x+2=6/x

x-1+2x-4/x2-3x+2=6/x

3x-5/x2-3x+2=6/x

3x2-5x=6x2-18x+12

6x2-3x2-18x+5x+12=0

3x2-13x+12 = 0

3x2-9x-4x+12 = 0

3x(x-3)-4(x-3) = 0

(3x-4)(x-3)=0

x=3 or 4/3

9067.

Find the smallest natural number by which 1,200 should be multiplied so that the square root of the product is a rational number.

Answer»

1,200 = 4 × 3 × (2 × 5)2 

= 24 × 3 × 52 

The smallest natural number is 3.

9068.

Define the term ‘double fertilization in plants’. After fertilization name the part in each case Which develops into (i) the fruit, (ii) the seeds.

Answer»

Double fertilization : 

It occurs when one male nucleus fertilizes (fuses) with egg cell to form zygote cell and other male nucleus fuses (fertilizes) with two polar nuclei to cause triple fusion. As these two types of fertilization take place at the same time in the ovule of the plant, it is known as double fertilization.

After fertilization:

(i) Ovary develops into fruit.

(ii) Ovules develop into seeds.

9069.

What is the usual current rating of the fuse wire in the line to feed (a) Lights and fans? (b) Appliances of 2kW or more power ? 

Answer»

(a) 5A, 

(b) 15A

9070.

Write the definition of a function AddUp(int Arr[ ], int N) in C++, in which all even positions (i.e. 0, 2, 4,….) of the array should be added with the content of the element in the next position and odd positions (i.e. 1, 3, 5,……) elements should be incremented by 10.Example: if the array Arr contains233045101525Then the array should become534055204035Note:Then the array should becomeThe function should only alter the content in the same array.The function should not copy the altered content in another array.The function should not display the altered content of the array. Assuming, the Number of elements in the array are Even.

Answer»

void AddUp(int Arr[], int N)

{

for(int i = 0; i<N; i++)

{

if(i82==0)

Arr[i]+ = Arr[i+1];

else

Arr[i]+ = 10;

}

}

9071.

Write a definition for a function SUMMIDCOL(int MATRIX[ ] [10], int N, int M) in C++, which finds the sum of the middle column’s elements of the MATRIX (Assuming N represents number of rows and M represents number of columns, which is an odd integer).Example: If the content of array MATRIX having N as 5 and M as 3 is as follows:1212143455453532The function should calculate the sum and display the following:Sum of Middle Column: 15

Answer»

void SUMMIDCOL(int MATRIX[ ][10], int N, int M)

{

int j, SUM=0;

j=M/2:

for(int i=0: i<N;i++)

SUM + = MATRIX [i][j];

cout<<"SUM of MIddle Column : "<<SUM;

}

9072.

Write SQL queries for TRAINERTIDTNAMECITYHIREDATESALARY101SUNAINA MUMBAI1998-10-1590000102ANAMIKADELH1994-12-2480000103DEEPTICHANDIGARG2001-12-21 82000104MEENAKSHI DELHI2002-12-25 78000105RICHAMUMBAI 1996-01-1295000106MANIPRABHACHENNAI2001-12-1269000COURSECIDCNAMEFEESSTARTDATETIDC201AGDCA120002018-07-02101C202ADCA150002018-07-15103C203DCA100002018-10-01102C204DDTP90002018-09-15 104C205DHN200002018-08-01101C206O LEVEL180002018-7-25105(i) SELECT DISTINCT TID FROM COURSE;(ii)  SELECT TID, COUNT(*), MIN(FEES) FROM COURSE GROUP BY TID HAVING COUNT(*)&gt;1;(iii)  SELECT COUNT(*), SUM(FEES) FROM COURSE WHERE STARTDATE&lt; ‘2018-09-15’;

Answer»

(i)  DISTINCT  TID

101

103

102

104

105

(ii)  TIDCOUNT(*)MIN(FEES)

101      2    12000

(iii)  COUNT(*)SUM(FEES)

4      65000

9073.

ARR[15] [20] is a two-dimensional array, which is stored in the memory along the row with each of its elements occupying 4 bytes. Find the address of the element ARR[5][15], if the element ARR[ 10] [5] is stored at the memory location 35000. (d) Write the definition of a member function PUSHGIFT() for a class STACK in C++, to add a GIFT in a dynamically allocated stack of GGIFTs considering the following code is already written as a part of the program:struct GIFT{int GCODE; //Gift Codechar GDESC[20]: //Gift DescriptionGIFT *Link;};class STACK{Gift * T0P; .public:STACK(){T0P=NULL;}void PUSHGIFT():void POPGIFT();~STACK();};

Answer»

void PUSHGIFT( )

{

GIFT *G = new GIFT;

cout<<"Enter gift code and description";

cout>>G->GCODE;

gets(G->GDESC);

if (TOP == NULL)

{

TOP = G:

}

else

{

G->Link = TOP

TOP = G;

}

}

9074.

Polina Raj has used a text editing software to type some text in an article. After saving the article as MYNOTES.TXT, she realized that she has wrongly typed alphabet K in place of alphabet C everywhere in the article. Write a function definition for PURETEXT() in C++ that would display the corrected version of the entire article of the file MYNOTES. TXT with all the alphabets “K” to be displayed as an alphabet “C” on screen. Note: Assuming that MYNOTES. TXT does not contain any C alphabet otherwise.Example: If Polina has stored the following content in the file MYNOTES.TXTThe function PURETEXT() should display the following content:

Answer»

void PURETEXT()

{

fstream fpl;

fpl. open("MYNOTES.txt", ios::in | ios::out): 

if(!fpl)

{

cout<<"Cannot open file"<<end1;

exit (0);

}

char ch;

char c;

while(!fpl.eof())

{

c=fpl.get();

if(c=='K')

{

fpl.seekg(-1, ios::cur);

fpl.put('C'):

}

}

fp1.clear();

fp1.seekp(0, ios::beg);

cout<<"\n After replacing character\n"); 

while(!fpl.eof())

{

fp1.get(ch);

cout<<ch;

fpl.close();

}

9075.

Find the output of the following C++ code considering that the binary file sp.dat already exists on the hard disk with 2 records in it. class sports { int id;char sname[20]; char coach[20];public:void entry();void show(); void writing(); void reading(); }s; void sports::reading() { ifstream i;i.open("sp.dat");while {i.read((char*)&amp;s, sizeof(s)); if(i.eof()) break; else cout&lt;&lt;"\n" &lt;&lt;i.tellg();} i.close(); }void main() {s.reading(); }

Answer»

Output

42

84

9076.

Write a definition for function COUNTPICS( ) in C++ to read each object of a binary file PHOTOS.DAT, find and display the total number of PHOTOS of type PORTRAIT. Assume that the file PHOTOS.DAT is created with the help of objects of class PHOTOS, which is defined below:class PHOTOS{int PCODE;char PTYPE[20]; //Photo Type as "PORTRAIT", "NATURE"public:void ENTER(){cin&gt;&gt;PC0DE; gets (PTYPE);}void SHOWCASE(){cout&lt;&lt;PC0DE&lt;&lt;": "&lt;&lt;PTYPE,,end1:}char *GETPTYPE() {return PTYPE;}};

Answer»

void COUNTPICS( )

{

int count = 0;

PHOTOS obj;

ifstream fpl;

fp1.open("PHOTOS.DAT", ios::binary);

while (fpl.read((char*)&obj. sizeof(obj)))

{ if(strcmp(obj.GETPTYPE(),"PORTRAIT")==0) 

count++;

}

cout<<"The total number of PHOTOS of type PORTRAIT is "<<count;

fpl.close();

}

9077.

Observe the following tables VIDEO and MEMBER carefully and write the name of the RDBMS operation out of (i) SELECTION (ii) PROJECTION (iii) UNION (iv) CARTESIAN PRODUCT, which has been used to produce the output as shown below. Also, find the Degree and Cardinality of the final result.​​​​

Answer»

Cartesian Product has been used to produce the output.

Degree of the FINAL RESULT = 5

Cardinality of the FINAL RESULT = 9

9078.

Find the output of the following C++ code considering that the binary file CLIENTS.DAT exists on the hard disk with a data of 200 clients:class CLIENTS{int CCode; char CName[20]:public: void REGISTER();void DISPLAY();}; void main(){ fstream File;File.open("CLIENTS.DAT", ios: :binary | ios::in);CLIENTS C;File.seekg(6*sizeof(C));File.read((char*)&amp;C, sizeof(C));cout&lt;&lt;"Client Number&lt;&lt;File.tellg()/sizeof(C)+1;File.seekg(0, ios::end);cout&lt;&lt;"of "&lt;&lt;File.tellg()/sizeof(C)&lt;&lt;end1;File.close();}

Answer»

Output

Client Number: 8 of 200

9079.

Observe the following table MEMBER carefully and write the name of the RDBMS operation out of (i) SELECTION (ii) PROJECTION (iii) UNION (iv) CARTESIAN PRODUCT,which has been used to produce the output as shown in RESULT. Also, find the Degree and Cardinality of the RESULT:                              MEMBERNOMNAMESTREAMM001JAYASCIENCEM002ADITAHUMANITIESM003HANSRAJSCIENCEM004SHIVAKCOMMERCE                               RESULTNOMNAMESTREAMM002ADITYAHUMANITIES

Answer»

(i) SELECTION

Degree of table RESULT = 3

Cardinality of table RESULT = 2

9080.

Kuhu has just learnt how to do online banking. Name any two precautions that she should take to prevent online fraud.

Answer»
  • Do not share user id and password with anyone
  • Avoid doing transactions from cyber café and other public places.
9081.

In Marks column of ‘Student’ table, for Rollnumber 2, the Class Teacher entered the marks as 45. However there was a totaling error and the student has got her marks increased by 5. Which MySQL command should she use to change the marks in ‘Student’ table.

Answer»

UPDATE Student SET Marks = 50 WHERE Roll number = 2;

9082.

While creating the table Student last week, Ms. Sharma forgot to include the column GamePlayed. Now write a command to insert the GamePlayed column with VARCHAR data type and 30 size into the Student table.

Answer»

ALTER TABLE Student ADD Game_Played VARCHAR (30) ;

9083.

Consider the table ‘Employee’.             ‘Employee’NameLOcationGurpreetMumbaiJatinderChennaiDeepaMumbaiHarshChennaiSimiNew DelhiAnitaBangaluruWrite the SQL command to obtain the following output :LOcationMumbiaChennaiNew DelhiBangaluru

Answer»

SELECT DISTINCT (Location) FROM Employee ;

9084.

Consider the table’empsalary’IDSalary10143000102NULL10456000107NULLTo select tuples with some salary, Siddharth has written the following erroneous SQL statement :SELECT ID. Salary FROM empsalary WHERE Salary = something ; Write the correct SQL statement.

Answer»

The correct code is :

SELECT ID, Salary FROM empsalary

WHERE Salary = 56000 ;

9085.

Write a program using structure to accept the name and marks in 3 subjects for a student. Calculate the total marks, percentage. Display the name, marks, total and percentage using the structure variable.

Answer»

struct student

{

char name [10];

float marks [3];

int maxmarks;

float total=0.0, percentage=0.0;

}s;

void main ()

{

int i;

cout << “enter name”;

for (i=0; i<3;i++)

{

cin>>s.marks [i];

s. total + = s.marks [i];

}

cout<<"Enter total marks";

cin>>s.maxmarks;

s. percentage = (s.total*s.maxmarks)/100;

cout << “ student details “<<endl;

cout <<”Name” << s. name;

cout <<” marks” << s.marks [1] << “/t”

<<

s. marks [2] << “\t” << s. marks [3] <<

endl;

cout << “ percentage:” << s. percentage;

cout << “ Total:” << s. total;

}

9086.

Observe the following class definition and answer the question that follow:class ParentClass(objects):def__init__(self)self,x = 1self.y = 10def print(self):print(self.x, self.y)class ChildClass(ParentClass):def__init__(self):super(ChildClass, self).init_() # Line 1self,x = 2self.y = 20c = ChildClass()c.print()(a) Explain the relevance of Line1.(b) What type of inheritance is being demonstrated in the above code?

Answer»

(a) super() function is used to call the methods of base class which have been extended in derived class. Also, it is the importance of derived class __init__() to invoke the base class __init__()

(b) Single level Inheritance

9087.

Write a program to multiply two 2-D matrices of size 3x3.

Answer»

# include <iostream.h>

void main( )

{

int a[3] [3], b[3] [3], mult [3] [3], i,

j, k;

cout << "Enter elements of matrix 1"

<< endl;

for(i = 0; i <3;i++)

for(j = 0; j <3; j++)

{

cout << "Enter element at position" <<

i + 1 << j + 1 << " : ";

cin >> a[i] [j];

}

cout << "Enter elements of matrix 1"

<< endl;

for(i = 0; i <3;i++)

for(j = 0; j <3; j++)

{

cout << "Enter element at position" <<

i + 1 << j + 1 << " : ";

cin >> b[i][j];

}

for(i = 0; i <3;i++)

for(j = 0; j <3; j++)

{

mult [i] [j] =0;

}

// Multiplying matrix a and b and

storing in array mult.

for(i = 0; i <3;i++)

for(j = 0; j <3; j++)

for(k = 0; k < 3; k++)

{

mult[i] [j] += a[i] [k] * b[k] [j];

}

cout << endl << "Output Matrix: " <<

endl;

for(i = 0; i <3;i++)

{ for(j = 0; j <3; j++)

{

cout << " " << mult[i][j];

} cout << endl;

}

}

9088.

Write a user defined function findname(name) where name is an argument in Python to delete phone number from a dictionary phonebook on the basis of the name, where name is the key.

Answer»

def findname(name):

if phonebook.has_key():

del phonebook[name]

else:

print”Name not found”

print "Phonebook Information"

print "Name",'\t',"Phone number"

for i in phonebook.keys():

print i,'\t',phonebook[i]

9089.

Write a program to accept N values in an array and search for an value accepted from user (along with its position).Suppose 1 D array is as6411131519105The value to be searched for: 11Output should be as: 11 is found @ 3 position

Answer»

void main ()

{

int N, a[10], pos = -1, x = 0;

cout <<” enter array size “;

cin >> N;

for (int i = 0; i<N; i++)

cin >> a[i];

cout <<” enter value to be searched”;

cin >> x;

for (i = 0; i < N; i++)

if (a[i] == x)

{

pos = i; found = 1;

cout << x << “ found @ “ << i+1 << “

position”;

break;

}

if ( found = = 0)

cout << x<< “not found in array”;

}

9090.

Explain try..except…else … with the help of user defined function def divide(x, y)which raises an error when the denominator is zero while dividing x by y and displays the quotient otherwise.

Answer»

def divide(x, y):

try:

result = x / y

except ZeroDivisionError:

print "division by zero!"

else:

print "result is", result

In the above example:

try block consists of code that can raise an error. When y(denominator) gets a 0 value, ZeroDivisionError is raised which is handled by except clause. In case of no exception else statement is executed.

In case there is no error the statement(s) in else clause are executed.

9091.

Write a user defined function arrangelements(X),that accepts a list X of integers and sets all the negative elements to the left and all positive elements to the right of the list.Eg: if L =[1,-2,3,4,-5,7] , the output should be: [-2,-5,3,4,7]

Answer»

def arrangelements(X):

L=len(X)

for i in range(L):

if a[i]<0 and i!=0:

j=i

while j!=0 and a[j-1]>0 :

a[j],[j-1]=a[j-1],a[j]

j=j-1

9092.

Consider the following class definition :class book ():bk = []def _ init _ (self, bno):self .bno = bnodef addbook (self):……………def removebook (self):……………The class book is implemented using Queue. Keeping the same in mind, complete the function definitions for adding a book addbook() and deleting a book removebook() .

Answer»

def addbook(self):

a=input("enter book number: ")

book.bk.append(a)

def removebook (self):

if (book.bk==[]):

print "Queue empty"

else:

print "deleted element is: ",book.bk[0]

del book.bk[0]

9093.

Write a python function generatefibo(n) where n is the limit, using a generator function Fibonacci (max)(where max is the limit n) that produces Fibonacci series.

Answer»

def Fibonacci (max):

a, b = 0, 1

while a <= max:

yield a

a, b = b, a + b

def generatefibo(n)

for i in Fibonacci (n):

print i,

9094.

Which symbol is used to be placed in front of the column letter and row number in a cell reference to make it absolute reference?

Answer»

$ symbol is used to be placed in front of the column letter and row number in a cell reference to make it absolute reference.

9095.

Briefly mention the main steps of Mail Merge. 

Answer»

The whole mail merge process can be divided into following main steps:

(i) Creating a Main Document or Template.

(ii) Creating a Data Source.

(iii) Defining the Merge Fields in the main document.

(iv) Merging the Data with the main document.

9096.

Define the term main document and data source with reference to mail merge option.

Answer»

Main Document : It is the main document that contains the text that is to be send to all the recipients.

Data Source : It consists of a mailing list containing the contact details of all the recipients like name, address, city, pin code, telephone number etc.

9097.

Which one of these is correct processing instruction (PI) of a XML document?(a) &lt;?xml version = "1.0"?&gt;(b) &lt;?xml version = "1.0"&gt;(c) &lt;/xml version = "1.0"?&gt;(c) &lt;xml version = "1.0"?&gt;  

Answer»

<?xml version = "1.0"?> is correct processing instruction (PI) of a XML document.

9098.

Ms. Aditi, an editor in a leading newspaper has received an article on “Seven wonders of the world” in which she has to exchange the word “Taj Mehal” with the word “The Taj Mehal”. Which tool she should use and how?

Answer»

She should use Find & Replace tool as follows:

1. To display the Find & Replace dialog box, use the keyboard shortcut Control+F or select Edit > Find & Replace.

2. Type the text which we want to find in the “Search for” box.

3. To replace the text with different text, type the new text in the “Replace with” box.

4. We can select various options such as matching the case, matching whole words only, or doing a search for similar words.

5. When we have set up our search, click Find. To replace text, click Replace instead.

9099.

Mr. Ramashankar has written a document on the topic “Global Warming” in word processing application named “Writer”. He want to check his document for spellings. Help Mr. Ramashankar by telling him the main steps for the same.

Answer»

Follow the steps for spell checking :

Click on 'Tools' in the menu bar and then 'Spelling and Grammar' from the drop-down menu, or press Alt + T and then press Alt + S, to open the 'Spelling' window.

Misspelled words will be highlighted with red colour. A number of suggestions will be available in the suggestion box. Choose the desired one and select Change/Change All/Auto Correct option as per the requirement and click on Close button to close the spelling dialogue box.

Documents can also be spell-checked any time by pressing F7.

9100.

What are the two orientations available under page setting? 

Answer»

(i) Landscape

(ii) Portrait