Computer GK Questions for Informatics Assistant Exam
How does Le-Hard Virus come into existence?
(A) hardware
(B) Software
(C) command.com
(D) FRIDAY 13
Correct Answer : C
What is the name of those viruses which fool a user into downloading or executing them by pretending to be useful applications?
(A) cracker
(B) Trojan horse
(C) worm
(D) key logger
Correct Answer : B
Which of the following are Operators in C?
(A) arithmetic operators
(B) logical operator
(C) relational operators
(D) all of the above
Correct Answer : D
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.
Which subnet is used for LAN security to bring stability in the Internet network?
(A) static router
(B) dynamic router
(C) static switch
(D) dynamic switch
Correct Answer : A
Which of the following devices tells the difference between multicast and unicast packets?
(A) multicast switch
(B) developed
(C) advanced router
(D) multicast router
Correct Answer : A
Explanation :
Multicast switch
Why is clrscer() used?
(A) to erase
(B) to clear the message from the screen
(C) to store
(D) for all of the above
Correct Answer : B
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.
What is the difference between do-while and while condition?
(A) In do-while, a semicolon is used after the condition.
(B) Semicolon is not used in While
(C) While statement is after the condition
(D) none of the above
Correct Answer : D
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.
Which of the following is not true for for-loop?
(A) for (i=0; i
(B) for (int i=0; i>9; i++)
(C) for (i=10; i
(D) for (i=10; i++; i
Correct Answer : D
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.
The virus that spreads in application software is called -
(A) boot virus
(B) macro virus
(C) antivirus
(D) file virus
Correct Answer : B
What is Trend Micro?
(A) this anti-virus software
(B) this is virus program
(C) it's just a program
(D) none of the above
Correct Answer : A