logo

Crowdly

Programming for Problem Solving

Шукаєте відповіді та рішення тестів для Programming for Problem Solving? Перегляньте нашу велику колекцію перевірених відповідей для Programming for Problem Solving в moodle.lnmiit.ac.in.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

What is the output of the below program

#include<stdio.h>

void main()

{

     int n;

     for (n = 9; n!=0; n--)

     printf("%d", n--);

     return 0;

}

0%
0%
0%
0%
Переглянути це питання

What is the output of the below program

#include<stdio.h>

int main()

{

    int i,j,k;

    for(i=0,j=2,k=1;i<=4;i++)

   {

         printf("%d ",i+j+k);

    }

    return 0;       

}

0%
0%
0%
0%
Переглянути це питання

    The subtraction of binary numbers 10111010 and 01110101 results in

0%
0%
0%
0%
Переглянути це питання

Which of the following statements is not true 

  1. Primary memory is directly accessible by the CPU
  2. Primary memory is permanent
  3. Secondary memory is permanent
  4. RAM and ROM come under secondary memory
0%
0%
0%
0%
Переглянути це питання

Which of the statements would compile

(i) for (i < 10; i++ ; i = 0) {}

(ii) for (i = 0; i < 10 ; i++) {}

(iii) for (i = 0; i++ ; i < 10) {}

(iv) for (i++; i = 0 ; i < 10) {}

(v) for (i++; i < 0 ; i = 10) {}

(vi) for (i < 10; i = 0 ; i++) {}

0%
0%
0%
0%
0%
Переглянути це питання

Trace the output of the below C code for n=19.99

#include <stdio.h>

int main()

{

    int n;

    if (scanf("%d", &n))

        printf("Good");

    else

        printf("Class");

    return 0;

}

0%
0%
0%
0%
Переглянути це питання

    The hexadecimal number equivalent to the decimal number 499 is

0%
0%
0%
0%
Переглянути це питання

Trace the output of the below C code

#include <stdio.h>

 int y;

 void main()

 {

      if (y)

          printf("Good");

      else

          printf("Class");

 }

0%
0%
0%
0%
Переглянути це питання

Trace the output of the below C code

 #include<stdio.h>

void main()

{

    int num = 50;

    if (num%2=0)

    printf("Even");

    else

    printf("Odd");

}

0%
0%
0%
0%
Переглянути це питання

What is the output of the below program?

int main()

{

   int i = 0;

   for (i=0; i<20; i++)

   {

     switch(i)

     {

       case 0:

         i += 5;

       case 1:

         i += 2;

       case 5:

         i += 5;

       default:

         i += 4;

         break;

     }

     printf("%d  ", i);

   }

   return 0;

}

0%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.lnmiit.ac.in?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!