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. |
Explain defining objects of a class with syntax and a programming example. |
|
Answer» The objects are declared after a class is defined. The object declaration create object of that class and memory is allocated for the created object. The object are created using the following syntax: |
|
| 2. |
What is a constructor? Give the rules of writing a constructor function. |
|
Answer» Constructor is a special member function that is used to initialize the data members of an object. The rules for writing a constructor function are:
An object of a class with a constructor cannot be used as a member of a union. |
|
| 3. |
Write the rules to be followed in writing the constructor function in C++. |
|
Answer» The rules for writing constructor functions are
|
|
| 4. |
Name the two types of UPS. |
|
Answer» The two types of UPS are online UPS and standby UPS. |
|
| 5. |
By which of the following operation can any part of a document be seen on the screen?A. SeachingB. pastingC. ScrollingD. Editing |
| Answer» Correct Answer - C | |
| 6. |
Short note on optical mouse. |
|
Answer» A mouse that uses light to detect movement. Introduced in the late 1990s, optical mice superseded mechanical mice because their sealed bottom surfaces do not absorb dust and dirt. They work by emitting light from an LED or laser, and a CMOS sensor detects the light reflections as the mouse is moved. Mouse is a most commonly used input peripheral device which is used in Graphic User Interface (GUI) environment. It is possible select and move, Open close copy paste or do any formatting operation easily with the help of Mouse. The mouse was invented by Douglas Engelbart of Stanford Research center in 1963. A Mouse is too popular because it working too easy to operate and access. Now Modern age of GUI you can not access it easily without a Mouse. To Operate a Mouse has Left, Right Buttons and a Roller. A left Mouse button used to select any item while a double click on the item activates the application. A right-click of Mouse buttons use to display a list of commands on the screen can also gain the settings of properties settings with the Right-click. A mouse roller uses to scroll down and up of folder or file. Source :- What is a Mouse? State the Different types of Mouse explain them |
|
| 7. |
Explain the memory representation of stack data structure using arrays. |
|
Answer» The items into the stack are stored in sequential order from the first location of the memory block. A variable MAXSTK contains the maximum number of elements that can be stored in stack. |
|
| 8. |
Expand UPS. Explain the types of UPS. |
|
Answer» Uninterruptible Power Supply. There are two types of UPS namely offline UPS and online UPS. 1. Offline UPS: 2. Online UPS: |
|
| 9. |
Write an algorithm for insertion sort method. |
|
Answer» Step 1: for i = 1 to n-1 Repeat step 2 |
|
| 10. |
The other name of a motherboard isA. MouseB. Computer boardC. System DeviceD. System board |
| Answer» Correct Answer - D | |
| 11. |
Write short notes on the types of mouse |
Answer»
|
|
| 12. |
Arrange the following complexes in order of increasing electrical conductivity : |
|
Answer» [CO(NH3)3Cl3], [Co(NH3)5Cl]Cl2,[Co(NH3)4]Cl3 [CO(NH3)3Cl3] < [Co(NH3)4]Cl3 < [Co(NH3)5Cl]Cl2 More number of ions < more electrical conductivity |
|
| 13. |
Explain any three types of motherboard. |
|
Answer» Different types of Motherboards: 1. AT Motherboard These motherboards have bigger physical dimensions of hundreds of millimeters and hence they are not the right fit for the mini desktop category of computers. Bigger physical size also inhibits installing new drivers. Sockets and six-pin plugs are used as power connectors in these motherboards. These power connectors are not that easily identifiable and hence users face difficulties in connecting and using it. This type of motherboard was in vogue in the 1980s and it enjoyed a substantial self-life. 2. ATX Motherboard ATX denotes Advanced technology extended, it was developed by Intel during the 1990s and it was an improved version over an earlier version of AT motherboard. It is smaller in size when compared to AT and it provides interchangeability of the connected components. There is a marked improvement in the connector aspects. 3. LPX Motherboard This board had two improvements over earlier versions. The first one is Input and Output ports were taken to backside and the second one was the introduction of Riser card to facilitate more slots and easier connection. Some of these features were deployed in the AT motherboard. The main disadvantage in this board is the lack of Accelerated Graphic Port (AGP) slots which led to a direct connection to PCI. Issues in these motherboards were addressed in NLX boards. 4. BTX Motherboard BTX denotes Balanced Technology Extended, intended to manage demands of new technologies in terms of more power requirements hence generation of more heat. Intel stopped further development of BTX boards during the mid-2000s to concentrate on low power CPU. |
|
| 14. |
Name and explain the different types of motherboard. |
|
Answer» Below are the six different types of Motherboards: 1. AT Motherboard These motherboards have bigger physical dimensions of hundreds of millimeters and hence they are not the right fit for the mini desktop category of computers. Bigger physical size also inhibits installing new drivers. Sockets and six-pin plugs are used as power connectors in these motherboards. These power connectors are not that easily identifiable and hence users face difficulties in connecting and using it. This type of motherboard was in vogue in the 1980s and it enjoyed a substantial self-life. 2. ATX Motherboard ATX denotes Advanced technology extended, it was developed by Intel during the 1990s and it was an improved version over an earlier version of AT motherboard. It is smaller in size when compared to AT and it provides interchangeability of the connected components. There is a marked improvement in the connector aspects. 3. LPX Motherboard This board had two improvements over earlier versions. The first one is Input and Output ports were taken to backside and the second one was the introduction of Riser card to facilitate more slots and easier connection. Some of these features were deployed in the AT motherboard. The main disadvantage in this board is the lack of Accelerated Graphic Port (AGP) slots which led to a direct connection to PCI. Issues in these motherboards were addressed in NLX boards. 4. BTX Motherboard BTX denotes Balanced Technology Extended, intended to manage demands of new technologies in terms of more power requirements hence generation of more heat. Intel stopped further development of BTX boards during the mid-2000s to concentrate on low power CPU. 5. Pico BTX motherboard These boards are smaller in size and hence the word Pico. Two expansion slots are supported in spite of being sharing the top half of BTX. Half-height or riser cards are its unique features and it supports the demands of digital applications. 6. Mini ITX motherboard It’s a miniature version of motherboard over its earlier versions. Designed in the early 2000s and its dimension is 17 x 17 cm. Mainly used in small form factor (SFF) computer due to its lower power consumption and faster cooling ability. This motherboard is the most preferred in the home theater domain due to its lower level of fan noise that will improve the quality of the theatre system. |
|
| 15. |
Write an algorithm to insert an element into a queue. |
|
Answer» Step 1: if REAR >= N -1 then |
|
| 16. |
Write an algorithm to insert a data element at the rear end of the queue. |
|
Answer» Step 1: if REAR >= N -1 then |
|
| 17. |
Write a short note on concepts of object-oriented programming. |
|
Answer» Object-oriented programming (OOP) is a programming language model organized around “objects” rather than “actions” and data rather than logic of the program. Object-oriented programming method modularizes a program by creating a memory area for data and member functions together as a single entity. The following are the basic concepts of object oriented programming. 1. Object: 2. Class: 3. Data Abstraction: 4. Encapsulation: 5. Function overloading: 6. Polymorphism: 7. Inheritance: |
|
| 18. |
Differentiate between read() and write(). |
||||||||
Answer»
|
|||||||||
| 19. |
Each _______ has its own index block.(a) partition(b) address(c) file(d) all of the mentioned |
|
Answer» Right option is (c) file The explanation: None. |
|
| 20. |
What are the fundamental products for each of the input word? |
|
Answer» ABCD = 0010, ABCD = 0110, ABCD = 1110 Write SOP expression. ABCD = 0010, ABCD =0110, ABCD = 1110. Write SOP expression. The SOP expression for ABCD = 0010 \(\overline {AB} C \bar D\) = m2 The SOP expression for ABCD = 0110 \(\overline {A}B C \bar D\)= m6 The SOP expression for ABCD = 1110 \(ABC \bar D\) = \(M_{14}\) |
|
| 21. |
Problem:sin(8x)*cos(3x) - sin(6x)*cos(4x) = sin(2x)*cos(4x)Where I got to:\( sin(8x)*cos(3x) - sin(6x)*cos(4x) = {1 \over 2} * [ sin(11x) + sin(5x) - sin(10x) - sin(2x)]\)Via formula:\( sinx*cosy = {1 \over 2} * [ cos(x-y) - cos(x+y)]\)Any help is greatly appreciated, thank You in advance! |
|
Answer» sin 8x cos 3x - sin 6x cos 4x = 2 sin 4x cos 4x cos 3x - 2sin 3x cos 3x cos 4x (\(\because\) sin c- sin D = 2 cos\((\frac{C+D}2)\) sin \((\frac{C-D}2)\)) = 4 cos 3x cos 4x cos 7x/2 sin x/2 |
|
| 22. |
Write the features of default constructors. |
|
Answer» The features of default constructors are:
|
|
| 23. |
Define domain. |
|
Answer» A domain name is a unique name that identifies a website on the internet. |
|
| 24. |
Indexed allocation _________ direct access.(a) supports(b) does not support(c) is not related to(d) none of the mentioned |
|
Answer» The correct choice is (a) supports Best explanation: None. |
|
| 25. |
Define base class and derived class. |
|
Answer» 1. base class: 2. derived class: |
|
| 26. |
What is the URL? |
|
Answer» Uniform Resource Locator |
|
| 27. |
Write a short note on Indexed Sequential Access Method. |
|
Answer» Indexed Sequential Access Method (ISAM): This method combines both the feature of sequential and random organization. Records are accessed by using an index or a table. The index stores the address of each record corresponding to a key number of the record. The records within the file are stored sequentially but directly accessed to individual records.
Advantages:
Disadvantage:
|
|
| 28. |
State the principle of duality. Write the dual of 1 + x = 1. |
|
Answer» The principle of duality states that starting with a Boolean relation, another relation can be derived by
For example, (X + Y’) dual is (X’. Y) |
|
| 29. |
What are cookies? |
|
Answer» A cookie is an HTTP header that consists of text-only data saved on your computer. Cookies are used by Web sites to keep track of their visitors. |
|
| 30. |
Classify various built-in functions in SQL. |
|
Answer» The built-in functions are classified as Single row functions and Group functions. The single-row functions are of four types. They are numeric functions, character or text functions, date functions, and conversion functions. 1. Numeric functions: b. CEIL and FLOOR functions - CEIL returns the smallest integer greater than or equal to its argument. FLOOR does just the reverse, returning the largest integer equal to or less than its argument. c. POWER function – To raise one number to the power of another, use POWER. In this function the first argument is raised to the power of the second. d. SORT function – The function SORT returns the square root of an argument. 2. Character or text functions: 3. INITCAP function – capitalizes the first letter of a word and makes all other characters lowercase. 3. Date functions: 3. MONTHS_BETWEEN function – to know how many months fall between month x and 4. Conversion functions:
The group functions are:
|
|
| 31. |
What is microprocessor? |
|
Answer» It is a program controlled semiconductor device (1C), which fetches, decode and executes instructions. |
|
| 32. |
Prove algebraically x + xy = x. |
|
Answer» LHS x + xy |
|
| 33. |
Expand ARPANET. |
|
Answer» The Advanced Research Projects Agency Network. |
|
| 34. |
Explain update command with example. |
|
Answer» UPDATE command: It can be used to change row values from a table. The SET keyword takes the column in which values need to be changed or updated. The WHERE keyword is used to filter the records in some conditions. Syntax: |
|
| 35. |
What is gateway? Explain. |
|
Answer» A network gateway is an internet working system capable of joining together two networks that use different base protocols. A network gateway can be implemented completely in software, completely in hardware, or as a combination of both. The key feature of a gateway is that it converts the format of the data, not the data itself. Gateway functionality differs in many ways. For example, a router that can route data from an IPX network to an IP network is, technically, a gateway. The same can be said of a translational bridge that, converts from an Ethernet network to a Token Ring network and back again. Software gateways can be found everywhere. Many companies use an email system such as Microsoft Exchange. These systems transmit mail internally in a certain format. When email needs to be sent across the Internet to users using a different email system, the email must be converted to another format, this conversion process is performed by a software gateway. In enterprises, the gateway often acts like a proxy server and a firewall. Gateways also associated with router and switch. |
|
| 36. |
Name the different networking techniques. |
|
Answer» The networking techniques (topologies) are Bus topology, Ring topology, Star topology, Three topology, Mesh topology, Extended star topology. |
|
| 37. |
What is a website? |
|
Answer» A website is a collection of web pages generally written using Hyper Text Markup Language. |
|
| 38. |
What is a bus? |
|
Answer» A bus is a set of wire connected between the units for the purpose of carry the signals between the units. |
|
| 39. |
How do we initialize a pointer? |
|
Answer» The initialisation of pointer: Pointer variable = &variable; For example; int a, *ptr; ptr = &a; From the above, address of variable ‘a’ is assigned to variable ‘ptr’. |
|
| 40. |
Write a short note on SMPS of a computer system. |
|
Answer» Switched Mode Power Supply (SMPS): The switched mode power supply acting as a DC to DC converter first rectifies an AC input voltage (240Volts), converts it to DC and, chops this DC in a “chopper” and converts it to a higher or lower level of DC (5 to 12 V DC Volts). Typical modern applications include computer power supply and the power supplies in TV and Video sets. The wattage of SMPS is around 150 to 500 watts.
1. AT SMPS : 2. ATX SMPS : 3. BTX SMPS : |
|
| 41. |
Expand the WWW. |
|
Answer» World wide Web |
|
| 42. |
What is a server? |
|
Answer» A server is a computer program that provides services to other computer programs and their users in the same or other computers. OR The computer that a server program runs in is also referred to as a server. |
|
| 43. |
How to declare and initialize pointer? Give example. |
|
Answer» The pointer declaration syntax: datatype *pointername; To initialize pointer: pointervariable = &variable; For example; inta, *ptr; ptr = &a; From the above, address of variable ‘a’ is assigned to variable ‘ptr’. |
|
| 44. |
Write the algorithm for linear search. |
|
Answer» Linear_search(Array, ele, N) |
|
| 45. |
What is chatting? |
|
Answer» It is online communication between two users through the computer. Once a chat has been initiated, either user can enter text by typing on the keyboard and the entered text will appear on the other user’s monitor. |
|
| 46. |
Write the different member functions belonging to stream class. |
|
Answer» The member functions belonging to fstream class are constructor, open, is open, close, and inherits get(), getline(), read(), seekg() and tellg() from istream, inherits put(), write() seekp() and tellp() from ostream. |
|
| 47. |
Define an entity. |
|
Answer» An entity is a person, place, thing or event for which data is collected and maintained. |
|
| 48. |
Explain any three components of E-R diagram. |
|
Answer» The three main components of E-R diagram are Entity, Attribute, and Relationship. 1. Entity: An entity is a person, place, thing or event for which data is collected and maintained. 2. Attribute: An attribute is the characteristic property of an existing entity. 3. Relation: A relation is defined as a set of tuples that have the same attributes. A relation is usually described as a table, which is organized into rows and columns. |
|
| 49. |
Mention any one advantage of pointer. |
|
Answer» The two advantages of the pointer are:
|
|
| 50. |
List the services of e-commerce? |
|
Answer» Few services of ecommerce are:
|
|