Search Header Logo

Operators & Precedence- c

Authored by Mrs. D.

Computers

University

Used 1+ times

Operators & Precedence- c
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main()
{

   
int x;
  
   x = 
2*5*5+3*5+7;

   
printf("x = %d", x);

   
return 0;
}

72

272

200

0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main()
{

   
int x;
  
   x = 
12+3-4/2<3+1;

   
printf("x = %d", x);

   
return 0;
}

1

0

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main()
{

   
int x;
  
   x = 
7 + 2 * 4 - 3;

   
printf("x = %d", x);

   
return 0;
}

12

33

9

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main()
{

   
int x;
  
   x = 
25 + 20 / 5 - 10;

   
printf("x = %d", x);

   
return 0;
}

-1

0

19

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5+2*5

0

35

15

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

200+20/2-10

200

100

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

100/10*10

1

100

0

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?