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 are structures passed as arguments in functions? |
|
Answer» The Structures are passed to functions using pass by value method. |
|
| 2. |
How are arrays passed as arguments in functions? |
|
Answer» The Arrays are passed as arguments in functions by referring to the name of the array. |
|
| 3. |
What is call by reference method of function call? |
|
Answer» Pass by reference or call by reference is the method by which the addresses of the actual arguments are passed to the called function. |
|
| 4. |
…….. manipulator is the member of iomanip header file.(a) setw (b) setfill (c) setf (d) all the above |
|
Answer» (d) all the above |
|
| 5. |
…….. is used to set the number of decimal places to be displayed.(a) Set precision(b) Garbage(c) Constant(d) All the above |
|
Answer» (a) Set precision |
|
| 6. |
Write the use of arithmetical operators. |
|
Answer» Arithmetical operators +, -, *, /, and % are used to perform an arithmetic (numeric) operation. |
|
| 7. |
Give an example for assignment operators. |
|
Answer» Example for assignment operators is a = 20; |
|
| 8. |
The following constants are of which type?1. 39 2. 032 3. OXCAFE 4. 04.14 |
|
Answer» 1. 39 – Decimal 2. 032 – Octal 3. OXCAFE – Hexadecimal 4. 04.14 – Decimal |
|
| 9. |
Why is a relational operator used? |
|
Answer» Relational operators are used to test the relation between two values. A relational expression returns zero when the relation is false and a nonzero when it is true. |
|
| 10. |
Define a character set. |
|
Answer» It is a set of symbols that a programming language identifies and is used in writing data and instructions in a programming language. |
|
| 11. |
Who coined C++?(a) Rick Mascitti(b) Rick Bjame(c) Bill Gates(d) Dennis Ritchie |
|
Answer» (a) Rick Mascitti |
|
| 12. |
Who developed C++?(a) Charles Babbage(b) Bjame Stroustrup(c) Bill Gates(d) Sundar Pichi |
|
Answer» (b) Bjame Stroustrup |
|
| 13. |
What was the original name given to C++?(a) CPP(b) Advanced C(c) C with Classes(d) Class with C |
|
Answer» (c) C with Classes |
|
| 14. |
What are the relational operators? |
|
Answer» The operators which perform an operation of the relation between two operands are called relational operators. |
|
| 15. |
Identify the input device ………(a) Printer (b) Mouse (c) Plotter (d) Projector |
|
Answer» Mouse is the input device |
|
| 16. |
What is C++? |
|
Answer» C++ is an object-oriented programming language. It is also known as C with classes. It is a combination of C and Simula 67. It was invented by Bjarne Stroustrup at AT &T Bell Lab in New Jersey, USA. in the early 1980’s. |
|
| 17. |
Write any two characteristics of C++. |
|
Answer» Object-oriented programming and portability are important two characteristics of C++. |
|
| 18. |
What are the logical operators? |
|
Answer» The operator which perform combine or negate the expressions that contain relational operators are called logical operators. |
|
| 19. |
……… Output device is used for printing building plan, flex board, etc.(a) Thermal printer (b) Plotter (c) Dot matrix (d) inkjet printer |
|
Answer» Plotter is used for printing building plan, flex board, etc. |
|
| 20. |
Which printer using the carbon papers ………(a) laser printer(b) non – impact printers(c) Impact printer(d) all the above |
|
Answer» (c) Impact printer |
|
| 21. |
Printers are divided into ……………………… main categories. (a) three (b) two(c) four (d) five |
|
Answer» Correct answer is (b) two |
|
| 22. |
The printing speed.of serial dot matrix printers varies from: (a) 50 to 1000 cps (b) 100 to 1000 cps (c) 40 to 1550 cps (d) 30 to 1550 cps |
|
Answer» (d) 30 to 1550 cps |
|
| 23. |
…………… output device is used for printing building plan, flex board, etc. (a) Thermal printer (b) Plotter (c) Dot matrix (d) Inkjet printer |
|
Answer» Correct answer is (b) Plotter |
|
| 24. |
Differentiate Input and output unit. |
Answer»
Output unit:
|
|
| 25. |
What is the function of memory? |
|
Answer» Memory enables the computer to store the program. The memory unit is of two types: 1. Primary memory 2. Secondary memory The primary memory is used to store data temporarily and secondary memory stores the data permanently |
|
| 26. |
Write the functions of control unit. |
|
Answer» The control unit controls the flow of data between the CPU, memory I/O devices. It also controls the entire operations of a computer |
|
| 27. |
Imagine a situation where your house is surrounded by water and answer the following.1. What health hazards caused when water stagnates around your place?2. When there is a power shutdown for long hours during floods, what will you do?3. What precautions would you take if there is an announcement about flooding in your area? |
|
Answer» 1. Dangerous diseases, stench smell, mosquitoes breeding, etc. 2. I will collect rainwater for drinking and other purposes and will try to finish the daily chores before dusk. 3. I will move to a safer place, on a higher altitude. |
|
| 28. |
What were the girls doing in the living room? |
|
Answer» Amy and Rose were knitting. Betty was looking at a magazine. |
|
| 29. |
Match the following by ‘drawing a line across column A and B.1. Amy(a) to chicago on bussiness2. Betty(b) dentist3. Rose(c) flash light4. Sara(d) nurse5. jim(e) blankets6. penny Marsh(f) Mr Brant's7. Mrs. peters(g) fractured leg8. Mother(h) tubs and pails9. ****(i) junior red cross10. Dad(j) rescues the children |
|
Answer» 1. (e) 2. (c) 3. (h) 4. (g) 5. (i) 6. (d) 7. (j) 8. (f) 9. (b) 10. (a). |
|
| 30. |
Describe the ‘home alone’ experience of the children. |
|
Answer» Amy Marshall and Betty Marshall were left alone in the home and due to cyclone, the water level was rising around their house. They were lucky enough to have their friends cum neighbour Rose field. Sara Field and Jim Hall in their house to fight against the disastrous moment. Amy’s mother had taken **** to dentist and on her way back she was supposed to meet Mrs. Brant for a recipe. Amy’s father was in Chicago on some business matters. |
|
| 31. |
How does Red Cross help the children? |
|
Answer» Red Cross helps the children by rescuing them from the flooded area and by saving their lives. ‘ |
|
| 32. |
Who came to rescue the children? |
|
Answer» Mr. Peters and Miss Marsh came to rescue the children. |
|
| 33. |
Mother couldn’t get home from Mrs. Brant’s because ……(i) it was raining heavily. (ii) the bridges between home and the town were under water. (iii) there was an emergency at Mrs. Brant’s house. (iv) she had broken her leg. |
|
Answer» (ii) the bridges between home and the town were under water. |
|
| 34. |
What happened to Sara? |
|
Answer» Sara’s right leg just below the knee was hurt as she climbed down the ladder from the playhouse. |
|
| 35. |
Who went to get Sara? Where was she? |
|
Answer» Jim went to get Sara. Sara was on the playhouse porch. |
|
| 36. |
How did Jim want the girls to ‘get organised’? |
|
Answer» Jim asked the girls to be organized. He asked Betty to search and bring flashlight, candles, lamps and lanterns; Rose to fill the tubs and pails; Amy to check on food, blankets and coats. Jim also asked them to be ready with first-aid kit. |
|
| 37. |
What were the important objects that the girls and Jim try to move to the attic? Why? |
|
Answer» Flashlight, candles, lamps, lanterns, food, blankets, coats, books and jewels were some of the articles that the girls and Jim tried to move to the attic. By night, they were expecting the water to enter into the house. To be safe until the rescue arrived, they planned to stay in the attic. |
|
| 38. |
Who is Miss Marsh? How does she help Sara? |
|
Answer» Miss Marsh is the Red Cross Nurse. She understands that Sara has broken her right leg just below the knee. She splints it up with pillows and umbrella and lifts her safely into the boat. She also decides to take her to the emergency Red Cross hospital in Armoury. |
|
| 39. |
Who is the founder of Junior Red Cross? |
|
Answer» Jean Henry Dunant |
|
| 40. |
Who came in the boat? |
|
Answer» Tom Peter and Miss Marsh came in the rescue boat. (Tom Peter is member of the Red Cross Disaster Committee and Penny Marsh is the Red Cross nurse.) |
|
| 41. |
Who were taken in the boat? Who were left behind? |
|
Answer» Left behind in the house are Amy and Jim. Others were in the boat – Betty, Sara, Rose, along with Mr. Peter and Miss Marsh. |
|
| 42. |
vector(a,b,c) will be co-planar if(a) vector((a.b)c) = 0(b) vector(a.(b x c)) = 0(c) vector(a x(b x c)) = 0(d) vector(a.(b + c)) = 0 |
|
Answer» Answer is (b) vector(a.(b x c)) = 0 |
|
| 43. |
The direction ratio of the line joining the points A(2,-4,5) and B(1,-1,3) are(a) (1,-3,2)(b) (-3,1,2)(c) (2,1,-3)(d) none of these |
|
Answer» Answer is (a) (1,-3,2) |
|
| 44. |
Evaluate : ∫(sin x dx/(sin x + cos x)), x ∈ [0,π/2] |
|
Answer» ∫(sin x dx/(sin x + cos x)), x ∈ [0,π/2] Let I = ∫(sin x/(sin x + cos x)) dx, x ∈ [0,π/2] ...(i) I = ∫(sin((π/2) - x)/(sin((π/2) - x) + cos((π/2) - x)) dx, x ∈ [0,π/2] I = ∫(cos x/cos x + sin x)) dx, x ∈ [0,π/2] ...(ii) Adding eq. (i) and (ii), 2I = ∫((sin x + cos x)/(sin x + cos x)) dx, x ∈ [0,π/2] 2I = ∫1.dx, x ∈ [0,π/2] 2I = [x], x ∈ [0,π/2] 2I = (π/2) - 0 I = π/4 |
|
| 45. |
(d/dx)(sin-1 x + cos-1 x) = (a) 1(b) π/2(c) 0(d) none of these |
|
Answer» Answer is (c) 0 |
|
| 46. |
Evaluate: sin[π/3 - sin-1(-1/2)] |
|
Answer» sin[π/3 - sin-1(-1/2)] = sin[π/3 - (- π/6)] = sin[π/3 + π/6] = sinπ/2 = 1 |
|
| 47. |
Write the value of cot (tan–1a + cot–1a). |
|
Answer» cot(tan-1a + cot-1a) = cot(π/2 - cot-1a + cot-1a) = cotπ/2 = 0 |
|
| 48. |
Find the principal values of tan-1(tan(3π/4)) |
|
Answer» tan-1(tan3π/4) = tan-1(tan(π - π/4)) = tan-1(-tanπ/4) = tan-1(-1) = - π/4 |
|
| 49. |
Find the value of cos-1(cos(7π/6)). |
|
Answer» cos-1(cos(7π/6)) = cos-1(cos(2π - 5π/6)) where, 5π/6 ∈ [0, π] ∴ cos-1(cos(7π/6)) = cos-1(cos(5π/6)) = 5π/6 (∵ cos(2π - θ) = cosθ) |
|
| 50. |
Find the principal value of each of the following :\(\cos^{-1}\left(\cos\frac{13\pi}{6}\right)\) |
|
Answer» \(\cos^{-1}\left(\cos\frac{13\pi}{6}\right)\)\(=\cos^{-1}\left(\cos\left(2\pi+\frac{\pi}{6}\right)\right)\) [ Formula: cos (2π + x) = cos x , cos is positive in the first quadrant. ] \(\cos^{-1}\left(\cos\frac{\pi}{6}\right)\) [Formula: cos -1(cos x) = x] \(=\frac{\pi}{6}\) |
|