Which of the following file is generated after pre-processing of a C program?
Question Discussion & Solution
MCQ
Q.
Correct Answer: C
After the pre-processing of a C program, a .i file is generated which is passed to the compiler for compilation
forum Community Discussion
speaker_notes_off
No discussions yet. Be the first to start!
sync
Loading more...
You must be logged in to participate in the discussion.
login Login to Discussauto_awesome Similar Questions
MCQ
1.
Which of the following is the sweetest sugar?
Correct Answer: B
The correct answer is Fructose.
Key Points
- Fructose
- It is naturally occurring sugar.
- It is the sweetest sugar.
- It is a 'monosaccharide', meaning the simplest form of sugar, which means it cannot be broken down into more basic sugar units.
- Other common examples of monosaccharides are glucose and galactose.
- The chemical formula of fructose is C6H12O6.
Additional Information
- Maltose
- It is also a sweet sugar which is also known as maltitol sugar.
- It is mostly found in honey.
- Its molecular formula is C12H22O11.
- Glucose
- It is the most abundant monosaccharide, a carbohydrate sub-category.
- During photosynthesis, glucose is primarily produced by plants and most algae from water and carbon dioxide, using energy from sunlight, where it is used to create the most abundant carbohydrate cellulose in cell walls.
- The chemical formula of glucose is C6H12O6.
- Sucrose
- It is crystallized white sugar produced by the sugar cane plant and can be found in households and foods worldwide.
- The formulae for sucrose is C12H22O11.
- It is a disaccharide so when we hydrolyse it we will get one molecule of glucose and another molecule of fructose.
- It is also known as table sugar.
- The formulae for sucrose is C12H22O11.
MCQ
2.
SONAR is based on which of the following principle?
Correct Answer: B
CONCEPT:
- Ultrasonic waves are the sound waves with frequencies higher than the upper audible limit of human hearing.
- They have a short wavelength.
- Echo: If we shout or clap near a suitable reflecting object such as a tall building or a mountain, we will hear the same sound again a little later. This sound which we hear is called an echo.
- Echoes are heard due to the phenomenon of Reflection of sound waves.
- SONAR: It a technique that uses sound propagation (usually underwater, as in submarine navigation) to navigate, communicate with or detect objects on or under the surface of the water
- SONAR stands for ‘Sound Navigation and Ranging.’
- SONAR is based on the principle of echo.
- Sonar is often used as a measurement of acoustic location and echo characteristics of the target object in the water.
- It sends ultrasonic waves towards the bottom area of the sea and after reflection, the sound comes to the ship. We measure the time taken by the sound wave and then we get the depth.

EXPLANATION:
- From the above discussion, we can say that the SONAR uses the principle of reflection of sound waves(Echo) to detect and locate objects. So option 2 is correct.
- Reverberation: The persistence of sound in a closed enclosure, due to continuous reflections at the walls or the floor or the ceiling of the enclosure, even after the source has stopped producing sound is known as 'reverberation'.
MCQ
3.
First alloy was used by men?
Correct Answer: B
Explanation:
- Bronze is an alloy of copper and tin as the two main constituent elements.
- Bronze is a copper-based alloy that typically consists of approximately 88% copper and 12% tin.
- Some other elements added in minute quantities can be aluminium, nickel or zinc.
- It is one of the first alloys used by mankind and an entire era known as the 'Bronze Age' is known because of the extensive use of the alloy in many human artefacts.
Additional Information
Steel:
- Stainless steel is an alloy of iron and chromium.
- Steel is an alloy of iron and carbon.
- Stainless steels are steels containing at least 10.5% chromium, less than 1.2% carbon, and other alloying elements.
Solder:
- Soldering is a joining process used to join different types of metals together having different properties.
- Solder is a metal alloy, usually made up of tin and lead which is melted using a hot iron (soldering iron).
- The iron is heated to temperatures above 600˚F which then cools to create a strong bond.
- Flux material used in soldering is ZnCl2 (Zinc Chloride) and NH4Cl (Ammonium Chloride).
Brass:
- Brass is a metal alloy that is made up of copper and zinc.
- The proportions of zinc and copper can vary to create different types of brasses with different properties.
- It has higher malleability than bronze or zinc and has a relatively low melting point (900 to 940 °C).
Mistake Points
- Copper was the first metal used by men.
- Copper was first used by man over 10,000 years ago.
- Probably copper can be found as a naturally occurring native metal that is sometimes found in large lumps on the ground.
- People learned to make this into copper tools and other things, although, for a metal, it is quite soft.
- When it was melted over the fire, people learned how to make an alloy called bronze, which is much harder and stronger than copper.
MCQ
4.
In a typical desktop computer, which of the following memory sizes would be the largest?
Correct Answer: B
The correct answer is Hard Disk.
- In a typical desktop computer, Hard disk memory sizes would be the largest.
- had a capacity of 1 to 8 terabytes, with the largest-capacity drives reaching 20 terabytes (single-disk drives, "dual" drives are available up to 24 TB).
- Smaller, laptop internal 2.5-inch drives, are available up to 5 TB.
- Register> RAM> Cache> Hard disk.
Key Points
- RAM
- RAM is a hardware element where the data being currently used is stored.
- It is a volatile memory.
- Two types of RAM are
- Static RAM, or (SRAM) and
- Dynamic RAM, or (DRAM).
- Register
- A register holds instructions or data that the processor is working on or will be working on shortly.
- They form part of the processor and are capable of holding only one item at a time.
- Cache
- Cache memory is an area in the computer where codes and instructions are stored.
- Hard disk
- A hard disk drive is an electromechanical data storage device that stores and retrieves digital data using magnetic storage.
Additional Information
- There are four major storage levels on the computer:
- Internal –
- Processor registers and cache.
- Main –
- The system RAM and controller cards.
- On-line mass storage –
- Secondary storage.
- Off-line bulk storage –
- Tertiary and Off-line storage.
- Internal –
MCQ
5.
Which of the following provisions is/are not directly covered in the definition of Domestic violence under the Protection of Women from Domestic Violence Act, 2005?
Correct Answer: C
Option 3 is correct.
Key Points
- Protection of Women from Domestic Violence Act, 2005:
- Domestic Violence means:
- “Physical abuse" includes hurt of any kind. Assault, criminal intimidation and criminal force. Hence statement 1 is correct.
- “Sexual abuse" such as the conduct of a sexual nature such as forced sexual intercourse, forcing the aggrieved person to watch pornography or other obscene material
- “Verbal and emotional abuse" such as Accusation/aspersion on character or conduct. An insult for not bringing dowry, Insult for not having a male child. Hence statement 2 is Correct.
- "Economic abuse" such as not providing money for maintaining a woman or her children. Not providing food, clothes, medicine. etc, Forcing woman out of the house. Hence statement 4 is Correct.
- Non-sharing of household work, noncaring attitude for children, unhealthy habits of living. late coming etc. (of the male partner) is not directly covered under this act. Hence Statement 3 is Incorrect.
- Domestic Violence means:
category More C++ Topics
article
Mixed
format_list_bulleted
26 MCQs
article
The Fundamentals (Basic Syntax & Logic)
format_list_bulleted
0 MCQs
article
Functions, Arrays, and Strings
format_list_bulleted
0 MCQs
article
OOPs Concepts
format_list_bulleted
0 MCQs