aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Programming and Data Structures - GATE Practice
  • Consider the following C program ![](https://i.imgur.com/...
Multiple choice

Consider the following C program

The program computers

  1. x$\div$y, using repeated subtraction
  2. x mod y using repeated subtraction

  3. the greatest common divisor of x and y

  4. the least common multiple of x only

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Keep practicing — related questions

  • If the greatest common factor (GCF) of two numbers is one of those numbers then their least common multiple...
  • If you wish to copy a program from disk into the computer's main memory, which of the following commands ca...
  • What is the name for the process that is used to convert a sense of instructions, or program, written in a ...
  • Which part of the computer is directly involved in executing the instructions of the computer program?
  • Children in primary schools follow which of the following stages as proposed by Lawrence Kohlberg? a. Obedi...
  • Which of the following is/are NOT one of the objectives of International Monetary Fund (IMF)? (A) To ensure...
  • In the opinion of Prof Amartya Sen the development in which of the following areas could make a 'dramatic' ...
  • Which of the following is an advantage of an egoless programming?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Output Evaluation (1721 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy