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. |
Name six objects made of two or more materials |
Answer»
|
|
| 2. |
State any one exclusion of burglary insurance. |
|
Answer» Acts involving the family members or employees of the Insured. |
|
| 3. |
________is the rate at which the cnergy. is Consumed in an clectric circuit |
|
Answer» power is the rate at which the energy is consumed in an electric circuit |
|
| 4. |
_______is a life skill and must be necessarily developed. |
|
Answer» self motivation is a life skill and must be necessarily developed. |
|
| 5. |
Windows 7 is an operating system developed by ____. |
|
Answer» Windows 7 is an operating system developed by Microsoft. |
|
| 6. |
Health Insurance Policies may offer Cumulative ______ wherein for every claim free year the sum assured in increased by a certain percentage at the time of renewal. |
|
Answer» Health Insurance Policies may offer Cumulative Bonus wherein for every claim free year the sum assured in increased by a certain percentage at the time of renewal. |
|
| 7. |
Assertion :- Plasma membrane acts as a mechanical barrier,Reason :- It protects the internal content of the cell |
|
Answer» Both are correct Answer : Both Assertion and Reason are correct and R is the correct explaination of A. |
|
| 8. |
Explain various coverages and non-coverages under Health Insurance Policies. |
|
Answer» Family Floater is one single policy that takes care of the hospitalisation expenses of the entire family. The policy has one single sum insured, which can be utilised by any/all insured persons in any proportion or amount subject to maximum of overall limit of the policy sum insured. This is available for persons between the ages of 18 years to 60 years age covering the following family members: 1.Self 2.Spouse 3.Dependent Children-maximum two The other features are: 1. Sum insured : Minimum is 2 lakhs and Maximum is 5 lakhs 2. Premium: It is as per Individual Mediclaim Policy(2007). The basic premium will be as per highest age of the family member. Under Floater policy, any family member can avail the medical claim of ₹ 1.00 lakh. The premium will be applicable to the highest aged member of the family. |
|
| 9. |
What is meant by ‘Cumulative Bonus’ in Health Insurance? |
|
Answer» Health Insurance policies may offer ‘Cumulative Bonus’ wherein for every claim free years (i.e. a year in which no claim is made); the Sum Insured is increased by a certain percentage at the time of renewal subject to a maximum percentage. |
|
| 10. |
Define ‘Health Insurance’. |
|
Answer» Health Insurance is a type of insurance that covers medical expenses that arise due to an illness. These expenses could be related to hospitalisation costs, cost of medicines or doctor consultation fees. |
|
| 11. |
Which of the following doesn’t contain Fatty Acids. Is it triglycerides; steroids, cell membrane or nuclear membrane |
|
Answer» Answer: Steroid |
|
| 12. |
With an alarming rate of increase in Cyber fraud write at least three points to be kept in mind while making an online transactions. |
|
Answer» Following points to be considered. 1. Avoid using public wifi 2. Keep your device protected with updated antivirus 3. Always use SSL protected sites. Some Precuations to keep safe passwords. Make a password complex, like mix case, use numbers and special characters. This decreases ability of automated attacks by trying different character combinations. Be cautious not to leave passwords around and do not share them with friends. Never use names of near and dear ones as passwords |
|
| 13. |
A garment Company is planning to launch its website and a Mobile App. Mention various factors that the company shall keep in mind to attract people for online shopping. |
|
Answer» Following are the factors to be kept in mind: 1. It shall have easy to use interface : simple design for the end user to interact easily. 2. Web site must be secured and must be free from malware. 3. It shall not leak customer details and must provide different payment methods such as Credit card/ debit card/ COD etc. 4. Must provide good offers/ deals to the user. |
|
| 14. |
Radha has given the following query, she is unable to run due to errors, rectify the errors and underline the correction made: |
|
Answer» (a) Select unique department from employee: Ans Select distinct department from employee: (b) Select * from employee where name =”%a”; Ans Select * from employee where name like ”%a”; (c) Select name, salary from employee where phone = Null; Ans Select name, salary from employee where phone IS Null; |
|
| 15. |
Write a program which will display the multiplication of numbers from 15 to 250. |
|
Answer» sum = 1 for i in range(15, 251): sum*=i print(sum) |
|
| 16. |
In SQL, name the clause that is used to display the tuples in ascending order of an attribute. |
|
Answer» Answer is: ORDER BY |
|
| 17. |
What is the difference between „/‟ and „//‟ ? |
|
Answer» / is regular division(returns float) and // is floor division(returns int). |
|
| 18. |
Explain manipulators. |
|
Answer» 1. A manipulator in a C++ is used to control the formatting of output and/or input values. 2. Manipulators can only be present in Input/Output statements. The end1 manipulator causes a newline character to be output. 3. end1 is defined in the header file and can be used as long as the header file has been included. |
|
| 19. |
Explain the working of for statement with a programming example. |
|
Answer» A for loop is a repetition control structure that allows you to efficiently write a loop that needs , to execute a specific number of times. Syntax: The syntax of a for loop in C++ is: for ( initialization; condition; increment/decrement ) { statement(s); } The working of a for loop: 1. The initialization step is executed first, and only once in the beginning. It is used to declare and initialize any loop control variables. 2. Next, the condition is evaluated. If it is true, the body of the loop is executed. If it is false, the body of the loop does not execute and flow of control jumps to the next statement just after the for loop. 3. After the body of the for loop executes, the flow of control jumps back up to the increment/decrement statement and update any loop control variables. 4. Then condition is evaluated again. If it is true, the loop executes and the process repeats itself (body of loop, then increment step, and then again condition). After the condition becomes false, the for loop terminates. Example: #include<iostream> void main () { for (int a = 10;a < 20;a = a + 1) cout <<"value of a : "<<a<<end1; } When the above code is compiled and executed, it produces following result: value of a: 10 value of a: 11 value of a: 12 value of a: 13 value of a: 14 value of a: 15 |
|
| 20. |
What are floating-point constants, octal constants, and hexadecimal constants? |
|
Answer» 1. Floating-point constants: They are numeric values that contain decimal points and can contain exponents. 2. Octal constants: They are a sequence of digits starting with 0 (zero) to 7. 3. Hexadecimal constants: They are a of sequence of digits from 0 to 9 and A, B, C,D, E, F alphabet symbols that represent decimal numbers 10, 11, 12, 13, 14, and 15 respectively, preceded by ox or OX. |
|
| 21. |
Explain the working of switch statement with an example. |
|
Answer» Switch statement compares the value of an expression against a list of integers or character constants. The list of constants are listed using the “case” statement along with a “break” statement to end the execution. #include<iostream.h> void main() { int day; cout<<"Enter the day of the week between 1-7::"; cin>>day; switch(day) { case 1; cout<<"monday"; break; case 2: cout<"Tuesday"; break; case 3: cout<"Wednesday"; break; case 4: cout<"Thursday"; break; case 5: cout<"Friday"; break; case 6: cout<"Saturday"; break; case 7: cout<"Sunday"; break; } } Result: Enter the day of the week between 1 – 7 :: 7 Sunday In the above Control Structure example the “switch” statement is used to find the day of the week from the integer input got from the user. The value present in the day is compared for equality with constants written in the word case. Since no equality is achieved in the above example (from 1 to 6) as they entered value is 7, default is selected and gives “Sunday” as a result. A switch statement tests the value of a variable and compares it with multiple cases. Once the case match is found, a block of statements associated with that particular case is executed. Each case in a block of a switch has a different name/number which is referred to as an identifier. The value provided by the user is compared with all the cases inside the switch block until the match is found. Syntax: switch( expression ) { case value-1: Block-1; Break; case value-2: Block-2; Break; case value-n: Block-n; Break; default: Block-1; Break; } Statement-x; |
|
| 22. |
What are sequential construct, selection, and iteration? |
|
Answer» 1. Sequential construct: The ability’ of executing the program statements one after another in sequence is called sequential construct. 2. Selection: The process of selecting certain set of statements based on a requirement for – execution is called selection. 3. Iteration : It is the process of repeating the execution of certain set of statements repeatedly until a requirement is satisfied. |
|
| 23. |
What is the difference between normal view mode and page layout view mode? |
|
Answer» If the document consists of both graphical pictures and text then in the normal mode graphical picture cannot be displayed. They can be displayed only in the page layout mode. |
|
| 24. |
Write a C++ program to find the position of a given number in an array. |
|
Answer» #include <iostream> void main() { int a[100],n,i,position = -1,ele; cout<<"Enter the size"; cin>>n; cout <<"Enter the values"; for (i=0;i<n;i++) cin>>a[i]; cout<<"Now,Enter the number to find its position"; cin>> ele; for(i=0;i<n;i++) If(a[i] = = else) Position = i; if(position>=0) cout<<"The position of the number is "<<position<<end1; else cout<<"The number is not found"<<end1; Here is the source code of the C++ Program to Print the Element at a Given Position. #include<iostream> using namespace std; int main () { char arr[10], ele; int i, n, pos; cout << "Enter size of the array : "; cin >> n; cout << "\nEnter elements of the array : "; for (i = 1; i <= n; i++) cin >> arr[i]; cout << "\nEnter the position : "; cin >> pos; for (i = 1; i <= n; i++) if (pos == i) ele = arr[i]; cout << "\nElement at position " << pos << " is : " << ele; return 0; } |
|
| 25. |
Give different types of computer monitors. |
|
Answer» The different types of computer monitors are CRT monitors, LCD monitors, TFT monitors and LED monitors. |
|
| 26. |
Write any three functions of an operating system. |
|
Answer» 1. Memory management: The operating system allocates memory for requesting a process and frees the memory when the process is completed. 2. Device management: The operating system is responsible to allocate input and output devices as and when they are required by the process. 3. Management of input/output: The operating system allows control of access of programs to material resources via drivers. |
|
| 27. |
What is structured programming? Explain its advantages. |
|
Answer» Structured Programming: means the collection of principles and practices that are directed toward developing correct programs which are easy to maintain and understand. A structured program is characterized by clarity and simplicity in its logical flow. The Three important constructs upon which structured programming is built are: • Sequence-Steps are performed one after the other. • Selection-Logic is used to determine the execution of a sequence of steps. For example,if-then-else construct. • Iteration-A set of actions are repeated until a certain condition is met. For example while construct. The various advantages of structured programming are: 1. Complexity of program reduces. 2. Easy maintenance. 3. Simplified understanding. 4. Reusability of code increases. 5. Testing and debugging become easier. |
|
| 28. |
Explain the structure of C++program with an example |
|
Answer» #include<iostream> int main() { cout<<"Hello world";// prints Hello world return 0; } The various parts of the above program: 1. headers, which contain information that is either necessary or useful to program. For this program, the header is needed. 2. The line int main() is the main function where program execution begins. 3. The pair of { } indicates the body of the main function. 4. The next line cout << “This is my first C++ program. causes the message “This is my first C++ program” to be displayed on the screen. 5. The next line return 0; terminates main( )function and causes it to return the value 0 to the calling process. |
|
| 29. |
What is l’s complement? Give an example. |
|
Answer» Representing a signed number with 1s complement is done by changing all the bits that are 1 to 0 and all the bits that are 0 to 1. For example, 1s complement of 1010100 is 0101011. |
|
| 30. |
What is structured programming? Mention its advantages. |
|
Answer» Structured Programming deals only with logic and code and suggests making use of programming structures such as sequence, selection, iteration and modularity in programs. 1. Programs are easy to write because the programming logic is well organized. 2. Programs can be functionally decomposed into logical working units (modularity). 3. Modularity leads to easily understand the program, test and debug. 4. Easy to maintain because of single entry and single exit. 5. Eliminates the use of undisciplined controls (GO TO, BREAK, etc.,) in the program. |
|
| 31. |
Write an algorithm to calculate the compound interest (C. I = Px(1 +r/100)n – P) |
|
Answer» Step 1 : Start Step 2 : Read 3 number for p,n,r Step 3 : Calculate Cl = p x(1+r/100)n – p Step 4 : Print “The compound Interest = C.I” Step 5 : Stop |
|
| 32. |
Write an algorithm to calculate the simple interest (I =P*N*R/100) |
|
Answer» Step 1 : Start Step 2 : Read 3 values for P,N,R Step 3 : Calculate I <— P*N*R/100 Step 4 : Print “The simple interest = I Step 5 : Stop |
|
| 33. |
Write an algorithm to find the sum of n natural numbers and average?Step 1 : Start Step 2 : Set i 1, S 0 Step 3 : Read a number and set to n Step 4 : Computer i and n if i>n then go to step 7. Step 5 : Set S <— S+ iStep 6 : i <— i+1 go to step 4 Step 7 : avg 4<— S/n Step 8 : Print “Sum = S and average = avg” Step 9 : Stop numbers. |
|
Answer» step 1 : Start Step 2 : Read 3 numbers and store in A,B,C Step 3 : Compare A and B. lfA>B then go to Step 6 Step 4 : Compare B and C if C>B then go to Step 8 Step 5 : print “B is largest” go to Step 9 Step 6 : Compare A and C if Q>A then go to Step 8 Step 7 : Print” A is largest” go to Step 9 Step 8 : Print “C is largest” Step 9 : Stop |
|
| 34. |
Write an algorithm to read a number and find its factorial (n!=n*(n-1)*(n-2) * …..3*2*1) |
|
Answer» Step 1 : Start Step 2 : Fact <—1 Step 3 : Read a number and store in n Step 4 : If n=0 then go to step 7 Step 5 : Fact <— Fact *n Step 6 : n <— n-1 go to step 4 Step 7 : Print “Factorial is fact” Step 8 : Stop. |
|
| 35. |
What are identifiers? Write the rules of naming identifiers in C++. |
|
Answer» The identifier is a sequence of characters taken from the C++ character set. The rules for the formation of an identifier are:
|
|
| 36. |
Write an algorithm to find the largest of 2 numbers? |
|
Answer» Step 1 : Start Step 2 : Input the values of A, B Step 3 : Compare A and B. If A> B then go to step 5 Step 4 : Print” B is largest” go to Step 6. Step 5 : Print “A is largest” Step 6 : Stop |
|
| 37. |
Write an algorithm to check whether the given number is even or odd. |
|
Answer» step 1 : Start Step 2 : Read a number to N Step 3 : Divide the number by 2 and store the remainder in R. Step 4 : If R = O Then go to Step 6 Step 5 : Print “N is odd” go to step 7 Step 6 : Print “N is even” Step 7 : Stop |
|
| 38. |
Explain switch statement with a suitable example in C++ |
|
Answer» ‘ Switch’ statement compares the value of an expression against a list of integers or character constants. The list of constants are listed using the “case” statement along with a “break” statement to end the execution. Example: #include<iostream.h> int main(void) { int day; cout <<"enter the day of the week between 1-7::"; cin>>day; switch(day) { case 1: cout<<"Monday"; break; case 2: cout<<"Tuesday"; break; case 3 : cout << "Thursday"; braek; case 5: cout<<"Friday"; break; case 6: cout <<"Saturday"; break; default: cout<<"Sunday"; break; } } Result: Enter the day of the week between 1-7::7 Sunday In the above Control Structure example, the “switch” statement is used to find the day of the week from the integer input got from the user. The value present in the day is compared for equality with constants written in the word case. Since no equality is achieved in the above example (from 1 to 6), when 7 is entered default is selected and gives “Sunday” as a result. |
|
| 39. |
Write an algorithm to check the given number is a power of 2. |
|
Answer» Step 1: start Step 2: input n Step 3: let temp = n Step 4: let status =1 Step 5:while(temp>2)repeat If (temp%2 = 1) then Status = 0 Goto step 6 Else temp = temp/2 end if end while step 6: is (status = 1) then print n,"is power of 2" else print n,"is not power of 2" end if step 7:stop |
|
| 40. |
What is recursive function? Give the syntax and example for it. |
|
Answer» 1. A function that calls itself directly or indirectly, again and again, is called recursive functions and the process is termed as recursion. 2. A function is called ‘recursive’ if a statement within the body of that function calls the same function. 3. The most common example of a recursive function is the calculation of the factorial of a number. i.e., n! = (n) * (n-1) In the above formula, the second part (n-1)! is calling the formula again. Program: void main() { int n, factorial; int fact(int); cout<<"Enter any number:"; cin>>n; factorial = fact(n); cout<<"\n The factorial is "<<factorial; } int fact(int n) { int x; if(n = = 0|| n = = 1) return(1); else x = n*fact(n-1); return(x); } In the above example, the calling function main () gives the function call to fact () and co, To jumps from main () function to called function fact(). The argument ‘n’ value is compared with the base class ‘if (n == 1)’ if ‘true’ control will return back to calling function main(). If ‘False’, control will execute the statement which is after ‘else’ x = n * fact ( n – 1);. here a function call is given to fact (n-1) with the parameter (n-1). Now the calling function is fact() and called function is also fact( ). The recursion ends when value of ‘n’ is 1 then the statement return (1) is initiated. |
|
| 41. |
How do you access the elements of a two dimensional array? Write the syntax and example for two dimensional array initialization. |
|
Answer» The row index and column index number of two dimensional array along with array name is “r” used to access the elements of a two dimensional array. |
|
| 42. |
Write the syntax and examples of initialization of two-dimensiona array? |
|
Answer» Syntax of initialization of two dimensional array: Datatype arrayname [rowsize] [column size] = { value 1, value2, …., value n }; Example of array initialization with declaration: int matrix [3] [3] = { 91, 96, 90, 94, 99, 95, 87, 92, 98}; |
|
| 43. |
Explain the characteristics of computers in detail. |
|
Answer» The characteristics of computers are 1. Speed: Computers are fast in doing calculations. The speed of the computer is measured in terms of million instruction per second (MIPS). 2. Storage Capacity: Computers come with large amount of memory. They can hold lot of data. Computers can show a particular piece of information from large amount of data in a short time. 3. Diligence: After doing work for sometime, humans become tired but computers do not become tired. They work continuously. In fact, some computers which control telephone exchanges are never stopped. This is called diligence. 4. Accuracy: The results that the computers produce are accurate provided data and programs are reliable. 5. Versatility: We can use computer to perform completely different type of work at the same time. 6. Reliability: Computers work for many years without any problem. Few computers in the world are never switched off. |
|
| 44. |
Explain the characteristics of computers in detail. |
|
Answer» The characteristics of computers are: 1. Speed: Computers are fast in doing calculations. The speed of the computer is measured in terms of million instruction per second (MIPS). 2. Storage Capacity: Computers come with large amount of memory. They can hold lot of data. Computers can show a particular piece of information from large amount of data in a short time. 3. Diligence: After doing work for sometime, humans become tired but computers do not become tired. They work continuously. In fact, some computers which control telephone exchanges are never stopped. This is called diligence. 4. Accuracy: The results that the computers produce are accurate provided data and programs are reliable. 5. Versatality: We can use computer to perform completely different type of work at the same time. 6. Reliability: Computers work for many years without any problem. Few computers in the world are never switched off. |
|
| 45. |
Explain the cascading of input and output with suitable example. |
|
Answer» The cascading is a way to extract/insert multiple values from/into more than one variable using one cin/cout statement. The multiple use of << or >> in a one statement is known of cascading. Cascading of output operator (>>): cout<< “ Hello “ << “ ISC cout<< “Value of B=” << b; Cascading of input operator (>>): int n1, n2, n3; cin >> n1 >> n2 >> n3 ; cin >> n1 >> n2 ; |
|
| 46. |
What is cascading of input/output operators? Give examples. |
Answer»
cin >> n1 >> n2.>> n3 ; cin>>n1>>n2; |
|
| 47. |
Define two-dimensional array. Write its declaration syntax and give one example. |
|
Answer» Two dimensional array is a collection of elements of similar type that share a common name, structured in two dimensions. Each element is accessed by two index values. Syntax: <data-type> <array-name> [<size1>] [<size2>]; Example: int a [ 10] [ 10]; |
|
| 48. |
Explain the various operations performed on queue data structure. |
|
Answer» A queue is a non-primitive data structure where an item is inserted at one end and removed from the other end. The queue(), enqueue(item), dequeue(), isEmpty() and size() are the operations that can be performed on queues.
|
|
| 49. |
Write the important features of second generation computers. |
|
Answer» The two important features of the second generation computers are. 1. Use of symbolic or assembly language 2. Introduction of early versions of COBOL and FORTRAN high level languages |
|
| 50. |
Briefly explain the input and output operators in C++ with their syntax and example. |
|
Answer» 1. Input Operator: Syntax: cin >> variable. Example: The statement cin>> num; is an input statement and causes the program to wait for the user to type in a number. It takes the value from the keyboard and assigns it to the variable on its right. 2. Output Operator: Syntax: cout<< expression or manipulator Example: The statement Cout<< “ the numbers”; It is an output statement and causes the program to print the message on the standard output. |
|