This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How will you pass two dimensional array to a function explain with example. |
|
Answer» Passing 2”D array to a function #include<iostream> using namespace std; void display (int n[3][2]) int main() { int num[3][2] = { {3,4},{9,5},{7,1} }; display(num); return 0; } void display(int n[3][2]); cout<<“\n Displaying Values”<<end1; for(int i=0;i<3;i++) { for(int j=0;i<2;j++) { cout<<n[i][j]<<" "; } cout<<end1<<emd1; } } Output: Displaying Values 3 4 9 5 7 1 |
|
| 2. |
2 – D array memory representation have ……….. types.(a) 2 (b) 3 (c) 4(d) only 1 |
|
Answer» 2 – D array memory representation have 2 types. |
|
| 3. |
When accessing a structure member, the identifier to the left of the dot operator is the name of ……(a) structure variable(b) structure tag(c) structure member(d) structure function |
|
Answer» (c) structure member |
|
| 4. |
Array of structure is declared in the same way as declaring an array with ………..(a) built – in data type(b) data type (c) undefined (d) none of these |
|
Answer» (a) built – in data type |
|
| 5. |
Write the syntax and an example for structure. |
|
Answer» Structure is declared using the keyword ‘struct’. The syntax of creating a structure is given below. struct structure_name { type member_name 1; type member_name2; } reference_name; An optional field reference_name can be used to declare objects of the structure type directly. Example: struct Student { long rollno; int age; float weight; }; |
|
| 6. |
How will you pass a structure to a function? |
|
Answer» A structure variable can be passed to a function in a similar way of passing any argument that is of built – in data type. If the structure itself is an argument, then it is called “call by value”. If the reference of the structure is passed as an argument then it is called, “call by reference”. |
|
| 7. |
Pass an array to a function in C++, the function needs the array name as …….. (a) a function(b) an argument (c) global object (d) string |
|
Answer» (b) an argument |
|
| 8. |
Write a structure definition for the structure student containing exam no, name and an array for storing five subject marks. |
|
Answer» struct student { long examno; char name [50]; int marks [5]; }; |
|
| 9. |
A structure without a name tag is called ...........(a) homogenous structure(b) anonymous structure (c) array of structure (d) dynamic memory |
|
Answer» (b) anonymous structure |
|
| 10. |
How to access members of a structure? Give example |
|
Answer» Once objects of a structure type are declared, their members can be accessed directly. The syntax for that is using a dot(.) between the object name and the member name. Example: student.name; if the members are a pointer type, then is used to access the members. Let name be a character pointer in student like char*name It can be accessed student → name, struct { long roll no; int age; float weight; student; } The student can be referred as reference name to the above structure and the elements can be accessed like student.roll no, student.age, and student.weight. |
|
| 11. |
The following code sums up the total of all students name starting with ‘S’ and display it. Fill in the blanks with required statements.struct student {int exam no, lang, eng, phy, che, mat, csc, total; char name[15];};int main(){student s[20];for(int i = 0;i<20;i++){……….. //accept student details}for(int i=0;i<20;i++){………….. //check for name starts with letter “S”………….. // display the detail of the checked name}return 0;} |
|
Answer» struct student { int exam_no, lang, eng, phy, chem, mat, csc, total; char name[15]; } int main() { student s[20]; for(int i = 0;i<20;i++) { cout<<"\n Enter the exam number of student:"; cin>>s[i].exam_no.; cout<<"\n Enter language names:"; cin>>s[i].lang; cout<<"\ Enter name of the Student:"; cin>>s[i].Name; } for(int i =0;i<20; i++) { if (s[i],name[0]=='s') { cout<<"student name:"<<s[i].name; cout<<"student Exam number"; } } return 0;} |
|
| 12. |
The third term of G.P. is 4. The product of its first 5 terms is(A) 43 (B) 44 (C) 45 (D) None of these |
|
Answer» (C) 45 Explanation: Given third term of G.P, T3 = 4 To find Product of first five terms We know that, Tn = a rn – 1 It is given that, T3 = 4 ⇒ ar3 – 1 = 4 ⇒ ar2 = 4 … (i) Product of first 5 terms = a × ar × ar2 × ar3 × ar4 = a5r1+2+3+4 = a5r10 = (ar2)5 = (4)5 [from (i)] Hence, the correct option is (C) |
|
| 13. |
State whether statement is True or FalseTwo sequences cannot be in both A.P. and G.P. together |
|
Answer» False Consider the sequence 3,3,3; which is A.P. and G.P. both. |
|
| 14. |
A flag is standing vertically on a tower of height b. On a point at a distance a from the foot of the tower, the flag and the tower subtend equal angles. The height of the flag is(a) b. \(\frac{a^2+b^2}{a^2-b^2}\)(b) a. \(\frac{a^2-b^2}{a^2+b^2}\)(c) a. \(\frac{a^2+b^2}{a^2-b^2}\)(d) b. \(\frac{a^2-b^2}{a^2+b^2}\) |
|
Answer» (a) b. \(\frac{a^2+b^2}{a^2-b^2}\) |
|
| 15. |
Fill in the blanks:The third term of a G.P. is 4, the product of the first five terms is ................ . |
|
Answer» Given: Third term of a G.P, T3 = 4 ∴ ar2 = 4 …(i) To find: Product of first five terms So, First five terms are a, ar, ar2, ar3 and ar4 ∴ Product of first five terms = a × ar × ar2 × ar3 × ar4 = a5r1+2+3+4 = a5r10 = (ar2)5 = (4)5 [from (i)] Ans. The third term of a G.P. is 4, the product of the first five terms is (4)5. |
|
| 16. |
State whether statement in True or False.Two sequences cannot be in both A.P. and G.P. together. |
|
Answer» Let us consider a sequence in G.P 2, 2, 2 …(i) If two terms are in AP then, a2 – a1 = a3 – a2 So, let the sequence (i) is in AP, then a2 – a1 = 2 – 2 = 0 and a3 – a2 = 2 – 2 = 0 ∴ ar – a = ar2 – ar This means two sequences can be in both A.P and G.P together. Hence, the given statement is FALSE |
|
| 17. |
If x, 2y, 3z are in A.P., where the distinct numbers x, y, z are in G.P. then the common ratio of the G.P. is A. 3 B. 1/3 C. 2 D. 1/2 |
|
Answer» It is given that x, 2y, 3z are in A.P ∴ 2y – x = 3z – 2y ⇒ 2y + 2y = x + 3z ⇒ 4y = x + 3z ⇒ x = 4y – 3z …(i) and it is also given that x, y, z are in G.P ∴ Common ratio r = y/x = z/y …(ii) ∴ y × y = x × z ⇒ y2 = xz …(iii) Putting the value of x = 4y – 3z in eq. (iii), we get y2 = (4y – 3z)(z) ⇒ y2 = 4yz – 3z2 ⇒ 3z2 – 4yz + y2 = 0 ⇒ 3z2 – 3yz – yz + y2 = 0 ⇒ 3z(z – y) – y(z – y) = 0 ⇒ (3z – y)(z – y) = 0 ⇒ 3z – y = 0 & z – y = 0 ⇒ 3z = y & z = y but z and y are distinct numbers z = 1/3 y & z ≠ y z/y = 1/3 r = 1/3 [from eq. (ii)] Hence, the correct option is (b) |
|
| 18. |
Which one of the following is the strongest acid ……….. (a) 2 – nitrophenol (b) 4 – chlorophenol (c) 4 – nitrophenol (d) 3 – nitrophenol |
|
Answer» (c) 4 – nitrophenol |
|
| 19. |
Write any two Properties of B2H6? |
|
Answer» a) Diborane is a colourless, highly toxic gas with a Boiling Point of 180K. b) Diborane catches fire spontaneously upon exposure to air. |
|
| 20. |
How to prepare Boric Acid ? what is Colemanite? |
|
Answer» Hot solution of Borax when mixed with acids like HCl or H2SO4 gives Boric is Acid. Colemanite (Ca2B6O11) is a compound which prepares Ortho Boric Acid. |
|
| 21. |
What are some uses of Boron Compound? |
| Answer» Adhesives, cement, disinfectants, fertilizers, etc. | |
| 22. |
What accounts for the formation of Boron Hydrides? |
|
Answer» Because of small size of both B & H forms stable compound called Boron Hydrides. |
|
| 23. |
State different ways to classify colloids. |
|
Answer» Colloids can be classified in three different ways:
|
|
| 24. |
State the differences between colloids and solutions. |
|
Answer» Colloids: 1. Colloids contain particles of dispersed phase with diameters in the range of 2 to 500 nm. 2. They are translucent to light. 3. e.g. Milk, fog, etc. Solutions: 1. Solutions contain solute particles with diameters in the range of 0.1 to 2 nm. 2. They are transparent or may be coloured. 3. e.g. NaCl solution |
|
| 25. |
Duralumin is an alloy of? |
| Answer» Al+Cu+Mg+Mn.......... | |
| 26. |
Explain: Natural phenomena of colloids observed in daily life. |
|
Answer» Following are some examples of colloids observed in daily life. i. Blue colour of the sky: The sky appears blue to us because minute dust particles along with minute water droplets dispersed in air scatter blue light which reaches our eyes. ii. Blood: It is a colloidal dispersion of plasma proteins and antibodies in water arid at the same time blood is also a suspension of blood cells and platelets in water. iii. Soils: Fertile soils are colloidal in nature where humus acts as a protective colloid. Soil adsorbs moisture and nourishing materials due to its colloidal nature. iv. Fog, mist and rain:
|
|
| 27. |
What is the electronic configuration of Thallium? |
|
Answer» [Xe]4f145d106s2 6p1 |
|
| 28. |
What are colloids? Explain. |
|
Answer» i. Colloids are heterogeneous mixtures. ii. The component of colloid present in the largest proportion is called dispersion medium and the other components are called dispersed phase. iii. The particles of the dispersed phase are larger than the size of a molecule and smaller than the particles which we can see with naked eye. e.g.
|
|
| 29. |
Which element of Boron Family is used to prevent oxidation? |
| Answer» Aluminum......... | |
| 30. |
Why Al and Ga have the same covalent radius? |
| Answer» Poor shielding of d-electrons. | |
| 31. |
State the importance of colloids in day-to-day life. |
Answer»
|
|
| 32. |
Which element of Boron family is a metalloid? |
| Answer» Boron........... | |
| 33. |
Ammonia has higher boiling point than phosphine. Why? |
|
Answer» Ammonia forms intermolecular H- bond. |
|
| 34. |
Match the following.Column AColumn BiIronaHydrogenation of oilsiiNickelbProduction of sulphuric acidiiiPlatinumcSynthesis of ammonia |
|
Answer» i – c, ii – a, iii – b |
|
| 35. |
Explain the importance of catalysts in chemical industries. |
Answer»
|
|
| 36. |
Which of the following elements of the Boron Family is a non-metal?a) Galliumb) Indiumc) Thalliumd) Boron |
|
Answer» d) Boron of the Boron Family is a non-metal |
|
| 37. |
Boron is a :-(a) Metal(b) Non- metal(c) Metalloid(d) Compound |
|
Answer» (b) Non- metal |
|
| 38. |
What are the constituents of bead formed in borax bead test? |
| Answer» Sodium metaborate and boric anhydride. | |
| 39. |
Write electronic Configuration of Be &Mg |
|
Answer» Be 1s2 2s2 2p2 Mg 1s2 2s2 2p6 3s2 3p |
|
| 40. |
Name non-metal of Boron Family .What is the reason for its non-metallic behavior? |
|
Answer» Boron. Because of its small size ,high ionization enthalpy and comparatively high electronegativity. |
|
| 41. |
Elements present in the 2nd Group of the Periodic Table are also called ? |
| Answer» alkaline earth metals | |
| 42. |
What are two isotopic forms of boron? |
| Answer» B(10,5) and B(11,5). | |
| 43. |
Give example of group-13 elements. And give their symbols also. |
|
Answer» Boron (B) ,Aluminium (Al), Gallium (Ga) , Indium(In) and Thallium (Tl). |
|
| 44. |
Write the Oxidation state of the following elements: Boron Gallium Indium |
|
Answer» a) -3 & +3 b) +3 & +1 c) +3 & +1 |
|
| 45. |
Write the three crystalline forms in which Boron exist. |
|
Answer» a) Prismatic Borax (Na2B4O7.10H2O) b) Octahedral Borax (Na2B4O7.5H2O) c) Anhydrous Sodium tetra borate (Na2B4O7) |
|
| 46. |
Define metallic radius. |
|
Answer» Half the distance between the nuclei of the two adjacent metal atoms in a close packed lattice of the metal is called its metallic radius. Van der Waals‘radius > Metallic radius > Covalent radius |
|
| 47. |
Vapour phase refining method is used for the purification of Ti. |
|
Answer» Ultra pure metals are being prepared by the Van Arkel Method. The compound so formed is then decomposed by heating to get the pure metal. Van Arkels method is used to purify crude titanium metal. It is heated with iodine to about 500K to form volatile compound. |
|
| 48. |
Enlist two importance of yogasana. |
|
Answer» (a) It contributes to mental peace. (b) It keeps the spinal cord flexible. |
|
| 49. |
Enlist eight stages of Yoga. |
|
Answer» (a) Yama (b) Niyam (c) Asana (d) Pranayama (e) Pratyahar (f) Dharana (g) Dhyana (h) Samadhi |
|
| 50. |
Find out the antonym of the underlined word in each of the following sentences.1. They give no ruling on several of the most important points. (a) many (b) plentiful (c) a few (d) a large number of2. It is a subject of violent disputes. (a) brutal (b) reckless (c) vicious (d) gentle3. China tea has virtues. (a) attributes (b) vices (c) injuries (d) problems4. It is economical. (a) frugal (b) expensive (c) mean (d) niggardly5. One can swallow considerable quanities without ill-effects. (a) large (b) significant (c) sizeable (d) paltry6. I find no fewer than eleven outstanding points. (a) exceptional (b) excellent (c) exclusive (d) mediocre7. At least four others are acutely controversial. (a) disagreeable (b) contentious(c) agreeable (d) disputable8. You will probably find that it is unmentioned. (a) improbably (b) apparently (c) plausibly (d) tied perhaps9. Britannia teapots produce inferior tea. (a) junior (b) superior (c) senior (d) circular10. If the tea is not loose in the pot, it never infuses properly. (a) pervades (b) permeates (c) imbues (d) drains |
|
Answer» 1. (c) a few 2. (d) gentle 3. (b) vices 4. (b) expensive 5. (d) paltry 6. (d) mediocre 7. (c) agreeable 8. (a) improbably 9. (b) superior 10. (d) drains |
|