Computer GK Practice Question and Answer
8 Q: Which of the following devices tells the difference between multicast and unicast packets?
478 063e62d0b6149271af9b8c4c7
63e62d0b6149271af9b8c4c7- 1multicast switchtrue
- 2developedfalse
- 3advanced routerfalse
- 4multicast routerfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "multicast switch"
Explanation :
Multicast switch
Q: Which of the following are Operators in C?
601 063e62c1aef10d51b16bfe124
63e62c1aef10d51b16bfe124- 1arithmetic operatorsfalse
- 2logical operatorfalse
- 3relational operatorsfalse
- 4all of the abovetrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "all of the above"
Explanation :
Operators are symbols that we use when performing operations on one or more operands. The primary types of operators in C are arithmetic, logical, relational, conditional, bitwise, and assignment.
Q: Why is clrscer() used?
441 063e62bb3e6cd351b75eca59e
63e62bb3e6cd351b75eca59e- 1to erasefalse
- 2to clear the message from the screentrue
- 3to storefalse
- 4for all of the abovefalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "to clear the message from the screen"
Explanation :
The clrscr in C is a built-in function that is used for clearing the screen of the console output during the execution of the C program. This function is defined in the conio. h header file. We need to include the “conio.
Q: What is the difference between do-while and while condition?
582 063e62b5c7407bd1b2d1dd823
63e62b5c7407bd1b2d1dd823- 1In do-while, a semicolon is used after the condition.false
- 2Semicolon is not used in Whilefalse
- 3While statement is after the conditionfalse
- 4none of the abovetrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "none of the above"
Explanation :
The key difference lies in when the loop condition is checked. In the while loop, the condition is checked before the first iteration, potentially resulting in zero iterations. In the do-while loop, the condition is checked after the first iteration, ensuring that the loop body is executed at least once.
Q: Which of the following is not true for for-loop?
557 063e62af66149271af9b8c0fa
63e62af66149271af9b8c0fa- 1for (i=0; ifalse
- 2for (int i=0; i>9; i++)false
- 3for (i=10; ifalse
- 4for (i=10; i++; itrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "for (i=10; i++; i"
Explanation :
Among the given statements about for loops, the one that is NOT true is that they are used to replace user input while loops. While for loops are typically used for iterations with a known count and are less likely to result in an infinite loop if used correctly, they do not specifically replace user input while loops.
Q: Integrated circuit is related to which generation of computer?
569 063ecbd5235d86258ec99b4ad
63ecbd5235d86258ec99b4ad- 1first generationfalse
- 2second generationfalse
- 3third generationtrue
- 4fourth generationfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 3. "third generation"
Explanation :
Integrated circuits (ICs) were first introduced during the third generation of computers. The third generation of computers, which emerged in the 1960s, saw the development and widespread use of integrated circuits. These tiny electronic circuits contained multiple transistors, resistors, and capacitors on a single semiconductor chip. The use of integrated circuits significantly reduced the size of computers, increased their processing speed, and improved their reliability, marking a significant advancement in computer technology.
Q: Plotter is an output device that prints _______ etc. on hard copy.
697 063ecbf5535d86258ec99c1ca
63ecbf5535d86258ec99c1ca- 1chartfalse
- 2Graphfalse
- 3drawingfalse
- 4all of the abovetrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "all of the above"
Explanation :
A plotter is an output device that prints vector graphics on hard copy. Unlike printers, which are designed for raster graphics and text, plotters are specialized devices used to produce high-quality drawings, diagrams, and other vector-based illustrations. Plotters use pens or other drawing tools to create precise lines and shapes on paper, making them particularly useful for applications that require detailed and accurate graphical output, such as architectural and engineering designs.
Q: ________ is an output device that is used for TV Like displays the output on the screen and it is also called visual display unit.
663 063ecbec335d86258ec99c013
63ecbec335d86258ec99c013- 1Printerfalse
- 2monitortrue
- 3Plotterfalse
- 4Projectorfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "monitor"
Explanation :
An output device that is used for TV-like displays and shows the output on the screen is indeed called a monitor. It is also commonly referred to as a visual display unit (VDU). Monitors and VDUs are used to display visual information from computers and other electronic devices, allowing users to view text, images, videos, and other graphical content. They come in various types, including CRT (Cathode Ray Tube), LCD (Liquid Crystal Display), LED (Light Emitting Diode), and OLED (Organic Light Emitting Diode) monitors.