Practice Question and Answer

Q:

Which of the following are Operators in C?

603 0

  • 1
    arithmetic operators
    Correct
    Wrong
  • 2
    logical operator
    Correct
    Wrong
  • 3
    relational operators
    Correct
    Wrong
  • 4
    all of the above
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

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?

443 0

  • 1
    to erase
    Correct
    Wrong
  • 2
    to clear the message from the screen
    Correct
    Wrong
  • 3
    to store
    Correct
    Wrong
  • 4
    for all of the above
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

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?

584 0

  • 1
    In do-while, a semicolon is used after the condition.
    Correct
    Wrong
  • 2
    Semicolon is not used in While
    Correct
    Wrong
  • 3
    While statement is after the condition
    Correct
    Wrong
  • 4
    none of the above
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

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?

559 0

  • 1
    for (i=0; i
    Correct
    Wrong
  • 2
    for (int i=0; i>9; i++)
    Correct
    Wrong
  • 3
    for (i=10; i
    Correct
    Wrong
  • 4
    for (i=10; i++; i
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

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:

Who has become the first woman sniper of the Border Security Force (BSF)?

514 0

  • 1
    Shaliza Dhami
    Correct
    Wrong
  • 2
    Shiva Chauhan
    Correct
    Wrong
  • 3
    Deepika Mishra
    Correct
    Wrong
  • 4
    Suman Kumari
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 4. "Suman Kumari"
Explanation :

Border Security Force (BSF) sub-inspector Suman Kumari has become the first woman sniper of the Border Security Force. Suman recently completed an eight-week sniper course at the Central School of Weapons and Tactics (CSWT), Indore and achieved 'Instructor Grade'. Suman is a resident of Mandi district of Himachal Pradesh. She joined BSF in the year 2021.

Q:

The highest honor in the sports world is given in Rajasthan?

1601 0

  • 1
    Guru Vashistha Award
    Correct
    Wrong
  • 2
    Jawahar Award
    Correct
    Wrong
  • 3
    Maharana Pratap Award
    Correct
    Wrong
  • 4
    Rajasthan Khel Ratna Award
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "Maharana Pratap Award"
Explanation :

The award is given by the State Sports Council for outstanding achievements at the National and International levels. It was instituted in the year 1982-1983.

Q:

Which of the Mahajanapadas were located in Rajasthan?

873 0

  • 1
    Fish
    Correct
    Wrong
  • 2
    Avanti
    Correct
    Wrong
  • 3
    Matsya
    Correct
    Wrong
  • 4
    Magadha
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "Matsya"
Explanation :

The correct answer is Matsya. Matsya Mahajanapadas was located in Rajasthan.

Q:

Who ended the republic system of Rajasthan forever?

1684 0

  • 1
    Saka
    Correct
    Wrong
  • 2
    Hun
    Correct
    Wrong
  • 3
    Gupt
    Correct
    Wrong
  • 4
    Kushan
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 2. "Hun"
Explanation :

Hun had ended the republic system of Rajasthan forever.

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully